18.4 MB
/srv/reproducible-results/rbuild-debian/r-b-build.MMJQROC7/b1/dune-common_2.9.0-6_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.MMJQROC7/b2/dune-common_2.9.0-6_armhf.changes
408 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·776ce57c436f469dc044794a569f728c·532092·debug·optional·libdune-common-dev-dbgsym_2.9.0-6_armhf.deb1 ·776ce57c436f469dc044794a569f728c·532092·debug·optional·libdune-common-dev-dbgsym_2.9.0-6_armhf.deb
2 ·c97e4fc85ddbe5c932413c1f3fc70cb7·376236·libdevel·optional·libdune-common-dev_2.9.0-6_armhf.deb2 ·c97e4fc85ddbe5c932413c1f3fc70cb7·376236·libdevel·optional·libdune-common-dev_2.9.0-6_armhf.deb
3 ·45e82ee6b0dea599cf24e1b06178fd35·3065968·doc·optional·libdune-common-doc_2.9.0-6_all.deb3 ·37f426e119774e8eb95eeb8dee279753·3065956·doc·optional·libdune-common-doc_2.9.0-6_all.deb
18.4 MB
libdune-common-doc_2.9.0-6_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2023-12-26·18:41:53.000000·debian-binary1 -rw-r--r--···0········0········0········4·2023-12-26·18:41:53.000000·debian-binary
2 -rw-r--r--···0········0········0····26852·2023-12-26·18:41:53.000000·control.tar.xz2 -rw-r--r--···0········0········0····26896·2023-12-26·18:41:53.000000·control.tar.xz
3 -rw-r--r--···0········0········0··3038924·2023-12-26·18:41:53.000000·data.tar.xz3 -rw-r--r--···0········0········0··3038868·2023-12-26·18:41:53.000000·data.tar.xz
10.2 KB
control.tar.xz
10.2 KB
control.tar
10.1 KB
./md5sums
30.0 B
./md5sums
Files differ
10.1 KB
line order
    
Offset 19, 51 lines modifiedOffset 19, 49 lines modified
19 usr/share/doc/libdune-common-doc/changelog.Debian.gz19 usr/share/doc/libdune-common-doc/changelog.Debian.gz
20 usr/share/doc/libdune-common-doc/changelog.gz20 usr/share/doc/libdune-common-doc/changelog.gz
21 usr/share/doc/libdune-common-doc/copyright21 usr/share/doc/libdune-common-doc/copyright
22 usr/share/doc/libdune-common-doc/doxygen/a00002.html22 usr/share/doc/libdune-common-doc/doxygen/a00002.html
23 usr/share/doc/libdune-common-doc/doxygen/a00008.html23 usr/share/doc/libdune-common-doc/doxygen/a00008.html
24 usr/share/doc/libdune-common-doc/doxygen/a00008_source.html24 usr/share/doc/libdune-common-doc/doxygen/a00008_source.html
25 usr/share/doc/libdune-common-doc/doxygen/a00011.html25 usr/share/doc/libdune-common-doc/doxygen/a00011.html
 26 usr/share/doc/libdune-common-doc/doxygen/a00011_source.html
26 usr/share/doc/libdune-common-doc/doxygen/a00014.html27 usr/share/doc/libdune-common-doc/doxygen/a00014.html
27 usr/share/doc/libdune-common-doc/doxygen/a00014_source.html28 usr/share/doc/libdune-common-doc/doxygen/a00014_source.html
28 usr/share/doc/libdune-common-doc/doxygen/a00017.html29 usr/share/doc/libdune-common-doc/doxygen/a00017.html
29 usr/share/doc/libdune-common-doc/doxygen/a00017_source.html30 usr/share/doc/libdune-common-doc/doxygen/a00017_source.html
30 usr/share/doc/libdune-common-doc/doxygen/a00020.html31 usr/share/doc/libdune-common-doc/doxygen/a00020.html
31 usr/share/doc/libdune-common-doc/doxygen/a00020_source.html 
32 usr/share/doc/libdune-common-doc/doxygen/a00023.html32 usr/share/doc/libdune-common-doc/doxygen/a00023.html
33 usr/share/doc/libdune-common-doc/doxygen/a00023_source.html33 usr/share/doc/libdune-common-doc/doxygen/a00023_source.html
34 usr/share/doc/libdune-common-doc/doxygen/a00026.html34 usr/share/doc/libdune-common-doc/doxygen/a00026.html
35 usr/share/doc/libdune-common-doc/doxygen/a00026_source.html35 usr/share/doc/libdune-common-doc/doxygen/a00026_source.html
36 usr/share/doc/libdune-common-doc/doxygen/a00029.html36 usr/share/doc/libdune-common-doc/doxygen/a00029.html
37 usr/share/doc/libdune-common-doc/doxygen/a00029_source.html37 usr/share/doc/libdune-common-doc/doxygen/a00029_source.html
38 usr/share/doc/libdune-common-doc/doxygen/a00032.html38 usr/share/doc/libdune-common-doc/doxygen/a00032.html
39 usr/share/doc/libdune-common-doc/doxygen/a00032_source.html39 usr/share/doc/libdune-common-doc/doxygen/a00032_source.html
40 usr/share/doc/libdune-common-doc/doxygen/a00035.html40 usr/share/doc/libdune-common-doc/doxygen/a00035.html
41 usr/share/doc/libdune-common-doc/doxygen/a00035_source.html41 usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
42 usr/share/doc/libdune-common-doc/doxygen/a00038.html42 usr/share/doc/libdune-common-doc/doxygen/a00038.html
43 usr/share/doc/libdune-common-doc/doxygen/a00038_source.html43 usr/share/doc/libdune-common-doc/doxygen/a00038_source.html
44 usr/share/doc/libdune-common-doc/doxygen/a00041.html44 usr/share/doc/libdune-common-doc/doxygen/a00041.html
45 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.html 
48 usr/share/doc/libdune-common-doc/doxygen/a00047.html46 usr/share/doc/libdune-common-doc/doxygen/a00047.html
49 usr/share/doc/libdune-common-doc/doxygen/a00047_source.html47 usr/share/doc/libdune-common-doc/doxygen/a00047_source.html
50 usr/share/doc/libdune-common-doc/doxygen/a00050.html48 usr/share/doc/libdune-common-doc/doxygen/a00050.html
51 usr/share/doc/libdune-common-doc/doxygen/a00050_source.html49 usr/share/doc/libdune-common-doc/doxygen/a00050_source.html
52 usr/share/doc/libdune-common-doc/doxygen/a00053.html50 usr/share/doc/libdune-common-doc/doxygen/a00053.html
53 usr/share/doc/libdune-common-doc/doxygen/a00053_source.html51 usr/share/doc/libdune-common-doc/doxygen/a00053_source.html
54 usr/share/doc/libdune-common-doc/doxygen/a00056.html52 usr/share/doc/libdune-common-doc/doxygen/a00056.html
55 usr/share/doc/libdune-common-doc/doxygen/a00056_source.html 
56 usr/share/doc/libdune-common-doc/doxygen/a00059.html53 usr/share/doc/libdune-common-doc/doxygen/a00059.html
57 usr/share/doc/libdune-common-doc/doxygen/a00059_source.html54 usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
58 usr/share/doc/libdune-common-doc/doxygen/a00062.html55 usr/share/doc/libdune-common-doc/doxygen/a00062.html
59 usr/share/doc/libdune-common-doc/doxygen/a00062_source.html56 usr/share/doc/libdune-common-doc/doxygen/a00062_source.html
60 usr/share/doc/libdune-common-doc/doxygen/a00065.html57 usr/share/doc/libdune-common-doc/doxygen/a00065.html
61 usr/share/doc/libdune-common-doc/doxygen/a00065_source.html58 usr/share/doc/libdune-common-doc/doxygen/a00065_source.html
62 usr/share/doc/libdune-common-doc/doxygen/a00068.html59 usr/share/doc/libdune-common-doc/doxygen/a00068.html
 60 usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
63 usr/share/doc/libdune-common-doc/doxygen/a00071.html61 usr/share/doc/libdune-common-doc/doxygen/a00071.html
64 usr/share/doc/libdune-common-doc/doxygen/a00071_source.html62 usr/share/doc/libdune-common-doc/doxygen/a00071_source.html
65 usr/share/doc/libdune-common-doc/doxygen/a00074.html63 usr/share/doc/libdune-common-doc/doxygen/a00074.html
66 usr/share/doc/libdune-common-doc/doxygen/a00074_source.html64 usr/share/doc/libdune-common-doc/doxygen/a00074_source.html
67 usr/share/doc/libdune-common-doc/doxygen/a00077.html65 usr/share/doc/libdune-common-doc/doxygen/a00077.html
68 usr/share/doc/libdune-common-doc/doxygen/a00077_source.html66 usr/share/doc/libdune-common-doc/doxygen/a00077_source.html
69 usr/share/doc/libdune-common-doc/doxygen/a00080.html67 usr/share/doc/libdune-common-doc/doxygen/a00080.html
Offset 89, 38 lines modifiedOffset 87, 40 lines modified
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.html90 usr/share/doc/libdune-common-doc/doxygen/a00113_source.html
93 usr/share/doc/libdune-common-doc/doxygen/a00116.html91 usr/share/doc/libdune-common-doc/doxygen/a00116.html
94 usr/share/doc/libdune-common-doc/doxygen/a00116_source.html92 usr/share/doc/libdune-common-doc/doxygen/a00116_source.html
95 usr/share/doc/libdune-common-doc/doxygen/a00119.html93 usr/share/doc/libdune-common-doc/doxygen/a00119.html
 94 usr/share/doc/libdune-common-doc/doxygen/a00122.html
96 usr/share/doc/libdune-common-doc/doxygen/a00119_source.html95 usr/share/doc/libdune-common-doc/doxygen/a00122_source.html
97 usr/share/doc/libdune-common-doc/doxygen/a00125.html96 usr/share/doc/libdune-common-doc/doxygen/a00125.html
98 usr/share/doc/libdune-common-doc/doxygen/a00125_source.html97 usr/share/doc/libdune-common-doc/doxygen/a00125_source.html
99 usr/share/doc/libdune-common-doc/doxygen/a00128.html98 usr/share/doc/libdune-common-doc/doxygen/a00128.html
 99 usr/share/doc/libdune-common-doc/doxygen/a00128_source.html
100 usr/share/doc/libdune-common-doc/doxygen/a00131.html100 usr/share/doc/libdune-common-doc/doxygen/a00131.html
101 usr/share/doc/libdune-common-doc/doxygen/a00131_source.html101 usr/share/doc/libdune-common-doc/doxygen/a00131_source.html
102 usr/share/doc/libdune-common-doc/doxygen/a00134.html102 usr/share/doc/libdune-common-doc/doxygen/a00134.html
103 usr/share/doc/libdune-common-doc/doxygen/a00134_source.html103 usr/share/doc/libdune-common-doc/doxygen/a00134_source.html
104 usr/share/doc/libdune-common-doc/doxygen/a00137.html104 usr/share/doc/libdune-common-doc/doxygen/a00137.html
105 usr/share/doc/libdune-common-doc/doxygen/a00137_source.html 
106 usr/share/doc/libdune-common-doc/doxygen/a00140.html105 usr/share/doc/libdune-common-doc/doxygen/a00140.html
107 usr/share/doc/libdune-common-doc/doxygen/a00140_source.html106 usr/share/doc/libdune-common-doc/doxygen/a00140_source.html
108 usr/share/doc/libdune-common-doc/doxygen/a00143.html107 usr/share/doc/libdune-common-doc/doxygen/a00143.html
109 usr/share/doc/libdune-common-doc/doxygen/a00143_source.html108 usr/share/doc/libdune-common-doc/doxygen/a00143_source.html
110 usr/share/doc/libdune-common-doc/doxygen/a00146.html109 usr/share/doc/libdune-common-doc/doxygen/a00146.html
111 usr/share/doc/libdune-common-doc/doxygen/a00146_source.html110 usr/share/doc/libdune-common-doc/doxygen/a00146_source.html
112 usr/share/doc/libdune-common-doc/doxygen/a00149.html111 usr/share/doc/libdune-common-doc/doxygen/a00149.html
 112 usr/share/doc/libdune-common-doc/doxygen/a00149_source.html
113 usr/share/doc/libdune-common-doc/doxygen/a00152.html113 usr/share/doc/libdune-common-doc/doxygen/a00152.html
114 usr/share/doc/libdune-common-doc/doxygen/a00152_source.html114 usr/share/doc/libdune-common-doc/doxygen/a00152_source.html
115 usr/share/doc/libdune-common-doc/doxygen/a00155.html115 usr/share/doc/libdune-common-doc/doxygen/a00155.html
116 usr/share/doc/libdune-common-doc/doxygen/a00155_source.html116 usr/share/doc/libdune-common-doc/doxygen/a00155_source.html
117 usr/share/doc/libdune-common-doc/doxygen/a00158.html117 usr/share/doc/libdune-common-doc/doxygen/a00158.html
 118 usr/share/doc/libdune-common-doc/doxygen/a00158_source.html
118 usr/share/doc/libdune-common-doc/doxygen/a00161.html119 usr/share/doc/libdune-common-doc/doxygen/a00161.html
119 usr/share/doc/libdune-common-doc/doxygen/a00161_source.html 
120 usr/share/doc/libdune-common-doc/doxygen/a00164.html120 usr/share/doc/libdune-common-doc/doxygen/a00164.html
121 usr/share/doc/libdune-common-doc/doxygen/a00164_source.html121 usr/share/doc/libdune-common-doc/doxygen/a00164_source.html
122 usr/share/doc/libdune-common-doc/doxygen/a00167.html122 usr/share/doc/libdune-common-doc/doxygen/a00167.html
123 usr/share/doc/libdune-common-doc/doxygen/a00167_source.html123 usr/share/doc/libdune-common-doc/doxygen/a00167_source.html
124 usr/share/doc/libdune-common-doc/doxygen/a00170.html124 usr/share/doc/libdune-common-doc/doxygen/a00170.html
125 usr/share/doc/libdune-common-doc/doxygen/a00170_source.html125 usr/share/doc/libdune-common-doc/doxygen/a00170_source.html
126 usr/share/doc/libdune-common-doc/doxygen/a00173.html126 usr/share/doc/libdune-common-doc/doxygen/a00173.html
Offset 129, 64 lines modifiedOffset 129, 65 lines modified
129 usr/share/doc/libdune-common-doc/doxygen/a00176_source.html129 usr/share/doc/libdune-common-doc/doxygen/a00176_source.html
130 usr/share/doc/libdune-common-doc/doxygen/a00179.html130 usr/share/doc/libdune-common-doc/doxygen/a00179.html
131 usr/share/doc/libdune-common-doc/doxygen/a00179_source.html131 usr/share/doc/libdune-common-doc/doxygen/a00179_source.html
132 usr/share/doc/libdune-common-doc/doxygen/a00182.html132 usr/share/doc/libdune-common-doc/doxygen/a00182.html
133 usr/share/doc/libdune-common-doc/doxygen/a00182_source.html133 usr/share/doc/libdune-common-doc/doxygen/a00182_source.html
134 usr/share/doc/libdune-common-doc/doxygen/a00185.html134 usr/share/doc/libdune-common-doc/doxygen/a00185.html
135 usr/share/doc/libdune-common-doc/doxygen/a00185_source.html135 usr/share/doc/libdune-common-doc/doxygen/a00185_source.html
136 usr/share/doc/libdune-common-doc/doxygen/a00188.html 
137 usr/share/doc/libdune-common-doc/doxygen/a00188_source.html 
138 usr/share/doc/libdune-common-doc/doxygen/a00191.html136 usr/share/doc/libdune-common-doc/doxygen/a00191.html
139 usr/share/doc/libdune-common-doc/doxygen/a00191_source.html137 usr/share/doc/libdune-common-doc/doxygen/a00191_source.html
140 usr/share/doc/libdune-common-doc/doxygen/a00194.html138 usr/share/doc/libdune-common-doc/doxygen/a00194.html
141 usr/share/doc/libdune-common-doc/doxygen/a00194_source.html139 usr/share/doc/libdune-common-doc/doxygen/a00194_source.html
142 usr/share/doc/libdune-common-doc/doxygen/a00197.html140 usr/share/doc/libdune-common-doc/doxygen/a00197.html
143 usr/share/doc/libdune-common-doc/doxygen/a00197_source.html141 usr/share/doc/libdune-common-doc/doxygen/a00197_source.html
144 usr/share/doc/libdune-common-doc/doxygen/a00200.html142 usr/share/doc/libdune-common-doc/doxygen/a00200.html
145 usr/share/doc/libdune-common-doc/doxygen/a00200_source.html143 usr/share/doc/libdune-common-doc/doxygen/a00200_source.html
146 usr/share/doc/libdune-common-doc/doxygen/a00203.html144 usr/share/doc/libdune-common-doc/doxygen/a00203.html
147 usr/share/doc/libdune-common-doc/doxygen/a00203_source.html145 usr/share/doc/libdune-common-doc/doxygen/a00203_source.html
148 usr/share/doc/libdune-common-doc/doxygen/a00206.html146 usr/share/doc/libdune-common-doc/doxygen/a00206.html
149 usr/share/doc/libdune-common-doc/doxygen/a00206_source.html147 usr/share/doc/libdune-common-doc/doxygen/a00206_source.html
150 usr/share/doc/libdune-common-doc/doxygen/a00209.html148 usr/share/doc/libdune-common-doc/doxygen/a00209.html
151 usr/share/doc/libdune-common-doc/doxygen/a00209_source.html 
152 usr/share/doc/libdune-common-doc/doxygen/a00212.html149 usr/share/doc/libdune-common-doc/doxygen/a00212.html
153 usr/share/doc/libdune-common-doc/doxygen/a00212_source.html150 usr/share/doc/libdune-common-doc/doxygen/a00212_source.html
154 usr/share/doc/libdune-common-doc/doxygen/a00215.html151 usr/share/doc/libdune-common-doc/doxygen/a00215.html
155 usr/share/doc/libdune-common-doc/doxygen/a00215_source.html152 usr/share/doc/libdune-common-doc/doxygen/a00215_source.html
156 usr/share/doc/libdune-common-doc/doxygen/a00218.html153 usr/share/doc/libdune-common-doc/doxygen/a00218.html
157 usr/share/doc/libdune-common-doc/doxygen/a00218_source.html154 usr/share/doc/libdune-common-doc/doxygen/a00218_source.html
158 usr/share/doc/libdune-common-doc/doxygen/a00221.html155 usr/share/doc/libdune-common-doc/doxygen/a00221.html
Max diff block lines reached; 2982/10312 bytes (28.92%) of diff not shown.
18.4 MB
data.tar.xz
18.4 MB
data.tar
76.7 KB
file list
    
Offset 26, 259 lines modifiedOffset 26, 259 lines modified
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2799·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/search.html26 -rw-r--r--···0·root·········(0)·root·········(0)·····2799·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/search.html
27 -rw-r--r--···0·root·········(0)·root·········(0)····10569·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/searchindex.js27 -rw-r--r--···0·root·········(0)·root·········(0)····10569·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/searchindex.js
28 -rw-r--r--···0·root·········(0)·root·········(0)·····1934·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/changelog.Debian.gz28 -rw-r--r--···0·root·········(0)·root·········(0)·····1934·2023-12-26·18:41:53.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-07·21:56:09.000000·./usr/share/doc/libdune-common-doc/copyright30 -rw-r--r--···0·root·········(0)·root·········(0)·····9815·2023-01-07·21:56:09.000000·./usr/share/doc/libdune-common-doc/copyright
31 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/31 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/
32 -rw-r--r--···0·root·········(0)·root·········(0)·····3045·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00002.html32 -rw-r--r--···0·root·········(0)·root·········(0)·····3045·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00002.html
33 -rw-r--r--···0·root·········(0)·root·········(0)·····8690·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····7783·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008.html
34 -rw-r--r--···0·root·········(0)·root·········(0)····15576·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008_source.html34 -rw-r--r--···0·root·········(0)·root·········(0)····12397·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008_source.html
35 -rw-r--r--···0·root·········(0)·root·········(0)·····6970·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011.html35 -rw-r--r--···0·root·········(0)·root·········(0)·····6662·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011.html
36 -rw-r--r--···0·root·········(0)·root·········(0)·····8196·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014.html 
37 -rw-r--r--···0·root·········(0)·root·········(0)···148986·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014_source.html 
38 -rw-r--r--···0·root·········(0)·root·········(0)····21252·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017.html 
39 -rw-r--r--···0·root·········(0)·root·········(0)···132735·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017_source.html36 -rw-r--r--···0·root·········(0)·root·········(0)····52852·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011_source.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····6380·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020.html 
41 -rw-r--r--···0·root·········(0)·root·········(0)····19421·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020_source.html 
42 -rw-r--r--···0·root·········(0)·root·········(0)····14995·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023.html 
43 -rw-r--r--···0·root·········(0)·root·········(0)···142940·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023_source.html 
44 -rw-r--r--···0·root·········(0)·root·········(0)·····6158·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026.html 
45 -rw-r--r--···0·root·········(0)·root·········(0)····19960·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026_source.html 
46 -rw-r--r--···0·root·········(0)·root·········(0)·····5767·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029.html 
47 -rw-r--r--···0·root·········(0)·root·········(0)····16722·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029_source.html 
48 -rw-r--r--···0·root·········(0)·root·········(0)·····8828·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032.html 
49 -rw-r--r--···0·root·········(0)·root·········(0)····15690·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html 
50 -rw-r--r--···0·root·········(0)·root·········(0)·····8731·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035.html 
51 -rw-r--r--···0·root·········(0)·root·········(0)····61450·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html 
52 -rw-r--r--···0·root·········(0)·root·········(0)·····6556·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038.html 
53 -rw-r--r--···0·root·········(0)·root·········(0)····18103·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038_source.html 
54 -rw-r--r--···0·root·········(0)·root·········(0)·····5458·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041.html37 -rw-r--r--···0·root·········(0)·root·········(0)·····5458·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····8314·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041_source.html38 -rw-r--r--···0·root·········(0)·root·········(0)·····8314·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014_source.html
56 -rw-r--r--···0·root·········(0)·root·········(0)·····5115·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044.html 
57 -rw-r--r--···0·root·········(0)·root·········(0)·····9512·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044_source.html 
58 -rw-r--r--···0·root·········(0)·root·········(0)····14005·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047.html 
59 -rw-r--r--···0·root·········(0)·root·········(0)····86153·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047_source.html 
60 -rw-r--r--···0·root·········(0)·root·········(0)·····3818·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050.html 
61 -rw-r--r--···0·root·········(0)·root·········(0)·····6526·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050_source.html 
62 -rw-r--r--···0·root·········(0)·root·········(0)·····7721·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053.html 
63 -rw-r--r--···0·root·········(0)·root·········(0)····10469·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053_source.html 
64 -rw-r--r--···0·root·········(0)·root·········(0)·····7783·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056.html 
65 -rw-r--r--···0·root·········(0)·root·········(0)····12397·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056_source.html 
66 -rw-r--r--···0·root·········(0)·root·········(0)····14506·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059.html 
67 -rw-r--r--···0·root·········(0)·root·········(0)····54081·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059_source.html 
68 -rw-r--r--···0·root·········(0)·root·········(0)·····7265·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062.html 
69 -rw-r--r--···0·root·········(0)·root·········(0)····14139·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062_source.html 
70 -rw-r--r--···0·root·········(0)·root·········(0)····17516·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065.html 
71 -rw-r--r--···0·root·········(0)·root·········(0)····45459·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065_source.html 
72 -rw-r--r--···0·root·········(0)·root·········(0)·····8394·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068.html 
73 -rw-r--r--···0·root·········(0)·root·········(0)·····5125·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00071.html 
74 -rw-r--r--···0·root·········(0)·root·········(0)····29707·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00071_source.html 
75 -rw-r--r--···0·root·········(0)·root·········(0)·····6856·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····6380·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017.html
76 -rw-r--r--···0·root·········(0)·root·········(0)···112071·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074_source.html40 -rw-r--r--···0·root·········(0)·root·········(0)····19421·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017_source.html
77 -rw-r--r--···0·root·········(0)·root·········(0)····20821·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077.html 
78 -rw-r--r--···0·root·········(0)·root·········(0)····29928·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html 
79 -rw-r--r--···0·root·········(0)·root·········(0)····10687·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080.html41 -rw-r--r--···0·root·········(0)·root·········(0)·····6970·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020.html
80 -rw-r--r--···0·root·········(0)·root·········(0)···108967·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080_source.html 
81 -rw-r--r--···0·root·········(0)·root·········(0)·····5356·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083.html42 -rw-r--r--···0·root·········(0)·root·········(0)····13585·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023.html
82 -rw-r--r--···0·root·········(0)·root·········(0)····41539·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083_source.html43 -rw-r--r--···0·root·········(0)·root·········(0)····94215·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023_source.html
83 -rw-r--r--···0·root·········(0)·root·········(0)····17882·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086.html 
84 -rw-r--r--···0·root·········(0)·root·········(0)····79073·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086_source.html 
85 -rw-r--r--···0·root·········(0)·root·········(0)·····4366·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089.html 
86 -rw-r--r--···0·root·········(0)·root·········(0)·····5137·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089_source.html 
87 -rw-r--r--···0·root·········(0)·root·········(0)·····6176·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092.html 
88 -rw-r--r--···0·root·········(0)·root·········(0)·····8812·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092_source.html 
89 -rw-r--r--···0·root·········(0)·root·········(0)·····6781·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095.html 
90 -rw-r--r--···0·root·········(0)·root·········(0)·····8264·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095_source.html 
91 -rw-r--r--···0·root·········(0)·root·········(0)·····5049·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098.html 
92 -rw-r--r--···0·root·········(0)·root·········(0)····23176·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html 
93 -rw-r--r--···0·root·········(0)·root·········(0)·····5654·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101.html 
94 -rw-r--r--···0·root·········(0)·root·········(0)·····7234·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101_source.html 
95 -rw-r--r--···0·root·········(0)·root·········(0)····16771·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104.html44 -rw-r--r--···0·root·········(0)·root·········(0)····16771·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026.html
96 -rw-r--r--···0·root·········(0)·root·········(0)····48543·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104_source.html45 -rw-r--r--···0·root·········(0)·root·········(0)····48543·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026_source.html
 46 -rw-r--r--···0·root·········(0)·root·········(0)····14770·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029.html
 47 -rw-r--r--···0·root·········(0)·root·········(0)····23217·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029_source.html
 48 -rw-r--r--···0·root·········(0)·root·········(0)·····5214·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032.html
 49 -rw-r--r--···0·root·········(0)·root·········(0)····15233·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html
 50 -rw-r--r--···0·root·········(0)·root·········(0)·····5668·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035.html
 51 -rw-r--r--···0·root·········(0)·root·········(0)····10965·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
 52 -rw-r--r--···0·root·········(0)·root·········(0)·····7919·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038.html
 53 -rw-r--r--···0·root·········(0)·root·········(0)···126603·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038_source.html
 54 -rw-r--r--···0·root·········(0)·root·········(0)·····3899·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041.html
 55 -rw-r--r--···0·root·········(0)·root·········(0)·····4128·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044.html
97 -rw-r--r--···0·root·········(0)·root·········(0)·····7494·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····7494·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047.html
98 -rw-r--r--···0·root·········(0)·root·········(0)····31467·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107_source.html57 -rw-r--r--···0·root·········(0)·root·········(0)····31467·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047_source.html
 58 -rw-r--r--···0·root·········(0)·root·········(0)·····5278·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050.html
 59 -rw-r--r--···0·root·········(0)·root·········(0)····22235·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050_source.html
 60 -rw-r--r--···0·root·········(0)·root·········(0)·····8704·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053.html
 61 -rw-r--r--···0·root·········(0)·root·········(0)····26496·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053_source.html
 62 -rw-r--r--···0·root·········(0)·root·········(0)·····4125·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056.html
 63 -rw-r--r--···0·root·········(0)·root·········(0)·····5347·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059.html
 64 -rw-r--r--···0·root·········(0)·root·········(0)····33493·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
99 -rw-r--r--···0·root·········(0)·root·········(0)·····4310·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····4310·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062.html
100 -rw-r--r--···0·root·········(0)·root·········(0)····17898·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110_source.html66 -rw-r--r--···0·root·········(0)·root·········(0)····17898·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062_source.html
 67 -rw-r--r--···0·root·········(0)·root·········(0)·····8194·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065.html
 68 -rw-r--r--···0·root·········(0)·root·········(0)····41231·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065_source.html
 69 -rw-r--r--···0·root·········(0)·root·········(0)·····5275·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068.html
 70 -rw-r--r--···0·root·········(0)·root·········(0)····11331·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
 71 -rw-r--r--···0·root·········(0)·root·········(0)·····7356·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00071.html
 72 -rw-r--r--···0·root·········(0)·root·········(0)·····9909·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00071_source.html
 73 -rw-r--r--···0·root·········(0)·root·········(0)·····9721·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074.html
 74 -rw-r--r--···0·root·········(0)·root·········(0)···240955·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074_source.html
 75 -rw-r--r--···0·root·········(0)·root·········(0)·····8690·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077.html
 76 -rw-r--r--···0·root·········(0)·root·········(0)····15576·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html
 77 -rw-r--r--···0·root·········(0)·root·········(0)·····4655·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080.html
 78 -rw-r--r--···0·root·········(0)·root·········(0)·····7486·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080_source.html
 79 -rw-r--r--···0·root·········(0)·root·········(0)····45125·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083.html
 80 -rw-r--r--···0·root·········(0)·root·········(0)····15704·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083_source.html
 81 -rw-r--r--···0·root·········(0)·root·········(0)·····5043·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086.html
 82 -rw-r--r--···0·root·········(0)·root·········(0)·····6951·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086_source.html
 83 -rw-r--r--···0·root·········(0)·root·········(0)·····7721·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089.html
 84 -rw-r--r--···0·root·········(0)·root·········(0)····10469·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089_source.html
 85 -rw-r--r--···0·root·········(0)·root·········(0)····14995·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092.html
 86 -rw-r--r--···0·root·········(0)·root·········(0)···142940·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092_source.html
 87 -rw-r--r--···0·root·········(0)·root·········(0)·····7345·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095.html
 88 -rw-r--r--···0·root·········(0)·root·········(0)····18651·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095_source.html
 89 -rw-r--r--···0·root·········(0)·root·········(0)····12096·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098.html
 90 -rw-r--r--···0·root·········(0)·root·········(0)···108064·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html
 91 -rw-r--r--···0·root·········(0)·root·········(0)····26419·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101.html
 92 -rw-r--r--···0·root·········(0)·root·········(0)····61788·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101_source.html
 93 -rw-r--r--···0·root·········(0)·root·········(0)····14506·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104.html
 94 -rw-r--r--···0·root·········(0)·root·········(0)····54081·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104_source.html
 95 -rw-r--r--···0·root·········(0)·root·········(0)·····7124·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107.html
 96 -rw-r--r--···0·root·········(0)·root·········(0)····23206·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107_source.html
 97 -rw-r--r--···0·root·········(0)·root·········(0)····10991·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110.html
 98 -rw-r--r--···0·root·········(0)·root·········(0)····22884·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110_source.html
101 -rw-r--r--···0·root·········(0)·root·········(0)····19607·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113.html99 -rw-r--r--···0·root·········(0)·root·········(0)····20708·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113.html
102 -rw-r--r--···0·root·········(0)·root·········(0)···104969·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html100 -rw-r--r--···0·root·········(0)·root·········(0)····66287·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html
103 -rw-r--r--···0·root·········(0)·root·········(0)·····4993·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00116.html101 -rw-r--r--···0·root·········(0)·root·········(0)·····4366·2023-12-26·18:41:53.000000·./usr/share/doc/libdune-common-doc/doxygen/a00116.html
Max diff block lines reached; 15447/78514 bytes (19.67%) of diff not shown.
12.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 60 lines modifiedOffset 70, 58 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#typedef-members">Typedefs</a>·&#124; 
79 <a·href="#func-members">Functions</a>·&#124;79 <a·href="#func-members">Functions</a>··</div>
80 <a·href="#var-members">Variables</a>··</div> 
81 ··<div·class="headertitle"><div·class="title">referencehelper.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">shared_ptr.hh·File·Reference</div></div>
82 </div><!--header-->81 </div><!--header-->
83 <div·class="contents">82 <div·class="contents">
  
 83 <p>This·file·implements·several·utilities·related·to·std::shared_ptr.··
 84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
85 <code>#include·&lt;functional&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
86 </div>87 </div>
87 <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <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="a02588.html">Dune::null_deleter&lt;·T·&gt;</a></td></tr>
 93 <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>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 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"·id="r_a00425"><td·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"·id="r_a00425"><td·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">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
96 Typedefs</h2></td></tr> 
97 <tr·class="memitem:a77f46351fe46db7d54dfec534616366b"·id="r_a77f46351fe46db7d54dfec534616366b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
98 <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> 
99 <tr·class="memdesc:a77f46351fe46db7d54dfec534616366b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·trait·to·resolve·std::reference_wrapper.··<br·/></td></tr> 
100 <tr·class="separator:a77f46351fe46db7d54dfec534616366b"><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>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
103 Functions</h2></td></tr>103 Functions</h2></td></tr>
 104 <tr·class="memitem:a0ee36ec1f6416afa0487a8a224376e34"·id="r_a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 105 <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>
 106 <tr·class="memdesc:a0ee36ec1f6416afa0487a8a224376e34"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·shared_ptr·for·a·stack-allocated·object.··<br·/></td></tr>
 107 <tr·class="separator:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:ga965f89f9b3f8d3490d0db77d0cc54553"·id="r_ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>108 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"·id="r_abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
105 <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> 
106 <tr·class="memdesc:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<br·/></td></tr>109 <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;&[·...·truncated·by·diffoscope;·len:·6,·SHA:·35801ab7f60675533346e967aa7ee83284d578256d484df722cfd28b2b68b567·...·]</td></tr>
 110 <tr·class="memdesc:abc8b6bf5f8910e34829136293000c29e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·R-value·reference·to·shared_ptr.··<br·/></td></tr>
107 <tr·class="separator:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:abc8b6bf5f8910e34829136293000c29e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:a475729bf34315ee373afc7b55b81a47a"·id="r_a475729bf34315ee373afc7b55b81a47a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>112 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"·id="r_ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
109 <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·&a[·...·truncated·by·diffoscope;·len:·18,·SHA:·f3f1cd80c7e9872185c973bfc9cb1f2fd58f569a646c5f4f9725a4095bf977d1·...·]</td></tr>113 <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>
 114 <tr·class="memdesc:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·L-value·reference·to·std::shared_ptr.··<br·/></td></tr>
110 <tr·class="separator:a475729bf34315ee373afc7b55b81a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:ga2ca0c16cf494211b6128a9e6e2c6274b"·id="r_ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
112 <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> 
113 <tr·class="memdesc:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<br·/></td></tr> 
114 <tr·class="separator:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 </table><table·class="memberdecls"> 
116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
117 Variables</h2></td></tr> 
118 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"·id="r_ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
119 <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> 
120 <tr·class="memdesc:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·detect·if·given·type·is·a·std::reference_wrapper.··<br·/></td></tr> 
121 <tr·class="separator:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 </table>116 </table>
 117 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 118 <div·class="textblock"><p>This·file·implements·several·utilities·related·to·std::shared_ptr.·</p>
 119 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
123 </div><!--·contents·-->120 </div></div><!--·contents·-->
124 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
125 <hr·class="footer"/><address·class="footer"><small>122 <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.8123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
127 </small></address>124 </small></address>
128 </body>125 </body>
129 </html>126 </html>
2.05 KB
html2text {}
    
Offset 6, 42 lines modifiedOffset 6, 42 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Typedefs·|·Functions·|·Variables 
13 referencehelper.hh·File·Reference 
14 #include·<type_traits> 
15 #include·<functional>12 Classes·|·Namespaces·|·Functions
 13 shared_ptr.hh·File·Reference
 14 This·file·implements·several·utilities·related·to·std::shared_ptr.·More...
 15 #include·<memory>
 16 #include·<dune/common/typetraits.hh>
16 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
 18 ·Classes
 19 struct· Dune::null_deleter<_T_>
 20  ·······implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything
 21 ·········More...
 22  
17 ·Namespaces23 ·Namespaces
18 namespace· Dune24 namespace· Dune
19  ··········Dune·namespace.25  ··········Dune·namespace.
20  26  
21 ·Typedefs 
22 template<class·T·> 
23 using Dune::ResolveRef_t·=·std::remove_reference_t<·decltype(Dune::resolveRef 
24 ·······(std::declval<·T·&·>()))> 
25  ·····Type·trait·to·resolve·std::reference_wrapper. 
26   
27 ·Functions27 ·Functions
 28 template<typename·T·>
 29 std::shared_ptr<·T·> Dune::stackobject_to_shared_ptr·(T·&t)
 30  ····················Create·a·shared_ptr·for·a·stack-allocated·object.
28 template<class·T·> 
29 constexpr·T·& Dune::resolveRef·(T·&gf)·noexcept 
30  ·············Helper·function·to·resolve·std::reference_wrapper. 
31   
32 template<class·T·> 
33 ·const·auto·& Dune::resolveRef·(T·&&gf)=delete 
34  31  
35 template<class·T·>32 template<class·T·>
36 constexpr·T·& Dune::resolveRef·(std::reference_wrapper<·T·>·gf)·noexcept 
37  ·············Helper·function·to·resolve·std::reference_wrapper.33 ················auto Dune::wrap_or_move·(T·&&t)
 34  ····················Capture·R-value·reference·to·shared_ptr.
38  35  
39 ·Variables 
40 template<class·T·>36 template<class·T·>
41 constexpr·bool Dune::IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value 
42  ··············Helper·to·detect·if·given·type·is·a·std::reference_wrapper.37 ················auto Dune::wrap_or_move·(T·&t)
 38  ····················Capture·L-value·reference·to·std::shared_ptr.
43  39  
 40 *****·Detailed·Description·*****
 41 This·file·implements·several·utilities·related·to·std::shared_ptr.
 42 ··Author
 43 ······Markus·Blatt
  
44 ===============================================================================44 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.845 ·····Generated·by [doxygen]·1.9.8
25.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 92 lines modifiedOffset 74, 72 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">referencehelper.hh</div></div>80 ··<div·class="headertitle"><div·class="title">shared_ptr.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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> 
88 <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> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_SHARED_PTR_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_SHARED_PTR_HH</span></div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <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/typetraits.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
95 <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="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>95 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Impl·{</div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <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>96 <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>
100 <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> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
102 <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> 
103 <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> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
105 <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> 
106 <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> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}·<span·class="comment">//·namespace·Dune::Impl</span></div> 
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
114 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
115 <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="foldopen"·id="foldopen00047"·data-start="{"·data-end="}">97 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">
117 <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">[·...·truncated·by·diffoscope;·len:·62,·SHA:·249db16f30865ab3a57534ef52ab03c1f1e93568431af87781fcc50e45266753·...·]></div>98 <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>
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div>99 <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>··<span·class="keywordflow">return</span>·gf;</div>100 <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>
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div>
121 </div>102 </div>
122 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
123 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·return·value·is·stored.</span></div> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·leads·to·nicer·error·messages.</span></div> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
133 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
134 <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>104 <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>
135 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">105 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}">
136 <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>106 <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#a0ee36ec1f6416afa04[·...·truncated·by·diffoscope;·len:·56,·SHA:·b3094acbc909f15e3321b4f2abb0adbd78c797204a6bb4e248279c50aed675a7·...·]</div>
137 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>107 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
138 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·gf.get();</div>108 <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>
139 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>109 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>
140 </div>110 </div>
141 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>111 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
142 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>112 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
143 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
144 <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>113 <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>
145 <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#a77f46351fe46db7d54dfec53461636[·...·truncated·by·diffoscope;·len:·116,·SHA:·31a9bfdac8ae551ee3787d238dbf368df05eee479cae3330769ac09ea75e80b4·...·]>114 <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}">
 115 <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>
 116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div>
 117 <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>
 118 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>
 119 </div>
146 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>120 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 121 <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>
 122 <div·class="foldopen"·id="foldopen00119"·data-start="{"·data-end="}">
 123 <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>
 124 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div>
 125 <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>
 126 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div>
 127 </div>
147 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>128 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
148 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace·Dune</span></div> 
149 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>129 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>}</div>
150 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>130 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="preprocessor">#endif</span></div>
151 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
152 <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> 
153 <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> 
154 <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> 
155 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>131 <div·class="ttc"·id="aa00113_html"><div·class="ttname"><a·href="a00113.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
156 <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>132 <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>
157 <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;·Resolv[·...·truncated·by·diffoscope;·len:·141,·SHA:·eca748ba4a120de9d9f5e32171c31ec65b906af172a4022a80f33884b5e4641d·...·]</div></div>133 <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[·...·truncated·by·diffoscope;·len:·110,·SHA:·5f72041acbdbef512f88e900cb59295574692fa2fec4d01499bad82e61ccae9f·...·]</div></div>
 134 <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>
 135 <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>
 136 <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>
 137 <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>
158 </div><!--·fragment·--></div><!--·contents·-->138 </div><!--·fragment·--></div><!--·contents·-->
159 <!--·start·footer·part·-->139 <!--·start·footer·part·-->
160 <hr·class="footer"/><address·class="footer"><small>140 <hr·class="footer"/><address·class="footer"><small>
161 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8141 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
162 </small></address>142 </small></address>
163 </body>143 </body>
164 </html>144 </html>
Max diff block lines reached; -1/21673 bytes (-0.00%) of diff not shown.
4.05 KB
html2text {}
    
Offset 7, 100 lines modifiedOffset 7, 76 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 referencehelper.hh12 shared_ptr.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH 
20 ·6#define·DUNE_COMMON_REFERENCE_HELPER_HH 
21 ·7 
22 ·8#include·<type_traits> 
23 ·9#include·<functional>19 ·5
 20 ·6#ifndef·DUNE_SHARED_PTR_HH
 21 ·7#define·DUNE_SHARED_PTR_HH
 22 ·8
 23 ·9#include·<memory>
24 ·1024 ·10
 25 ·11#include·<dune/common/typetraits.hh>
25 ·11 
26 ·12 
27 ·13namespace·Dune·{26 ·17namespace·Dune
 27 ·18{
28 ·14 
29 ·15namespace·Impl·{ 
30 ·16 
31 ·17·template<class·T>28 ·47·template<class·T>
 29 48·struct·null_deleter
 30 ·49·{
 31 50·void·operator()(T*)·const·{}
 32 ·51·};
32 ·18·class·IsReferenceWrapper·:·public·std::false_type·{}; 
33 ·19 
34 ·20·template<class·T> 
35 ·21·class·IsReferenceWrapper<std::reference_wrapper<T>>·:·public·std::true_type 
36 {}; 
37 ·22 
38 ·23·template<class·T> 
39 ·24·class·IsReferenceWrapper<const·std::reference_wrapper<T>>·:·public·std:: 
40 true_type·{}; 
41 ·25 
42 ·26}·//·namespace·Dune::Impl 
43 ·27 
44 ·28 
45 ·34template<class·T> 
46 35constexpr·bool·IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value; 
47 ·36 
48 ·37 
49 ·46template<class·T> 
50 47constexpr·T&·resolveRef(T&·gf)·noexcept 
51 ·48{ 
52 ·49·return·gf; 
53 ·50} 
54 ·51 
55 ·5233 ·52
56 ·53//·There's·no·overload·for·non·std::reference_wrapper·r-values, 
57 ·54//·because·this·may·lead·to·undefined·behavior·whenever·the 
58 ·55//·return·value·is·stored. 
59 ·56//·Notice·that·deleting·the·overload·is·not·necessary,·but 
60 ·57//·helps·to·document·that·it·is·missing·on·purpose.·It·also 
61 ·58//·leads·to·nicer·error·messages.34 ·71·template<typename·T>
 35 72·inline·std::shared_ptr<T>·stackobject_to_shared_ptr(T·&·t)
 36 ·73·{
 37 ·74·return·std::shared_ptr<T>(&t,·null_deleter<T>());
 38 ·75·}
 39 ·76
 40 ·77
62 ·59template<class·T>41 ·95·template<class·T>
63 60const·auto&·resolveRef(T&&·gf)·=·delete; 
64 ·61 
65 ·6242 96·auto·wrap_or_move(T&&·t)
 43 ·97·{
 44 ·98·return·std::make_shared<std::decay_t<T>>(std::forward<T>(t));
 45 ·99·}
 46 ·100
66 ·81template<class·T>47 ·118·template<class·T>
 48 119·auto·wrap_or_move(T&·t)
 49 ·120·{
 50 ·121·return·stackobject_to_shared_ptr(t);
 51 ·122·}
67 82constexpr·T&·resolveRef(std::reference_wrapper<T>·gf)·noexcept 
68 ·83{ 
69 ·84·return·gf.get(); 
70 ·85} 
71 ·86 
72 ·87 
73 ·88 
74 ·99template<class·T> 
75 100using·ResolveRef_t·=·std::remove_reference_t<decltype(Dune::resolveRef(std:: 
76 declval<T&>()))>; 
77 ·101 
78 ·10252 ·123
 53 ·124}
 54 ·125#endif
 55 typetraits.hh
 56 Traits·for·type·conversions·and·type·information.
79 ·103}·//·namespace·Dune 
80 ·104 
81 ·105 
82 ·106 
83 ·107#endif·//·DUNE_COMMON_REFERENCE_HELPER_HH 
84 Dune::IsReferenceWrapper_v 
85 constexpr·bool·IsReferenceWrapper_v 
86 Helper·to·detect·if·given·type·is·a·std::reference_wrapper. 
87 Definition·referencehelper.hh:35 
88 Dune::resolveRef 
89 constexpr·T·&·resolveRef(T·&gf)·noexcept 
90 Helper·function·to·resolve·std::reference_wrapper. 
91 Definition·referencehelper.hh:47 
92 std 
93 STL·namespace. 
94 Dune57 Dune
95 Dune·namespace.58 Dune·namespace.
96 Definition·alignedallocator.hh:1359 Definition·alignedallocator.hh:13
97 Dune::ResolveRef_t 
98 std::remove_reference_t<·decltype(Dune::resolveRef(std::declval<·T·&·>()))> 
99 ResolveRef_t 
100 Type·trait·to·resolve·std::reference_wrapper. 
101 Definition·referencehelper.hh:10060 Dune::stackobject_to_shared_ptr
 61 std::shared_ptr<·T·>·stackobject_to_shared_ptr(T·&t)
 62 Create·a·shared_ptr·for·a·stack-allocated·object.
Max diff block lines reached; 116/4124 bytes (2.81%) of diff not shown.
10.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 46 lines modifiedOffset 70, 56 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<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>
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">debugalign.cc·File·Reference</div></div> 
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
 82 <p>This·file·implements·a·dense·vector·with·a·dynamic·size.··
 83 <a·href="#details">More...</a></p>
82 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
83 <code>#include·&lt;cstddef&gt;</code><br·/>85 <code>#include·&lt;cstddef&gt;</code><br·/>
84 <code>#include·&lt;cstdlib&gt;</code><br·/>86 <code>#include·&lt;cstdlib&gt;</code><br·/>
85 <code>#include·&lt;functional&gt;</code><br·/>87 <code>#include·&lt;complex&gt;</code><br·/>
 88 <code>#include·&lt;cstring&gt;</code><br·/>
 89 <code>#include·&lt;initializer_list&gt;</code><br·/>
86 <code>#include·&lt;ios&gt;</code><br·/>90 <code>#include·&lt;limits&gt;</code><br·/>
87 <code>#include·&lt;iostream&gt;</code><br·/> 
88 <code>#include·&lt;utility&gt;</code><br·/>91 <code>#include·&lt;utility&gt;</code><br·/>
 92 <code>#include·&quot;<a·class="el"·href="a00080_source.html">boundschecking.hh</a>&quot;</code><br·/>
 93 <code>#include·&quot;<a·class="el"·href="a00110_source.html">exceptions.hh</a>&quot;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00065_source.html">genericiterator.hh</a>&quot;</code><br·/>
 95 <code>#include·&lt;vector&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>96 <code>#include·&quot;<a·class="el"·href="a00239_source.html">densevector.hh</a>&quot;</code><br·/>
 97 </div>
 98 <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 </div><table·class="memberdecls">99 <table·class="memberdecls">
 100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 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="a01516.html">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</a></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html">Dune::FieldTraits&lt;·DynamicVector&lt;·K,·Allocator·&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="a01512.html">Dune::DynamicVector&lt;·K,·Allocator·&gt;</a></td></tr>
 107 <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>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 </table><table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
92 Namespaces</h2></td></tr>111 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memitem:a00425"·id="r_a00425"><td·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>113 <tr·class="memdesc: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>114 <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="func-members"·name="func-members"></a> 
98 Functions</h2></td></tr> 
99 <tr·class="memitem:a9f0c3f5a28263a8dd6cb81d9cfd8c929"·id="r_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·*<a·class="el"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>,·std::size_t·expectedAlignment,·const·void·*address)</td></tr> 
100 <tr·class="memdesc:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">default·alignment·violation·handler··<br·/></td></tr> 
101 <tr·class="separator:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"·id="r_abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr> 
103 <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>··<br·/></td></tr> 
104 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"·id="r_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·*<a·class="el"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>,·std::size_t·expectedAlignment,·const·void·*address)</td></tr> 
106 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<br·/></td></tr> 
107 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 </table>115 </table>
 116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 117 <div·class="textblock"><p>This·file·implements·a·dense·vector·with·a·dynamic·size.·</p>
109 </div><!--·contents·-->118 </div></div><!--·contents·-->
110 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>120 <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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>122 </small></address>
114 </body>123 </body>
115 </html>124 </html>
1.97 KB
html2text {}
    
Offset 6, 37 lines modifiedOffset 6, 42 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions 
13 debugalign.cc·File·Reference 
14 #include·<config.h>12 Classes·|·Namespaces
 13 dynvector.hh·File·Reference
 14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 This·file·implements·a·dense·vector·with·a·dynamic·size.·More...
 16 #include·<cmath>
15 #include·<cstddef>17 #include·<cstddef>
16 #include·<cstdlib>18 #include·<cstdlib>
17 #include·<functional>19 #include·<complex>
 20 #include·<cstring>
 21 #include·<initializer_list>
18 #include·<ios>22 #include·<limits>
19 #include·<iostream> 
20 #include·<utility>23 #include·<utility>
21 #include·<dune/common/debugalign.hh> 
22 ·Namespaces 
23 namespace· Dune 
24  ··········Dune·namespace.24 #include·"boundschecking.hh"
 25 #include·"exceptions.hh"
 26 #include·"genericiterator.hh"
 27 #include·<vector>
 28 #include·"densevector.hh"
 29 Go_to_the_source_code_of_this_file.
 30 ·Classes
 31 struct· Dune::DenseMatVecTraits<_DynamicVector<_K,_Allocator_>_>
25  32  
 33 struct· Dune::FieldTraits<_DynamicVector<_K,_Allocator_>_>
26 ·Functions 
27 ···············static·void Dune::defaultViolatedAlignment·(const·char 
28 ····························*className,·std::size_t·expectedAlignment,·const 
29 ····························void·*address) 
30  ··························default·alignment·violation·handler 
31  34  
32 ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·() 
33  ··························access·the·handler·called·by·violatedAlignment()35 ·class· Dune::DynamicVector<_K,_Allocator_>
 36  ·······Construct·a·vector·with·a·dynamic·size.·More...
34  37  
35 ······················void Dune::violatedAlignment·(const·char·*className, 
36 ····························std::size_t·expectedAlignment,·const·void·*address) 
37  ··························called·when·an·alignment·violation·is·detected38 ·Namespaces
 39 namespace· Dune
 40  ··········Dune·namespace.
38  41  
 42 *****·Detailed·Description·*****
 43 This·file·implements·a·dense·vector·with·a·dynamic·size.
  
39 ===============================================================================44 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.845 ·····Generated·by [doxygen]·1.9.8
9.98 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 60 lines modifiedOffset 70, 42 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#func-members">Functions</a>··</div>
79 ··<div·class="headertitle"><div·class="title">bitsetvector.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">filledarray.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.··82 <p>Utility·to·generate·an·array·with·a·certain·value.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
85 <code>#include·&lt;bitset&gt;</code><br·/> 
86 <code>#include·&lt;iostream&gt;</code><br·/>85 <code>#include·&lt;cstddef&gt;</code><br·/>
87 <code>#include·&lt;algorithm&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
91 </div>86 </div>
92 <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p>
93 <table·class="memberdecls">88 <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="a01328.html">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;</a></td></tr> 
97 <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> 
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="a01324.html">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;</a></td></tr> 
100 <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> 
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="a01332.html">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01336.html">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&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">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> 
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="a01344.html">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01320.html">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;</a></td></tr> 
111 <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> 
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="namespaces"·name="namespaces"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
115 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
116 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 </table><table·class="memberdecls">
 95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 96 Functions</h2></td></tr>
 97 <tr·class="memitem:ga46cb139c38212292b2f30c3b2743aa48"·id="r_ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·n,·class·T·&gt;·</td></tr>
 98 <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>
 99 <tr·class="memdesc:ga46cb139c38212292b2f30c3b2743aa48"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·an·array·filled·with·the·provided·value.··<br·/></td></tr>
 100 <tr·class="separator:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 </table>101 </table>
120 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
121 <div·class="textblock"><p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·</p>103 <div·class="textblock"><p>Utility·to·generate·an·array·with·a·certain·value.·</p>
122 </div></div><!--·contents·-->104 </div></div><!--·contents·-->
123 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>106 <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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>108 </small></address>
127 </body>109 </body>
128 </html>110 </html>
1.97 KB
html2text {}
    
Offset 6, 50 lines modifiedOffset 6, 27 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Functions
 13 filledarray.hh·File·Reference
 14 Utility·to·generate·an·array·with·a·certain·value.·More...
 15 #include·<array>
12 Classes·|·Namespaces 
13 bitsetvector.hh·File·Reference 
14 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans. 
15 More... 
16 #include·<vector> 
17 #include·<bitset> 
18 #include·<iostream>16 #include·<cstddef>
19 #include·<algorithm> 
20 #include·<dune/common/boundschecking.hh> 
21 #include·<dune/common/genericiterator.hh> 
22 #include·<dune/common/exceptions.hh> 
23 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
24 ·Classes 
25 ·class· Dune::BitSetVectorConstReference<_block_size,_Alloc_> 
26  ·······A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a 
27 ·········BitSetVector.·More... 
28   
29 ·class· Dune::BitSetVectorReference<_block_size,_Alloc_> 
30  ·······A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a 
31 ·········BitSetVector.·More... 
32   
33 struct· Dune::const_reference<_BitSetVectorReference<_block_size,_Alloc_>_> 
34   
35 struct· Dune::const_reference<_BitSetVectorConstReference<_block_size,_Alloc_> 
36 ·········> 
37   
38 struct· Dune::mutable_reference<_BitSetVectorReference<_block_size,_Alloc_>_> 
39   
40 struct· Dune::mutable_reference<_BitSetVectorConstReference<_block_size,_Alloc 
41 ·········>_> 
42   
43 ·class· Dune::BitSetVector<_block_size,_Allocator_> 
44  ·······A·dynamic·array·of·blocks·of·booleans.·More... 
45   
46 ·Namespaces18 ·Namespaces
47 namespace· Dune19 namespace· Dune
48  ··········Dune·namespace.20  ··········Dune·namespace.
49  21  
 22 ·Functions
 23 template<std::size_t·n,·class·T·>
 24 constexpr·std::array<·T,·n·> Dune::filledArray·(const·T·&t)
 25  ····························Return·an·array·filled·with·the·provided·value.
 26  
50 *****·Detailed·Description·*****27 *****·Detailed·Description·*****
51 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.28 Utility·to·generate·an·array·with·a·certain·value.
  
52 ===============================================================================29 ===============================================================================
53 ·····Generated·by [doxygen]·1.9.830 ·····Generated·by [doxygen]·1.9.8
177 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 787 lines modifiedOffset 74, 48 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">bitsetvector.hh</div></div>80 ··<div·class="headertitle"><div·class="title">filledarray.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BLOCK_BITFIELD_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BLOCK_BITFIELD_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>88 <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>
 89 <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>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00227.html">dune/common/genericiterator.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
99 <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>94 <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>
 95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div>
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
101 <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> 
102 <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> 
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
104 <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>97 <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>
105 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">98 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}">
106 <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>99 <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#ga46cb139c38212292[·...·truncated·by·diffoscope;·len:·78,·SHA:·204cc8d2581a0203d75a4ab2ef917a4e928148c37c183a8b437e6b1326f3b945·...·]</div>
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
 101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····std::array&lt;T,·n&gt;·arr{};</div>
 102 <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>
 103 <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>
 104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······el·=·t;</div>
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">protected</span>:</div>105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·arr;</div>
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
113 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> 
114 <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> 
115 <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> 
116 <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> 
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>······<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> 
119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div> 
120 </div>107 </div>
121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
122 <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> 
123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">public</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"><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> 
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="comment">//·bitset·interface·typedefs</span></div> 
129 <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> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
133 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}"> 
134 <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> 
135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">····</span>{</div> 
136 <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> 
137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······b·&lt;&lt;=·n;</div> 
138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·b;</div> 
139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div> 
140 </div> 
141 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
142 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> 
143 <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> 
144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">····</span>{</div> 
145 <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> 
146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······b·&gt;&gt;=·n;</div> 
147 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·b;</div> 
148 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
149 </div> 
150 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
151 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> 
152 <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> 
153 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">····</span>{</div> 
154 <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> 
155 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······b.flip();</div> 
156 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·b;</div> 
157 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div> 
158 </div> 
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
160 <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}"> 
161 <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> 
162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">····</span>{</div> 
163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="keywordflow">return</span>·block_size;</div> 
164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····}</div> 
165 </div> 
166 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
167 <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="}"> 
168 <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> 
169 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">····</span>{</div> 
170 <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> 
171 <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> 
172 <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> 
173 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="keywordflow">return</span>·n;</div> 
174 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····}</div> 
175 </div> 
176 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
Max diff block lines reached; 35547/151866 bytes (23.41%) of diff not shown.
28.6 KB
html2text {}
    
Offset 7, 939 lines modifiedOffset 7, 47 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 bitsetvector.hh12 filledarray.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_BLOCK_BITFIELD_HH 
20 ·6#define·DUNE_BLOCK_BITFIELD_HH 
21 ·7 
22 ·12#include·<vector> 
23 ·13#include·<bitset>19 ·5
 20 ·6#ifndef·DUNE_COMMON_FILLED_ARRAY_HH
 21 ·7#define·DUNE_COMMON_FILLED_ARRAY_HH
 22 ·8
 23 ·13#include·<array>
24 ·14#include·<iostream>24 ·14#include·<cstddef>
 25 ·15
25 ·15#include·<algorithm> 
26 ·16 
27 ·17#include·<dune/common/boundschecking.hh> 
28 ·18#include·<dune/common/genericiterator.hh> 
29 ·19#include·<dune/common/exceptions.hh> 
30 ·20 
31 ·21namespace·Dune·{26 ·16namespace·Dune
32 ·22 
33 ·23·template·<int·block_size,·class·Alloc>·class·BitSetVector; 
34 ·24·template·<int·block_size,·class·Alloc>·class·BitSetVectorReference; 
35 ·25 
36 ·36·template·<int·block_size,·class·Alloc> 
37 37·class·BitSetVectorConstReference 
38 ·38·{ 
39 ·39·protected: 
40 ·40 
41 41·typedef·Dune::BitSetVector<block_size,_Alloc>·BitSetVector; 
42 ·42·friend·class·Dune::BitSetVector<block_size,·Alloc>; 
43 ·43 
44 44·BitSetVectorConstReference(const·BitSetVector&·blockBitField_,·int 
45 block_number_)·: 
46 ·45·blockBitField(blockBitField_), 
47 ·46·block_number(block_number_) 
48 ·47·{ 
49 ·48·DUNE_ASSERT_BOUNDS(blockBitField_.size()·>·static_cast<size_t> 
50 (block_number_)); 
51 ·49·} 
52 ·50 
53 52·BitSetVectorConstReference&·operator=(const·BitSetVectorConstReference·&·b); 
54 ·53 
55 ·54·public: 
56 ·55 
57 56·typedef·std::bitset<block_size>·bitset; 
58 ·57 
59 ·58·//·bitset·interface·typedefs 
60 59·typedef·typename·std::vector<bool,·Alloc>::const_reference·reference; 
61 60·typedef·typename·std::vector<bool,·Alloc>::const_reference·const_reference; 
62 61·typedef·size_t·size_type; 
63 ·62 
64 64·bitset·operator<<(size_type·n)·const 
65 ·65·{ 
66 ·66·bitset·b·=·*this; 
67 ·67·b·<<=·n; 
68 ·68·return·b; 
69 ·69·} 
70 ·70 
71 72·bitset·operator>>(size_type·n)·const 
72 ·73·{ 
73 ·74·bitset·b·=·*this; 
74 ·75·b·>>=·n; 
75 ·76·return·b; 
76 ·77·} 
77 ·78 
78 80·bitset·operator~()·const 
79 ·81·{ 
80 ·82·bitset·b·=·*this; 
81 ·83·b.flip(); 
82 ·84·return·b; 
83 ·85·} 
84 ·86 
85 88·size_type·size()·const 
86 ·89·{ 
87 ·90·return·block_size; 
88 ·91·} 
89 ·92 
90 94·size_type·count()·const 
91 ·95·{ 
92 ·96·size_type·n·=·0; 
93 ·97·for(size_type·i=0;·i<block_size;·++i) 
94 ·98·n·+=·getBit(i); 
95 ·99·return·n; 
96 ·100·} 
97 ·101 
98 103·bool·any()·const 
99 ·104·{ 
100 ·105·return·count(); 
101 ·106·} 
102 ·107 
103 109·bool·none()·const 
104 ·110·{ 
105 ·111·return·!·any(); 
106 ·112·} 
107 ·113 
108 115·bool·all()·const 
109 ·116·{ 
110 ·117·for(size_type·i=0;·i<block_size;·++i) 
111 ·118·if(not·test(i)) 
112 ·119·return·false; 
113 ·120·return·true; 
114 ·121·} 
115 ·122 
116 124·bool·test(size_type·n)·const 
117 ·125·{ 
118 ·126·return·getBit(n); 
119 ·127·} 
120 ·128 
121 130·const_reference·operator[](size_type·i)·const 
122 ·131·{ 
123 ·132·return·getBit(i); 
124 ·133·} 
125 ·134 
126 136·operator·bitset()·const 
Max diff block lines reached; 13679/29229 bytes (46.80%) of diff not shown.
27.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 119 lines modifiedOffset 72, 50 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>·&#124;79 <a·href="#func-members">Functions</a>··</div>
80 <a·href="#var-members">Variables</a>··</div> 
81 ··<div·class="headertitle"><div·class="title">rangeutilities.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">tuplevector.hh·File·Reference</div></div>
82 </div><!--header-->81 </div><!--header-->
83 <div·class="contents">82 <div·class="contents">
  
84 <p>Utilities·for·reduction·like·operations·on·ranges.··83 <p>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].··
85 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
 85 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
86 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;algorithm&gt;</code><br·/> 
88 <code>#include·&lt;utility&gt;</code><br·/>86 <code>#include·&lt;utility&gt;</code><br·/>
89 <code>#include·&lt;type_traits&gt;</code><br·/> 
90 <code>#include·&lt;bitset&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
91 </div>90 </div>
92 <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p>
93 <table·class="memberdecls">92 <table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
95 Classes</h2></td></tr>94 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="a02500.html">Dune::IntegralRange&lt;·T·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03024.html">Dune::TupleVector&lt;·T·&gt;</a></td></tr>
97 <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> 
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="a02504.html">Dune::StaticIntegralRange&lt;·T,·to,·from·&gt;</a></td></tr> 
100 <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> 
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="a02508.html">Dune::ValueTransformationTag</a></td></tr> 
103 <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> 
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="a02512.html">Dune::IteratorTransformationTag</a></td></tr> 
106 <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> 
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="a02536.html">Dune::TransformedRangeView&lt;·R,·F,·T·&gt;</a></td></tr> 
109 <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>96 <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>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
112 <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>
113 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
114 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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="memdesc: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>
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
118 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
119 Functions</h2></td></tr>106 Functions</h2></td></tr>
 107 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"·id="r_ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 108 <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>
120 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"·id="r_gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
121 <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> 
122 <tr·class="memdesc:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·maximum·value·over·a·range··<br·/></td></tr> 
123 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"·id="r_gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
125 <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> 
126 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"·id="r_gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
128 <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> 
129 <tr·class="memdesc:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·minimum·value·over·a·range··<br·/></td></tr> 
130 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"·id="r_gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
132 <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> 
133 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:ga19dd21ff930466597df962ae58d58c57"·id="r_ga19dd21ff930466597df962ae58d58c57"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
135 <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> 
136 <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··<br·/></td></tr> 
137 <tr·class="separator:ga19dd21ff930466597df962ae58d58c57"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:gaaca8a2450469eb41c338d8f51231fc34"·id="r_gaaca8a2450469eb41c338d8f51231fc34"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr> 
139 <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> 
140 <tr·class="separator:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:ga3f11c34177907a5c592990a5f4840e92"·id="r_ga3f11c34177907a5c592990a5f4840e92"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
142 <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> 
143 <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··<br·/></td></tr> 
144 <tr·class="separator:ga3f11c34177907a5c592990a5f4840e92"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:ga1782fbfe7b40a75fecb933f720357e54"·id="r_ga1782fbfe7b40a75fecb933f720357e54"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr> 
146 <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> 
147 <tr·class="separator:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"·id="r_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> 
149 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02500.html">IntegralRange</a>&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> 
150 <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:·<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range(0,10)</a>)·//·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:·<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range(10)</a>)·//·0,1,2,3,4,5,6,7,8,9··<br·/></td></tr> 
151 <tr·class="separator:gae90ef519a48803f4a414eb4d643669ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"·id="r_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> 
153 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02500.html">IntegralRange</a>&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> 
154 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
155 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"·id="r_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> 
156 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02500.html">IntegralRange</a>&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> 
157 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"·id="r_ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·to&gt;·</td></tr> 
159 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02504.html">StaticIntegralRange</a>&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> 
160 <tr·class="separator:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
161 <tr·class="memitem:gae2dd8cb1fce8767381e33a5b834cf55d"·id="r_gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr> 
162 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·const·F·&amp;f)</td></tr> 
163 <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>.··<br·/></td></tr> 
164 <tr·class="separator:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ae982edb333af3a1f24fe324cc593be0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
165 <tr·class="memitem:gaccf70716194b093e0d21e6da93c108f8"·id="r_gaccf70716194b093e0d21e6da93c108f8"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr> 
166 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·const·F·&amp;f)</td></tr> 
167 <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.··<br·/></td></tr> 
168 <tr·class="separator:gaccf70716194b093e0d21e6da93c108f8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
169 <tr·class="memitem:gaa75d4e74da1410405a33a5a62b5710e7"·id="r_gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·&gt;·</td></tr> 
170 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>)</td></tr> 
171 <tr·class="memdesc:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allow·structured-binding·for-loops·for·sparse·iterators.··<br·/></td></tr> 
172 <tr·class="separator:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
173 </table><table·class="memberdecls"> 
174 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
175 Variables</h2></td></tr> 
176 <tr·class="memitem:gaf6a410eeed71fe1210f8dc847174cbc8"·id="r_gaf6a410eeed71fe1210f8dc847174cbc8"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·from,·T·to&gt;·</td></tr> 
Max diff block lines reached; 722/21548 bytes (3.35%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
6.17 KB
html2text {}
    
Offset 6, 134 lines modifiedOffset 6, 35 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions·|·Variables12 Classes·|·Namespaces·|·Functions
 13 tuplevector.hh·File·Reference
 14 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·More...
 15 #include·<tuple>
13 rangeutilities.hh·File·Reference 
14 Utilities·for·reduction·like·operations·on·ranges.·More... 
15 #include·<dune/common/typetraits.hh> 
16 #include·<algorithm> 
17 #include·<utility>16 #include·<utility>
18 #include·<type_traits> 
19 #include·<bitset>17 #include·<dune/common/indices.hh>
 18 #include·<dune/common/typetraits.hh>
 19 #include·<dune/common/std/type_traits.hh>
20 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
21 ·Classes21 ·Classes
 22 class· Dune::TupleVector<_T_>
 23  ······A·class·augmenting·std::tuple·by·element·access·via·operator[].·More...
22 ·class· Dune::IntegralRange<_T_> 
23  ·······dynamic·integer·range·for·use·in·range-based·for·loops·More... 
24   
25 ·class· Dune::StaticIntegralRange<_T,_to,_from_> 
26  ·······static·integer·range·for·use·in·range-based·for·loops·More... 
27   
28 struct· Dune::ValueTransformationTag 
29  ·······Tag·to·enable·value·based·transformations·in·TransformedRangeView. 
30 ·········More... 
31   
32 struct· Dune::IteratorTransformationTag 
33  ·······Tag·to·enable·iterator·based·transformations·in·TransformedRangeView. 
34 ·········More... 
35   
36 ·class· Dune::TransformedRangeView<_R,_F,_T_> 
37  ·······A·range·transforming·the·values·of·another·range·on-the-fly.·More... 
38  24  
39 ·Namespaces25 ·Namespaces
40 namespace· Dune26 namespace· Dune
41  ··········Dune·namespace.27  ··········Dune·namespace.
42  28  
43 ·Functions29 ·Functions
44 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
45 type·=·0> 
46 ····························T::value_type Dune::max_value·(const·T·&v) 
47  ·········································compute·the·maximum·value·over·a 
48 ···········································range 
49   
50 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>:: 
51 type·=·0> 
52 ································const·T·& Dune::max_value·(const·T·&v) 
53   
54 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
55 type·=·0> 
56 ····························T::value_type Dune::min_value·(const·T·&v) 
57  ·········································compute·the·minimum·value·over·a 
58 ···········································range 
59   
60 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>:: 
61 type·=·0> 
62 ································const·T·& Dune::min_value·(const·T·&v) 
63   
64 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
65 type·=·0> 
66 ·····································bool Dune::any_true·(const·T·&v) 
67  ·········································similar·to·std::bitset<N>::any() 
68 ···········································return·true,·if·any·entries·is·true 
69   
70 template<std::size_t·N> 
71 ·····································bool Dune::any_true·(const·std::bitset<·N 
72 ···········································>·&b) 
73   
74 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
75 type·=·0> 
76 ·····································bool Dune::all_true·(const·T·&v) 
77  ·········································similar·to·std::bitset<N>::all() 
78 ···········································return·true,·if·any·entries·is·true 
79   
80 template<std::size_t·N> 
81 ·····································bool Dune::all_true·(const·std::bitset<·N 
82 ···········································>·&b) 
83   
84 template<class·T·,·class·U·,·std::enable_if_t<·std::is_same<·std::decay_t<·T·>, 
85 std::decay_t<·U·>·>::value,·int·>·=·0,·std::enable_if_t<·std::is_integral< 
86 std::decay_t<·T·>·>::value,·int·>·=·0> 
87 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&from,·U·&&to) 
88 ···········································noexcept 
89 ···········································free·standing·function·for·setting 
90 ···········································up·a·range·based·for·loop·over·an 
91 ···········································integer·range·for·(auto·i:·range 
92  ·········································(0,10))·//·0,1,2,3,4,5,6,7,8,9·or 
93 ···········································for·(auto·i:·range(-10,10))·//·-10,- 
94 ···········································9,..,8,9·or·for·(auto·i:·range(10)) 
95 ···········································//·0,1,2,3,4,5,6,7,8,9 
96   
97 template<class·T·,·std::enable_if_t<·std::is_integral<·std::decay_t<·T·>·>:: 
98 value,·int·>·=·0> 
99 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&to)·noexcept 
100   
101 template<class·T·,·std::enable_if_t<·std::is_enum<·std::decay_t<·T·>·>::value, 
102 int·>·=·0> 
103 ···············static·IntegralRange<·std:: 
104 ·underlying_type_t<·std::decay_t<·T·>·>·> Dune::range·(T·&&to)·noexcept 
105   
106 template<class·T·,·T·to>30 template<class...·T>
 31 constexpr·auto Dune::makeTupleVector·(T·&&...·t)
107 ······static·StaticIntegralRange<·T,·to·> Dune::range·(std::integral_constant< 
108 ···········································T,·to·>)·noexcept 
109   
110 template<class·R·,·class·F·> 
111 ·····································auto Dune::transformedRangeView·(R 
112 ···········································&&range,·const·F·&f) 
113  ·········································Create·a·TransformedRangeView. 
114   
115 template<class·R·,·class·F·> 
116 ·····································auto Dune::iteratorTransformedRangeView 
117 ···········································(R·&&range,·const·F·&f) 
118  ·········································Create·a·TransformedRangeView·using 
119 ···········································an·iterator·transformation. 
120   
121 template<class·Range·> 
122 ·····································auto Dune::sparseRange·(Range·&&range) 
123  ·········································Allow·structured-binding·for-loops 
Max diff block lines reached; 332/6298 bytes (5.27%) of diff not shown.
174 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 707 lines modifiedOffset 74, 120 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">rangeutilities.hh</div></div>80 ··<div·class="headertitle"><div·class="title">tuplevector.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TUPLEVECTOR_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TUPLEVECTOR_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00305.html">dune/common/indices.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
96 <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>99 <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>
97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
98 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 103 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</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">typename</span>·T,</div>104 <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>
100 <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> 
101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">typename</span>·T::value_type</div> 
102 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}">105 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
103 <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</sp[·...·truncated·by·diffoscope;·len:·16,·SHA:·521d415d11a030c7a499d5f6b64f58ac014a0eb033eedbb41dcc3763675a8368·...·]</div>106 <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>
 107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>
104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">using·</span>std::max_element;</div>108 <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>
105 <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>109 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 110 <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>
 111 <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>
106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>112 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
107 </div>113 <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>
 114 <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>
108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>115 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
109 <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> 
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>116 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 117 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>
 118 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
113 <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>119 <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>
 120 <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>
114 <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> 
115 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·T::value_type</div> 
116 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}">121 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}">
 122 <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>
 123 <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>
117 <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> 
118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>std::min_element;</div> 
119 <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> 
120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div>124 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div>
121 </div>125 </div>
122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>126 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 127 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}">
 128 <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>
123 <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> 
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>129 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{}</div>
127 <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> 
128 <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> 
129 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> 
130 <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> 
131 <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> 
132 <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> 
133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······b·=·b·or·<span·class="keywordtype">bool</span>(e);</div> 
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·b;</div> 
135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div> 
136 </div>130 </div>
 131 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 132 <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>
 133 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}">
 134 <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>
 135 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>
 136 <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>
 137 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div>
 138 </div>
 139 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 140 <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>
 141 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}">
 142 <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>
137 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>143 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
138 <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> 
139 <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>144 <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>
140 <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> 
141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>145 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div>
142 <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>146 </div>
 147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
143 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">148 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}">
144 <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_tru[·...·truncated·by·diffoscope;·len:·69,·SHA:·f6a868b1ed70ddc13f1790be5f2ac13d054eb603dd5594b36154092d934a63e9·...·])</div>149 <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[·...·truncated·by·diffoscope;·len:·50,·SHA:·f9585da41d3997ca1e54b9e1a67cf537185e6c1a52929d35af9ff8963aa9789a·...·])</div>
145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>
146 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·b.any();</div>151 <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>
147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div>152 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div>
148 </div>153 </div>
149 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>154 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div>
150 <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> 
151 <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> 
Max diff block lines reached; 122911/146275 bytes (84.03%) of diff not shown.
31.2 KB
html2text {}
    
Offset 7, 883 lines modifiedOffset 7, 126 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 rangeutilities.hh12 tuplevector.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH 
20 ·6#define·DUNE_COMMON_RANGE_UTILITIES_HH19 ·5#ifndef·DUNE_COMMON_TUPLEVECTOR_HH
 20 ·6#define·DUNE_COMMON_TUPLEVECTOR_HH
21 ·721 ·7
 22 ·8#include·<tuple>
 23 ·9#include·<utility>
 24 ·10
 25 ·11#include·<dune/common/indices.hh>
22 ·8#include·<dune/common/typetraits.hh>26 ·12#include·<dune/common/typetraits.hh>
 27 ·13#include·<dune/common/std/type_traits.hh>
 28 ·14
 29 ·15
 30 ·16
23 ·9#include·<algorithm> 
24 ·10#include·<utility> 
25 ·11#include·<type_traits> 
26 ·12#include·<bitset> 
27 ·13 
28 ·21namespace·Dune31 ·23namespace·Dune
29 ·22{32 ·24{
30 ·23 
31 ·34·template·<typename·T, 
32 ·35·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
33 ·36·typename·T::value_type 
34 37·max_value(const·T·&·v)·{ 
35 ·38·using·std::max_element; 
36 ·39·return·*max_element(v.begin(),·v.end());33 ·25
 34 ·26
 35 ·27
 36 ·33template<class...·T>
 37 34class·TupleVector·:·public·std::tuple<T...>
 38 ·35{
 39 ·36·using·Base·=·std::tuple<T...>;
 40 ·37
 41 ·38·template<class...·TT>
 42 ·39·using·TupleConstructorDetector·=·decltype(Base(std::declval<TT&&>()...));
37 ·40·}43 ·40
38 ·41 
39 ·42·template·<typename·T, 
40 ·43·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0> 
41 44·const·T·&·max_value(const·T·&·v)·{·return·v;·} 
42 ·45 
43 ·51·template·<typename·T, 
44 ·52·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
45 ·53·typename·T::value_type 
46 54·min_value(const·T·&·v)·{ 
47 ·55·using·std::min_element; 
48 ·56·return·*min_element(v.begin(),·v.end());44 ·41·template<class...·TT>
 45 ·42·using·hasTupleConstructor·=·Dune::Std::
 46 is_detected<TupleConstructorDetector,·TT...>;
 47 ·43
 48 ·44
 49 ·45public:
 50 ·46
 51 ·53·template<class...·TT,
 52 ·54·std::enable_if_t<hasTupleConstructor<TT...>::value,·int>·=·0>
 53 55·constexpr·TupleVector(TT&&...·tt)·:
 54 ·56·Base(std::forward<TT>(tt)...)
49 ·57·}55 ·57·{}
50 ·5856 ·58
 57 61·constexpr·TupleVector()
 58 ·62·{}
 59 ·63
51 ·59·template·<typename·T, 
52 ·60·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0> 
53 61·const·T·&·min_value(const·T·&·v)·{·return·v;·} 
54 ·62 
55 ·68·template·<typename·T, 
56 ·69·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
57 70·bool·any_true(const·T·&·v)·{ 
58 ·71·bool·b·=·false; 
59 ·72·for·(const·auto·&·e·:·v) 
60 ·73·b·=·b·or·bool(e); 
61 ·74·return·b; 
62 ·75·} 
63 ·76 
64 ·77·template·<typename·T, 
65 ·78·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0> 
66 ·79·bool·any_true(const·T·&·v)·{·return·v;·} 
67 ·80 
68 ·81·template<std::size_t·N>60 ·66·template<std::size_t·i>
69 82·bool·any_true(const·std::bitset<N>·&·b)61 67·constexpr·decltype(auto)·operator[](const·Dune::index_constant<i>&)·const
70 ·83·{62 ·68·{
71 ·84·return·b.any();63 ·69·return·std::get<i>(*this);
 64 ·70·}
 65 ·71
 66 ·74·template<std::size_t·i>
 67 75·decltype(auto)·operator[](const·Dune::index_constant<i>&)
 68 ·76·{
 69 ·77·return·std::get<i>(*this);
72 ·85·}70 ·78·}
 71 ·79
 72 81·static·constexpr·std::size_t·size()
 73 ·82·{
 74 ·83·return·std::tuple_size<Base>::value;
 75 ·84·}
 76 ·85};
73 ·8677 ·86
74 ·92·template·<typename·T, 
75 ·93·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
76 94·bool·all_true(const·T·&·v)·{ 
77 ·95·bool·b·=·true; 
78 ·96·for·(const·auto·&·e·:·v) 
79 ·97·b·=·b·and·bool(e); 
80 ·98·return·b; 
81 ·99·}78 ·87
 79 ·88
 80 ·89template<class...·T>
 81 90constexpr·auto·makeTupleVector(T&&...·t)
 82 ·91{
 83 ·92·//·The·std::decay_t<T>·is·is·a·slight·simplification,
 84 ·93·//·because·std::reference_wrapper·needs·special·care.
 85 ·94·return·TupleVector<std::decay_t<T>...>(std::forward<T>(t)...);
Max diff block lines reached; 28128/31944 bytes (88.05%) of diff not shown.
9.52 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 52 lines modifiedOffset 70, 46 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">tuplevector.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">debugalign.cc·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>82 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
 83 <code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;cstdlib&gt;</code><br·/>
 85 <code>#include·&lt;functional&gt;</code><br·/>
 86 <code>#include·&lt;ios&gt;</code><br·/>
 87 <code>#include·&lt;iostream&gt;</code><br·/>
86 <code>#include·&lt;utility&gt;</code><br·/>88 <code>#include·&lt;utility&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
90 </div> 
91 <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> 
92 <table·class="memberdecls">90 </div><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">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">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> 
98 </table><table·class="memberdecls"> 
99 <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>
100 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
106 Functions</h2></td></tr>98 Functions</h2></td></tr>
107 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"·id="r_ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
108 <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[·...·truncated·by·diffoscope;·len:·16,·SHA:·5c7f9fd7349ec6e1df504316d7bef3cbfa4d09ab3da487deb01782a9cd0580f4·...·])</td></tr>99 <tr·class="memitem:a9f0c3f5a28263a8dd6cb81d9cfd8c929"·id="r_a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a9f0c3f5a28263a8dd6cb81d9cfd8c929">[·...·truncated·by·diffoscope;·len:·180,·SHA:·a62040471a69fe76cba0a60f21173bb089fde0ad8e4b71ad6e036ba9ef1c36c3·...·])</td></tr>
 100 <tr·class="memdesc:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">default·alignment·violation·handler··<br·/></td></tr>
 101 <tr·class="separator:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"·id="r_abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr>
 103 <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>··<br·/></td></tr>
109 <tr·class="separator:ae982edb333af3a1f24fe324cc593be0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"·id="r_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·*<a·class="el"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>,·std::size_t·expectedAlignment,·const·void·*address)</td></tr>
 106 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<br·/></td></tr>
 107 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>108 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
112 <div·class="textblock"><p>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·</p> 
113 <dl·class="section·author"><dt>Author</dt><dd>Carsten·Gräser·</dd></dl> 
114 </div></div><!--·contents·-->109 </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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
118 </small></address>113 </small></address>
119 </body>114 </body>
120 </html>115 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
1.79 KB
html2text {}
    
Offset 6, 35 lines modifiedOffset 6, 37 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Namespaces·|·Functions
13 tuplevector.hh·File·Reference 
14 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·More...13 debugalign.cc·File·Reference
 14 #include·<config.h>
15 #include·<tuple>15 #include·<cstddef>
 16 #include·<cstdlib>
 17 #include·<functional>
 18 #include·<ios>
 19 #include·<iostream>
16 #include·<utility>20 #include·<utility>
17 #include·<dune/common/indices.hh>21 #include·<dune/common/debugalign.hh>
18 #include·<dune/common/typetraits.hh> 
19 #include·<dune/common/std/type_traits.hh> 
20 Go_to_the_source_code_of_this_file. 
21 ·Classes 
22 class· Dune::TupleVector<_T_> 
23  ······A·class·augmenting·std::tuple·by·element·access·via·operator[].·More... 
24   
25 ·Namespaces22 ·Namespaces
26 namespace· Dune23 namespace· Dune
27  ··········Dune·namespace.24  ··········Dune·namespace.
28  25  
29 ·Functions26 ·Functions
30 template<class...·T> 
31 constexpr·auto Dune::makeTupleVector·(T·&&...·t)27 ···············static·void Dune::defaultViolatedAlignment·(const·char
 28 ····························*className,·std::size_t·expectedAlignment,·const
 29 ····························void·*address)
 30  ··························default·alignment·violation·handler
 31  
 32 ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·()
 33  ··························access·the·handler·called·by·violatedAlignment()
 34  
 35 ······················void Dune::violatedAlignment·(const·char·*className,
 36 ····························std::size_t·expectedAlignment,·const·void·*address)
 37  ··························called·when·an·alignment·violation·is·detected
32  38  
33 *****·Detailed·Description·***** 
34 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[]. 
35 ··Author 
36 ······Carsten·Gräser 
  
37 ===============================================================================39 ===============================================================================
38 ·····Generated·by [doxygen]·1.9.840 ·····Generated·by [doxygen]·1.9.8
25.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 95 lines modifiedOffset 72, 84 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#define-members">Macros</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
81 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">poolallocator.hh·File·Reference</div></div>
82 </div><!--header-->81 </div><!--header-->
83 <div·class="contents">82 <div·class="contents">
  
84 <p>Portable·very·large·unsigned·integers.··83 <p>An·stl-compliant·pool·allocator.··
85 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;numeric&gt;</code><br·/>
 86 <code>#include·&lt;typeinfo&gt;</code><br·/>
87 <code>#include·&lt;iostream&gt;</code><br·/>87 <code>#include·&lt;iostream&gt;</code><br·/>
88 <code>#include·&lt;limits&gt;</code><br·/> 
89 <code>#include·&lt;cstdint&gt;</code><br·/>88 <code>#include·&lt;cassert&gt;</code><br·/>
90 <code>#include·&lt;cstdlib&gt;</code><br·/>89 <code>#include·&lt;new&gt;</code><br·/>
91 <code>#include·&lt;type_traits&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/hash.hh</a>&gt;</code><br·/> 
94 </div>90 </div>
95 <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">92 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>94 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01296.html">Dune::bigunsignedint&lt;·k·&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="a02392.html">Dune::Pool&lt;·T,·s·&gt;</a></td></tr>
100 <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>96 <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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <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="a01304.html">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02396.html">Dune::PoolAllocator&lt;·T,·s·&gt;</a></td></tr>
 99 <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>
 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="a02408.html">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr>
103 <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="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>
 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="a02412.html">Dune::PoolAllocator&lt;·void,·s·&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="a02416.html">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">108 </table><table·class="memberdecls">
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
107 Namespaces</h2></td></tr>110 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
109 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>112 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a00424"·id="r_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>114 <tr·class="memitem:a00424"·id="r_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>
112 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr>115 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table><table·class="memberdecls">117 </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:gaf87f343423f6514fb0bea86e67539446"·id="r_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> 
118 <tr·class="separator:gaf87f343423f6514fb0bea86e67539446"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 </table><table·class="memberdecls"> 
120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>118 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
121 Functions</h2></td></tr>119 Functions</h2></td></tr>
 120 <tr·class="memitem:ga67f486062c5bfb92aa3365373d491836"·id="r_ga67f486062c5bfb92aa3365373d491836"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr>
 121 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T1,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T2,·t2·&gt;·&amp;)</td></tr>
122 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"·id="r_ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
123 <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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x)</td></tr> 
124 <tr·class="separator:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"·id="r_gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
126 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaa1064cddd9687941b214fd8fb438922b">Dune::operator+</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
127 <tr·class="separator:gaa1064cddd9687941b214fd8fb438922b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"·id="r_ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
129 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga80f9fd2604e395d902fb0df692cdaca4">Dune::operator-</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
130 <tr·class="separator:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:ga67f486062c5bfb92aa3365373d491836"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"·id="r_ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
132 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga18a74c0d02300[·...·truncated·by·diffoscope;·len:·136,·SHA:·7643715da9167f511bfd28e9c7d828d6dcd7a07f27d156370ec9f1b54b8ed905·...·]</td></tr>123 <tr·class="memitem:gaf0e4942c0493dceaf371ba9f0ec29ab6"·id="r_gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr>
 124 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T1,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T2,·t2·&gt;·&amp;)</td></tr>
133 <tr·class="separator:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"·id="r_ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
135 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga5e2147f08b4e2[·...·truncated·by·diffoscope;·len:·136,·SHA:·b48a6481237dcadb1e6038498ad6b8cb410d19a81455f9765ff0f449ddd671e9·...·]</td></tr>126 <tr·class="memitem:gab6358d63f2012e81c5066d6c6d9cb94a"·id="r_gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 127 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;p2)</td></tr>
 128 <tr·class="separator:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:ga2c515ca850107e6807b75f4d90ca4dcc"·id="r_ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 130 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;p2)</td></tr>
 131 <tr·class="separator:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:gab00b326f648ee860460ddeec2f4b6d3b"·id="r_gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 133 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;)</td></tr>
 134 <tr·class="separator:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:gace25a69f0bcd5ba1fffd567af1d9a9cf"·id="r_gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 136 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;)</td></tr>
136 <tr·class="separator:ga5e2147f08b4e20eb876456a231859903"><td·class="memSeparator"·colspan="2">&#160;</td></tr>137 <tr·class="separator:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"·id="r_gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
138 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gac8578d991f356[·...·truncated·by·diffoscope;·len:·136,·SHA:·9302991d7bf35e5f2543824515ede3344c310b8919d35468238f55ef604fed56·...·]</td></tr>138 <tr·class="memitem:ga5bc475e78eb7d029ee0782eab49d5938"·id="r_ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 139 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t2·&gt;·&amp;p2)</td></tr>
139 <tr·class="separator:gac8578d991f3565183d9abd2d808f97b9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>140 <tr·class="separator:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:ga6795aefd733bd618db889c6f15f1552f"·id="r_ga6795aefd733bd618db889c6f15f1552f"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 142 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t2·&gt;·&amp;p2)</td></tr>
140 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"·id="r_ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
141 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr> 
142 <tr·class="separator:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"·id="r_gaa560c3307467da3720ab83b11334572a"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
144 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr> 
145 <tr·class="separator:gaa560c3307467da3720ab83b11334572a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>143 <tr·class="separator:ga6795aefd733bd618db889c6f15f1552f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
146 <tr·class="memitem:ga21e8f5650bf767702eb604232468e1cc"·id="r_ga21e8f5650bf767702eb604232468e1cc"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
147 <tr·class="memitem:ga21e8f5650bf767702eb604232468e1cc"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr> 
148 <tr·class="separator:ga21e8f5650bf767702eb604232468e1cc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:ga5a699f8fd400fcf19a3743d60dd64fb0"·id="r_ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
150 <tr·class="memitem:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr> 
151 <tr·class="separator:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:ga73959b8d904c046a773200eb2a4bc020"·id="r_ga73959b8d904c046a773200eb2a4bc020"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
153 <tr·class="memitem:ga73959b8d904c046a773200eb2a4bc020"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr> 
154 <tr·class="separator:ga73959b8d904c046a773200eb2a4bc020"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
155 </table>144 </table>
156 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>145 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
157 <div·class="textblock"><p>Portable·very·large·unsigned·integers.·</p> 
Max diff block lines reached; 271/21980 bytes (1.23%) of diff not shown.
4.38 KB
html2text {}
    
Offset 6, 88 lines modifiedOffset 6, 79 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Macros·|·Functions12 Classes·|·Namespaces·|·Functions
13 bigunsignedint.hh·File·Reference 
14 Portable·very·large·unsigned·integers.·More... 
15 #include·<algorithm>13 poolallocator.hh·File·Reference
 14 An·stl-compliant·pool·allocator.·More...
 15 #include·<numeric>
 16 #include·<typeinfo>
16 #include·<iostream>17 #include·<iostream>
17 #include·<limits> 
18 #include·<cstdint>18 #include·<cassert>
 19 #include·<new>
19 #include·<cstdlib> 
20 #include·<type_traits> 
21 #include·<dune/common/exceptions.hh> 
22 #include·<dune/common/hash.hh> 
23 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
24 ·Classes21 ·Classes
25 ·class· Dune::bigunsignedint<_k_> 
26  ·······Portable·very·large·unsigned·integers.·More...22 ·class· Dune::Pool<_T,_s_>
 23  ·······A·memory·pool·of·objects.·More...
27  24  
28 struct· Dune::IsNumber<_bigunsignedint<_k_>_> 
29  ·······Declare·big·unsigned·int·is·a·number.·More...25 ·class· Dune::PoolAllocator<_T,_s_>
 26  ·······An·allocator·managing·a·pool·of·objects·for·reuse.·More...
 27  
 28 struct· Dune::PoolAllocator<_T,_s_>::rebind<_U_>
 29  ·······Rebind·the·allocator·to·another·type.·More...
 30  
 31 ·class· Dune::PoolAllocator<_void,_s_>
 32  
 33 struct· Dune::PoolAllocator<_void,_s_>::rebind<_U_>
30  34  
31 ·Namespaces35 ·Namespaces
32 namespace· Dune36 namespace· Dune
33  ··········Dune·namespace.37  ··········Dune·namespace.
34  38  
35 namespace· std39 namespace· std
36  ··········STL·namespace.40  ··········STL·namespace.
37  41  
38 ·Macros 
39 #define DUNE_BINOP(OP) 
40   
41 ·Functions42 ·Functions
42 template<int·k> 
43 ·····std::ostream·& Dune::operator<<·(std::ostream·&s,·const·bigunsignedint<·k 
44 ·····················>·&x)43 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2>
 44 bool Dune::operator==·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator<
 45 ······T2,·t2·>·&)
45  46  
46 template<int·k> 
47 bigunsignedint<·k·> Dune::operator+·(const·bigunsignedint<·k·>·&x,·std:: 
48 ·····················uintmax_t·y)47 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2>
 48 bool Dune::operator!=·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator<
 49 ······T2,·t2·>·&)
49  50  
50 template<int·k> 
51 bigunsignedint<·k·> Dune::operator-·(const·bigunsignedint<·k·>·&x,·std:: 
52 ·····················uintmax_t·y)51 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 52 bool Dune::operator==·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator<
 53 ······T,·t2·>·&p2)
53  54  
54 template<int·k> 
55 bigunsignedint<·k·> Dune::operator*·(const·bigunsignedint<·k·>·&x,·std:: 
56 ·····················uintmax_t·y)55 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 56 bool Dune::operator!=·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator<
 57 ······T,·t2·>·&p2)
57  58  
58 template<int·k> 
59 bigunsignedint<·k·> Dune::operator/·(const·bigunsignedint<·k·>·&x,·std:: 
60 ·····················uintmax_t·y)59 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 60 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator<
 61 ······T,·t2·>·&)
61  62  
62 template<int·k> 
63 bigunsignedint<·k·> Dune::operator%·(const·bigunsignedint<·k·>·&x,·std:: 
64 ·····················uintmax_t·y)63 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 64 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator<
 65 ······T,·t2·>·&)
65  66  
66 template<int·k> 
67 bigunsignedint<·k·> Dune::operator+·(std::uintmax_t·x,·const·bigunsignedint<·k 
68 ·····················>·&y)67 template<std::size_t·t1,·std::size_t·t2>
 68 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&p1,·const
 69 ······PoolAllocator<·void,·t2·>·&p2)
69  70  
 71 template<std::size_t·t1,·std::size_t·t2>
 72 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&p1,·const
 73 ······PoolAllocator<·void,·t2·>·&p2)
70 template<int·k> 
71 bigunsignedint<·k·> Dune::operator-·(std::uintmax_t·x,·const·bigunsignedint<·k 
72 ·····················>·&y) 
73   
74 template<int·k> 
75 bigunsignedint<·k·> Dune::operator*·(std::uintmax_t·x,·const·bigunsignedint<·k 
76 ·····················>·&y) 
77   
78 template<int·k> 
79 bigunsignedint<·k·> Dune::operator/·(std::uintmax_t·x,·const·bigunsignedint<·k 
80 ·····················>·&y) 
81   
82 template<int·k> 
83 bigunsignedint<·k·> Dune::operator%·(std::uintmax_t·x,·const·bigunsignedint<·k 
84 ·····················>·&y) 
85  74  
86 *****·Detailed·Description·*****75 *****·Detailed·Description·*****
87 Portable·very·large·unsigned·integers.76 An·stl-compliant·pool·allocator.
 77 This·file·implements·the·classes·Pool·and·PoolAllocator·providing·memory
 78 allocation·for·objects·in·chunks.
88 ··Author79 ··Author
89 ······Peter·Bastian80 ······Markus·Blatt
  
90 ===============================================================================81 ===============================================================================
91 ·····Generated·by [doxygen]·1.9.882 ·····Generated·by [doxygen]·1.9.8
265 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 799 lines modifiedOffset 74, 519 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh</div></div>80 ··<div·class="headertitle"><div·class="title">poolallocator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POOLALLOCATOR_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POOLALLOCATOR_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_BIGUNSIGNEDINT_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_BIGUNSIGNEDINT_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;numeric&gt;</span></div>
 91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00065.html">dune/common/hash.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·forward·declarations.</span></div>
 98 <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>
 99 <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>
 100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">struct·</span>testPoolMain;</div>
 101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>
 102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
100 <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>103 <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>
101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_MPI</span></div>105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
103 <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>106 <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>
104 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">struct·</span>MPITraits;</div>107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">class·</span>Pool;</div>
105 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div> 
106 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 109 <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>
107 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl·{</div>110 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">class·</span>PoolAllocator;</div>
 111 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 112 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>}</div>
 113 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 114 <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>
108 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>115 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div>
109 <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>116 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="comment">/*</span></div>
110 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·of·bigunsignedint.·Previously,·the·correct·specialization·of·std::numeric_limits</span></div>117 <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>
 118 <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>
111 <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> 
112 <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> 
113 <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> 
114 <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> 
115 <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> 
116 <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> 
117 <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>119 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·····{</span></div>
 120 <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>
 121 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">·····return·os;</span></div>
 122 <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="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>123 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment"></span>·</div>
119 <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>124 <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>
 125 <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>
120 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">struct·</span>numeric_limits_helper</div>126 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····{</span></div>
 127 <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>
121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div>128 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·····return·os;</span></div>
122 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>129 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">·····}</span></div>
123 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">protected</span>:</div>130 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">···*/</span></div>
124 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>131 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div>
125 <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>132 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
126 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······{</div>133 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
127 <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>134 <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>
128 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······}</div>135 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div>
 136 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>
129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
130 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····};</div> 
131 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> 
133 <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>··<span·class="keyword">template</span>&lt;<span·class="keywordtype">int</span>·k&gt;</div> 
135 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};">137 <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="};">
 138 <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>
136 <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> 
137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</span>:</div> 
138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="comment">//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed</span></div> 
140 <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> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <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> 
146 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·();</div> 
148 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
149 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Signed&gt;</div> 
150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·(Signed·x,·<span·class="keyword">typename</span>·std::enable_if&lt;std::is_integral&lt;Signed&gt;::value·&amp;&amp;·std::is_signed&lt;Signed&gt;::value&gt;::type*·=·0);</div> 
151 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div>
152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·(std::uintmax_t·x);</div>140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//·make·the·test·function·friend</span></div>
 141 <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>
153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00408.html#ga588c20d32be8eda48a3755baba464dd3">print</a>·(std::ostream&amp;·s)·<span·class="keyword">const</span>·;</div>143 <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>
 144 <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>
155 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
156 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01296.html#adf824f5ffaa474c95aafc39e8406d078">···98</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#adf824f5ffaa474c95aafc39e8406d078">operator+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div> 
157 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga33d7cece1203eab3cdbbb982fcacd608">operator+=·</a>(<span·class="keyword">c[·...·truncated·by·diffoscope;·len:·92,·SHA:·6e30ffcbf725413a242f0b40a9d2f8dc5f1bec10cb53de5b0441451f9df33b71·...·]</div>146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">private</span>:</div>
 147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
Max diff block lines reached; 204504/229753 bytes (89.01%) of diff not shown.
40.9 KB
html2text {}
    
Offset 7, 895 lines modifiedOffset 7, 599 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 bigunsignedint.hh12 poolallocator.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5 
20 ·6#ifndef·DUNE_BIGUNSIGNEDINT_HH 
21 ·7#define·DUNE_BIGUNSIGNEDINT_HH 
22 ·8 
23 ·9#include·<algorithm>19 ·5#ifndef·DUNE_COMMON_POOLALLOCATOR_HH
 20 ·6#define·DUNE_COMMON_POOLALLOCATOR_HH
 21 ·7
 22 ·12#include·<numeric>
 23 ·13#include·<typeinfo>
24 ·10#include·<iostream>24 ·14#include·<iostream>
25 ·11#include·<limits> 
26 ·12#include·<cstdint>25 ·15#include·<cassert>
 26 ·16#include·<new>
27 ·13#include·<cstdlib> 
28 ·14#include·<type_traits> 
29 ·15#include·<dune/common/exceptions.hh> 
30 ·16#include·<dune/common/hash.hh> 
31 ·1727 ·17
 28 ·18#ifndef·DOXYGEN
 29 ·19//·forward·declarations.
 30 ·20//·we·need·to·know·the·test·function·to·declare·it·friend
 31 ·21template<std::size_t·size,·typename·T>
 32 ·22struct·testPoolMain;
 33 ·23#endif
 34 ·24
32 ·24namespace·Dune35 ·25namespace·Dune
33 ·25{36 ·26{
 37 ·27
 38 ·28·template<typename·T,·std::size_t·s>
 39 ·29·class·Pool;
34 ·26#if·HAVE_MPI 
35 ·27·template<class·K> 
36 ·28·struct·MPITraits; 
37 ·29#endif 
38 ·3040 ·30
39 ·36·namespace·Impl·{41 ·31·template<typename·T,·std::size_t·s>
 42 ·32·class·PoolAllocator;
 43 ·33
 44 ·34}
 45 ·35
 46 ·36namespace·std
40 ·3747 ·37{
 48 ·38·/*
 49 ·39·template<class·T,·std::size_t·S>
 50 ·40·inline·ostream&·operator<<(ostream&·os,·Dune::Pool<T,S>&·pool)
 51 ·41·{
 52 ·42·os<<"pool="<<&pool<<"·allocated_="<<pool.allocated_;
 53 ·43·return·os;
 54 ·44·}
 55 ·45
 56 ·46·template<class·T,·std::size_t·S>
 57 ·47·inline·ostream&·operator<<(ostream&·os,·Dune::PoolAllocator<T,S>&·pool)
 58 ·48·{
 59 ·49·os<<pool.memoryPool_<<std::endl;
 60 ·50·return·os;
41 ·38·//·numeric_limits_helper·provides·std::numeric_limits·access·to·the 
42 internals 
43 ·39·//·of·bigunsignedint.·Previously,·the·correct·specialization·of·std:: 
44 numeric_limits 
45 ·40·//·was·a·friend·of·bigunsignedint,·but·that·creates·problems·on·recent 
46 versions 
47 ·41·//·of·clang·with·the·alternative·libc++·library,·because·that·library 
48 declares·the 
49 ·42·//·base·template·of·std::numeric_limits·as·a·class·and·clang·subsequently 
50 complains 
51 ·43·//·if·the·friend·declaration·uses·'struct'.·Unfortunately,·libstdc++·uses·a 
52 struct, 
53 ·44·//·making·it·impossible·to·keep·clang·happy·for·both·standard·libraries. 
54 ·45·//·So·we·move·the·access·helper·functionality·into·a·custom·struct·and 
55 simply·let 
56 ·46·//·the·numeric_limits·specialization·inherit·from·the·helper. 
57 ·47 
58 ·48·template<typename·T> 
59 ·49·struct·numeric_limits_helper 
60 ·50·{ 
61 ·5161 ·51·}
62 ·52·protected:62 ·52·*/
63 ·5363 ·53}
64 ·54·static·std::uint16_t&·digit(T&·big_unsigned_int,·std::size_t·i)64 ·54
65 ·55·{65 ·55
 66 ·56namespace·Dune
 67 ·57{
 68 ·88·template<class·T,·std::size_t·s>
 69 89·class·Pool
66 ·56·return·big_unsigned_int.digit[i]; 
67 ·57·} 
68 ·58 
69 ·59·}; 
70 ·60 
71 ·61·} 
72 ·62 
73 ·72·template<int·k> 
74 73·class·bigunsignedint·{ 
75 ·74·public: 
76 ·75 
77 ·76·//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed 
78 77·constexpr·static·int·bits·=·std::numeric_limits<std::uint16_t>::digits; 
79 78·constexpr·static·int·n·=·k/bits+(k%bits!=0); 
80 79·constexpr·static·int·hexdigits·=·4; 
81 80·constexpr·static·int·bitmask·=·0xFFFF; 
82 81·constexpr·static·int·compbitmask·=·0xFFFF0000; 
83 82·constexpr·static·int·overflowmask·=·0x1; 
84 ·83 
85 ·85·bigunsignedint·(); 
86 ·86 
87 ·88·template<typename·Signed> 
88 ·89·bigunsignedint·(Signed·x,·typename·std::enable_if<std:: 
89 is_integral<Signed>::value·&&·std::is_signed<Signed>::value>::type*·=·0); 
90 ·9070 ·90·{
91 ·92·bigunsignedint·(std::uintmax_t·x);71 ·91·//·make·the·test·function·friend
 72 ·92·friend·struct·::testPoolMain<s,T>;
92 ·9373 ·93
93 ·95·void·print·(std::ostream&·s)·const·;74 ·94·//friend·std::ostream&·std::operator<<<>(std::ostream&,Pool<T,s>&);
Max diff block lines reached; 37968/41902 bytes (90.61%) of diff not shown.
20.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 47 lines modifiedOffset 72, 99 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#enum-members">Enumerations</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>80 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">indent.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>81 ··<div·class="headertitle"><div·class="title">float_cmp.hh·File·Reference</div></div>
81 </div><!--header-->82 </div><!--header-->
82 <div·class="contents">83 <div·class="contents">
  
83 <p>Utility·class·for·handling·nested·indentation·in·output.··84 <p>Various·ways·to·compare·floating-point·numbers.··
84 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
 86 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00278_source.html">float_cmp.cc</a>&quot;</code><br·/>
85 <div·class="textblock"><code>#include·&lt;ostream&gt;</code><br·/> 
86 <code>#include·&lt;string&gt;</code><br·/> 
87 </div>87 </div>
88 <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00026_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="a01716.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·style·&gt;</a></td></tr>
 93 <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>
 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="a01864.html">Dune::Indent</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="a01720.html">Dune::FloatCmpOps&lt;·T,·cstyle_,·rstyle_·&gt;</a></td></tr>
93 <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>96 <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>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
96 <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>
97 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
100 <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:a00434"·id="r_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>
 105 <tr·class="separator:"><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="enum-members"·name="enum-members"></a>
 108 Enumerations</h2></td></tr>
 109 <tr·class="memitem:ga4aeb759ed9de8b477a155492aeb2789b"·id="r_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>
 110 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">Dune::FloatCmp::relativeStrong</a>
 111 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">Dune::FloatCmp::absolute</a>
 112 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">Dune::FloatCmp::defaultCmpStyle</a>·=·relativeWeak
 113 ·}</td></tr>
 114 <tr·class="separator:ga4aeb759ed9de8b477a155492aeb2789b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:ga8507e971c45243aed2c4de1b3736ca04"·id="r_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·/>
 116 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">Dune::FloatCmp::towardZero</a>
 117 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">Dune::FloatCmp::towardInf</a>
 118 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">Dune::FloatCmp::downward</a>
 119 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">Dune::FloatCmp::upward</a>
 120 ,·<br·/>
 121 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">Dune::FloatCmp::defaultRoundingStyle</a>·=·towardZero
 122 <br·/>
 123 ·}</td></tr>
 124 <tr·class="separator:ga8507e971c45243aed2c4de1b3736ca04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">125 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
103 Functions</h2></td></tr>127 Functions</h2></td></tr>
104 <tr·class="memitem:gace1faa2fb503952859542dbea15eb066"·id="r_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·<a·class="el"·href="a01864.html">Indent</a>·&amp;indent)</td></tr> 
105 <tr·class="memdesc:gace1faa2fb503952859542dbea15eb066"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">write·indentation·to·a·stream··<br·/></td></tr>128 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"·id="r_ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 129 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 130 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<br·/></td></tr>
 131 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"·id="r_ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 133 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 134 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<br·/></td></tr>
 135 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"·id="r_gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 137 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 138 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<br·/></td></tr>
106 <tr·class="separator:gace1faa2fb503952859542dbea15eb066"><td·class="memSeparator"·colspan="2">&#160;</td></tr>139 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"·id="r_gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 141 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 142 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<br·/></td></tr>
 143 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"·id="r_gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 145 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 146 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<br·/></td></tr>
 147 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 148 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"·id="r_gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 149 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 150 <tr·class="memdesc:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·or·equal·second··<br·/></td></tr>
 151 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"·id="r_ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr>
 154 <tr·class="memdesc:ga510d97be4644ccab5db0b674d79633c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">round·using·epsilon··<br·/></td></tr>
 155 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"·id="r_ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle&gt;·</td></tr>
 157 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr>
 158 <tr·class="memdesc:ga78eaf86b21236f5c55336724e911da08"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">truncate·using·epsilon··<br·/></td></tr>
 159 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>160 </table>
108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>161 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 162 <div·class="textblock"><p>Various·ways·to·compare·floating-point·numbers.·</p>
109 <div·class="textblock"><p>Utility·class·for·handling·nested·indentation·in·output.·</p> 
110 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·</dd></dl> 
111 </div></div><!--·contents·-->163 </div></div><!--·contents·-->
112 <!--·start·footer·part·-->164 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>165 <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.8166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>167 </small></address>
116 </body>168 </body>
117 </html>169 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
3.51 KB
html2text {}
    
Offset 6, 33 lines modifiedOffset 6, 83 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Classes·|·Namespaces·|·Enumerations·|·Functions
 13 float_cmp.hh·File·Reference
 14 Various·ways·to·compare·floating-point·numbers.·More...
 15 #include·"float_cmp.cc"
13 indent.hh·File·Reference 
14 Common 
15 Utility·class·for·handling·nested·indentation·in·output.·More... 
16 #include·<ostream> 
17 #include·<string> 
18 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
19 ·Classes17 ·Classes
20 class· Dune::Indent 
21  ······Utility·class·for·handling·nested·indentation·in·output.·More...18 struct· Dune::FloatCmp::DefaultEpsilon<_T,_style_>
 19  ·······mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon
 20 ·········More...
 21  
 22 ·class· Dune::FloatCmpOps<_T,_cstyle_,_rstyle__>
 23  ·······Class·encapsulating·a·default·epsilon.·More...
22  24  
23 ·Namespaces25 ·Namespaces
24 namespace· Dune26 namespace· Dune
25  ··········Dune·namespace.27  ··········Dune·namespace.
26  28  
 29 namespace· Dune::FloatCmp
 30  
 31 ·Enumerations
 32 enum·Dune::FloatCmp::CmpStyle·{·Dune::FloatCmp::relativeWeak·,·Dune::FloatCmp::
 33 ··· relativeStrong·,·Dune::FloatCmp::absolute·,·Dune::FloatCmp::defaultCmpStyle·=
 34 ·····relativeWeak·}
 35  
 36 enum·Dune::FloatCmp::RoundingStyle·{
 37 ···   Dune::FloatCmp::towardZero·,·Dune::FloatCmp::towardInf·,·Dune::FloatCmp::
 38 ·····downward·,·Dune::FloatCmp::upward·,
 39 ·····  Dune::FloatCmp::defaultRoundingStyle·=·towardZero
 40 ·····}
 41  
27 ·Functions42 ·Functions
28 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·Indent·&indent) 
29  ··············write·indentation·to·a·stream43 template<class·T·,·CmpStyle·style>
 44 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename
 45 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 46  ····test·for·equality·using·epsilon
 47  
 48 template<class·T·,·CmpStyle·style>
 49 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename
 50 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 51  ····test·for·inequality·using·epsilon
 52  
 53 template<class·T·,·CmpStyle·style>
 54 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename
 55 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 56  ····test·if·first·greater·than·second
 57  
 58 template<class·T·,·CmpStyle·style>
 59 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename
 60 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 61  ····test·if·first·lesser·than·second
 62  
 63 template<class·T·,·CmpStyle·style>
 64 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename
 65 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 66  ····test·if·first·greater·or·equal·second
 67  
 68 template<class·T·,·CmpStyle·style>
 69 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename
 70 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 71  ····test·if·first·lesser·or·equal·second
 72  
 73 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 74 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 75 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 76  ····round·using·epsilon
 77  
 78 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 79 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 80 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 81  ····truncate·using·epsilon
30  82  
31 *****·Detailed·Description·*****83 *****·Detailed·Description·*****
 84 Various·ways·to·compare·floating-point·numbers.
32 Utility·class·for·handling·nested·indentation·in·output. 
33 ··Author 
34 ·······Fahlke 
  
35 ===============================================================================85 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.886 ·····Generated·by [doxygen]·1.9.8
73.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 107 lines modifiedOffset 74, 197 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">indent.hh</div></div>80 ··<div·class="headertitle"><div·class="title">float_cmp.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDENT_HH</span></div>87 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_INDENT_HH</span></div>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
93 <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>90 <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>
94 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>91 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">namespace·</span>FloatCmp·{</div>
 92 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·basic·constants</span></div>
95 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};">93 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="};">
 94 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">··104</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·{</div>
 95 <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>
 96 <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>
 97 <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>
 98 <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>
 99 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">··113</a></span>····};</div>
96 <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> 
97 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> 
98 <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> 
99 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::string·basic_indent;</div> 
100 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">unsigned</span>·level;</div> 
101 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
102 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">public</span>:</div> 
103 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
104 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> 
105 <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> 
106 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······:·parent(0),·basic_indent(basic_indent_),·level(level_)</div> 
107 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····{·}</div> 
108 </div>100 </div>
109 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
110 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}">101 <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="};">
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····{·}</div>102 <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">Rou[·...·truncated·by·diffoscope;·len:·16,·SHA:·56ad62588f51c0c1a5b9f0cef36c0ab868ef18c753ddb48129fdf4b5f5b5805b·...·]</div>
 103 <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>
 104 <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>
 105 <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>
 106 <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>
 107 <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>
 108 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">··127</a></span>····};</div>
114 </div>109 </div>
115 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>110 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>
 111 <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>
116 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>112 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 113 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div>
 114 <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>
117 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">115 <div·class="foldopen"·id="foldopen00138"·data-start="{"·data-end="};">
 116 <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>
 117 <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>
118 <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> 
119 <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> 
120 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······:·parent(parent_),·basic_indent(basic_indent_),·level(level_)</div> 
121 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{·}</div>118 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····};</div>
122 </div>119 </div>
 120 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div>
 121 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="comment">//·operations·in·functional·style</span></div>
 122 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>
 123 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div>
 124 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div>
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
 128 <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>
 129 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div>
 130 <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>
 131 <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>
 132 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
 133 <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>
 134 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>
 135 <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>
 136 <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>
 137 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
 138 <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>
 139 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
 143 <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>
 144 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div>
 145 <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>
 146 <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>
 147 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
 148 <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>
 149 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>·</div>
 150 <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>
 151 <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>
 152 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
 153 <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>
 154 <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div>
 155 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>····<span·class="comment">//·rounding·operations</span></div>
 156 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span>·</div>
 157 <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>
 158 <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>
 159 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>····<span·class="comment">//·truncation</span></div>
 160 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span>·</div>
 161 <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>
 162 <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>
Max diff block lines reached; 6663/62446 bytes (10.67%) of diff not shown.
12.1 KB
html2text {}
    
Offset 7, 121 lines modifiedOffset 7, 306 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 indent.hh12 float_cmp.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_INDENT_HH19 ·5#ifndef·DUNE_COMMON_FLOAT_CMP_HH
20 ·6#define·DUNE_COMMON_INDENT_HH20 ·6#define·DUNE_COMMON_FLOAT_CMP_HH
21 ·721 ·7
22 ·8#include·<ostream> 
23 ·9#include·<string> 
24 ·10 
25 ·11namespace·Dune·{22 ·97namespace·Dune·{
 23 ·100·namespace·FloatCmp·{
 24 ·101·//·basic·constants
 25 104·enum·CmpStyle·{
 26 106·relativeWeak,
 27 108·relativeStrong,
 28 110·absolute,
 29 ·112·defaultCmpStyle·=·relativeWeak
 30 113·};
 31 116·enum·RoundingStyle·{
 32 118·towardZero,
 33 120·towardInf,
 34 122·downward,
 35 124·upward,
 36 ·126·defaultRoundingStyle·=·towardZero
 37 127·};
 38 ·128
 39 ·129·template<class·T>·struct·EpsilonType;
 40 ·130
 41 ·132
 42 ·137·template<class·T,·CmpStyle·style·=·defaultCmpStyle>
 43 138·struct·DefaultEpsilon·{
 44 140·static·typename·EpsilonType<T>::Type·value();
 45 ·141·};
 46 ·142
 47 ·143·//·operations·in·functional·style
 48 ·144
 49 ·147
 50 ·149
 51 ·156·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 52 ·157·bool·eq(const·T·&first,
 53 ·158·const·T·&second,
 54 ·159·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 55 ());
 56 ·161
 57 ·169·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 58 ·170·bool·ne(const·T·&first,
 59 ·171·const·T·&second,
 60 ·172·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 61 ());
 62 ·174
 63 ·185·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 64 ·186·bool·gt(const·T·&first,
 65 ·187·const·T·&second,
 66 ·188·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 67 ());
 68 ·190
 69 ·201·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 70 ·202·bool·lt(const·T·&first,
 71 ·203·const·T·&second,
 72 ·204·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 73 ());
 74 ·206
 75 ·217·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 76 ·218·bool·ge(const·T·&first,
 77 ·219·const·T·&second,
 78 ·220·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 79 ());
26 ·2280 ·222
27 52·class·Indent 
28 ·53·{ 
29 ·54·const·Indent*·parent; 
30 ·55·std::string·basic_indent; 
31 ·56·unsigned·level;81 ·233·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 82 ·234·bool·le(const·T·&first,
 83 ·235·const·T·&second,
 84 ·236·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 85 ());
 86 ·237
 87 ·238·//·rounding·operations
 88 ·240
 89 ·253·template<class·I,·class·T,·CmpStyle·cstyle·/*=·defaultCmpStyle*/,
 90 RoundingStyle·rstyle·/*=·defaultRoundingStyle*/>
 91 ·254·I·round(const·T·&val,·typename·EpsilonType<T>::Type·epsilon·=
 92 DefaultEpsilon<T,_cstyle>::value());
 93 ·255·//·truncation
32 ·5794 ·257
 95 ·270·template<class·I,·class·T,·CmpStyle·cstyle·/*=·defaultCmpStyle*/,
 96 RoundingStyle·rstyle·/*=·defaultRoundingStyle*/>
 97 ·271·I·trunc(const·T·&val,·typename·EpsilonType<T>::Type·epsilon·=
 98 DefaultEpsilon<T,_cstyle>::value());
 99 ·272
 100 ·274·//·group·FloatCmp
 101 ·275·}·//namespace·FloatCmp
 102 ·276
 103 ·277
 104 ·278·//·oo·interface
33 ·58·public: 
34 ·60 
35 63·inline·Indent(const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·0) 
36 ·64·:·parent(0),·basic_indent(basic_indent_),·level(level_) 
37 ·65·{·} 
38 ·66 
39 68·inline·Indent(unsigned·level_) 
40 ·69·:·parent(0),·basic_indent("·"),·level(level_) 
41 ·70·{·} 
42 ·71 
43 ·73 
44 76·inline·Indent(const·Indent*·parent_, 
45 ·77·const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·1) 
46 ·78·:·parent(parent_),·basic_indent(basic_indent_),·level(level_) 
47 ·79·{·} 
48 ·80105 ·280
49 82·inline·Indent(const·Indent*·parent_,·unsigned·level_) 
50 ·83·:·parent(parent_),·basic_indent("·"),·level(level_) 
51 ·84·{·} 
52 ·85 
Max diff block lines reached; 2468/12355 bytes (19.98%) of diff not shown.
17.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 41 lines modifiedOffset 71, 83 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#define-members">Macros</a>·&#124;
 79 <a·href="#typedef-members">Typedefs</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>80 <a·href="#var-members">Variables</a>··</div>
79 ··<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>81 ··<div·class="headertitle"><div·class="title">stdstreams.hh·File·Reference</div></div>
80 </div><!--header-->82 </div><!--header-->
81 <div·class="contents">83 <div·class="contents">
  
82 <p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies··84 <p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.··
83 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
 86 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00377_source.html">debugstream.hh</a>&quot;</code><br·/>
84 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/> 
85 <code>#include·&lt;utility&gt;</code><br·/> 
86 </div>87 </div>
87 <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>
88 <table·class="memberdecls">89 <table·class="memberdecls">
89 <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>
90 Namespaces</h2></td></tr>91 Namespaces</h2></td></tr>
91 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
95 <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="define-members"·name="define-members"></a>
96 Functions</h2></td></tr>97 Macros</h2></td></tr>
97 <tr·class="memitem:gab204e4c1df410966214b242af99406a1"·id="r_gab204e4c1df410966214b242af99406a1"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
98 <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> 
99 <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).··<br·/></td></tr>98 <tr·class="memitem:ga3a5303f96d33ae7299d9acd71b736998"·id="r_ga3a5303f96d33ae7299d9acd71b736998"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736[·...·truncated·by·diffoscope;·len:·52,·SHA:·e75526d197d1ba27c48b808f77efe33d6cfb2e9cdfafd59683e845854a307919·...·]</td></tr>
 99 <tr·class="memdesc:ga3a5303f96d33ae7299d9acd71b736998"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·default·minimum·debug·level.··<br·/></td></tr>
 100 <tr·class="separator:ga3a5303f96d33ae7299d9acd71b736998"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
 102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 103 Typedefs</h2></td></tr>
 104 <tr·class="memitem:ga08d48df3a7a0e3bd9c0425aba8004488"·id="r_ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">VERY_VERBOSE_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">Dune::DVVerbType</a></td></tr>
 105 <tr·class="memdesc:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·very·verbose·debug·stream.··<br·/></td></tr>
 106 <tr·class="separator:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <tr·class="memitem:ga65d14f278ea400db87ffb6a4bc7ed7b2"·id="r_ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">VERBOSE_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">Dune::DVerbType</a></td></tr>
 108 <tr·class="memdesc:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·more·verbose·debug·stream.··<br·/></td></tr>
 109 <tr·class="separator:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:gab41f4590c73d6408c89475e28bf18a8e"·id="r_gab41f4590c73d6408c89475e28bf18a8e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">INFO_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">Dune::DInfoType</a></td></tr>
 111 <tr·class="memdesc:gab41f4590c73d6408c89475e28bf18a8e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·info·level.··<br·/></td></tr>
100 <tr·class="separator:gab204e4c1df410966214b242af99406a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:ga20379ab9c4472509d420e98659683fe6"·id="r_ga20379ab9c4472509d420e98659683fe6"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">WARN_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">Dune::DWarnType</a></td></tr>
 114 <tr·class="memdesc:ga20379ab9c4472509d420e98659683fe6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·warn·level.··<br·/></td></tr>
 115 <tr·class="separator:ga20379ab9c4472509d420e98659683fe6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:ga70e0eedd6c7f613d6e9608fabb4d240d"·id="r_ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">GRAVE_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">Dune::DGraveType</a></td></tr>
 117 <tr·class="memdesc:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·for·fatal·errors.··<br·/></td></tr>
 118 <tr·class="separator:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ga768c0b513889d713fd0017ef7ae35056"·id="r_ga768c0b513889d713fd0017ef7ae35056"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">Dune::DErrType</a></td></tr>
 120 <tr·class="memdesc:ga768c0b513889d713fd0017ef7ae35056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·stream·used·for·error·messages.··<br·/></td></tr>
 121 <tr·class="separator:ga768c0b513889d713fd0017ef7ae35056"><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="var-members"·name="var-members"></a>
 124 Variables</h2></td></tr>
 125 <tr·class="memitem:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"·id="r_ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#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>
 126 <tr·class="separator:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:ga490cf91178ed464c3eff5871b4b03c8f"·id="r_ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">Dune::VERY_VERBOSE_DEBUG_LEVEL</a>·=·1</td></tr>
 128 <tr·class="memdesc:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·very·verbose·debug·stream.··<br·/></td></tr>
 129 <tr·class="separator:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:gabdcf3b4c1aefae00afd3ecaf84f755bb"·id="r_gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">Dune::VERBOSE_DEBUG_LEVEL</a>·=·2</td></tr>
 131 <tr·class="memdesc:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·verbose·debug·stream.··<br·/></td></tr>
 132 <tr·class="separator:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:gaabd88387e7eb826323b9f7d3a53a283e"·id="r_gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">Dune::INFO_DEBUG_LEVEL</a>·=·3</td></tr>
 134 <tr·class="memdesc:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·informative·debug·stream.··<br·/></td></tr>
 135 <tr·class="separator:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:gaed2aba7a7e55b026716d5027406566a0"·id="r_gaed2aba7a7e55b026716d5027406566a0"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">Dune::WARN_DEBUG_LEVEL</a>·=·4</td></tr>
 137 <tr·class="memdesc:gaed2aba7a7e55b026716d5027406566a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·debug·stream·for·warnings.··<br·/></td></tr>
 138 <tr·class="separator:gaed2aba7a7e55b026716d5027406566a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:ga4fc828eb9bb6c6b6143034b9211d2b72"·id="r_ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">Dune::GRAVE_DEBUG_LEVEL</a>·=·5</td></tr>
 140 <tr·class="memdesc:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·debug·stream·for·fatal·errors.··<br·/></td></tr>
 141 <tr·class="separator:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>142 </table>
102 <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>
103 <div·class="textblock"><p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</p>144 <div·class="textblock"><p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·</p>
 145 <p>The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This·file·declares·the·stream·types·and·the·global·debug·level.·</p>
104 </div></div><!--·contents·-->146 </div></div><!--·contents·-->
105 <!--·start·footer·part·-->147 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>148 <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.8149 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>150 </small></address>
109 </body>151 </body>
110 </html>152 </html>
3.15 KB
html2text {}
    
Offset 6, 30 lines modifiedOffset 6, 72 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Macros·|·Typedefs·|·Variables
 13 stdstreams.hh·File·Reference
 14 Standard·Dune·debug·streams.·More...
 15 #include·"debugstream.hh"
12 Namespaces·|·Functions 
13 proxymemberaccess.hh·File·Reference 
14 Common·»·Utilities·»·C++_utilities_and_backports 
15 infrastructure·for·supporting·operator->()·on·both·references·and·proxies 
16 More... 
17 #include·<type_traits> 
18 #include·<utility> 
19 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
20 ·Namespaces17 ·Namespaces
21 namespace· Dune18 namespace· Dune
22  ··········Dune·namespace.19  ··········Dune·namespace.
23  20  
24 ·Functions 
25 template<typename·T·> 
26 pointer_or_proxy_holder Dune::handle_proxy_member_access·(T·&&t) 
27  ·······················Transparent·support·for·providing·member·access·to 
28 ·························both·lvalues·and·rvalues·(temporary·proxies).21 ·Macros
 22 #define DUNE_MINIMAL_DEBUG_LEVEL   4
 23  ·······The·default·minimum·debug·level.
 24  
 25 ·Typedefs
 26 ···················typedef·DebugStream<
 27 ··············VERY_VERBOSE_DEBUG_LEVEL,
 28 ·················MINIMAL_DEBUG_LEVEL·> Dune::DVVerbType
 29  ······································Type·of·very·verbose·debug·stream.
 30  
 31 ···················typedef·DebugStream<
 32 ···················VERBOSE_DEBUG_LEVEL,
 33 ·················MINIMAL_DEBUG_LEVEL·> Dune::DVerbType
 34  ······································Type·of·more·verbose·debug·stream.
 35  
 36 ·typedef·DebugStream<·INFO_DEBUG_LEVEL,
 37 ·················MINIMAL_DEBUG_LEVEL·> Dune::DInfoType
 38  ······································Type·of·debug·stream·with·info·level.
 39  
 40 ·typedef·DebugStream<·WARN_DEBUG_LEVEL,
 41 ·················MINIMAL_DEBUG_LEVEL·> Dune::DWarnType
 42  ······································Type·of·debug·stream·with·warn·level.
 43  
 44 typedef·DebugStream<·GRAVE_DEBUG_LEVEL,
 45 ·················MINIMAL_DEBUG_LEVEL·> Dune::DGraveType
 46  ······································Type·of·debug·stream·for·fatal·errors.
 47  
 48 ··············typedef·DebugStream<·1·> Dune::DErrType
 49  ······································The·type·of·the·stream·used·for·error
 50 ········································messages.
 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.
 57  
 58 static·const·DebugLevel Dune::VERBOSE_DEBUG_LEVEL·=·2
 59  ·······················The·level·of·the·verbose·debug·stream.
 60  
 61 static·const·DebugLevel Dune::INFO_DEBUG_LEVEL·=·3
 62  ·······················The·level·of·the·informative·debug·stream.
 63  
 64 static·const·DebugLevel Dune::WARN_DEBUG_LEVEL·=·4
 65  ·······················The·level·of·the·debug·stream·for·warnings.
 66  
 67 static·const·DebugLevel Dune::GRAVE_DEBUG_LEVEL·=·5
 68  ·······················The·level·of·the·debug·stream·for·fatal·errors.
29  69  
30 *****·Detailed·Description·*****70 *****·Detailed·Description·*****
31 infrastructure·for·supporting·operator->()·on·both·references·and·proxies71 Standard·Dune·debug·streams.
 72 The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This
 73 file·declares·the·stream·types·and·the·global·debug·level.
  
32 ===============================================================================74 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.875 ·····Generated·by [doxygen]·1.9.8
40.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 107 lines modifiedOffset 74, 94 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">proxymemberaccess.hh</div></div>80 ··<div·class="headertitle"><div·class="title">stdstreams.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
91 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>88 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDSTREAMS_HH</span></div>
 89 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#define·DUNE_COMMON_STDSTREAMS_HH</span></div>
92 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>90 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 91 <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>
 92 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
93 <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>93 <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>
94 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>94 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 95 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#ifndef·DUNE_MINIMAL_DEBUG_LEVEL</span></div>
 96 <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>
95 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">namespace·</span>Impl·{</div>97 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#endif</span></div>
 98 <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>
96 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>99 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 100 <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>
97 <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> 
98 <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> 
99 <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> 
100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>member_access_proxy_holder</div> 
101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div> 
102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 102 <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>
103 <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> 
104 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······member_access_proxy_holder(T&amp;&amp;·t)</div> 
105 <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> 
106 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······{}</div> 
107 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
108 <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> 
109 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="comment">//</span></div> 
110 <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> 
111 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">······</span>{</div> 
112 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keywordflow">return</span>·&amp;_t;</div> 
113 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······}</div> 
114 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
115 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······T·_t;</div> 
116 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
117 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····};</div> 
118 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··}·<span·class="comment">//·end·Impl·namespace</span></div> 
120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
122 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div> 
123 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
124 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
125 <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> 
126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··pointer_or_proxy_holder</div> 
127 <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> 
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>103 <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="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</span></div>104 <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:·63,·SHA:·e8be6d2b631b2199d487c8ed69b923c1159c9016f5f96e546801d28322250b0b·...·]</div>
130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>105 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 106 <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>
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>··<span·class="comment">//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that</span></div> 
133 <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> 
134 <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> 
135 <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> 
136 <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> 
137 <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> 
138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····std::is_lvalue_reference&lt;T&gt;::value,</div> 
139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">typename</span>·std::add_pointer&lt;</div> 
140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keyword">typename</span>·std::remove_reference&lt;</div> 
141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········T</div> 
142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········&gt;::type</div> 
143 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······&gt;::type</div> 
144 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····&gt;::type</div> 
145 <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> 
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="keywordflow">return</span>·&amp;target;</div> 
148 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··}</div>107 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 108 <div·class="line"><a·id="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>
149 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>109 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 110 <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>
150 <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> 
151 <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> 
152 <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> 
153 <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> 
154 <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> 
155 <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> 
156 <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> 
157 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····!std::is_lvalue_reference&lt;T&gt;::value,</div> 
158 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····Impl::member_access_proxy_holder&lt;T&gt;</div> 
159 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····&gt;::type</div> 
160 <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> 
161 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··{</div> 
162 <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> 
163 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··}</div>111 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 112 <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>
164 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
165 <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> 
166 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>113 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
167 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>}·<span·class="comment">//·namespace·Dune</span></div>114 <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_DEBU[·...·truncated·by·diffoscope;·len:·111,·SHA:·ad44f2a5893e9a6f8f032d3ac61730d75e5fca9f77c7b791ab7e815f45062813·...·]</div>
168 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>115 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 116 <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>
 117 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
 118 <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>
Max diff block lines reached; 565/33778 bytes (1.67%) of diff not shown.
7.0 KB
html2text {}
    
Offset 7, 112 lines modifiedOffset 7, 155 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 proxymemberaccess.hh12 stdstreams.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH 
20 ·6#define·DUNE_COMMON_PROXYMEMBERACCESS_HH19 ·5
 20 ·15#ifndef·DUNE_COMMON_STDSTREAMS_HH
 21 ·16#define·DUNE_COMMON_STDSTREAMS_HH
21 ·722 ·17
 23 ·18#include·"debugstream.hh"
 24 ·19
22 ·14#include·<type_traits> 
23 ·15#include·<utility> 
24 ·16 
25 ·17namespace·Dune·{25 ·20namespace·Dune·{
 26 ·21
 27 ·66#ifndef·DUNE_MINIMAL_DEBUG_LEVEL
 28 67#define·DUNE_MINIMAL_DEBUG_LEVEL·4
 29 ·68#endif
 30 69·static·const·DebugLevel·MINIMAL_DEBUG_LEVEL·=·DUNE_MINIMAL_DEBUG_LEVEL;
 31 ·70
 32 75·static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL·=·1;
 33 ·76
 34 81·typedef·DebugStream<VERY_VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>
 35 DVVerbType;
26 ·18 
27 ·19·namespace·Impl·{ 
28 ·20 
29 ·21·//·helper·struct·to·store·a·temporary·/·proxy 
30 ·22·//·for·the·duration·of·the·member·access 
31 ·23·template<typename·T> 
32 ·24·struct·member_access_proxy_holder 
33 ·25·{ 
34 ·26 
35 ·27·//·only·support·moving·the·temporary·into·the·holder·object 
36 ·28·member_access_proxy_holder(T&&·t) 
37 ·29·:·_t(std::move(t)) 
38 ·30·{} 
39 ·31 
40 ·32·//·The·object·is·fundamentally·a·temporary,·i.e.·an·rvalue, 
41 ·33·// 
42 ·34·const·T*·operator->()·const 
43 ·35·{ 
44 ·36·return·&_t; 
45 ·37·} 
46 ·38 
47 ·39·T·_t; 
48 ·40 
49 ·41·}; 
50 ·42 
51 ·43·}·//·end·Impl·namespace 
52 ·44 
53 ·45 
54 ·46#ifdef·DOXYGEN 
55 ·47 
56 ·49 
57 ·79·template<typename·T> 
58 ·80·pointer_or_proxy_holder 
59 81·handle_proxy_member_access(T&&·t); 
60 ·8236 ·82
 37 95·extern·DVVerbType·dvverb;
 38 ·96
 39 101·static·const·DebugLevel·VERBOSE_DEBUG_LEVEL·=·2;
61 ·83#else·//·DOXYGEN 
62 ·84 
63 ·85 
64 ·86·//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that 
65 ·87·//·the·T&&·signature·deduces·to·a·reference·iff·the·argument·is·an·lvalue). 
66 ·88·//·As·the·argument·is·an·lvalue,·we·do·not·have·to·worry·about·its·lifetime 
67 ·89·//·and·can·just·return·its·address. 
68 ·90·template<typename·T> 
69 ·91·inline·typename·std::enable_if< 
70 ·92·std::is_lvalue_reference<T>::value, 
71 ·93·typename·std::add_pointer< 
72 ·94·typename·std::remove_reference< 
73 ·95·T 
74 ·96·>::type 
75 ·97·>::type 
76 ·98·>::type 
77 ·99·handle_proxy_member_access(T&&·target) 
78 ·100·{ 
79 ·101·return·&target; 
80 ·102·}40 ·102
 41 107·typedef·DebugStream<VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DVerbType;
81 ·10342 ·108
 43 116·extern·DVerbType·dverb;
82 ·104·//·This·version·matches·rvalues·(the·C++·type·deduction·rules·state·that 
83 ·105·//·the·T&&·signature·deduces·to·a·non-reference·iff·the·argument·is·an 
84 rvalue). 
85 ·106·//·In·this·case,·we·have·to·capture·the·rvalue·in·a·new·object·to·make 
86 sure·it 
87 ·107·//·is·kept·alive·for·the·duration·of·the·member·access.·For·this·purpose, 
88 we·move 
89 ·108·//·it·into·a·member_access_proxy_holder·instance. 
90 ·109·template<typename·T> 
91 ·110·inline·typename·std::enable_if< 
92 ·111·!std::is_lvalue_reference<T>::value, 
93 ·112·Impl::member_access_proxy_holder<T> 
94 ·113·>::type 
95 ·114·handle_proxy_member_access(T&&·target) 
96 ·115·{ 
97 ·116·return·{std::forward<T>(target)}; 
98 ·117·}44 ·117
 45 122·static·const·DebugLevel·INFO_DEBUG_LEVEL·=·3;
99 ·118 
100 ·119#endif·//·DOXYGEN 
101 ·12046 ·123
102 ·121}·//·namespace·Dune47 128·typedef·DebugStream<INFO_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DInfoType;
103 ·12248 ·129
104 ·123#endif·//·DUNE_COMMON_PROXYMEMBERACCESS_HH 
105 Dune::handle_proxy_member_access 
106 pointer_or_proxy_holder·handle_proxy_member_access(T·&&t) 
107 Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues 
108 (temporary·proxies). 
109 std 
110 STL·namespace.49 140·extern·DInfoType·dinfo;
 50 ·141
Max diff block lines reached; 270/7147 bytes (3.78%) of diff not shown.
10.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00032.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 54 lines modifiedOffset 71, 40 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
79 <a·href="#func-members">Functions</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">dotproduct.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="fo[·...·truncated·by·diffoscope;·len:·150,·SHA:·becafe7dcfb6b8ce8377e7728dd03ea7c426d7ade4da320042a5a264906f0c7b·...·]··82 <p>helper·classes·to·provide·unique·types·for·standard·functions··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
85 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00383_source.html">ftraits.hh</a>&quot;</code><br·/> 
86 <code>#include·&quot;<a·class="el"·href="a00218_source.html">typetraits.hh</a>&quot;</code><br·/> 
87 </div>85 </div>
88 <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">87 <table·class="memberdecls">
90 <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>
91 Classes</h2></td></tr>89 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="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="a01312.html">Dune::Min&lt;·Type·&gt;</a></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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="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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html">Dune::Max&lt;·Type·&gt;</a></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </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:gaea6b9fa6ea152afd7372f5b0b6584947"·id="r_gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr> 
106 <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;·<a·class="el"·href="a01300.html">IsNumber</a>&lt;·A·&gt;::value·&amp;&amp;!<a·class="el"·href="a01492.html">IsVector</a>&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·A·&gt;::field_type,·typename·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</td></tr> 
107 <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··<br·/></td></tr> 
108 <tr·class="separator:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"·id="r_aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr> 
110 <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> 
111 <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.··<br·/></td></tr> 
112 <tr·class="separator:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 </table>100 </table>
114 <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>helper·classes·to·provide·unique·types·for·standard·functions·</p>
115 <div·class="textblock"><p>Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>.·</p> 
116 <p>The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot·products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as·DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b)·conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and·Petsc,·but·not·with·BLAS.·</p><dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke,·Matthias·Wohlmuth·</dd></dl> 
117 </div></div><!--·contents·-->103 </div></div><!--·contents·-->
118 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>105 <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.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
121 </small></address>107 </small></address>
122 </body>108 </body>
123 </html>109 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
2.06 KB
html2text {}
    
Offset 6, 50 lines modifiedOffset 6, 26 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Classes·|·Namespaces
 13 binaryfunctions.hh·File·Reference
 14 helper·classes·to·provide·unique·types·for·standard·functions·More...
 15 #include·<algorithm>
13 dotproduct.hh·File·Reference 
14 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T 
15 \cdot·b·$].·More... 
16 #include·"ftraits.hh" 
17 #include·"typetraits.hh" 
18 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
19 ·Classes17 ·Classes
20 struct· Dune::IsVector<_T,_class_>18 struct· Dune::Min<_Type_>
21  19  
22 struct· Dune::IsVector<_T,_std::void_t<_typename_T::field_type_>_>20 struct· Dune::Max<_Type_>
23  21  
24 ·Namespaces22 ·Namespaces
25 namespace· Dune23 namespace· Dune
26  ··········Dune·namespace.24  ··········Dune·namespace.
27  25  
28 ·Functions 
29 template<class·A·,·class·B·> 
30 auto Dune::dot·(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber< 
31 ······A·>::value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits< 
32 ······A·>::field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype 
33 ······(conj(a)·*b)>::type 
34  ····computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's 
35 ······VectDot·function:·dot(a,b)·:=·std::conj(a)*b 
36   
37 template<class·A·,·class·B·> 
38 auto Dune::dotT·(const·A·&a,·const·B·&b)·->·decltype(a·*b) 
39  ····Computes·an·indefinite·vector·dot·product·for·fundamental·data·types 
40 ······according·to·Petsc's·VectTDot·function:·dotT(a,b)·:=·a*b. 
41   
42 *****·Detailed·Description·*****26 *****·Detailed·Description·*****
 27 helper·classes·to·provide·unique·types·for·standard·functions
43 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T 
44 \cdot·b·$]. 
45 The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot 
46 products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as 
47 DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b) 
48 conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and 
49 Petsc,·but·not·with·BLAS. 
50 ··Author 
51 ·······Fahlke,·Matthias·Wohlmuth 
  
52 ===============================================================================28 ===============================================================================
53 ·····Generated·by [doxygen]·1.9.829 ·····Generated·by [doxygen]·1.9.8
29.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 81 lines modifiedOffset 74, 81 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">dotproduct.hh</div></div>80 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DOTPRODUCT_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BINARYFUNCTIONS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DOTPRODUCT_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BINARYFUNCTIONS_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00383.html">ftraits.hh</a>&quot;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00218.html">typetraits.hh</a>&quot;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
93 <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>92 <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>
94 <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> 
95 <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> 
96 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div>
97 <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>94 <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>
98 <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};">95 <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="};">
99 <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·[·...·truncated·by·diffoscope;·len:·123,·SHA:·85122980fe9152d43e5d00308b09ffa28610cfcbab8d082c7bd7c9b5c8b7a706·...·]</div>96 <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>
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····:·std::true_type·{};</div>97 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{</div>
 98 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">···19</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">first_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div>
 99 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 100 <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>
 101 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 102 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">···23</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">result_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div>
 103 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 104 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}">
 105 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">···25</a></span>····Type·<a·class="code·hl_function"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">operator()</a>(<span·class="keyword">const</span>·Type&amp;·t1,·<span·class="keyword">const</span>·Type&amp;·t2)<span·class="keyword">·const</span></div>
 106 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">····</span>{</div>
 107 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keyword">using·</span>std::min;</div>
 108 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······<span·class="keywordflow">return</span>·min(t1,t2);</div>
 109 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····}</div>
101 </div>110 </div>
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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>·A,·<span·class="keyword">class</span>·B&gt;</div> 
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span></div> 
105 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}"> 
106 <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> 
107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>111 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div>
108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·conj(a)*b;</div> 
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div> 
110 </div>112 </div>
111 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
112 <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> 
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>·A,·<span·class="keyword">class</span>·B&gt;</div> 
114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">auto</span></div> 
115 <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> 
116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··{</div> 
117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordflow">return</span>·a*b;</div> 
118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··}</div> 
119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
120 <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>114 <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>
 115 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">
 116 <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>
121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">auto</span></div>117 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
122 <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[·...·truncated·by·diffoscope;·len:·128,·SHA:·9348a78ca480cb63c4aadedf20859f6c07b40e4c913f0450caf7a9ab5ae09a38·...·]</div>118 <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_arg[·...·truncated·by·diffoscope;·len:·155,·SHA:·23eb1685c4a617a044e694a5f35714b290492804459f91418f86943cd92895dc·...·]</div>
123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>119 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
124 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·a.dot(b);</div>120 <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_ar[·...·truncated·by·diffoscope;·len:·155,·SHA:·bfcf64929c45eb01c2e6431059526ab6e9b909aff0f116dc045ba5abb920013c·...·];</div>
125 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div>121 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
126 <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>122 <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_ty[·...·truncated·by·diffoscope;·len:·146,·SHA:·be8f4d51447ca26a01279a28ea83aff24b9bb45661b70a57291375b07167e183·...·];</div>
127 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">auto</span></div>123 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
128 <div·class="foldopen"·id="foldopen00090"·data-start="{"·data-end="}">124 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}">
129 <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[·...·truncated·by·diffoscope;·len:·104,·SHA:·b299c5e3c5a872811cec0e0476c44a444a983f10ee53192e9d966876ab450b82·...·]</div>125 <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">c[·...·truncated·by·diffoscope;·len:·109,·SHA:·da7467954b3e69abe6022d5c3153dda591f587976b7fc5e7fe2b24bf99e9f426·...·]</div>
130 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··{</div>126 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">····</span>{</div>
 127 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">using·</span>std::max;</div>
131 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">return</span>·a*b;</div>128 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······<span·class="keywordflow">return</span>·max(t1,t2);</div>
132 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div>129 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····}</div>
133 </div>130 </div>
 131 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div>
 132 </div>
 133 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}</div>
134 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>134 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
135 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>}·<span·class="comment">//·end·namespace·DUNE</span></div>135 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif</span></div>
136 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
137 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_DOTPRODUCT_HH</span></div> 
138 <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
139 <div·class="ttc"·id="aa00383_html"><div·class="ttname"><a·href="a00383.html">ftraits.hh</a></div><div·class="ttdoc">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)</div></div> 
140 <div·class="ttc"·id="aa00397_html_gaea6b9fa6ea152afd7372f5b0b6584947"><div·class="ttname"><a·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">Dune::dot</a></div><div·class="ttdeci">auto·dot(const·A·&amp;a,·const·B·&amp;b)·-&gt;·typename·std::enable_if&lt;·IsNumber&lt;·A·&gt;::value·&amp;&amp;!IsVector&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·FieldTraits&lt;·A·&gt;::field_type,·typename·FieldTraits&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</div><div·class="ttdoc">computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's·VectDot·function:·dot(a,...</div><div·class="ttdef"><b>Definition</b>·dotproduct.hh:42</div></div> 
141 <div·class="ttc"·id="aa00406_html_ga6a3de1d2dbd47536c4b007d3a3b108a2"><div·class="ttname"><a·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">Dune::void_t</a></div><div·class="ttdeci">typename·Impl::voider&lt;·Types...·&gt;::type·void_t</div><div·class="ttdoc">Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques.</div><div·class="ttdef"><b>Definition</b>·typetraits.hh:40</div></div> 
142 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div> 
143 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition</b>·alignedallocator.hh:13</div></div>136 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition</b>·alignedallocator.hh:13</div></div>
144 <div·class="ttc"·id="aa00425_html_aa2d28f67ec2d74f14ec3ce3f9c27c221"><div·class="ttname"><a·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">Dune::dotT</a></div><div·class="ttdeci">auto·dotT(const·A·&amp;a,·const·B·&amp;b)·-&gt;·decltype(a·*b)</div><div·class="ttdoc">Computes·an·indefinite·vector·dot·product·for·fundamental·data·types·according·to·Petsc's·VectTDot·fu...</div><div·class="ttdef"><b>Definition</b>·dotproduct.hh:90</div></div> 
145 <div·class="ttc"·id="aa01492_html"><div·class="ttname"><a·href="a01492.html">Dune::IsVector</a></div><div·class="ttdef"><b>Definition</b>·dotproduct.hh:27</div></div>137 <div·class="ttc"·id="aa01312_html"><div·class="ttname"><a·href="a01312.html">Dune::Min</a></div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:18</div></div>
146 <div·class="ttc"·id="aa01740_html_ab1c1583160e1c47c4909273c82ae7a63"><div·class="ttname"><a·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">Dune::FieldTraits::real_type</a></div><div·class="ttdeci">T·real_type</div><div·class="ttdoc">export·the·type·representing·the·real·type[·...·truncated·by·diffoscope;·len:·69,·SHA:·a9addc6f4d5b91c9e7bce868f2c6986ef8e699fbbacf7baf3add47ba94fdbddd·...·]</div></div>138 <div·class="ttc"·id="aa01312_html_a1a9f5602b00c47102e8a673735384025"><div·class="ttname"><a·href="a01312.html#a1a9f5602b00c47102e8a673735384025">Dune::Min::result_type</a></div><div·class="ttdeci">Type·result_type</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:23</div></div>
 139 <div·class="ttc"·id="aa01312_html_a3a095ab2b2588ca48de65a3d25d03de7"><div·class="ttname"><a·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">Dune::Min::operator()</a></div><div·class="ttdeci">Type·operator()(const·Type·&amp;t1,·const·Type·&amp;t2)·const</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:25</div></div>
 140 <div·class="ttc"·id="aa01312_html_a82606dcf591eb20e407a2e0bcc41b10d"><div·class="ttname"><a·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">Dune::Min::first_argument_type</a></div><div·class="ttdeci">Type·first_argument_type</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:19</div></div>
 141 <div·class="ttc"·id="aa01312_html_aeeee48475d6ff825b11a1e5d2b33fcb3"><div·class="ttname"><a·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">Dune::Min::second_argument_type</a></div><div·class="ttdeci">Type·second_argument_type</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:21</div></div>
 142 <div·class="ttc"·id="aa01316_html"><div·class="ttname"><a·href="a01316.html">Dune::Max</a></div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:34</div></div>
 143 <div·class="ttc"·id="aa01316_html_a12f75ff2a1596bce9309cb1a0b877703"><div·class="ttname"><a·href="a01316.html#a12f75ff2a1596bce9309cb1a0b877703">Dune::Max::operator()</a></div><div·class="ttdeci">Type·operator()(const·Type·&amp;t1,·const·Type·&amp;t2)·const</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:41</div></div>
 144 <div·class="ttc"·id="aa01316_html_a186a7c3e52441741a3293eb9890944e8"><div·class="ttname"><a·href="a01316.html#a186a7c3e52441741a3293eb9890944e8">Dune::Max::result_type</a></div><div·class="ttdeci">Type·result_type</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:39</div></div>
 145 <div·class="ttc"·id="aa01316_html_a33e20d90dcf2581c158a748d52146ab8"><div·class="ttname"><a·href="a01316.html#a33e20d90dcf2581c158a748d52146ab8">Dune::Max::first_argument_type</a></div><div·class="ttdeci">Type·first_argument_type</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:35</div></div>
 146 <div·class="ttc"·id="aa01316_html_adcf11807cc01644428fbeaa5628964dc"><div·class="ttname"><a·href="a01316.html#adcf11807cc01644428fbeaa5628964dc">Dune::Max::second_argument_type</a></div><div·class="ttdeci">Type·second_argument_type</div><div·class="ttdef"><b>Definition</b>·binaryfunctions.hh:37</div></div>
147 </div><!--·fragment·--></div><!--·contents·-->147 </div><!--·fragment·--></div><!--·contents·-->
148 <!--·start·footer·part·-->148 <!--·start·footer·part·-->
149 <hr·class="footer"/><address·class="footer"><small>149 <hr·class="footer"/><address·class="footer"><small>
150 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8150 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
151 </small></address>151 </small></address>
152 </body>152 </body>
153 </html>153 </html>
5.14 KB
html2text {}
    
Offset 7, 100 lines modifiedOffset 7, 95 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 dotproduct.hh12 binaryfunctions.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DOTPRODUCT_HH 
20 ·6#define·DUNE_DOTPRODUCT_HH19 ·5#ifndef·DUNE_BINARYFUNCTIONS_HH
 20 ·6#define·DUNE_BINARYFUNCTIONS_HH
21 ·721 ·7
 22 ·12#include·<algorithm>
 23 ·13
22 ·8#include·"ftraits.hh" 
23 ·9#include·"typetraits.hh" 
24 ·10 
25 ·11namespace·Dune·{24 ·14namespace·Dune
26 ·26·template<class·T,·class·=·void> 
27 27·struct·IsVector·:·std::false_type·{}; 
28 ·28 
29 ·29·template<class·T> 
30 30·struct·IsVector<T,·std::void_t<typename·T::field_type>·> 
31 ·31·:·std::true_type·{}; 
32 ·32 
33 ·40·template<class·A,·class·B> 
34 ·41·auto 
35 42·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value 
36 &&·!IsVector<A>::value·&&·!std::is_same<typename·FieldTraits<A>:: 
37 field_type,typename·FieldTraits<A>::real_type>·::value,·decltype(conj(a)*b)>:: 
38 type25 ·15{
 26 ·16·template<typename·Type>
 27 17·struct·Min
 28 ·18·{
 29 19·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated
 30 following·similar·deprecations·in·C++17")]]·=·Type;
 31 ·20
 32 21·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated
 33 following·similar·deprecations·in·C++17")]]·=·Type;
 34 ·22
 35 23·using·result_type·[[deprecated("This·type·alias·is·deprecated·following
 36 similar·deprecations·in·C++17")]]·=·Type;
 37 ·24
 38 25·Type·operator()(const·Type&·t1,·const·Type&·t2)·const
 39 ·26·{
 40 ·27·using·std::min;
 41 ·28·return·min(t1,t2);
 42 ·29·}
 43 ·30·};
 44 ·31
 45 ·32·template<typename·Type>
 46 33·struct·Max
39 ·43·{47 ·34·{
40 ·44·return·conj(a)*b;48 35·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated
 49 following·similar·deprecations·in·C++17")]]·=·Type;
 50 ·36
 51 37·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated
 52 following·similar·deprecations·in·C++17")]]·=·Type;
 53 ·38
 54 39·using·result_type·[[deprecated("This·type·alias·is·deprecated·following
 55 similar·deprecations·in·C++17")]]·=·Type;
 56 ·40
 57 41·Type·operator()(const·Type&·t1,·const·Type&·t2)·const
 58 ·42·{
 59 ·43·using·std::max;
 60 ·44·return·max(t1,t2);
41 ·45·}61 ·45·}
 62 ·46·};
 63 ·47}
 64 ·48
 65 ·49#endif
42 ·46 
43 ·56·//·fundamental·type·with·A·being·a·real·type 
44 ·57·template<class·A,·class·B> 
45 ·58·auto 
46 ·59·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value 
47 &&·!IsVector<A>::value·&&·std::is_same<typename·FieldTraits<A>:: 
48 field_type,typename·FieldTraits<A>::real_type>::value,·decltype(a*b)>::type 
49 ·60·{ 
50 ·61·return·a*b; 
51 ·62·} 
52 ·63 
53 ·73·template<typename·A,·typename·B> 
54 ·74·auto 
55 ·75·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsVector<A>:: 
56 value,·decltype(a.dot(b))>::type 
57 ·76·{ 
58 ·77·return·a.dot(b); 
59 ·78·} 
60 ·88·template<class·A,·class·B> 
61 ·89·auto 
62 90·dotT(const·A·&·a,·const·B·&·b)·->·decltype(a*b) 
63 ·91·{ 
64 ·92·return·a*b; 
65 ·93·} 
66 ·94 
67 ·96}·//·end·namespace·DUNE 
68 ·97 
69 ·98#endif·//·DUNE_DOTPRODUCT_HH 
70 typetraits.hh 
71 Traits·for·type·conversions·and·type·information. 
72 ftraits.hh 
73 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers) 
74 Dune::dot 
75 auto·dot(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber<·A·>:: 
76 value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits<·A·>:: 
77 field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype(conj(a) 
78 *b)>::type 
79 computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's 
80 VectDot·function:·dot(a,... 
81 Definition·dotproduct.hh:42 
82 Dune::void_t 
83 typename·Impl::voider<·Types...·>::type·void_t 
84 Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques. 
85 Definition·typetraits.hh:40 
86 std 
87 STL·namespace. 
88 Dune66 Dune
89 Dune·namespace.67 Dune·namespace.
90 Definition·alignedallocator.hh:1368 Definition·alignedallocator.hh:13
91 Dune::dotT 
Max diff block lines reached; 116/5244 bytes (2.21%) of diff not shown.
10.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00035.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 63 lines modifiedOffset 71, 42 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<div·class="headertitle"><div·class="title">power.hh·File·Reference</div></div>
79 <a·href="#typedef-members">Typedefs</a>··</div> 
80 ··<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> 
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Defines·several·output·streams·for·messages·of·different·importance.··82 <p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/> 
86 <code>#include·&lt;stack&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code><br·/>
88 </div>85 </div>
89 <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">87 <table·class="memberdecls">
91 <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>
92 Classes</h2></td></tr>89 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="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&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="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a></td></tr>
94 <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>91 <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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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="a01380.html">Dune::common_bits&lt;·current,·mask·&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="a02424.html">Dune::Power&lt;·p·&gt;</a></td></tr>
 94 <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>
97 <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> 
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="a01384.html">Dune::DebugStreamError</a></td></tr> 
100 <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> 
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="a01388.html">Dune::StreamWrap</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="a01392.html">Dune::DebugStreamState</a></td></tr> 
105 <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> 
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="a01396.html">Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;</a></td></tr> 
108 <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> 
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
111 <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>
112 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
113 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
114 <tr·class="memdesc: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>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <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="typedef-members"·name="typedef-members"></a> 
118 Typedefs</h2></td></tr> 
119 <tr·class="memitem:ga7b78ef57d1b77933ab277ebe66c79d94"·id="r_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> 
120 <tr·class="memdesc:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·for·debug·levels.··<br·/></td></tr> 
121 <tr·class="separator:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 </table>102 </table>
123 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>103 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 104 <div·class="textblock"><p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.·</p>
124 <div·class="textblock"><p>Defines·several·output·streams·for·messages·of·different·importance.·</p> 
125 <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> 
126 </div></div><!--·contents·-->105 </div></div><!--·contents·-->
127 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
128 <hr·class="footer"/><address·class="footer"><small>107 <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.8108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>109 </small></address>
131 </body>110 </body>
132 </html>111 </html>
2.04 KB
html2text {}
    
Offset 6, 49 lines modifiedOffset 6, 31 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Typedefs12 Classes·|·Namespaces
13 debugstream.hh·File·Reference13 power.hh·File·Reference
 14 Various·implementations·of·the·power·function·for·run-time·and·static
 15 arguments.·More...
14 Common·»·Debug_output 
15 Defines·several·output·streams·for·messages·of·different·importance.·More... 
16 #include·<iostream> 
17 #include·<stack> 
18 #include·<dune/common/exceptions.hh>16 #include·<dune/common/math.hh>
19 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
20 ·Classes18 ·Classes
21 struct· Dune::greater_or_equal<_current,_threshold_> 
22  ·······Greater·or·equal·template·test.·More...19 struct· Dune::StaticPower<_b,_p_>
 20  ·······Calculates·b^p·at·compile·time.·More...
23  21  
 22 struct· Dune::Power<_p_>
 23  ·······Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.
 24 ·········More...
24 struct· Dune::common_bits<_current,_mask_> 
25  ·······activate·if·current·and·mask·have·common·bits·switched·on.·More... 
26   
27 ·class· Dune::DebugStreamError 
28  ·······standard·exception·for·the·debugstream·More... 
29   
30 ·class· Dune::StreamWrap 
31   
32 ·class· Dune::DebugStreamState 
33  ·······Intermediate·class·to·implement·tie-operation·of·DebugStream.·More... 
34   
35 ·class· Dune::DebugStream<_thislevel,_dlevel,_alevel,_activator_> 
36  ·······Generic·class·to·implement·debug·output·streams.·More... 
37  25  
38 ·Namespaces26 ·Namespaces
39 namespace· Dune27 namespace· Dune
40  ··········Dune·namespace.28  ··········Dune·namespace.
41  29  
42 ·Typedefs 
43 typedef·unsigned·int Dune::DebugLevel 
44  ····················Type·for·debug·levels. 
45   
46 *****·Detailed·Description·*****30 *****·Detailed·Description·*****
 31 Various·implementations·of·the·power·function·for·run-time·and·static
 32 arguments.
47 Defines·several·output·streams·for·messages·of·different·importance. 
48 This·file·implements·the·class·DebugStream·to·support·output·in·a·variety·of 
49 debug·levels.·Additionally,·template·parameters·control·if·the·output·operation 
50 is·really·performed·so·that·unused·debug·levels·can·be·deactivated 
  
51 ===============================================================================33 ===============================================================================
52 ·····Generated·by [doxygen]·1.9.834 ·····Generated·by [doxygen]·1.9.8
75.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 333 lines modifiedOffset 74, 63 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">debugstream.hh</div></div>80 ··<div·class="headertitle"><div·class="title">power.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POWER_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POWER_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_DEBUGSTREAM_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_DEBUGSTREAM_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;stack&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00101.html">dune/common/math.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>94 <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>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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="keywordtype">int</span>·b,·<span·class="keywordtype">int</span>·p&gt;</div>
96 <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> 
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
98 <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> 
99 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
100 <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> 
101 <div·class="foldopen"·id="foldopen00130"·data-start="{"·data-end="};">97 <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="};">
102 <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>98 <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>
103 <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=[·...·truncated·by·diffoscope;·len:·111,·SHA:·99dfcaa304c469f19820f7c18f8172846ef0db55091f6d65ab79b626446f5a99·...·]</div>99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div>
 100 <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>
104 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··};</div>101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div>
105 </div>102 </div>
 103 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
106 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>104 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
107 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> 
108 <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>105 <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>
109 <div·class="foldopen"·id="foldopen00142"·data-start="{"·data-end="};">106 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">
110 <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>107 <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>
111 <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=[·...·truncated·by·diffoscope;·len:·113,·SHA:·6bf754a48b13b5252a1a4b3e2bf61c9bbde5b7140ff2313558c63ee98a0d7c62·...·]</div>108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
 109 <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>
 110 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">
 111 <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>
 112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div>
 113 <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>
112 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··};</div>114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····}</div>
113 </div>115 </div>
114 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div>116 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div>
115 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
116 <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> 
117 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
118 <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="};"> 
119 <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> 
120 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··<span·class="keyword">public</span>:</div> 
121 <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> 
122 <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> 
123 <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> 
124 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··};</div> 
125 </div>117 </div>
126 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> 
127 <div·class="foldopen"·id="foldopen00158"·data-start="{"·data-end="};"> 
128 <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> 
129 <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> 
130 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··<span·class="keyword">public</span>:</div> 
131 <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> 
132 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> 
133 <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> 
134 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
135 <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> 
136 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div> 
137 <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> 
138 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>··};</div> 
139 </div> 
140 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>·</div> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <div·class="foldopen"·id="foldopen00192"·data-start="{"·data-end="};"> 
146 <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> 
147 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>··<span·class="keyword">public</span>:</div> 
148 <div·class="foldopen"·id="foldopen00199"·data-start="{"·data-end="}"> 
149 <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> 
150 <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> 
151 <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> 
152 <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> 
153 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>·</div> 
154 <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> 
155 <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> 
156 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div> 
157 <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> 
158 <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> 
159 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>·</div> 
160 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>······<span·class="comment">//·no·child·streams·yet</span></div> 
161 <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> 
162 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>····}</div> 
163 </div> 
164 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div> 
165 <div·class="foldopen"·id="foldopen00219"·data-start="{"·data-end="}"> 
166 <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> 
167 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>·················std::ostream&amp;·fallback·=·std::cerr)</div> 
168 <div·class="line"><a·id="l00221"·name="l00221"></a><span·class="lineno">··221</span>····{</div> 
169 <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> 
170 <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> 
171 <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> 
172 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>·</div> 
Max diff block lines reached; 2794/66356 bytes (4.21%) of diff not shown.
11.0 KB
html2text {}
    
Offset 7, 377 lines modifiedOffset 7, 68 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 debugstream.hh12 power.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5 
20 ·6#ifndef·DUNE_DEBUGSTREAM_HH 
21 ·7#define·DUNE_DEBUGSTREAM_HH 
22 ·8 
23 ·13#include·<iostream> 
24 ·14#include·<stack>19 ·5#ifndef·DUNE_COMMON_POWER_HH
 20 ·6#define·DUNE_COMMON_POWER_HH
 21 ·7
 22 ·8#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead.
 23 ·9
 24 ·14#include·<dune/common/math.hh>
25 ·1525 ·15
26 ·16#include·<dune/common/exceptions.hh>26 ·16namespace·Dune·{
27 ·1727 ·17
 28 ·26·template·<int·b,·int·p>
 29 27·struct·StaticPower
 30 ·28·{
 31 30·static·constexpr·int·power·=·Dune::power(b,p);
28 ·18namespace·Dune·{ 
29 ·19 
30 118·typedef·unsigned·int·DebugLevel; 
31 ·119 
32 ·129·template·<DebugLevel·current,·DebugLevel·threshold> 
33 130·struct·greater_or_equal·{ 
34 131·constexpr·static·bool·value·=·(current·>=·threshold); 
35 ·132·}; 
36 ·133 
37 ·134 
38 ·141·template·<DebugLevel·current,·DebugLevel·mask> 
39 142·struct·common_bits·{ 
40 143·constexpr·static·bool·value·=·((current·&·mask)·!=·0); 
41 ·144·}; 
42 ·145 
43 ·146 
44 148·class·DebugStreamError·:·public·IOError·{}; 
45 ·149 
46 150·class·StreamWrap·{ 
47 ·151·public: 
48 152·StreamWrap(std::ostream&·_out)·:·out(_out)·{·} 
49 153·std::ostream&·out; 
50 154·StreamWrap·*next; 
51 ·155·}; 
52 ·156 
53 158·class·DebugStreamState·{ 
54 ·159·//·!!!·should·be·protected·somehow·but·that·won't·be·easy 
55 ·160·public: 
56 162·StreamWrap*·current; 
57 ·163 
58 165·bool·_active; 
59 ·166 
60 168·bool·_tied; 
61 ·169 
62 171·unsigned·int·_tied_streams; 
63 ·172·}; 
64 ·173 
65 ·188·template·<DebugLevel·thislevel·=·1, 
66 ·189·DebugLevel·dlevel·=·1, 
67 ·190·DebugLevel·alevel·=·1, 
68 ·191·template<DebugLevel,·DebugLevel>·class·activator·=·greater_or_equal> 
69 192·class·DebugStream·:·public·DebugStreamState·{ 
70 ·193·public: 
71 199·DebugStream(std::ostream&·out·=·std::cerr)·{ 
72 ·200·//·start·a·new·list·of·streams 
73 ·201·current·=·new·StreamWrap(out); 
74 ·202·current->next·=·0; 
75 ·203 
76 ·204·//·check·if·we·are·above·the·default·activation·level 
77 ·205·_active·=·activator<thislevel,alevel>::value; 
78 ·206 
79 ·207·//·we're·not·tied·to·another·DebugStream 
80 ·208·_tied·=·false; 
81 ·209 
82 ·210·//·no·child·streams·yet 
83 ·211·_tied_streams·=·0; 
84 ·212·} 
85 ·213 
86 219·DebugStream·(DebugStreamState&·master, 
87 ·220·std::ostream&·fallback·=·std::cerr) 
88 ·221·{ 
89 ·222·//·start·a·new·list·of·streams 
90 ·223·current·=·new·StreamWrap(fallback); 
91 ·224·current->next·=·0; 
92 ·225 
93 ·226·//·check·if·we·are·above·the·default·activation·level 
94 ·227·_active·=·activator<thislevel,alevel>::value; 
95 ·228·_tied_streams·=·0; 
96 ·229 
97 ·230·//·tie·to·the·provided·stream 
98 ·231·_tied·=·true; 
99 ·232·tiedstate·=·&master; 
100 ·233·tiedstate->_tied_streams++; 
101 ·234·} 
102 ·235 
103 243·~DebugStream() 
104 ·244·{ 
105 ·245·//·untie 
106 ·246·if·(_tied) 
107 ·247·tiedstate->_tied_streams--; 
108 ·248·else·{ 
109 ·249·//·check·if·somebody·still·ties·to·us... 
110 ·250·if·(_tied_streams·!=·0) 
111 ·251·{ 
112 ·252·std::cerr·<<·"DebugStream·destructor·is·called·while·other·streams·are 
113 still·tied·to·it.·Terminating!"·<<·std::endl; 
114 ·253·std::terminate(); 
115 ·254·} 
116 ·255·} 
117 ·256 
118 ·257·//·remove·ostream-stack 
119 ·258·while·(current·!=·0)·{ 
120 ·259·StreamWrap·*s·=·current; 
121 ·260·current·=·current->next; 
122 ·261·delete·s; 
Max diff block lines reached; 1116/11199 bytes (9.97%) of diff not shown.
10.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 49 lines modifiedOffset 71, 59 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
79 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh·File·Reference</div></div>79 <a·href="#func-members">Functions</a>··</div>
 80 ··<div·class="headertitle"><div·class="title">sllist.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.··83 <p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;istream&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
 86 <code>#include·&lt;cassert&gt;</code><br·/>
 87 <code>#include·&quot;<a·class="el"·href="a00374_source.html">iteratorfacades.hh</a>&quot;</code><br·/>
85 <code>#include·&lt;string&gt;</code><br·/>88 <code>#include·&lt;ostream&gt;</code><br·/>
86 <code>#include·&lt;vector&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
89 </div>89 </div>
90 <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <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>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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02380.html">Dune::ParameterTreeParserError</a></td></tr>94 <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>
95 <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>95 <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>
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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02384.html">Dune::HelpRequest</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02844.html">Dune::SLListIterator&lt;·T,·A·&gt;</a></td></tr>
98 <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>98 <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>
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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02388.html">Dune::ParameterTreeParser</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="a02848.html">Dune::SLListConstIterator&lt;·T,·A·&gt;</a></td></tr>
101 <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>101 <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>
 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="a02852.html">Dune::SLListModifyIterator&lt;·T,·A·&gt;</a></td></tr>
 104 <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>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 </table><table·class="memberdecls">
 113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 114 Functions</h2></td></tr>
 115 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"·id="r_gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·&gt;·</td></tr>
 116 <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·<a·class="el"·href="a02856.html">SLList</a>&lt;·T,·A·&gt;·&amp;sllist)</td></tr>
 117 <tr·class="separator:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table>118 </table>
110 <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>
111 <div·class="textblock"><p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.·</p>120 <div·class="textblock"><p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.·</p>
 121 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
112 </div></div><!--·contents·-->122 </div></div><!--·contents·-->
113 <!--·start·footer·part·-->123 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>124 <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.8125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
116 </small></address>126 </small></address>
117 </body>127 </body>
118 </html>128 </html>
1.83 KB
html2text {}
    
Offset 6, 35 lines modifiedOffset 6, 45 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
13 parametertreeparser.hh·File·Reference 
14 Various·parser·methods·to·get·data·into·a·ParameterTree·object.·More...13 sllist.hh·File·Reference
 14 Common
 15 Implements·a·singly·linked·list·together·with·the·necessary·iterators.·More...
 16 #include·<memory>
 17 #include·<cassert>
 18 #include·"iteratorfacades.hh"
15 #include·<istream>19 #include·<ostream>
16 #include·<string> 
17 #include·<vector> 
18 #include·<dune/common/parametertree.hh> 
19 #include·<dune/common/exceptions.hh> 
20 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
21 ·Classes21 ·Classes
22 class· Dune::ParameterTreeParserError 
23  ······report·parser·error·while·reading·ParameterTree·More...22 class· Dune::SLList<_T,_A_>
 23  ······A·single·linked·list.·More...
24  24  
25 class· Dune::HelpRequest 
26  ······exception·thrown·if·the·user·wants·to·see·help·string·More...25 class· Dune::SLListIterator<_T,_A_>
 26  ······A·mutable·iterator·for·the·SLList.·More...
27  27  
28 class· Dune::ParameterTreeParser 
29  ······Parsers·to·set·up·a·ParameterTree·from·various·input·sources.·More...28 class· Dune::SLListConstIterator<_T,_A_>
 29  ······A·constant·iterator·for·the·SLList.·More...
 30  
 31 class· Dune::SLListModifyIterator<_T,_A_>
 32  ······A·mutable·iterator·for·the·SLList.·More...
30  33  
31 ·Namespaces34 ·Namespaces
32 namespace· Dune35 namespace· Dune
33  ··········Dune·namespace.36  ··········Dune·namespace.
34  37  
 38 ·Functions
 39 template<typename·T·,·typename·A·>
 40 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·SLList<·T,·A·>
 41 ················&sllist)
 42  
35 *****·Detailed·Description·*****43 *****·Detailed·Description·*****
36 Various·parser·methods·to·get·data·into·a·ParameterTree·object.44 Implements·a·singly·linked·list·together·with·the·necessary·iterators.
 45 ··Author
 46 ······Markus·Blatt
  
37 ===============================================================================47 ===============================================================================
38 ·····Generated·by [doxygen]·1.9.848 ·····Generated·by [doxygen]·1.9.8
161 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 92 lines modifiedOffset 74, 778 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh</div></div>80 ··<div·class="headertitle"><div·class="title">sllist.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETER_PARSER_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SLLIST_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETER_PARSER_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SLLIST_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00374.html">iteratorfacades.hh</a>&quot;</span></div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
94 <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/parametertree.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>95 <div·class="line"><a·id="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>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 97 <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>
 98 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">class·</span>SLListIterator;</div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
99 <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> 
100 <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"·hre[·...·truncated·by·diffoscope;·len:·32,·SHA:·64d85e3515acdb66adb9b6daa949aad5bfb663cde60a9aa5ef44367b967027ac·...·];</div>100 <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>
 101 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>SLListConstIterator;</div>
101 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>102 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 103 <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>
 104 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">class·</span>SLListModifyIterator;</div>
 105 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 106 <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>
102 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">107 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};">
103 <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>108 <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>
104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>109 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>
 110 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">struct·</span>Element;</div>
 111 <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>
 112 <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>
105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>113 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
106 <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> 
107 <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> 
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">public</span>:</div>114 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div>
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
111 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>115 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
112 <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> 
113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····························<span·class="keywordtype">bool</span>·overwrite);</div>116 <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="a0[·...·truncated·by·diffoscope;·len:·59,·SHA:·a9f2af948dad542b91eee66cac5009d1392c4699dc643f34864dfaf28d33c36c·...·];</div>
 117 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 118 <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>
 119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 120 <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>
 121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 122 <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>
 123 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 124 <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>
 125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 126 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="}">
 127 <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>
 128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 129 <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>
 130 <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}">
 131 <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>
 132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 133 <div·class="foldopen"·id="foldopen00090"·data-start="{"·data-end="}">
 134 <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>
 135 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 136 <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}">
 137 <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>
114 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>138 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
115 <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</[·...·truncated·by·diffoscope;·len:·24,·SHA:·ff95a79e300f2e9031454879e6dbc4537ab149b1af11900b14b81abb1c15c7e1·...·];</div>139 <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·clas[·...·truncated·by·diffoscope;·len:·92,·SHA:·66f075d629fa524eaa5c682e130fe7a883a2c241a7562297acd1ed75c72afc5d·...·];</div>
116 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>140 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 141 <div·class="foldopen"·id="foldopen00108"·data-start="{"·data-end="}">
 142 <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>
117 <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>·</div>
118 <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> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
122 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
123 <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> 
124 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
125 <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> 
126 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> 
127 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
128 <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> 
129 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>······std::vector&lt;std::string&gt;·keywords,</div> 
133 <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·=·std::numeric_limits&lt;unsigned·int&gt;::max(),</div> 
134 <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> 
135 <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> 
136 <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> 
137 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>·</div> 
138 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>··<span·class="keyword">private</span>:</div> 
139 <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> 
140 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>··};</div> 
141 </div> 
142 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>·</div> 
143 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>}·<span·class="comment">//·end·namespace·Dune</span></div> 
144 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>144 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 145 <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="}">
 146 <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>
Max diff block lines reached; 4590/139121 bytes (3.30%) of diff not shown.
24.7 KB
html2text {}
    
Offset 7, 118 lines modifiedOffset 7, 800 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 parametertreeparser.hh12 sllist.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_PARAMETER_PARSER_HH 
20 ·6#define·DUNE_PARAMETER_PARSER_HH19 ·5#ifndef·DUNE_SLLIST_HH
 20 ·6#define·DUNE_SLLIST_HH
21 ·721 ·7
 22 ·8#include·<memory>
 23 ·9#include·<cassert>
 24 ·10#include·"iteratorfacades.hh"
22 ·12#include·<istream>25 ·11#include·<ostream>
 26 ·12
23 ·13#include·<string> 
24 ·14#include·<vector> 
25 ·15 
26 ·16#include·<dune/common/parametertree.hh> 
27 ·17#include·<dune/common/exceptions.hh> 
28 ·18 
29 ·19namespace·Dune·{27 ·13namespace·Dune
30 ·20 
31 22·class·ParameterTreeParserError·:·public·RangeError·{}; 
32 28·class·HelpRequest·:·public·Exception·{}; 
33 ·29 
34 34·class·ParameterTreeParser 
35 ·35·{ 
36 ·36 
37 ·37·static·std::string·ltrim(const·std::string&·s); 
38 ·38·static·std::string·rtrim(const·std::string&·s); 
39 ·3928 ·14{
 29 ·26·template<typename·T,·class·A>
 30 ·27·class·SLListIterator;
 31 ·28
 32 ·29·template<typename·T,·class·A>
 33 ·30·class·SLListConstIterator;
 34 ·31
 35 ·32·template<typename·T,·class·A>
 36 ·33·class·SLListModifyIterator;
 37 ·34
 38 ·42·template<typename·T,·class·A=std::allocator<T>·>
 39 43·class·SLList
 40 ·44·{
 41 ·45·struct·Element;
 42 ·46·friend·class·SLListIterator<T,A>;
 43 ·47·friend·class·SLListConstIterator<T,A>;
 44 ·48
40 ·40·public:45 ·49·public:
41 ·41 
42 ·85 
43 ·96·static·void·readINITree(std::istream&·in,·ParameterTree&·pt, 
44 ·97·bool·overwrite);46 ·50
 47 54·typedef·typename·A::size_type·size_type;
 48 ·55
 49 59·typedef·T·MemberType;
 50 ·60
 51 64·using·Allocator·=·typename·std::allocator_traits<A>::template
 52 rebind_alloc<Element>;
 53 ·65
 54 69·typedef·SLListIterator<T,A>·iterator;
 55 ·70
 56 74·typedef·SLListConstIterator<T,A>·const_iterator;
 57 ·75
 58 79·SLList();
 59 ·80
 60 ·84·template<typename·T1,·typename·A1>
 61 85·SLList(const·SLList<T1,A1>&·other);
 62 ·86
 63 90·SLList(const·SLList<T,A>&·other);
 64 ·91
 65 97·~SLList();
Diff chunk too large, falling back to line-by-line diff (717 lines added, 37 lines removed)
45 ·9866 ·98
46 ·105·static·Dune::ParameterTree·readINITree(std::istream&·in);67 103·typedef·SLListModifyIterator<T,A>·ModifyIterator;
47 ·10668 ·104
48 ·10769 108·SLList<T,A>&·operator=(const·SLList<T,A>&·other);
49 ·120·static·void·readINITree(std::istream&·in,·ParameterTree&·pt,70 ·109
50 ·121·const·std::string·srcname·=·"stream",71 ·110
51 ·122·bool·overwrite·=·true);72 115·inline·void·push_back(const·MemberType&·item);
52 ·12373 ·116
53 ·12474 121·inline·void·push_front(const·MemberType&·item);
54 ·135·static·void·readINITree(std::string·file,·ParameterTree&·pt,·bool75 ·122
55 overwrite·=·true);76 126·inline·void·pop_front();
56 ·13677 ·127
57 ·143·static·Dune::ParameterTree·readINITree(const·std::string&·file);78 129·inline·void·clear();
58 ·14479 ·130
59 ·14680 138·inline·iterator·begin();
60 ·158·static·void·readOptions(int·argc,·char*·argv·[],·ParameterTree&·pt);81 ·139
61 ·15982 147·inline·const_iterator·begin()·const;
62 ·177·static·void·readNamedOptions(int·argc,·char*·argv[],83 ·148
63 ·178·ParameterTree&·pt,84 156·inline·ModifyIterator·beginModify();
64 ·179·std::vector<std::string>·keywords,85 ·157
65 ·180·unsigned·int·required·=·std::numeric_limits<unsigned·int>::max(),86 165·inline·ModifyIterator·endModify();
66 ·181·bool·allow_more·=·true,87 ·166
67 ·182·bool·overwrite·=·true,88 173·inline·iterator·end();
68 ·183·std::vector<std::string>·help·=·std::vector<std::string>());89 ·174
69 ·18490 181·inline·const_iterator·end()·const;
70 ·185·private:91 ·182
71 ·186·static·std::string·generateHelpString(std::string·progname,·std::92 188·inline·bool·empty()·const;
72 vector<std::string>·keywords,·unsigned·int·required,·std::vector<std::string>93 ·189
73 help);94 194·inline·int·size()·const;
74 ·187·};95 ·195
75 ·18896 196·bool·operator==(const·SLList&·sl)·const;
76 ·189}·//·end·namespace·Dune97 ·197
77 ·19098 ·198
78 ·191#endif·//·DUNE_PARAMETER_PARSER_HH99 199·bool·operator!=(const·SLList&·sl)·const;
79 exceptions.hh100 ·200
80 A·few·common·exception·classes.101 ·201·private:
81 parametertree.hh102 ·203·struct·Element
82 A·hierarchical·structure·of·string·parameters.103 ·204·{
 104 208·Element*·next_;
 105 212·MemberType·item_;
 106 ·213
 107 214·Element(const·MemberType&·item,·Element*·next_=0);
 108 ·215
 109 216·Element();
 110 ·217
 111 218·~Element();
Max diff block lines reached; 2086/25223 bytes (8.27%) of diff not shown.
5.65 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 43 lines modifiedOffset 69, 27 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#namespaces">Namespaces</a>·&#124; 
77 <a·href="#func-members">Functions</a>··</div> 
78 ··<div·class="headertitle"><div·class="title">filledarray.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">parametertree.cc·File·Reference</div></div>
79 </div><!--header-->76 </div><!--header-->
80 <div·class="contents">77 <div·class="contents">
  
81 <p>Utility·to·generate·an·array·with·a·certain·value.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>
 79 <code>#include·&lt;iostream&gt;</code><br·/>
 80 <code>#include·&lt;ostream&gt;</code><br·/>
 81 <code>#include·&lt;string&gt;</code><br·/>
 82 <code>#include·&lt;sstream&gt;</code><br·/>
 83 <code>#include·&lt;fstream&gt;</code><br·/>
84 <code>#include·&lt;cstddef&gt;</code><br·/>84 <code>#include·&lt;set&gt;</code><br·/>
 85 <code>#include·&lt;algorithm&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
85 </div> 
86 <p><a·href="a00041_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"·id="r_a00425"><td·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:ga46cb139c38212292b2f30c3b2743aa48"·id="r_ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·n,·class·T·&gt;·</td></tr> 
97 <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> 
98 <tr·class="memdesc:ga46cb139c38212292b2f30c3b2743aa48"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·an·array·filled·with·the·provided·value.··<br·/></td></tr> 
99 <tr·class="separator:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 </table> 
101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
102 <div·class="textblock"><p>Utility·to·generate·an·array·with·a·certain·value.·</p> 
103 </div></div><!--·contents·-->88 </div></div><!--·contents·-->
104 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.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.8
107 </small></address>92 </small></address>
108 </body>93 </body>
109 </html>94 </html>
1.02 KB
html2text {}
    
Offset 6, 27 lines modifiedOffset 6, 21 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 parametertree.cc·File·Reference
12 Namespaces·|·Functions 
13 filledarray.hh·File·Reference 
14 Utility·to·generate·an·array·with·a·certain·value.·More... 
15 #include·<array> 
16 #include·<cstddef>13 #include·<cstdlib>
 14 #include·<iostream>
 15 #include·<ostream>
 16 #include·<string>
 17 #include·<sstream>
 18 #include·<fstream>
 19 #include·<set>
 20 #include·<algorithm>
 21 #include·<dune/common/exceptions.hh>
 22 #include·<dune/common/parametertree.hh>
17 Go_to_the_source_code_of_this_file. 
18 ·Namespaces 
19 namespace· Dune 
20  ··········Dune·namespace. 
21   
22 ·Functions 
23 template<std::size_t·n,·class·T·> 
24 constexpr·std::array<·T,·n·> Dune::filledArray·(const·T·&t) 
25  ····························Return·an·array·filled·with·the·provided·value. 
26   
27 *****·Detailed·Description·***** 
28 Utility·to·generate·an·array·with·a·certain·value. 
  
29 ===============================================================================23 ===============================================================================
30 ·····Generated·by [doxygen]·1.9.824 ·····Generated·by [doxygen]·1.9.8
5.27 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 35 lines modifiedOffset 70, 26 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#define-members">Macros</a>··</div>77 <a·href="#namespaces">Namespaces</a>··</div>
78 ··<div·class="headertitle"><div·class="title">deprecated.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">exceptions.cc·File·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
 81 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
  
81 <p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·· 
82 <a·href="#details">More...</a></p> 
  
83 <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> 
84 <table·class="memberdecls">82 </div><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Macros</h2></td></tr>84 Namespaces</h2></td></tr>
87 <tr·class="memitem:ga74d440d098178dc5a4adea8f7c160e99"·id="r_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> 
88 <tr·class="memdesc:ga74d440d098178dc5a4adea8f7c160e99"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(start)··<br·/></td></tr>85 <tr·class="memitem:a00425"·id="r_a00425"><td·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>
89 <tr·class="separator:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:ga664ae9266c2a074c71746e68aaa8eb6a"·id="r_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> 
91 <tr·class="memdesc:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(end)··<br·/></td></tr> 
92 <tr·class="separator:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 </table>88 </table>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
95 <div·class="textblock"><p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·</p> 
96 </div></div><!--·contents·-->89 </div><!--·contents·-->
97 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>91 <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.892 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
100 </small></address>93 </small></address>
101 </body>94 </body>
102 </html>95 </html>
777 B
html2text {}
    
Offset 6, 23 lines modifiedOffset 6, 17 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces
 13 exceptions.cc·File·Reference
 14 #include·<dune/common/exceptions.hh>
 15 ·Namespaces
 16 namespace· Dune
 17  ··········Dune·namespace.
12 Macros 
13 deprecated.hh·File·Reference 
14 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.·More... 
15 Go_to_the_source_code_of_this_file. 
16 ·Macros 
17 #define DUNE_NO_DEPRECATED_BEGIN   ... 
18  ·······Ignore·deprecation·warnings·(start) 
19  18  
20 #define DUNE_NO_DEPRECATED_END   ... 
21  ·······Ignore·deprecation·warnings·(end) 
22   
23 *****·Detailed·Description·***** 
24 Definition·of·the·DUNE_NO_DEPRECATED_*·macros. 
  
25 ===============================================================================19 ===============================================================================
26 ·····Generated·by [doxygen]·1.9.820 ·····Generated·by [doxygen]·1.9.8
18.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 94 lines modifiedOffset 72, 55 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#typedef-members">Typedefs</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
81 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">mallocallocator.hh·File·Reference</div></div>
82 </div><!--header-->81 </div><!--header-->
83 <div·class="contents">82 <div·class="contents">
  
84 <p>Abstractions·for·support·of·dedicated·SIMD·data·types.··83 <p>Allocators·that·use·malloc/free.··
85 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>
87 <code>#include·&lt;cstddef&gt;</code><br·/>86 <code>#include·&lt;cstdlib&gt;</code><br·/>
88 <code>#include·&lt;type_traits&gt;</code><br·/>87 <code>#include·&lt;new&gt;</code><br·/>
89 <code>#include·&lt;utility&gt;</code><br·/>88 <code>#include·&lt;utility&gt;</code><br·/>
90 <code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/conditional.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/vc.hh</a>&gt;</code><br·/> 
95 </div>89 </div>
96 <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p>
97 <table·class="memberdecls">91 <table·class="memberdecls">
98 <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>
99 Classes</h2></td></tr>93 Classes</h2></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="a02592.html">Dune::SimdScalarTypeTraits&lt;·T·&gt;</a></td></tr>94 <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>
 95 <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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <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="a02596.html">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
103 <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> 
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="a02600.html">Dune::SimdIndexTypeTraits&lt;·V,·typename·&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="a02604.html">Dune::SimdMaskTypeTraits&lt;·V,·typename·&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="a01904.html">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;</a></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><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="namespaces"·name="namespaces"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
111 Namespaces</h2></td></tr>101 Namespaces</h2></td></tr>
112 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
113 <tr·class="memdesc: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>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
117 Typedefs</h2></td></tr> 
118 <tr·class="memitem:a7cab87dc8a3eff4191a99a1084d7b28e"·id="r_a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
119 <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·<a·class="el"·href="a02592.html">SimdScalarTypeTraits</a>&lt;·T·&gt;::type</td></tr> 
120 <tr·class="separator:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a3c668a396cf5cd88bb7da3225787959a"·id="r_a3c668a396cf5cd88bb7da3225787959a"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr> 
122 <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·<a·class="el"·href="a02600.html">SimdIndexTypeTraits</a>&lt;·V·&gt;::type</td></tr> 
123 <tr·class="memdesc:a3c668a396cf5cd88bb7da3225787959a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.··<br·/></td></tr> 
124 <tr·class="separator:a3c668a396cf5cd88bb7da3225787959a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:a846fa7e0d4cf9e70b148592224eb360f"·id="r_a846fa7e0d4cf9e70b148592224eb360f"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr> 
126 <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·<a·class="el"·href="a02604.html">SimdMaskTypeTraits</a>&lt;·V·&gt;::type</td></tr> 
127 <tr·class="memdesc:a846fa7e0d4cf9e70b148592224eb360f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.··<br·/></td></tr> 
128 <tr·class="separator:a846fa7e0d4cf9e70b148592224eb360f"><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="func-members"·name="func-members"></a>106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
131 Functions</h2></td></tr>107 Functions</h2></td></tr>
132 <tr·class="memitem:afc2c37fe2704917536f5263272d0a7e2"·id="r_afc2c37fe2704917536f5263272d0a7e2"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
133 <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> 
134 <tr·class="memdesc:afc2c37fe2704917536f5263272d0a7e2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·number·of·lanes·of·a·simd·vector·(scalar·version)··<br·/></td></tr>108 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"·id="r_a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 109 <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·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;,·const·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;)</td></tr>
 110 <tr·class="memdesc:a0b225faa806a6ba0744fd93ce17b447a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·equivalent··<br·/></td></tr>
 111 <tr·class="separator:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:a336418ea10c30e25ece655d63bdf3d84"·id="r_a336418ea10c30e25ece655d63bdf3d84"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 113 <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·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;,·const·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;)</td></tr>
 114 <tr·class="memdesc:a336418ea10c30e25ece655d63bdf3d84"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·not·equivalent··<br·/></td></tr>
135 <tr·class="separator:afc2c37fe2704917536f5263272d0a7e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:a336418ea10c30e25ece655d63bdf3d84"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
136 <tr·class="memitem:a87be73bb4b219361645afcce2eb5b7a4"·id="r_a87be73bb4b219361645afcce2eb5b7a4"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
137 <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> 
138 <tr·class="memdesc:a87be73bb4b219361645afcce2eb5b7a4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<br·/></td></tr> 
139 <tr·class="separator:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"·id="r_ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
141 <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> 
142 <tr·class="memdesc:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<br·/></td></tr> 
143 <tr·class="separator:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:a90c073df341c13a4da1c1522c60af0c3"·id="r_a90c073df341c13a4da1c1522c60af0c3"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
145 <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> 
146 <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)··<br·/></td></tr> 
147 <tr·class="separator:a90c073df341c13a4da1c1522c60af0c3"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:a8cc9a46e5ec32e3b68c3071cf1a25361"·id="r_a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
149 <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> 
150 <tr·class="separator:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
151 </table>116 </table>
152 <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>
 118 <div·class="textblock"><p>Allocators·that·use·malloc/free.·</p>
153 <div·class="textblock"><p>Abstractions·for·support·of·dedicated·SIMD·data·types.·</p> 
154 <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> 
155 <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> 
156 <p>See·also·the·<a·class="el"·href="a00317.html">conditional.hh</a>·and·range_utils.hh·headers.</p> 
157 <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="a04442.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>·instead.·</dd></dl> 
158 </div></div><!--·contents·-->119 </div></div><!--·contents·-->
159 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
160 <hr·class="footer"/><address·class="footer"><small>121 <hr·class="footer"/><address·class="footer"><small>
161 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
162 </small></address>123 </small></address>
163 </body>124 </body>
164 </html>125 </html>
3.39 KB
html2text {}
    
Offset 6, 81 lines modifiedOffset 6, 41 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Typedefs·|·Functions12 Classes·|·Namespaces·|·Functions
13 simd.hh·File·Reference 
14 Abstractions·for·support·of·dedicated·SIMD·data·types.·More... 
15 #include·<cassert>13 mallocallocator.hh·File·Reference
 14 Allocators·that·use·malloc/free.·More...
 15 #include·<exception>
16 #include·<cstddef>16 #include·<cstdlib>
17 #include·<type_traits>17 #include·<new>
18 #include·<utility>18 #include·<utility>
19 #include·<dune/common/conditional.hh> 
20 #include·<dune/common/debugalign.hh> 
21 #include·<dune/common/rangeutilities.hh> 
22 #include·<dune/common/typetraits.hh> 
23 #include·<dune/common/vc.hh> 
24 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
25 ·Classes20 ·Classes
26 struct· Dune::SimdScalarTypeTraits<_T_>21 ·class· Dune::MallocAllocator<_T_>
 22  ·······Allocators·implementation·which·simply·calls·malloc/free.·More...
27  23  
 24 struct· Dune::MallocAllocator<_T_>::rebind<_U_>
28 struct· Dune::SimdScalarTypeTraits<_AlignedNumber<_T,_align_>_> 
29  ·······deduce·the·underlying·scalar·data·type·of·an·AlignedNumber·More... 
30   
31 struct· Dune::SimdIndexTypeTraits<_V,_typename_> 
32   
33 struct· Dune::SimdMaskTypeTraits<_V,_typename_> 
34  25  
35 ·Namespaces26 ·Namespaces
36 namespace· Dune27 namespace· Dune
37  ··········Dune·namespace.28  ··········Dune·namespace.
38  29  
39 ·Typedefs 
40 template<typename·T·> 
41 using Dune::SimdScalar·=·typename·SimdScalarTypeTraits<·T·>::type 
42   
43 template<typename·V·> 
44 using Dune::SimdIndex·=·typename·SimdIndexTypeTraits<·V·>::type 
45  ·····An·simd·vector·of·indices·corresponding·to·a·simd·vector·V. 
46   
47 template<typename·V·> 
48 using Dune::SimdMask·=·typename·SimdMaskTypeTraits<·V·>::type 
49  ·····A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V. 
50   
51 ·Functions30 ·Functions
52 template<class·T·>31 template<class·T·>
 32 constexpr·bool Dune::operator==·(const·MallocAllocator<·T·>·&,·const
 33 ················MallocAllocator<·T·>·&)
 34  ··············check·whether·allocators·are·equivalent
53 std::size_t Dune::lanes·(const·T·&) 
54  ···········get·the·number·of·lanes·of·a·simd·vector·(scalar·version) 
55   
56 template<class·T·> 
57 ··········T Dune::lane·(std::size_t·l,·const·T·&v) 
58  ···········access·a·lane·of·a·simd·vector·(scalar·version) 
59   
60 template<class·T·> 
61 ········T·& Dune::lane·(std::size_t·l,·T·&v) 
62  ···········access·a·lane·of·a·simd·vector·(scalar·version) 
63   
64 template<class·T·> 
65 ·······void Dune::assign·(T·&dst,·const·T·&src,·bool·mask) 
66  ···········masked·Simd·assignment·(scalar·version) 
67  35  
68 template<class·T·>36 template<class·T·>
69 ·······void Dune::swap·(T·&v1,·T·&v2,·bool·mask)37 constexpr·bool Dune::operator!=·(const·MallocAllocator<·T·>·&,·const
 38 ················MallocAllocator<·T·>·&)
 39  ··············check·whether·allocators·are·not·equivalent
70  40  
71 *****·Detailed·Description·*****41 *****·Detailed·Description·*****
 42 Allocators·that·use·malloc/free.
72 Abstractions·for·support·of·dedicated·SIMD·data·types. 
73 Libraries·like·Vc·(https://github.com/VcDevel/Vc)·add·high-level·data·types·for 
74 SIMD·(or·vectorization)·support·in·C++.·Most·of·these·operations·mimic·the 
75 behavior·of·a·numerical·data·type.·Some·boolean·operations·can·not·be 
76 implemented·in·a·compatible·way·to·trivial·data·types. 
77 This·header·contains·additional·abstractions·to·help·writing·code·that·works 
78 with·trivial·numerical·data·types·(like·double)·and·Vc·vectorization·data 
79 types. 
80 See·also·the·conditional.hh·and·range_utils.hh·headers. 
81 ··Deprecated: 
82 ······Use·the·newer·simd·architecture·from·dune/common/simd/simd.hh·instead. 
  
83 ===============================================================================43 ===============================================================================
84 ·····Generated·by [doxygen]·1.9.844 ·····Generated·by [doxygen]·1.9.8
131 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 518 lines modifiedOffset 74, 162 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">simd.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mallocallocator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MALLOC_ALLOCATOR_HH</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MALLOC_ALLOCATOR_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>
88 <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>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
89 <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> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
94 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00317.html">dune/common/conditional.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/debugalign.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00017.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#if·HAVE_VC</span></div> 
100 <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> 
101 <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> 
102 <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> 
103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#endif</span></div> 
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00050.html">dune/common/vc.hh</a>&gt;</span></div> 
106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
107 <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>95 <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>
108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> 
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·HAVE_VC</span></div> 
111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">namespace·</span>VcImpl·{</div> 
112 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
113 <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>97 <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>
114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">class·</span>Proxy</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>······<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> 
117 <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> 
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">public</span>:</div> 
119 <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> 
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">private</span>:</div> 
122 <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> 
123 <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> 
124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······V·&amp;vec_;</div> 
125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······std::size_t·idx_;</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">public</span>:</div> 
128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······Proxy(std::size_t·idx,·V·&amp;vec)</div> 
129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·vec_(vec),·idx_(idx)</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">operator</span>·value_type()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·vec_[idx_];·}</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>······<span·class="comment">//·postfix·operators</span></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">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div> 
137 <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> 
138 <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> 
139 <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> 
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="comment">//·unary·(prefix)·operators</span></div> 
144 <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> 
145 <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> 
146 <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> 
147 <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> 
148 <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> 
149 <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> 
150 <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> 
151 <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> 
152 <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> 
153 <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> 
154 <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> 
155 <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> 
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>······<span·class="comment">//·binary·operators</span></div> 
158 <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> 
159 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">······template&lt;class·T&gt;·················································\</span></div> 
160 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">······auto·operator·OP(T·&amp;&amp;o)·const·····································\</span></div> 
161 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="preprocessor">········-&gt;·decltype(vec_[idx_]·OP·valueCast(std::forward&lt;T&gt;(o)))········\</span></div> 
162 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="preprocessor">······{·································································\</span></div> 
163 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="preprocessor">········return·vec_[idx_]·OP·valueCast(std::forward&lt;T&gt;(o));·············\</span></div> 
164 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">······}·································································\</span></div> 
165 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="preprocessor">······static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;)</span></div> 
166 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
167 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······DUNE_SIMD_VC_BINARY_OP(*);</div> 
168 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······DUNE_SIMD_VC_BINARY_OP(/);</div> 
169 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······DUNE_SIMD_VC_BINARY_OP(%);</div> 
170 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
171 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······DUNE_SIMD_VC_BINARY_OP(+);</div> 
172 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······DUNE_SIMD_VC_BINARY_OP(-);</div> 
173 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
174 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······DUNE_SIMD_VC_BINARY_OP(&lt;&lt;);</div> 
175 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······DUNE_SIMD_VC_BINARY_OP(&gt;&gt;);</div> 
176 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
177 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>······DUNE_SIMD_VC_BINARY_OP(&lt;);</div> 
178 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······DUNE_SIMD_VC_BINARY_OP(&gt;);</div> 
179 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······DUNE_SIMD_VC_BINARY_OP(&lt;=);</div> 
180 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······DUNE_SIMD_VC_BINARY_OP(&gt;=);</div> 
Max diff block lines reached; 14024/112869 bytes (12.43%) of diff not shown.
20.3 KB
html2text {}
    
Offset 7, 552 lines modifiedOffset 7, 197 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 simd.hh12 mallocallocator.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
15 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_MALLOC_ALLOCATOR_HH
 20 ·6#define·DUNE_MALLOC_ALLOCATOR_HH
 21 ·7
 22 ·8#include·<exception>
17 ·3#ifndef·DUNE_COMMON_SIMD_HH 
18 ·4#define·DUNE_COMMON_SIMD_HH 
19 ·5 
20 ·6#warning·dune/common/simd.hh·is·deprecated. 
21 ·7#warning·Use·the·new·infrastructure·from·dune/common/simd/simd.h·instead. 
22 ·8 
23 ·30#include·<cassert> 
24 ·31#include·<cstddef>23 ·9#include·<cstdlib>
25 ·32#include·<type_traits>24 ·10#include·<new>
26 ·33#include·<utility>25 ·11#include·<utility>
 26 ·12
27 ·34 
28 ·35#include·<dune/common/conditional.hh> 
29 ·36#include·<dune/common/debugalign.hh> 
30 ·37#include·<dune/common/rangeutilities.hh> 
31 ·38#if·HAVE_VC 
32 ·39//·include·Vc·part·of·new·simd·interface·to·provide·compatibility·for 
33 ·40//·functionality·that·has·been·switched·over. 
34 ·41#include·<dune/common/simd/vc.hh> 
35 ·42#endif 
36 ·43#include·<dune/common/typetraits.hh> 
37 ·44#include·<dune/common/vc.hh> 
38 ·45 
39 ·46namespace·Dune27 ·17namespace·Dune
 28 ·18{
40 ·47{ 
41 ·48 
42 ·49#if·HAVE_VC 
43 ·50·namespace·VcImpl·{ 
44 ·52 
45 ·61·template<class·V>29 ·23·template·<class·T>
 30 24·class·MallocAllocator·{
46 ·62·class·Proxy 
47 ·63·{ 
48 ·64·static_assert(std::is_same<V,·std::decay_t<V>·>::value,·"Class·Proxy·" 
49 ·65·"may·only·be·instantiated·with·unqualified·types"); 
50 ·66·public: 
51 ·67·using·value_type·=·typename·V::value_type; 
52 ·68 
53 ·69·private: 
54 ·70·static_assert(std::is_arithmetic<value_type>::value, 
55 ·71·"Only·arithmetic·types·are·supported"); 
56 ·72·V·&vec_; 
57 ·73·std::size_t·idx_; 
58 ·74 
59 ·75·public:31 ·25·public:
60 ·76·Proxy(std::size_t·idx,·V·&vec) 
61 ·77·:·vec_(vec),·idx_(idx) 
62 ·78·{·} 
63 ·79 
64 ·80·operator·value_type()·const·{·return·vec_[idx_];·}32 26·typedef·std::size_t·size_type;
 33 27·typedef·std::ptrdiff_t·difference_type;
 34 28·typedef·T*·pointer;
 35 29·typedef·const·T*·const_pointer;
 36 30·typedef·T&·reference;
 37 31·typedef·const·T&·const_reference;
 38 32·typedef·T·value_type;
 39 33·template·<class·U>·struct·rebind·{
 40 34·typedef·MallocAllocator<U>·other;
 41 ·35·};
 42 ·36
 43 38·MallocAllocator()·noexcept·{}
 44 ·40·template·<class·U>
 45 41·MallocAllocator(const·MallocAllocator<U>&)·noexcept·{}
 46 43·~MallocAllocator()·noexcept·{}
 47 ·44
 48 45·pointer·address(reference·x)·const
 49 ·46·{
 50 ·47·return·&x;
 51 ·48·}
 52 49·const_pointer·address(const_reference·x)·const
 53 ·50·{
 54 ·51·return·&x;
 55 ·52·}
 56 ·53
 57 55·pointer·allocate(size_type·n,
 58 ·56·[[maybe_unused]]·const·void*·hint·=·0)
 59 ·57·{
 60 ·58·if·(n·>·this->max_size())
 61 ·59·throw·std::bad_alloc();
 62 ·60
 63 ·61·pointer·ret·=·static_cast<pointer>(std::malloc(n·*·sizeof(T)));
 64 ·62·if·(!ret)
 65 ·63·throw·std::bad_alloc();
 66 ·64·return·ret;
 67 ·65·}
 68 ·66
 69 68·void·deallocate(pointer·p,·[[maybe_unused]]·size_type·n)
 70 ·69·{
 71 ·70·std::free(p);
 72 ·71·}
 73 ·72
 74 74·size_type·max_size()·const·noexcept
 75 ·75·{
 76 ·76·return·size_type(-1)·/·sizeof(T);
 77 ·77·}
 78 ·78
 79 80·void·construct(pointer·p,·const·T&·val)
65 ·8180 ·81·{
66 ·82·//·postfix·operators81 ·82·::new((void*)p)T(val);
67 ·8382 ·83·}
 83 ·84
 84 ·86·template<typename·...·Args>
 85 87·void·construct(pointer·p,·Args&&...·args)
 86 ·88·{
 87 ·89·::new((void·*)p)T(std::forward<Args>(args)·...);
68 ·84·template<class·T·=·value_type, 
69 ·85·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·> 
70 ·86·value_type·operator++(int)·{·return·vec_[idx_]++;·} 
Max diff block lines reached; 4753/20739 bytes (22.92%) of diff not shown.
5.25 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 25 lines modifiedOffset 69, 39 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>··</div>
75 ··<div·class="headertitle"><div·class="title">vc.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">alignedallocator.hh·File·Reference</div></div>
76 </div><!--header-->79 </div><!--header-->
77 <div·class="contents">80 <div·class="contents">
 81 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00047_source.html">mallocallocator.hh</a>&quot;</code><br·/>
 82 <code>#include·&lt;cstdlib&gt;</code><br·/>
 83 </div>
  
78 <p>Compatibility·header·for·including·&lt;Vc/Vc&gt;·· 
79 <a·href="#details">More...</a></p> 
  
80 <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
82 <div·class="textblock"><p>Compatibility·header·for·including·&lt;Vc/Vc&gt;·</p> 
83 <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>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="a01268.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;</a></td></tr>
 89 <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>
 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="a01272.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&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"·id="r_a00425"><td·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>
84 </div></div><!--·contents·-->100 </div><!--·contents·-->
85 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
86 <hr·class="footer"/><address·class="footer"><small>102 <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.8103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
88 </small></address>104 </small></address>
89 </body>105 </body>
90 </html>106 </html>
945 B
html2text {}
    
Offset 6, 17 lines modifiedOffset 6, 25 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 vc.hh·File·Reference 
13 Compatibility·header·for·including·<Vc/Vc>·More...12 Classes·|·Namespaces
 13 alignedallocator.hh·File·Reference
 14 #include·"mallocallocator.hh"
 15 #include·<cstdlib>
14 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
15 *****·Detailed·Description·***** 
16 Compatibility·header·for·including·<Vc/Vc> 
17 Certain·versions·(1.3.2)·of·Vc·(https://github.com/VcDevel/Vc)·have·a·problem 
18 with·certain·compiler·versions·(g++·7.2.0)·in·c++17·mode,·see·#88.17 ·Classes
 18 ·class· Dune::AlignedAllocator<_T,_Alignment_>
 19  ·······Allocators·which·guarantee·alignment·of·the·memory.·More...
 20  
 21 struct· Dune::AlignedAllocator<_T,_Alignment_>::rebind<_U_>
 22  
 23 ·Namespaces
 24 namespace· Dune
 25  ··········Dune·namespace.
 26  
  
19 ===============================================================================27 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.828 ·····Generated·by [doxygen]·1.9.8
27.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 38 lines modifiedOffset 74, 122 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">vc.hh</div></div>80 ··<div·class="headertitle"><div·class="title">alignedallocator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VC_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ALIGNED_ALLOCATOR_HH</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_VC_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ALIGNED_ALLOCATOR_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00047.html">mallocallocator.hh</a>&quot;</span></div>
88 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·HAVE_VC</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
89 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
90 <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> 
91 <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> 
92 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <div·class="foldopen"·id="foldopen00012"·data-start="{"·data-end="}">
 95 <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>
93 <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> 
94 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·Vc_CXX17</span></div> 
95 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#undef·Vc_CXX17</span></div> 
96 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>96 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>
 97 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 98 <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>
 99 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};">
 100 <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>
97 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>101 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
98 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·include·the·rest·of·Vc</span></div> 
99 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;Vc/Vc&gt;</span></div>102 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__APPLE__</span></div>
100 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>103 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
101 <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>104 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">/*</span></div>
 105 <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>
 106 <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>
 107 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·····*</span></div>
 108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·····*·1)·a·power·of·2</span></div>
 109 <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>
 110 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·····*</span></div>
 111 <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>
 112 <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>
 113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">·····*/</span></div>
 114 <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>
 115 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{</div>
 116 <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>
 117 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········?·fixAlignment(align·&lt;&lt;·1)·:·align;</div>
 118 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div>
102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>119 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 120 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#else</span></div>
 121 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 122 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="comment">/*</span></div>
 123 <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>
 124 <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>
 125 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····*/</span></div>
 126 <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>
 127 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div>
 128 <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>
 129 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>
 130 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 131 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif</span></div>
 132 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 133 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>
 134 <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>
 135 <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>
 136 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="};">
 137 <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>
 138 <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>
 139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····};</div>
 140 </div>
 141 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 142 <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>
 143 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 144 <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}">
 145 <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>
 146 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div>
 147 <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>
 148 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div>
 149 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 150 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#if·__APPLE__</span></div>
 151 <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>
 152 <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>
 153 <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>
 154 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#else</span></div>
 155 <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>
 156 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif</span></div>
 157 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 158 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="comment">/*</span></div>
 159 <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>
 160 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">·······*/</span></div>
 161 <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>
 162 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">if</span>·(!ret)</div>
 163 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div>
 164 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 165 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······<span·class="keywordflow">return</span>·ret;</div>
 166 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····}</div>
 167 </div>
 168 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··};</div>
 169 </div>
 170 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 171 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}</div>
 172 </div>
 173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
103 <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>174 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_ALIGNED_ALLOCATOR_HH</span></div>
 175 <div·class="ttc"·id="aa00047_html"><div·class="ttname"><a·href="a00047.html">mallocallocator.hh</a></div><div·class="ttdoc">Allocators·that·use·malloc/free.</div></div>
 176 <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>
 177 <div·class="ttc"·id="aa01268_html"><div·class="ttname"><a·href="a01268.html">Dune::AlignedAllocator</a></div><div·class="ttdoc">Allocators·which·guarantee·alignment·of·the·memory.</div><div·class="ttdef"><b>Definition</b>·alignedallocator.hh:23</div></div>
Max diff block lines reached; 271/23600 bytes (1.15%) of diff not shown.
4.5 KB
html2text {}
    
Offset 7, 34 lines modifiedOffset 7, 137 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 vc.hh12 alignedallocator.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
15 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
17 ·3#ifndef·DUNE_COMMON_VC_HH 
18 ·4#define·DUNE_COMMON_VC_HH 
19 ·5 
20 ·15#if·HAVE_VC 
21 ·16 
22 ·17//·include·Vc's·macro·definitions 
23 ·18#include·<Vc/global.h> 
24 ·19 
25 ·20//·undefine·the·macro·that·signals·C++17·support,·if·set 
26 ·21#ifdef·Vc_CXX17 
27 ·22#undef·Vc_CXX17 
28 ·23#endif19 ·5#ifndef·DUNE_ALIGNED_ALLOCATOR_HH
 20 ·6#define·DUNE_ALIGNED_ALLOCATOR_HH
 21 ·7
 22 ·8#include·"mallocallocator.hh"
 23 ·9#include·<cstdlib>
 24 ·10
 25 ·11
 26 12namespace·Dune
 27 ·13{
 28 ·14
 29 ·22·template<class·T,·int·Alignment·=·-1>
 30 23·class·AlignedAllocator·:·public·MallocAllocator<T>·{
29 ·2431 ·24
30 ·25//·include·the·rest·of·Vc 
31 ·26#include·<Vc/Vc> 
32 ·27 
33 ·28#endif·//·HAVE_VC 
34 ·29 
35 ·30#endif·//·DUNE_COMMON_VC_HH32 ·25#if·__APPLE__
 33 ·26
 34 ·27·/*
 35 ·28·*·macOS·has·pretty·draconian·restrictions·on·the
 36 ·29·*·alignments·that·you·may·ask·for:·It·has·to·be
 37 ·30·*
 38 ·31·*·1)·a·power·of·2
 39 ·32·*·2)·at·least·as·large·as·sizeof(void*)
 40 ·33·*
 41 ·34·*·So·here·is·a·little·constexpr·function·that·calculates·just·that
 42 ·35·*·(together·with·the·correct·starting·value·for·align·fed·in·further·down).
 43 ·36·*/
 44 ·37·static·constexpr·int·fixAlignment(int·align)
 45 ·38·{
 46 ·39·return·((Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment)·>·align
 47 ·40·?·fixAlignment(align·<<·1)·:·align;
 48 ·41·}
 49 ·42
 50 ·43#else
 51 ·44
 52 ·45·/*
 53 ·46·*·Non-Apple·platforms·we·just·have·to·check·whether·an·explicit·alignment
 54 was
 55 ·47·*·restricted·or·fall·back·to·the·default·alignment·of·T.
 56 ·48·*/
 57 ·49·static·constexpr·int·fixAlignment(int·align)
 58 ·50·{
 59 ·51·return·(Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment;
 60 ·52·}
 61 ·53
 62 ·54#endif
 63 ·55
 64 ·56·public:
 65 57·using·pointer·=·typename·MallocAllocator<T>::pointer;
 66 58·using·size_type·=·typename·MallocAllocator<T>::size_type;
 67 59·template·<class·U>·struct·rebind·{
 68 60·typedef·AlignedAllocator<U,Alignment>·other;
 69 ·61·};
 70 ·62
 71 63·static·constexpr·int·alignment·=·fixAlignment(sizeof(void*));
 72 ·64
 73 66·pointer·allocate(size_type·n,·[[maybe_unused]]·const·void*·hint·=·0)
 74 ·67·{
 75 ·68·if·(n·>·this->max_size())
 76 ·69·throw·std::bad_alloc();
 77 ·70
 78 ·71#if·__APPLE__
 79 ·72·//·Apple·is·also·restrictive·regarding·the·allocation·size.
 80 ·73·//·size·must·be·at·least·the·alignment·size.
 81 ·74·size_type·size·=·n·*·sizeof(T)·>=·alignment·?·n·*·sizeof(T)·:·alignment;
 82 ·75#else
 83 ·76·size_type·size·=·n·*·sizeof(T);
 84 ·77#endif
 85 ·78
 86 ·79·/*
 87 ·80·*·Everybody·else·gets·the·standard·treatment.
 88 ·81·*/
 89 ·82·pointer·ret·=·static_cast<pointer>(std::aligned_alloc(alignment,·size));
 90 ·83·if·(!ret)
 91 ·84·throw·std::bad_alloc();
 92 ·85
 93 ·86·return·ret;
 94 ·87·}
 95 ·88·};
 96 ·89
 97 ·90}
 98 ·91
 99 ·92#endif·//·DUNE_ALIGNED_ALLOCATOR_HH
 100 mallocallocator.hh
 101 Allocators·that·use·malloc/free.
 102 Dune
 103 Dune·namespace.
 104 Definition·alignedallocator.hh:13
 105 Dune::AlignedAllocator
 106 Allocators·which·guarantee·alignment·of·the·memory.
 107 Definition·alignedallocator.hh:23
 108 Dune::AlignedAllocator::size_type
 109 typename·MallocAllocator<·T·>::size_type·size_type
 110 Definition·alignedallocator.hh:58
 111 Dune::AlignedAllocator::allocate
 112 pointer·allocate(size_type·n,·const·void·*hint=0)
 113 allocate·n·objects·of·type·T
 114 Definition·alignedallocator.hh:66
 115 Dune::AlignedAllocator::pointer
Max diff block lines reached; 116/4587 bytes (2.53%) of diff not shown.
14.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 69 lines modifiedOffset 70, 71 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
 78 <a·href="#namespaces">Namespaces</a>·&#124;
77 <a·href="#define-members">Macros</a>··</div>79 <a·href="#define-members">Macros</a>·&#124;
78 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh·File·Reference</div></div>80 <a·href="#func-members">Functions</a>··</div>
 81 ··<div·class="headertitle"><div·class="title">function.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
79 </div><!--header-->82 </div><!--header-->
80 <div·class="contents">83 <div·class="contents">
  
81 <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·...·].··84 <p>Simple·base·class·templates·for·functions.··
82 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
 86 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
83 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/deprecated.hh</a>&gt;</code><br·/>
 88 <code>#include·&quot;<a·class="el"·href="a00113_source.html">typetraits.hh</a>&quot;</code><br·/>
84 </div>89 </div>
85 <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01760.html">Dune::Function&lt;·Domain,·Range·&gt;</a></td></tr>
 95 <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>
 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="a01764.html">Dune::Function&lt;·Domain,·Range·&gt;::Traits</a></td></tr>
 98 <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>
 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="a01768.html">Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;</a></td></tr>
 101 <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>
 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"·id="r_a00425"><td·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">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
88 Macros</h2></td></tr>111 Macros</h2></td></tr>
89 <tr·class="memitem:acd7d9df83980a2517813af61e0eb22e1"·id="r_acd7d9df83980a2517813af61e0eb22e1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#acd7d9df83980a2517813af61e0eb22e1">CHEC[·...·truncated·by·diffoscope;·len:·37,·SHA:·4b1ce9098d214c1bb8ae69525154b42b2b18d4432963288f77ec16dca95f021a·...·]</td></tr>112 <tr·class="memitem:aeca4539848c4c95eebbb2389446432c0"·id="r_aeca4539848c4c95eebbb2389446432c0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#aeca4539848c4c95eebbb2389446432c0">DUNE[·...·truncated·by·diffoscope;·len:·16,·SHA:·984afa0c7945eb30769c3354812e89415a4a42ec75cbec75065d3cf410832338·...·]</td></tr>
90 <tr·class="separator:acd7d9df83980a2517813af61e0eb22e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:aeca4539848c4c95eebbb2389446432c0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a3ae5cb4f2a5339eb07e94108e67bcca7"·id="r_a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a3ae5cb4f2a5339eb07e[·...·truncated·by·diffoscope;·len:·147,·SHA:·a30e75d6cd45418c9962243c474d8bfbe65aff63dc08eb82392c25f163ef7c72·...·]>114 </table><table·class="memberdecls">
 115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 116 Functions</h2></td></tr>
 117 <tr·class="memitem:gab09a4489130d8c57186ca1f50efd8287"·id="r_gab09a4489130d8c57186ca1f50efd8287"><td·class="memTemplParams"·colspan="2">template&lt;typename·Domain·,·typename·Range·,·typename·F·&gt;·</td></tr>
 118 <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>
 119 <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··<br·/></td></tr>
92 <tr·class="separator:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:gab09a4489130d8c57186ca1f50efd8287"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>121 </table>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>122 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 123 <div·class="textblock"><p>Simple·base·class·templates·for·functions.·</p>
95 <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> 
96 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn·</dd></dl> 
97 <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> 
98 <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> 
99 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>124 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
100 <a·id="a3ae5cb4f2a5339eb07e94108e67bcca7"·name="a3ae5cb4f2a5339eb07e94108e67bcca7"></a> 
101 <h2·class="memtitle"><span·class="permalink"><a·href="#a3ae5cb4f2a5339eb07e94108e67bcca7">&#9670;&#160;</a></span>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</h2>125 <a·id="aeca4539848c4c95eebbb2389446432c0"·name="aeca4539848c4c95eebbb2389446432c0"></a>
 126 <h2·class="memtitle"><span·class="permalink"><a·href="#aeca4539848c4c95eebbb2389446432c0">&#9670;&#160;</a></span>DUNE_FUNCTION_HH</h2>
  
102 <div·class="memitem">127 <div·class="memitem">
103 <div·class="memproto">128 <div·class="memproto">
104 ······<table·class="memname">129 ······<table·class="memname">
105 ········<tr>130 ········<tr>
106 ··········<td·class="memname">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</td> 
107 ··········<td>(</td> 
108 ··········<td·class="paramtype">&#160;</td> 
109 ··········<td·class="paramname">__interface_method_to_call__</td><td>)</td> 
110 ··········<td>&#160;&#160;&#160;··(__interface_method_to_call__)</td> 
111 ········</tr> 
112 ······</table> 
113 </div><div·class="memdoc"> 
114 <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> 
  
115 </div> 
116 </div> 
117 <a·id="acd7d9df83980a2517813af61e0eb22e1"·name="acd7d9df83980a2517813af61e0eb22e1"></a> 
118 <h2·class="memtitle"><span·class="permalink"><a·href="#acd7d9df83980a2517813af61e0eb22e1">&#9670;&#160;</a></span>CHECK_INTERFACE_IMPLEMENTATION</h2> 
  
119 <div·class="memitem"> 
120 <div·class="memproto"> 
121 ······<table·class="memname"> 
122 ········<tr> 
123 ··········<td·class="memname">#define·CHECK_INTERFACE_IMPLEMENTATION</td>131 ··········<td·class="memname">#define·DUNE_FUNCTION_HH</td>
124 ··········<td>(</td> 
125 ··········<td·class="paramtype">&#160;</td> 
126 ··········<td·class="paramname">dummy</td><td>)</td> 
127 ··········<td></td> 
128 ········</tr>132 ········</tr>
129 ······</table>133 ······</table>
130 </div><div·class="memdoc">134 </div><div·class="memdoc">
  
131 </div>135 </div>
132 </div>136 </div>
133 </div><!--·contents·-->137 </div><!--·contents·-->
3.36 KB
html2text {}
    
Offset 6, 49 lines modifiedOffset 6, 47 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Classes·|·Namespaces·|·Macros·|·Functions
 13 function.hh·File·Reference
 14 Common
 15 Simple·base·class·templates·for·functions.·More...
 16 #include·<utility>
12 Macros 
13 bartonnackmanifcheck.hh·File·Reference 
14 Provides·check·for·implementation·of·interface·methods·when·using·static 
15 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging 
16 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up 
17 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has 
18 to·be·defined.·More... 
19 #include·<dune/common/exceptions.hh>17 #include·<dune/common/deprecated.hh>
 18 #include·"typetraits.hh"
20 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
 20 ·Classes
 21 ·class· Dune::Function<_Domain,_Range_>
 22  ·······Base·class·template·for·function·classes.·More...
 23  
 24 struct· Dune::Function<_Domain,_Range_>::Traits
 25  ·······Traits·class·containing·raw·types.·More...
 26  
 27 ·class· Dune::VirtualFunction<_DomainType,_RangeType_>
 28  ·······Virtual·base·class·template·for·function·classes.·More...
 29  
 30 ·Namespaces
 31 namespace· Dune
 32  ··········Dune·namespace.
 33  
21 ·Macros34 ·Macros
22 #define CHECK_INTERFACE_IMPLEMENTATION(dummy)35 #define DUNE_FUNCTION_HH
23  36  
24 #define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)    
25 ·········(__interface_method_to_call__)37 ·Functions
 38 template<typename·Domain·,·typename·Range·,·typename·F·>
 39 Impl::LambdaVirtualFunction<·Domain,
 40 ·········Range,·std::decay_t<·F·>·> Dune::makeVirtualFunction·(F·&&f)
 41  ···································make·VirtualFunction·out·of·a·function
 42 ·····································object
26  43  
27 *****·Detailed·Description·*****44 *****·Detailed·Description·*****
 45 Simple·base·class·templates·for·functions.
28 Provides·check·for·implementation·of·interface·methods·when·using·static 
29 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging 
30 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up 
31 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has 
32 to·be·defined. 
33 ··Author 
34 ······Robert·Kloefkorn 
35 Use·by·invoking·CHECK_INTERFACE_IMPLEMENTATION(asImp().methodToCheck())·and·for 
36 template·methods·double·(CHECK_INTERFACE_IMPLEMENTATION((asImp().template 
37 methodToCheck<param>·())).·If·either·NDEBUG·is·defined·or·DUNE_INTERFACECHECK 
38 is·undefined·the·CHECK_INTERFACE_IMPLEMENTATION·macro·is·empty. 
39 Note:·adding·the·interface·check·to·a·method·will·cause·the·implementation·of 
40 the·method·to·be·called·twice,·so·before·use·make·sure·that·this·will·not·cause 
41 problems·e.g.·if·internal·counters·are·updated. 
42 *****·Macro·Definition·Documentation·*****46 *****·Macro·Definition·Documentation·*****
 47 *****·◆ DUNE_FUNCTION_HH·*****
 48 #define·DUNE_FUNCTION_HH
43 *****·◆ CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·***** 
44 #define·································(· __interface_method_to_call__·)·    
45 CHECK_AND_CALL_INTERFACE_IMPLEMENTATION····································(__interface_method_to_call__) 
46 The·macro·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·throws·an·exception,·if·the 
47 interface·method·is·not·implemented·and·just·calls·the·method·otherwise.·If 
48 NDEBUG·is·defined·no·checking·is·done·and·the·method·is·just·called. 
49 *****·◆ CHECK_INTERFACE_IMPLEMENTATION·***** 
50 #define·CHECK_INTERFACE_IMPLEMENTATION·(· dummy·) 
  
51 ===============================================================================49 ===============================================================================
52 ·····Generated·by [doxygen]·1.9.850 ·····Generated·by [doxygen]·1.9.8
36.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 62 lines modifiedOffset 74, 143 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh</div></div>80 ··<div·class="headertitle"><div·class="title">function.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//-·Dune·includes</span></div> 
88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>87 <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>
 88 <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>
 89 <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>
 90 <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>
 91 <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>
89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#ifdef·CHECK_INTERFACE_IMPLEMENTATION</span></div> 
91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#undef·CHECK_INTERFACE_IMPLEMENTATION</span></div> 
92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·DUNE_FUNCTION_HH</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00053.html#aeca4539848c4c95eebbb2389446432c0">···12</a></span><span·class="preprocessor">#define·DUNE_FUNCTION_HH</span></div>
93 <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> 
94 <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> 
95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div> 
96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
97 <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> 
98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00053.html#acd7d9df83980a2517813af61e0eb22e1">···35</a></span><span·class="preprocessor">#define·CHECK_INTERFACE_IMPLEMENTATION(dummy)</span></div> 
99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div> 
100 <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> 
101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">··{\</span></div> 
102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">····static·bool·call·=·false;·\</span></div> 
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">····if(·call·==·true·)·\</span></div> 
104 <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> 
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">····call·=·true;·\</span></div> 
106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">····try·{·\</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">······(__interface_method_to_call__);·\</span></div> 
108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">······call·=·false;·\</span></div> 
109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">····}·\</span></div> 
110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">····catch·(·...·)·\</span></div> 
111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">····{·\</span></div> 
112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">······call·=·false;·\</span></div> 
113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">······throw;·\</span></div> 
114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">····}·\</span></div> 
115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">··}</span></div> 
116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> 
117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
118 <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>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00263.html">dune/common/deprecated.hh</a>&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00113.html">typetraits.hh</a>&quot;</span></div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 101 <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>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 103 <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>
119 <div·class="foldopen"·id="foldopen00061"·data-start=""·data-end="">104 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00053.html#a3ae5cb4f2a5339eb07e94108e67bcca7">···61</a></span><span·class="preprocessor">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div>105 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01760.html">···37</a></span>··<span·class="keyword">class</span></div>
 106 <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>
 107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············<span·class="stringliteral">&quot;function·objects·instead!&quot;</span>)]]</div>
 108 <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>
 109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">··(__interface_method_to_call__)</span></div>113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div>
 114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 115 <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>
 116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 117 <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>
 118 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 119 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="};">
 120 <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>
 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"><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>
 123 <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>
 124 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····};</div>
122 </div>125 </div>
 126 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 127 <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>
 128 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··};·<span·class="comment">//·end·of·Function·class</span></div>
 129 </div>
 130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</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>··<a·class="code·hl_define"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a></div>
 134 <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>
 135 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="};">
 136 <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>
 137 <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>
 138 <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>
 139 <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>
 140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
123 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">#else</span></div>141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">public</span>:</div>
124 <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> 
125 <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>142 <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_struct"·href="a01764.html">Func[·...·truncated·by·diffoscope;·len:·153,·SHA:·1a905deb64334aeeb46b74d665e353f64fa6ea8ee1be8e3ca5e9f6923a0ef50a·...·]</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"><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>
 145 <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>
 146 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··};·<span·class="comment">//·end·of·VirtualFunction·class</span></div>
 147 </div>
 148 <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>
 149 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 150 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keyword">namespace·</span>Impl·{</div>
 151 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 152 <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>
 153 <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>
 154 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">class·</span>LambdaVirtualFunction·final</div>
 155 <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>
 156 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··{</div>
 157 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">public</span>:</div>
Max diff block lines reached; 271/31105 bytes (0.87%) of diff not shown.
6.36 KB
html2text {}
    
Offset 7, 59 lines modifiedOffset 7, 176 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 bartonnackmanifcheck.hh12 function.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·24//-·Dune·includes19 ·5#ifndef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 20 ·6#warning·This·file·is·deprecated·after·Dune·2.7!·Use·C++·function·objects·and
 21 std::function·stuff·instead!
 22 ·7#else·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 23 ·8#undef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 24 ·9#endif·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 25 ·10
 26 ·11#ifndef·DUNE_FUNCTION_HH
 27 12#define·DUNE_FUNCTION_HH
 28 ·13
 29 ·14#include·<utility>
 30 ·15
20 ·25#include·<dune/common/exceptions.hh>31 ·16#include·<dune/common/deprecated.hh>
21 ·26 
22 ·27#ifdef·CHECK_INTERFACE_IMPLEMENTATION 
23 ·28#undef·CHECK_INTERFACE_IMPLEMENTATION32 ·17#include·"typetraits.hh"
 33 ·18
 34 ·19namespace·Dune·{
 35 ·20
 36 ·36·template·<class·Domain,·class·Range>
 37 37·class
 38 ·38·[[deprecated("Dune::Function·is·deprecated·after·Dune·2.7.·Use·C++·"
 39 ·39·"function·objects·instead!")]]
 40 ·40·Function
 41 ·41·{
 42 ·42·typedef·typename·std::remove_cv<typename·std::remove_reference<·Domain·>::
 43 type·>::type·RawDomainType;
 44 ·43·typedef·typename·std::remove_cv<typename·std::remove_reference<·Range·>::
 45 type·>::type·RawRangeType;
 46 ·44
 47 ·45·public:
 48 ·46
 49 48·typedef·RawRangeType·RangeType;
 50 ·49
 51 51·typedef·RawDomainType·DomainType;
 52 ·52
 53 54·struct·Traits
 54 ·55·{
 55 56·typedef·RawDomainType·DomainType;
 56 57·typedef·RawRangeType·RangeType;
 57 ·58·};
 58 ·59
 59 66·void·evaluate(const·typename·Traits::DomainType&·x,·typename·Traits::
 60 RangeType&·y)·const;
 61 ·67·};·//·end·of·Function·class
 62 ·68
 63 ·69
 64 ·70
 65 ·71·DUNE_NO_DEPRECATED_BEGIN
 66 ·82·template·<class·DomainType,·class·RangeType>
 67 83·class
 68 ·84·[[deprecated("Dune::VirtualFunction·is·deprecated·after·Dune·2.7.·Use·C++·"
 69 ·85·"function·objects·and·std::function·instead!")]]
 70 ·86·VirtualFunction·:·public·Function<const_DomainType&,_RangeType&>
 71 ·87·{
 72 ·88·public:
 73 89·typedef·typename·Function<const_DomainType&,_RangeType&>::Traits·Traits;
 74 ·90
 75 91·virtual·~VirtualFunction()·{}
 76 98·virtual·void·evaluate(const·typename·Traits::DomainType&·x,·typename
 77 Traits::RangeType&·y)·const·=·0;
 78 ·99·};·//·end·of·VirtualFunction·class
 79 ·100·DUNE_NO_DEPRECATED_END
 80 ·101
 81 ·102·namespace·Impl·{
 82 ·103
 83 ·104·DUNE_NO_DEPRECATED_BEGIN
 84 ·105·template<typename·Domain,·typename·Range,·typename·F>
 85 ·106·class·LambdaVirtualFunction·final
 86 ·107·:·public·VirtualFunction<Domain,·Range>
 87 ·108·{
 88 ·109·public:
 89 ·110·LambdaVirtualFunction(F&&·f)
 90 ·111·:·f_(std::move(f))
 91 ·112·{}
 92 ·113
 93 ·114·LambdaVirtualFunction(const·F&·f)
 94 ·115·:·f_(f)
 95 ·116·{}
 96 ·117
 97 ·118·void·evaluate(const·Domain&·x,·Range&·y)·const·override
 98 ·119·{
 99 ·120·y·=·f_(x);
 100 ·121·}
 101 ·122
 102 ·123·private:
 103 ·124·const·F·f_;
 104 ·125·};
 105 ·126·DUNE_NO_DEPRECATED_END
 106 ·127
 107 ·128·}·/*·namespace·Impl·*/
 108 ·129
 109 ·149·template<typename·Domain,·typename·Range,·typename·F>
 110 ·150·[[deprecated("Dune::LambdaVirtualFunction·is·deprecated·after·Dune·2.7.·"
 111 ·151·"Use·std::function·instead!")]]
 112 ·152·Impl::LambdaVirtualFunction<·Domain,·Range,·std::decay_t<F>·>
 113 153·makeVirtualFunction(F&&·f)
 114 ·154·{
 115 ·155·return·{std::forward<F>(f)};
 116 ·156·}
 117 ·157
 118 ·160}·//·end·namespace
 119 ·161
24 ·29#endif120 ·162#endif
25 ·30#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION 
26 ·31#undef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION 
27 ·32#endif 
28 ·33 
29 ·34#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK 
30 35#define·CHECK_INTERFACE_IMPLEMENTATION(dummy) 
31 ·36#else 
32 ·37#define·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\ 
33 ·38·{\ 
Max diff block lines reached; 116/6488 bytes (1.79%) of diff not shown.
7.86 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 70, 58 lines modifiedOffset 70, 26 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>··</div>
79 <a·href="#func-members">Functions</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">shared_ptr.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">ios_state.cc·File·Reference</div></div>
81 </div><!--header-->79 </div><!--header-->
82 <div·class="contents">80 <div·class="contents">
  
83 <p>This·file·implements·several·utilities·related·to·std::shared_ptr.·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>81 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/ios_state.hh</a>&gt;</code><br·/>
87 </div> 
88 <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> 
89 <table·class="memberdecls">82 </div><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="a02588.html">Dune::null_deleter&lt;·T·&gt;</a></td></tr> 
93 <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> 
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>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
97 Namespaces</h2></td></tr>84 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <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:a0ee36ec1f6416afa0487a8a224376e34"·id="r_a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
105 <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> 
106 <tr·class="memdesc:a0ee36ec1f6416afa0487a8a224376e34"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·shared_ptr·for·a·stack-allocated·object.··<br·/></td></tr> 
107 <tr·class="separator:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"·id="r_abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
109 <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> 
110 <tr·class="memdesc:abc8b6bf5f8910e34829136293000c29e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·R-value·reference·to·shared_ptr.··<br·/></td></tr> 
111 <tr·class="separator:abc8b6bf5f8910e34829136293000c29e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"·id="r_ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
113 <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> 
114 <tr·class="memdesc:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·L-value·reference·to·std::shared_ptr.··<br·/></td></tr> 
115 <tr·class="separator:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 </table>88 </table>
117 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
118 <div·class="textblock"><p>This·file·implements·several·utilities·related·to·std::shared_ptr.·</p> 
119 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
120 </div></div><!--·contents·-->89 </div><!--·contents·-->
121 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>91 <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.892 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
124 </small></address>93 </small></address>
125 </body>94 </body>
126 </html>95 </html>
1.31 KB
html2text {}
    
Offset 6, 42 lines modifiedOffset 6, 17 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces
 13 ios_state.cc·File·Reference
12 Classes·|·Namespaces·|·Functions 
13 shared_ptr.hh·File·Reference 
14 This·file·implements·several·utilities·related·to·std::shared_ptr.·More... 
15 #include·<memory> 
16 #include·<dune/common/typetraits.hh>14 #include·<dune/common/ios_state.hh>
17 Go_to_the_source_code_of_this_file. 
18 ·Classes 
19 struct· Dune::null_deleter<_T_> 
20  ·······implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything 
21 ·········More... 
22   
23 ·Namespaces15 ·Namespaces
24 namespace· Dune16 namespace· Dune
25  ··········Dune·namespace.17  ··········Dune·namespace.
26  18  
27 ·Functions 
28 template<typename·T·> 
29 std::shared_ptr<·T·> Dune::stackobject_to_shared_ptr·(T·&t) 
30  ····················Create·a·shared_ptr·for·a·stack-allocated·object. 
31   
32 template<class·T·> 
33 ················auto Dune::wrap_or_move·(T·&&t) 
34  ····················Capture·R-value·reference·to·shared_ptr. 
35   
36 template<class·T·> 
37 ················auto Dune::wrap_or_move·(T·&t) 
38  ····················Capture·L-value·reference·to·std::shared_ptr. 
39   
40 *****·Detailed·Description·***** 
41 This·file·implements·several·utilities·related·to·std::shared_ptr. 
42 ··Author 
43 ······Markus·Blatt 
  
44 ===============================================================================19 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.820 ·····Generated·by [doxygen]·1.9.8
17.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 90 lines modifiedOffset 70, 41 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>··</div>
 78 ··<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>
79 <a·href="#func-members">Functions</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">concept.hh·File·Reference</div></div> 
81 </div><!--header-->79 </div><!--header-->
82 <div·class="contents">80 <div·class="contents">
  
83 <p>Infrastructure·for·concepts.··81 <p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.··
84 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
86 <code>#include·&lt;utility&gt;</code><br·/>84 <code>#include·&lt;type_traits&gt;</code><br·/>
87 <code>#include·&lt;tuple&gt;</code><br·/>85 <code>#include·&lt;ostream&gt;</code><br·/>
88 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
90 <code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>
92 </div>92 </div>
93 <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">94 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
96 Classes</h2></td></tr> 
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01348.html">Dune::Concept::Refines&lt;·BaseConcepts·&gt;</a></td></tr> 
98 <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> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 </table><table·class="memberdecls"> 
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
102 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>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>
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:a00427"·id="r_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> 
107 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr> 
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 </table><table·class="memberdecls"> 
110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
111 Functions</h2></td></tr> 
112 <tr·class="memitem:ga91a4108f1ea3f3644e343659a4e25904"·id="r_ga91a4108f1ea3f3644e343659a4e25904"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T&gt;·</td></tr> 
113 <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> 
114 <tr·class="memdesc:ga91a4108f1ea3f3644e343659a4e25904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·concept·is·modeled·by·given·types.··<br·/></td></tr> 
115 <tr·class="separator:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:a505975b777b113e7a170bf0b92f18cc4"·id="r_a505975b777b113e7a170bf0b92f18cc4"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·&gt;·</td></tr> 
117 <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> 
118 <tr·class="separator:a505975b777b113e7a170bf0b92f18cc4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:a0c5244fc0c1f77eb234e0bab79bb5240"·id="r_a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memTemplParams"·colspan="2">template&lt;bool·b,·typename·std::enable_if&lt;·b,·int·&gt;::type··=·0&gt;·</td></tr> 
120 <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> 
121 <tr·class="separator:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:a06e79a0db6608ca4c073c4c8f0dd824d"·id="r_a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·<a·class="el"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr> 
123 <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> 
124 <tr·class="separator:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:a2dbe5630e5ddb8c2f2a23f48cce6013b"·id="r_a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·<a·class="el"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr> 
126 <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> 
127 <tr·class="separator:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:a59645477bd6b09962ab62f4e2afe6c81"·id="r_a59645477bd6b09962ab62f4e2afe6c81"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·,·typename·std::enable_if&lt;·<a·class="el"·href="a00427.html#a505975b777b113e7a170bf0b92f18cc4">tupleEntriesModel</a>&lt;·C,·Tuple·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr> 
129 <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> 
130 <tr·class="separator:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:a8b5ee9cb9837e082ac1da60fe2a1ca81"·id="r_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> 
132 <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> 
133 <tr·class="separator:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:a9a36856034f3033ad8c3fb905b6b2018"·id="r_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> 
135 <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> 
136 <tr·class="separator:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:ad96e1a5fe36cebbed3c85d0e24b49bef"·id="r_ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
138 <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> 
139 <tr·class="separator:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:a7d39e8ecc39ad89d9b47c1ccf9873a54"·id="r_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> 
141 <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> 
142 <tr·class="separator:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:a25819f337507625582babfb5ee0b1798"·id="r_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> 
144 <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> 
145 <tr·class="separator:a25819f337507625582babfb5ee0b1798"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:a0cdb8b8ed4fc7d006516dc22697edcc3"·id="r_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> 
147 <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> 
148 <tr·class="separator:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 </table>100 </table>
150 <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>
151 <div·class="textblock"><p>Infrastructure·for·concepts.·</p>102 <div·class="textblock"><p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·</p>
152 </div></div><!--·contents·-->103 </div></div><!--·contents·-->
153 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
154 <hr·class="footer"/><address·class="footer"><small>105 <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.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
156 </small></address>107 </small></address>
157 </body>108 </body>
158 </html>109 </html>
3.2 KB
html2text {}
    
Offset 6, 81 lines modifiedOffset 6, 30 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions 
13 concept.hh·File·Reference 
14 Infrastructure·for·concepts.·More...12 Namespaces
 13 scalarmatrixview.hh·File·Reference
 14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·More...
 16 #include·<cstddef>
15 #include·<type_traits>17 #include·<type_traits>
16 #include·<utility> 
17 #include·<tuple>18 #include·<ostream>
18 #include·<dune/common/typeutilities.hh> 
19 #include·<dune/common/typelist.hh>19 #include·<dune/common/boundschecking.hh>
20 #include·<dune/common/tupleutility.hh> 
21 #include·<dune/common/std/type_traits.hh>20 #include·<dune/common/typetraits.hh>
 21 #include·<dune/common/matvectraits.hh>
 22 #include·<dune/common/densematrix.hh>
 23 #include·<dune/common/fmatrix.hh>
 24 #include·<dune/common/scalarvectorview.hh>
22 Go_to_the_source_code_of_this_file.25 Go_to_the_source_code_of_this_file.
23 ·Classes 
24 struct· Dune::Concept::Refines<_BaseConcepts_> 
25  ·······Base·class·for·refined·concepts.·More... 
26   
27 ·Namespaces26 ·Namespaces
28 namespace· Dune27 namespace· Dune
29  ··········Dune·namespace.28  ··········Dune·namespace.
30  29  
31 namespace· Dune::Concept 
32  ··········Namespace·for·concepts. 
33   
34 ·Functions 
35 template<class·C·,·class...·T> 
36 constexpr·auto Dune::models·() 
37  ··············Check·if·concept·is·modeled·by·given·types. 
38   
39 template<class·C·,·class·Tuple·> 
40 constexpr·auto Dune::Concept::tupleEntriesModel·()·->·typename·Impl:: 
41 ················TupleEntriesModelHelper<·C,·Tuple·>::Result 
42   
43 template<bool·b,·typename·std::enable_if<·b,·int·>::type·=·0> 
44 constexpr·bool Dune::Concept::requireTrue·() 
45   
46 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(), 
47 int·>::type·=·0> 
48 constexpr·bool Dune::Concept::requireConcept·() 
49   
50 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(), 
51 int·>::type·=·0> 
52 constexpr·bool Dune::Concept::requireConcept·(T·&&...) 
53   
54 template<class·C·,·class·Tuple·,·typename·std::enable_if<·tupleEntriesModel< 
55 C,·Tuple·>(),·int·>::type·=·0> 
56 constexpr·bool Dune::Concept::requireConceptForTupleEntries·() 
57   
58 template<class·From·,·class·To·,·typename·std::enable_if<·std::is_convertible< 
59 From,·To·>::value,·int·>::type·=·0> 
60 constexpr·bool Dune::Concept::requireConvertible·() 
61   
62 template<class·To·,·class·From·,·typename·std::enable_if<·std::is_convertible< 
63 From,·To·>::value,·int·>::type·=·0> 
64 constexpr·bool Dune::Concept::requireConvertible·(const·From·&) 
65   
66 template<typename·T·> 
67 constexpr·bool Dune::Concept::requireType·() 
68   
69 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std:: 
70 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0> 
71 constexpr·bool Dune::Concept::requireBaseOf·() 
72   
73 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std:: 
74 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0> 
75 constexpr·bool Dune::Concept::requireBaseOf·(const·Derived·&) 
76   
77 template<class·A·,·class·B·,·typename·std::enable_if<·std::is_same<·A,·B·>:: 
78 value,·int·>::type·=·0> 
79 constexpr·bool Dune::Concept::requireSameType·() 
80   
81 *****·Detailed·Description·*****30 *****·Detailed·Description·*****
82 Infrastructure·for·concepts.31 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.
  
83 ===============================================================================32 ===============================================================================
84 ·····Generated·by [doxygen]·1.9.833 ·····Generated·by [doxygen]·1.9.8
96.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 336 lines modifiedOffset 74, 198 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">concept.hh</div></div>80 ··<div·class="headertitle"><div·class="title">scalarmatrixview.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONCEPT_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_CONCEPT_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00215.html">dune/common/typeutilities.hh</a>&gt;</span></div>94 <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>
95 <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/typelist.hh</a>&gt;</span></div>95 <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/typetraits.hh</a>&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00086.html">dune/common/tupleutility.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/std/type_traits.hh</a>&gt;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00248.html">dune/common/matvectraits.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00074.html">dune/common/densematrix.hh</a>&gt;</span></div>
 98 <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/fmatrix.hh</a>&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
99 <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>102 <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>
100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
101 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> 
102 <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>104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</div>
103 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
104 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
105 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
106 <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>106 <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>
107 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};"> 
108 <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>107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">class·</span>ScalarMatrixView·:</div>
 108 <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>
109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>109 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
110 <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> 
111 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>};</div>110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····ScalarVectorView&lt;K&gt;·data_;</div>
112 </div>111 <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>
113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 113 <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>
 114 <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>
 115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>:</div>
 116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 117 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div>
114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>118 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 119 <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>
115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>120 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 121 <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>
 122 <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>
 123 <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>
 124 <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>
116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>125 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 126 <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>
 127 <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>
117 <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="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·#############################################################################</span></div> 
120 <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> 
121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·#·for·the·models()·function·below.</span></div> 
122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="comment">//·#############################################################################</span></div> 
123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>128 <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="comment">//·Forward·declaration</span></div>129 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//=====·constructors</span></div>
 130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">constexpr</span>·ScalarMatrixView·()</div>
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·data_()</div>
129 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>132 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····{}</div>
 133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 134 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····ScalarMatrixView·(K*·p)·:</div>
 135 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······data_(p)</div>
130 <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> 
131 <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> 
132 <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> 
133 <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> 
134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·of·refinement.</span></div>136 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{}</div>
135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 138 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····ScalarMatrixView·(<span·class="keyword">const</span>·ScalarMatrixView·&amp;other)·:</div>
 139 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······Base(),</div>
 140 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······data_(other.data_)</div>
136 <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> 
137 <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> 
138 <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> 
139 <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> 
140 <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> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{·<span·class="keywordflow">return</span>·{};·}</div>141 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{}</div>
 142 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 143 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ScalarMatrixView·(ScalarMatrixView·&amp;&amp;other)·:</div>
 144 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······Base(),</div>
 145 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······data_(·other.data_·)</div>
146 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>146 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····{}</div>
 147 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 148 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····ScalarMatrixView&amp;·operator=·(<span·class="keyword">const</span>·ScalarMatrixView&amp;·other)</div>
 149 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>
 150 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······data_·=·other.data_;</div>
147 <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> 
148 <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> 
149 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="comment">//·this·default·overload·drops·in.</span></div> 
150 <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> 
Max diff block lines reached; 58390/80910 bytes (72.17%) of diff not shown.
17.3 KB
html2text {}
    
Offset 7, 362 lines modifiedOffset 7, 234 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 concept.hh12 scalarmatrixview.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_CONCEPT_HH 
20 ·6#define·DUNE_COMMON_CONCEPT_HH19 ·5#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH
 20 ·6#define·DUNE_COMMON_SCALARMATRIXVIEW_HH
21 ·721 ·7
 22 ·8#include·<cstddef>
22 ·8#include·<type_traits>23 ·9#include·<type_traits>
23 ·9#include·<utility> 
24 ·10#include·<tuple>24 ·10#include·<ostream>
25 ·1125 ·11
26 ·12#include·<dune/common/typeutilities.hh>26 ·12#include·<dune/common/boundschecking.hh>
27 ·13#include·<dune/common/typelist.hh>27 ·13#include·<dune/common/typetraits.hh>
28 ·14#include·<dune/common/tupleutility.hh> 
29 ·15#include·<dune/common/std/type_traits.hh>28 ·14#include·<dune/common/matvectraits.hh>
30 ·1629 ·15#include·<dune/common/densematrix.hh>
 30 ·16#include·<dune/common/fmatrix.hh>
 31 ·17#include·<dune/common/scalarvectorview.hh>
 32 ·18
 33 ·19
31 ·23namespace·Dune·{34 ·20namespace·Dune·{
32 ·24 
33 34namespace·Concept·{ 
34 ·35 
35 ·36 
36 ·37 
37 ·52template<class...·BaseConcepts> 
38 53struct·Refines 
39 ·54{ 
40 55·typedef·TypeList<BaseConcepts...>·BaseConceptList; 
41 ·56}; 
42 ·57 
43 ·58 
44 ·59#ifndef·DOXYGEN35 ·21
 36 ·22namespace·Impl·{
 37 ·23
 38 ·39·template<class·K>
 39 ·40·class·ScalarMatrixView·:
 40 ·41·public·DenseMatrix<ScalarMatrixView<K>>
 41 ·42·{
 42 ·43·ScalarVectorView<K>·data_;
 43 ·44·using·Base·=·DenseMatrix<ScalarMatrixView<K>>;
 44 ·45
 45 ·46·template·<class>
 46 ·47·friend·class·ScalarMatrixView;
 47 ·48·public:
 48 ·49
 49 ·50·//=====·type·definitions·and·constants
 50 ·51
 51 ·54·constexpr·static·int·blocklevel·=·1;
 52 ·55
 53 ·56·using·size_type·=·typename·Base::size_type;
 54 ·57·using·row_type·=·typename·Base::row_type;
 55 ·58·using·row_reference·=·typename·Base::row_reference;
 56 ·59·using·const_row_reference·=·typename·Base::const_row_reference;
45 ·6057 ·60
 58 ·63·constexpr·static·int·rows·=·1;
 59 ·66·constexpr·static·int·cols·=·1;
46 ·61namespace·Impl·{ 
47 ·62 
48 ·63·/ 
49 /·############################################################################# 
50 ·64·//·#·All·functions·following·here·are·implementation·details 
51 ·65·//·#·for·the·models()·function·below. 
52 ·66·/ 
53 /·############################################################################# 
54 ·6760 ·67
 61 ·68·//=====·constructors
 62 ·71·constexpr·ScalarMatrixView·()
 63 ·72·:·data_()
 64 ·73·{}
 65 ·74
 66 ·76·ScalarMatrixView·(K*·p)·:
 67 ·77·data_(p)
 68 ·78·{}
55 ·68·//·Forward·declaration 
56 ·69·template<class·C,·class...·T> 
57 ·70·constexpr·bool·models(); 
58 ·71 
59 ·72 
60 ·73 
61 ·74·//·Here·is·the·implementation·of·the·concept·checking. 
62 ·75·//·The·first·two·overloads·do·the·magic·for·checking 
63 ·76·//·if·the·requirements·of·a·concept·are·satisfied. 
64 ·77·//·The·rest·is·just·for·checking·base·concepts·in·case 
65 ·78·//·of·refinement. 
66 ·7969 ·79
 70 ·81·ScalarMatrixView·(const·ScalarMatrixView·&other)·:
 71 ·82·Base(),
 72 ·83·data_(other.data_)
 73 ·84·{}
 74 ·85
 75 ·87·ScalarMatrixView·(ScalarMatrixView·&&other)·:
 76 ·88·Base(),
 77 ·89·data_(·other.data_·)
 78 ·90·{}
 79 ·91
 80 ·93·ScalarMatrixView&·operator=·(const·ScalarMatrixView&·other)
 81 ·94·{
 82 ·95·data_·=·other.data_;
 83 ·96·return·*this;
67 ·80·//·This·overload·is·present·if·type·substitution·for 
68 ·81·//·C::require(T...)·is·successful,·i.e.,·if·the·T... 
69 ·82·//·matches·the·requirement·of·C.·In·this·case·this 
70 ·83·//·overload·is·selected·because·PriorityTag<1> 
71 ·84·//·is·a·better·match·for·PrioriryTag<42>·than 
72 ·85·//·PriorityTag<0>·in·the·default·overload. 
73 ·86·template<class·C,·class...·T, 
74 ·87·decltype(std::declval<C>().require(std::declval<T>()...),·0)·=0> 
75 ·88·constexpr·std::true_type·matchesRequirement(PriorityTag<1>) 
76 ·89·{·return·{};·} 
77 ·90 
78 ·91·//·If·the·above·overload·is·ruled·out·by·SFINAE·because 
79 ·92·//·the·T...·does·not·match·the·requirements·of·C,·then 
80 ·93·//·this·default·overload·drops·in. 
Max diff block lines reached; 13568/17663 bytes (76.82%) of diff not shown.
7.35 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 52 lines modifiedOffset 70, 30 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>··</div>
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">streamoperators.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh·File·Reference</div></div>
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
  
82 <p>Implementation·of·stream·operators·for·std::array·and·std::tuple.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>81 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
85 <code>#include·&lt;tuple&gt;</code><br·/>82 <code>#include·&lt;type_traits&gt;</code><br·/>
86 <code>#include·&lt;utility&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
88 </div>84 </div>
89 <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00062_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="namespaces"·name="namespaces"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
92 Namespaces</h2></td></tr>88 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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="func-members"·name="func-members"></a> 
98 Functions</h2></td></tr> 
99 <tr·class="memitem:ga940d97a9b4db5e48060115e5e46ccd40"·id="r_ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr> 
100 <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> 
101 <tr·class="memdesc:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::tuple.··<br·/></td></tr> 
102 <tr·class="separator:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:ga724a26a744239bcf2c7cfd87bd6570ce"·id="r_ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr> 
104 <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> 
105 <tr·class="memdesc:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Read·a·std::tuple.··<br·/></td></tr> 
106 <tr·class="separator:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:ga6ce3dfead28bdbf55cfec42171784831"·id="r_ga6ce3dfead28bdbf55cfec42171784831"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename·T·,·std::size_t·N&gt;·</td></tr> 
108 <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> 
109 <tr·class="memdesc:ga6ce3dfead28bdbf55cfec42171784831"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::array.··<br·/></td></tr> 
110 <tr·class="separator:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 </table>92 </table>
112 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
113 <div·class="textblock"><p>Implementation·of·stream·operators·for·std::array·and·std::tuple.·</p> 
114 </div></div><!--·contents·-->93 </div><!--·contents·-->
115 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>95 <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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
118 </small></address>97 </small></address>
119 </body>98 </body>
120 </html>99 </html>
1.23 KB
html2text {}
    
Offset 6, 37 lines modifiedOffset 6, 20 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces
 13 matrixconcepts.hh·File·Reference
12 Namespaces·|·Functions 
13 streamoperators.hh·File·Reference 
14 Implementation·of·stream·operators·for·std::array·and·std::tuple.·More... 
15 #include·<array> 
16 #include·<tuple> 
17 #include·<utility>14 #include·<utility>
 15 #include·<type_traits>
18 #include·<dune/common/hybridutilities.hh>16 #include·<dune/common/std/type_traits.hh>
19 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
20 ·Namespaces18 ·Namespaces
21 namespace· Dune19 namespace· Dune
22  ··········Dune·namespace.20  ··········Dune·namespace.
23  21  
24 ·Functions 
25 template<typename·Stream·,·typename...·Ts> 
26 Stream·& Dune::operator<<·(Stream·&stream,·const·std::tuple<·Ts...·>·&t) 
27  ········Print·a·std::tuple. 
28   
29 template<typename·Stream·,·typename...·Ts> 
30 Stream·& Dune::operator>>·(Stream·&stream,·std::tuple<·Ts...·>·&t) 
31  ········Read·a·std::tuple. 
32   
33 template<typename·Stream·,·typename·T·,·std::size_t·N> 
34 Stream·& Dune::operator<<·(Stream·&stream,·const·std::array<·T,·N·>·&a) 
35  ········Print·a·std::array. 
36   
37 *****·Detailed·Description·***** 
38 Implementation·of·stream·operators·for·std::array·and·std::tuple. 
  
39 ===============================================================================22 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.823 ·····Generated·by [doxygen]·1.9.8
29.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 82 lines modifiedOffset 74, 108 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">streamoperators.hh</div></div>80 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_MATRIXCONCEPTS_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_STREAMOPERATORS_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_STREAMOPERATORS_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00299.html">dune/common/hybridutilities.hh</a>&gt;</span></div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
97 <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>101 <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>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">class·</span>FieldMatrix;</div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
99 <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>104 <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>
100 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="}"> 
101 <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>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">class·</span>DynamicMatrix;</div>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}</div>
 108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Dune::Impl·{</div>
 110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
103 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····stream&lt;&lt;<span·class="stringliteral">&quot;[&quot;</span>;</div> 
104 <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>112 <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>
 113 <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>
 114 <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>
105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····{</div>115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
106 <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> 
107 <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> 
108 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······stream&lt;&lt;std::get&lt;<span·class="keyword">sizeof</span>...(Ts)-1&gt;(t);</div>116 <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>
 117 <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>
109 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····}</div>118 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
110 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····stream&lt;&lt;<span·class="stringliteral">&quot;]&quot;</span>;</div> 
111 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·stream;</div>119 <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>
 120 <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>
112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div>121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
113 </div>122 <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>
 123 <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>
 124 <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>
114 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>125 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
115 <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> 
116 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> 
117 <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> 
118 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>126 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·stream;</div>128 <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>
 129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>IsStaticSizeMatrixHelper·=·std::void_t&lt;<span·class="keyword">decltype</span>(T::rows,·T::cols)&gt;;</div>
122 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··}</div>130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
123 </div> 
124 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
125 <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>131 <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>
 132 <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>
126 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> 
127 <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> 
128 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
129 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····stream&lt;&lt;<span·class="stringliteral">&quot;[&quot;</span>;</div>134 <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>
 135 <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>
 136 <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>
130 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>(N&gt;0)</div>137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
131 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
132 <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> 
133 <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> 
134 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······stream&lt;&lt;a[N-1];</div>139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 140 <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>
 141 <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>
135 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
136 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····stream&lt;&lt;<span·class="stringliteral">&quot;]&quot;</span>;</div> 
137 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·stream;</div>143 <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>
 144 <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>
138 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div>145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
139 </div>146 <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>
 147 <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>
 148 <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>
140 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
141 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·end·namespace·Dune</span></div> 
142 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
143 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">#endif</span></div>151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 152 <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>
 153 <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>
 154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 155 <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>
 156 <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>
 157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">class·</span>IsDenseMatrix&lt;<a·class="code·hl_namespace"·href="a00425.html">Dune</a>::DynamicMatrix&lt;K&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div>
 160 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 161 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="comment">//·Check·if·T·is·a·dense·matrix.·This·is·implemented·by·specialization.</span></div>
Max diff block lines reached; 310/25579 bytes (1.21%) of diff not shown.
4.76 KB
html2text {}
    
Offset 7, 83 lines modifiedOffset 7, 115 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 streamoperators.hh12 matrixconcepts.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5 
20 ·6#ifndef·DUNE_STREAMOPERATORS_HH 
21 ·7#define·DUNE_STREAMOPERATORS_HH19 ·5#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH
 20 ·6#define·DUNE_COMMON_MATRIXCONCEPTS_HH
 21 ·7
22 ·822 ·8
 23 ·9
23 ·13#include·<array> 
24 ·14#include·<tuple> 
25 ·15#include·<utility>24 ·10#include·<utility>
 25 ·11#include·<type_traits>
 26 ·12
 27 ·13#include·<dune/common/std/type_traits.hh>
 28 ·14
 29 ·15
26 ·1630 ·16
27 ·17#include·<dune/common/hybridutilities.hh>31 ·17namespace·Dune·{
28 ·1832 ·18
29 ·19namespace·Dune 
30 ·20{ 
31 ·27·template<typename·Stream,·typename...·Ts> 
32 28·inline·Stream&·operator<<(Stream&·stream,·const·std::tuple<Ts...>&·t)33 ·19·template<class,·int,·int>
 34 ·20·class·FieldMatrix;
 35 ·21
 36 ·22·template<class>
 37 ·23·class·DynamicMatrix;
 38 ·24
 39 ·25}
 40 ·26
 41 ·27namespace·Dune::Impl·{
 42 ·28
33 ·29·{43 ·29
34 ·30·stream<<"["; 
35 ·31·if(sizeof...(Ts)>0) 
36 ·32·{ 
37 ·33·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)-1>{}, 
38 ·34·[&](auto·i){stream<<std::get<i>(t)<<",";}); 
39 ·35·stream<<std::get<sizeof...(Ts)-1>(t);44 ·30·//·Some·traits·for·checking·matrix·concepts.·Currently·these·are
 45 ·31·//·all·technical·internal·helpers·that·just·serve·different·headers
 46 ·32·//·to·do·internal·checks·and·are·thus·collected·here.
 47 ·33
 48 ·34·template<class·T>
 49 ·35·using·IsMatrixHelper·=·std::void_t<decltype(std::declval<T>().N(),·std::
 50 declval<T>().M())>;
40 ·36·}51 ·36
41 ·37·stream<<"]"; 
42 ·38·return·stream;52 ·37·template<class·T>
 53 ·38·struct·IsMatrix·:·public·Dune::Std::is_detected<IsMatrixHelper,·T>·{};
43 ·39·}54 ·39
44 ·40 
45 ·42·template<typename·Stream,·typename...·Ts> 
46 43·inline·Stream&·operator>>(Stream&·stream,·std::tuple<Ts...>&·t)55 ·40·//·Check·if·T·is·a·matrix·by·checking·for·member·functions·N()·and·M().
 56 ·41·template<class·T>
 57 ·42·constexpr·bool·IsMatrix_v·=·Impl::IsMatrix<T>::value;
 58 ·43
47 ·44·{59 ·44
48 ·45·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)>{}, 
49 ·46·[&](auto·i){stream>>std::get<i>(t);}); 
50 ·47·return·stream;60 ·45
 61 ·46·template<class·T>
 62 ·47·using·IsStaticSizeMatrixHelper·=·std::void_t<decltype(T::rows,·T::cols)>;
51 ·48·}63 ·48
52 ·49 
53 ·51·template<typename·Stream,·typename·T,·std::size_t·N> 
54 52·inline·Stream&·operator<<(Stream&·stream,·const·std::array<T,N>&·a) 
55 ·53·{ 
56 ·54·stream<<"["; 
57 ·55·if(N>0)64 ·49·template<class·T>
 65 ·50·struct·IsStaticSizeMatrix·:·public·Dune::Std::
 66 is_detected<IsStaticSizeMatrixHelper,·T>·{};
 67 ·51
 68 ·52·//·Check·if·T·is·a·statically·sized·matrix·by·checking·for·static·members
 69 rows·and·cols.
 70 ·53·template<class·T>
 71 ·54·constexpr·bool·IsStaticSizeMatrix_v·=·Impl::IsStaticSizeMatrix<T>::value;
 72 ·55
58 ·56·{73 ·56
59 ·57·for(std::size_t·i=0;·i<N-1;·++i) 
60 ·58·stream<<a[i]<<","; 
61 ·59·stream<<a[N-1];74 ·57
 75 ·58·template<class·T>
 76 ·59·class·IsFieldMatrix·:·public·std::false_type·{};
62 ·60·}77 ·60
63 ·61·stream<<"]"; 
64 ·62·return·stream;78 ·61·template<·class·K,·int·ROWS,·int·COLS>
 79 ·62·class·IsFieldMatrix<Dune::FieldMatrix<K,·ROWS,·COLS>>·:·public·std::
 80 true_type·{};
65 ·63·}81 ·63
66 ·64 
67 ·67}·//·end·namespace·Dune82 ·64·//·Check·if·T·is·an·instance·of·FieldMatrix
 83 ·65·template<class·T>
 84 ·66·constexpr·bool·IsFieldMatrix_v·=·Impl::IsFieldMatrix<T>::value;
 85 ·67
68 ·6886 ·68
69 ·69#endif 
70 hybridutilities.hh 
71 Dune::operator>> 
72 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t) 
73 Read·a·std::tuple. 
74 Definition·streamoperators.hh:43 
75 Dune::Hybrid::forEach 
76 constexpr·void·forEach(Range·&&range,·F·&&f) 
77 Range·based·for·loop. 
78 Definition·hybridutilities.hh:268 
79 Dune::operator<< 
80 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x) 
81 Definition·bigunsignedint.hh:27887 ·69
 88 ·70·template<class·T>
 89 ·71·class·IsDenseMatrix·:·public·std::false_type·{};
 90 ·72
 91 ·73·template<class·K,·int·ROWS,·int·COLS>
 92 ·74·class·IsDenseMatrix<Dune::FieldMatrix<K,·ROWS,·COLS>>·:·public·std::
 93 true_type·{};
Max diff block lines reached; 170/4855 bytes (3.50%) of diff not shown.
25.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00065.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 179 lines modifiedOffset 71, 59 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
79 <a·href="#define-members">Macros</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div> 
81 ··<div·class="headertitle"><div·class="title">hash.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">genericiterator.hh·File·Reference</div></div>
82 </div><!--header-->80 </div><!--header-->
83 <div·class="contents">81 <div·class="contents">
  
84 <p>Support·for·calculating·hash·values·of·objects.··82 <p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.··
85 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;cassert&gt;</code><br·/>
88 </div>86 </div>
89 <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">88 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>90 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="a01856.html">Dune::hash&lt;·T·&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="a01796.html">Dune::const_reference&lt;·R·&gt;</a></td></tr>
 92 <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>
 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="a01800.html">Dune::const_reference&lt;·const·R·&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="a01804.html">Dune::const_reference&lt;·R·&amp;·&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="a01808.html">Dune::const_reference&lt;·const·R·&amp;·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01812.html">Dune::mutable_reference&lt;·R·&gt;</a></td></tr>
94 <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>101 <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>
 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="a01816.html">Dune::mutable_reference&lt;·const·R·&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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01820.html">Dune::mutable_reference&lt;·R·&amp;·&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="a01824.html">Dune::mutable_reference&lt;·const·R·&amp;·&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">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>
 110 <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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">112 </table><table·class="memberdecls">
97 <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>
98 Namespaces</h2></td></tr>114 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <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:a19447db8894b6d86b6b7ef0218694820"·id="r_a19447db8894b6d86b6b7ef0218694820"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html#a19447db8894b6d86b6b7ef0218694820">DUNE_DEFINE_HASH</a>(template_args,··type)</td></tr> 
106 <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>.··<br·/></td></tr> 
107 <tr·class="separator:a19447db8894b6d86b6b7ef0218694820"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:ad88c05071e8aafc3796b6d6238900697"·id="r_ad88c05071e8aafc3796b6d6238900697"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html#ad88c05071e8aafc3796b6d6238900697">DUNE_HASH_TEMPLATE_ARGS</a>(...)</td></tr> 
109 <tr·class="memdesc:ad88c05071e8aafc3796b6d6238900697"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.··<br·/></td></tr> 
110 <tr·class="separator:ad88c05071e8aafc3796b6d6238900697"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:a48ea57ba3831fb7e8bbea1d8e1d27f4f"·id="r_a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">DUNE_HASH_TYPE</a>(...)</td></tr> 
112 <tr·class="memdesc:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.··<br·/></td></tr> 
113 <tr·class="separator:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><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="func-members"·name="func-members"></a> 
116 Functions</h2></td></tr> 
117 <tr·class="memitem:aa4f0199c109bde1698fb5279a414d01a"·id="r_aa4f0199c109bde1698fb5279a414d01a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
118 <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> 
119 <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.··<br·/></td></tr> 
120 <tr·class="separator:aa4f0199c109bde1698fb5279a414d01a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a6e45658b7c63f546c3c0897608d9d23d"·id="r_a6e45658b7c63f546c3c0897608d9d23d"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</td></tr> 
122 <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> 
123 <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.··<br·/></td></tr> 
124 <tr·class="separator:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:ab09a051cb1381c71f6c91032cd2ba754"·id="r_ab09a051cb1381c71f6c91032cd2ba754"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</td></tr> 
126 <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> 
127 <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.··<br·/></td></tr> 
128 <tr·class="separator:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 </table>118 </table>
130 <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>
 120 <div·class="textblock"><p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·</p>
 121 <p>Using·this·generic·iterator·writing·iterators·for·containers·that·implement·operator[]·is·only·a·matter·of·seconds.·</p>
131 <div·class="textblock"><p>Support·for·calculating·hash·values·of·objects.·</p> 
132 <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> 
133 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
134 <a·id="a19447db8894b6d86b6b7ef0218694820"·name="a19447db8894b6d86b6b7ef0218694820"></a> 
135 <h2·class="memtitle"><span·class="permalink"><a·href="#a19447db8894b6d86b6b7ef0218694820">&#9670;&#160;</a></span>DUNE_DEFINE_HASH</h2> 
  
136 <div·class="memitem"> 
137 <div·class="memproto"> 
138 ······<table·class="memname"> 
139 ········<tr> 
140 ··········<td·class="memname">#define·DUNE_DEFINE_HASH</td> 
141 ··········<td>(</td> 
142 ··········<td·class="paramtype">&#160;</td> 
143 ··········<td·class="paramname">template_args,·</td> 
144 ········</tr> 
145 ········<tr> 
146 ··········<td·class="paramkey"></td> 
147 ··········<td></td> 
148 ··········<td·class="paramtype">&#160;</td> 
149 ··········<td·class="paramname">type&#160;</td> 
150 ········</tr> 
151 ········<tr> 
152 ··········<td></td> 
153 ··········<td>)</td> 
154 ··········<td></td><td></td> 
155 ········</tr> 
156 ······</table> 
157 </div><div·class="memdoc"> 
  
Max diff block lines reached; 243/19993 bytes (1.22%) of diff not shown.
5.72 KB
html2text {}
    
Offset 6, 131 lines modifiedOffset 6, 48 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Macros·|·Functions 
13 hash.hh·File·Reference 
14 Support·for·calculating·hash·values·of·objects.·More... 
15 #include·<functional>12 Classes·|·Namespaces
 13 genericiterator.hh·File·Reference
 14 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.
 15 More...
16 #include·<dune/common/typetraits.hh>16 #include·<dune/common/iteratorfacades.hh>
 17 #include·<cassert>
17 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
18 ·Classes19 ·Classes
19 struct· Dune::hash<_T_> 
20  ·······Functor·for·hashing·objects·of·type·T.·More...20 struct· Dune::const_reference<_R_>
 21  ·······Get·the·'const'·version·of·a·reference·to·a·mutable·object.·More...
 22  
 23 struct· Dune::const_reference<_const_R_>
 24  
 25 struct· Dune::const_reference<_R_&_>
 26  
 27 struct· Dune::const_reference<_const_R_&_>
 28  
 29 struct· Dune::mutable_reference<_R_>
 30  ·······get·the·'mutable'·version·of·a·reference·to·a·const·object·More...
 31  
 32 struct· Dune::mutable_reference<_const_R_>
 33  
 34 struct· Dune::mutable_reference<_R_&_>
 35  
 36 struct· Dune::mutable_reference<_const_R_&_>
 37  
 38 ·class· Dune::GenericIterator<_C,_T,_R,_D,_IteratorFacade_>
 39  ·······Generic·class·for·stl-conforming·iterators·for·container·classes·with
 40 ·········operator[].·More...
21  41  
22 ·Namespaces42 ·Namespaces
23 namespace· Dune43 namespace· Dune
24  ··········Dune·namespace.44  ··········Dune·namespace.
25  45  
26 ·Macros 
27 #define DUNE_DEFINE_HASH(template_args,·type) 
28  ·······Defines·the·required·struct·specialization·to·make·type·hashable·via 
29 ·········Dune::hash. 
30   
31 #define DUNE_HASH_TEMPLATE_ARGS(...) 
32  ·······Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH. 
33   
34 #define DUNE_HASH_TYPE(...) 
35  ·······Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH. 
36   
37 ·Functions 
38 template<typename·T·> 
39 ·······void Dune::hash_combine·(std::size_t·&seed,·const·T·&arg) 
40  ···········Calculates·the·hash·value·of·arg·and·combines·it·in-place·with 
41 ·············seed. 
42   
43 template<typename·It·> 
44 std::size_t Dune::hash_range·(It·first,·It·last) 
45  ···········Hashes·all·elements·in·the·range·[first,last)·and·returns·the 
46 ·············combined·hash. 
47   
48 template<typename·It·> 
49 ·······void Dune::hash_range·(std::size_t·&seed,·It·first,·It·last) 
50  ···········Hashes·all·elements·in·the·range·[first,last)·and·combines·the 
51 ·············hashes·in-place·with·seed. 
52   
53 *****·Detailed·Description·*****46 *****·Detailed·Description·*****
 47 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.
 48 Using·this·generic·iterator·writing·iterators·for·containers·that·implement
 49 operator[]·is·only·a·matter·of·seconds.
54 Support·for·calculating·hash·values·of·objects. 
55 This·file·provides·the·functor·Dune::hash·to·calculate·hash·values·and·some 
56 infrastructure·to·simplify·extending·Dune::hash·for·user-defined·types, 
57 independent·of·the·actual·underlying·implementation. 
58 *****·Macro·Definition·Documentation·***** 
59 *****·◆ DUNE_DEFINE_HASH·***** 
60 #define·DUNE_DEFINE_HASH·(· template_args, 
61 ··························· type  
62 ·························) 
63 Defines·the·required·struct·specialization·to·make·type·hashable·via·Dune:: 
64 hash. 
65 In·order·to·calculate·the·hash,·operator()·of·the·generated·specialization·will 
66 return·the·result·of·an·unqualified·call·to·the·global·function·hash_value 
67 (const·type&).·As·the·call·is·not·qualified,·the·function·will·be·found·using 
68 argument-dependent·lookup,·allowing·implementors·to·conveniently·place·it 
69 inside·the·class·body. 
70 Consider·the·following·type: 
71 namespace·ns·{ 
72 template<typename·A,·int·i> 
73 class·Foo 
74 { 
75 ... 
76 }; 
77 } 
78 In·order·to·add·support·for·Dune::hash,·you·need·to·extend·the·definition·like 
79 this: 
80 namespace·ns·{ 
81 template<typename·A,·int·i> 
82 class·Foo 
83 { 
84 ... 
85 //·The·keyword·"friend"·turns·this·into·a·global·function·that·is·a·friend·of 
86 Foo. 
87 inline·friend·std::size_t·hash_value(const·Foo&·arg) 
88 { 
89 return·...; 
90 } 
91 }; 
92 } 
93 //·Define·hash·struct·specialization 
94 DUNE_DEFINE_HASH(DUNE_HASH_TEMPLATE_ARGS(typename·A,·int·i),DUNE_HASH_TYPE 
95 (Foo<A,i>)) 
96 DUNE_DEFINE_HASH 
97 #define·DUNE_DEFINE_HASH(template_args,·type) 
98 Defines·the·required·struct·specialization·to·make·type·hashable·via·Dune:: 
99 hash. 
100 Definition·hash.hh:100 
101 DUNE_HASH_TYPE 
102 #define·DUNE_HASH_TYPE(...) 
103 Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH. 
104 Definition·hash.hh:117 
Max diff block lines reached; 116/5831 bytes (1.99%) of diff not shown.
95.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 289 lines modifiedOffset 74, 239 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">hash.hh</div></div>80 ··<div·class="headertitle"><div·class="title">genericiterator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HASH_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GENERICITERATOR_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HASH_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GENERICITERATOR_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·********************************************************************************</span></div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·Doxygen·documentation</span></div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·********************************************************************************</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">#ifdef·DOXYGEN</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">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>93 <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>
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
103 <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>95 <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>
104 <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};">96 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="};">
105 <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>97 <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>
106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{</div>98 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
 99 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">···88</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R·<a·class="code·hl_typedef"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">type</a>;</div>
107 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
108 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}"> 
109 <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> 
110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">····</span>{</div> 
111 <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> 
112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div>100 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
113 </div>101 </div>
114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>102 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 103 <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>
 104 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};">
 105 <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>
 106 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>
 107 <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>
115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div>108 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··};</div>
116 </div>109 </div>
117 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>110 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
118 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>111 <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>
 112 <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="};">
 113 <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>
119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>114 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div>
 115 <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>
120 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
121 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00065.html#a19447db8894b6d86b6b7ef0218694820">··100</a></span><span·class="preprocessor">#define·DUNE_DEFINE_HASH(template_args,type)</span></div> 
122 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>116 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>
 117 </div>
123 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 119 <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>
 120 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="};">
 121 <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>
 122 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div>
 123 <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>
 124 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··};</div>
 125 </div>
124 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>126 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
125 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a00065.html#ad88c05071e8aafc3796b6d6238900697">··109</a></span><span·class="preprocessor">#define·DUNE_HASH_TEMPLATE_ARGS(...)</span></div>127 <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>
 128 <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="};">
 129 <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>
126 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>130 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··{</div>
 131 <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>
127 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
128 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00065.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">··117</a></span><span·class="preprocessor">#define·DUNE_HASH_TYPE(...)</span></div> 
129 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>132 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··};</div>
 133 </div>
130 <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> 
131 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
132 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>134 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 135 <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>
 136 <div·class="foldopen"·id="foldopen00121"·data-start="{"·data-end="};">
 137 <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>
133 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>138 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··{</div>
134 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//·********************************************************************************</span></div>139 <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>
135 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//·C++11·support</span></div>140 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··};</div>
136 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//·********************************************************************************</span></div>141 </div>
137 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>142 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
138 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="comment">//·import·std::hash·into·Dune·namespace</span></div> 
139 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>143 <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>
 144 <div·class="foldopen"·id="foldopen00127"·data-start="{"·data-end="};">
 145 <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>
140 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>146 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div>
 147 <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>
141 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··<span·class="keyword">using·</span>std::hash;</div>148 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··};</div>
 149 </div>
142 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>150 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 151 <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>
 152 <div·class="foldopen"·id="foldopen00133"·data-start="{"·data-end="};">
 153 <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>
 154 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··{</div>
 155 <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>
143 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>}</div>156 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··};</div>
 157 </div>
144 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>158 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div>
145 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="comment">//·Macro·for·defining·a·std::hash·specialization·for·type.</span></div> 
146 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="comment">//·This·should·not·be·called·directly.·Call·DUNE_DEFINE_HASH</span></div>159 <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·[·...·truncated·by·diffoscope;·len:·17,·SHA:·09a5ef6a2785ab00bc9d932974997987656268780adddd99e8dcf6b30d41dee8·...·]</div>
 160 <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>
 161 <div·class="foldopen"·id="foldopen00151"·data-start="{"·data-end="};">
Max diff block lines reached; 47606/80206 bytes (59.35%) of diff not shown.
16.6 KB
html2text {}
    
Offset 7, 332 lines modifiedOffset 7, 269 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 hash.hh12 genericiterator.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_HASH_HH 
20 ·6#define·DUNE_COMMON_HASH_HH19 ·5#ifndef·DUNE_GENERICITERATOR_HH
 20 ·6#define·DUNE_GENERICITERATOR_HH
21 ·721 ·7
22 ·8#include·<functional> 
23 ·9 
24 ·10#include·<dune/common/typetraits.hh>22 ·8#include·<dune/common/iteratorfacades.hh>
 23 ·9#include·<cassert>
 24 ·10
25 ·11 
26 ·24/ 
27 / 
28 ******************************************************************************** 
29 ·25//·Doxygen·documentation 
30 ·26/ 
31 / 
32 ******************************************************************************** 
33 ·27 
34 ·28#ifdef·DOXYGEN 
35 ·29 
36 ·30namespace·Dune·{25 ·11namespace·Dune·{
 26 ·12
 27 ·85·template<class·R>
 28 86·struct·const_reference
 29 ·87·{
 30 88·typedef·const·R·type;
37 ·31 
38 ·33 
39 ·38·template<typename·T> 
40 39·struct·hash 
41 ·40·{ 
42 ·41 
43 43·std::size_t·operator()(const·T&·t)·const 
44 ·44·{ 
45 ·45·return·hash(t); 
46 ·46·} 
47 ·47 
48 ·48·};31 ·89·};
49 ·49 
50 ·50} 
51 ·51 
52 ·53 
53 100#define·DUNE_DEFINE_HASH(template_args,type) 
54 ·10132 ·90
 33 ·91·template<class·R>
 34 92·struct·const_reference<const·R>
 35 ·93·{
 36 94·typedef·const·R·type;
 37 ·95·};
 38 ·96
 39 ·97·template<class·R>
 40 98·struct·const_reference<R&>
 41 ·99·{
 42 100·typedef·const·R&·type;
 43 ·101·};
55 ·10244 ·102
 45 ·103·template<class·R>
 46 104·struct·const_reference<const·R&>
 47 ·105·{
 48 106·typedef·const·R&·type;
 49 ·107·};
56 ·10450 ·108
57 109#define·DUNE_HASH_TEMPLATE_ARGS(...)51 ·114·template<class·R>
 52 115·struct·mutable_reference
 53 ·116·{
 54 117·typedef·R·type;
 55 ·118·};
58 ·11056 ·119
 57 ·120·template<class·R>
 58 121·struct·mutable_reference<const·R>
59 ·112 
60 117#define·DUNE_HASH_TYPE(...) 
61 ·118 
62 ·119#else·//·DOXYGEN·-·hide·all·the·ugly·implementation 
63 ·120 
64 ·121 
65 ·12259 ·122·{
 60 123·typedef·R·type;
 61 ·124·};
66 ·123/ 
67 / 
68 ******************************************************************************** 
69 ·124//·C++11·support 
70 ·125/62 ·125
 63 ·126·template<class·R>
 64 127·struct·mutable_reference<R&>
 65 ·128·{
 66 129·typedef·R&·type;
 67 ·130·};
71 / 
72 ******************************************************************************** 
73 ·126 
74 ·127//·import·std::hash·into·Dune·namespace 
75 ·128namespace·Dune·{ 
76 ·129 
77 ·130·using·std::hash; 
78 ·13168 ·131
79 ·132}69 ·132·template<class·R>
 70 133·struct·mutable_reference<const·R&>
 71 ·134·{
 72 135·typedef·R&·type;
 73 ·136·};
80 ·13374 ·137
 75 ·149·template<class·C,·class·T,·class·R=T&,·class·D·=·std::ptrdiff_t,
 76 ·150·template<class,class,class,class>·class
 77 IteratorFacade=RandomAccessIteratorFacade>
 78 151·class·GenericIterator·:
 79 ·152·public·IteratorFacade<GenericIterator<C,T,R,D,IteratorFacade>,T,R,D>
 80 ·153·{
 81 ·154·friend·class·GenericIterator<typename·std::remove_const<C>::type,·typename
 82 std::remove_const<T>::type,·typename·mutable_reference<R>::type,·D,
 83 IteratorFacade>;
 84 ·155·friend·class·GenericIterator<const·typename·std::remove_const<C>::type,
Max diff block lines reached; 11554/17002 bytes (67.96%) of diff not shown.
9.58 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 48 lines modifiedOffset 70, 41 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
78 <a·href="#var-members">Variables</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">stdstreams.cc·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">singleton.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
 82 <p>Useful·wrapper·for·creating·singletons.··
 83 <a·href="#details">More...</a></p>
82 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00146_source.html">stdstreams.hh</a>&quot;</code><br·/>84 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>
 85 </div>
 86 <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 </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="a02840.html">Dune::Singleton&lt;·T·&gt;</a></td></tr>
 91 <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>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 </table><table·class="memberdecls">
84 <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>
85 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <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="var-members"·name="var-members"></a> 
91 Variables</h2></td></tr> 
92 <tr·class="memitem:ga20bcb085658a3b88393e47a1d36d667c"·id="r_ga20bcb085658a3b88393e47a1d36d667c"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">DVVerbType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">Dune::dvverb</a>·(std::cout)</td></tr> 
93 <tr·class="memdesc:ga20bcb085658a3b88393e47a1d36d667c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">stream·for·very·verbose·output.··<br·/></td></tr> 
94 <tr·class="separator:ga20bcb085658a3b88393e47a1d36d667c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:gab8900dadc584357856d4f6cc06324cea"·id="r_gab8900dadc584357856d4f6cc06324cea"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">DVerbType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">Dune::dverb</a>·(std::cout)</td></tr> 
96 <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.··<br·/></td></tr> 
97 <tr·class="separator:gab8900dadc584357856d4f6cc06324cea"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:gab5d2fce8ed49f95067d9b5b54d6f5def"·id="r_gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">DInfoType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">Dune::dinfo</a>·(std::cout)</td></tr> 
99 <tr·class="memdesc:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·informative·output.··<br·/></td></tr> 
100 <tr·class="separator:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:ga4bff1feeab1e96f08aca7796cc69b4ea"·id="r_ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">DWarnType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">Dune::dwarn</a>·(std::cerr)</td></tr> 
102 <tr·class="memdesc:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·problems.··<br·/></td></tr> 
103 <tr·class="separator:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:ga765267750e6b2718fa718ab5f9fa1ed9"·id="r_ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">DGraveType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">Dune::dgrave</a>·(std::cerr)</td></tr> 
105 <tr·class="memdesc:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·fatal·errors.··<br·/></td></tr> 
106 <tr·class="separator:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:gacaa61db1e034d693335d33d3919ba9ca"·id="r_gacaa61db1e034d693335d33d3919ba9ca"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">DErrType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">Dune::derr</a>·(std::cerr)</td></tr> 
108 <tr·class="memdesc:gacaa61db1e034d693335d33d3919ba9ca"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·error·messages.··<br·/></td></tr> 
109 <tr·class="separator:gacaa61db1e034d693335d33d3919ba9ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 </table>99 </table>
 100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 101 <div·class="textblock"><p>Useful·wrapper·for·creating·singletons.·</p>
 102 <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>
111 </div><!--·contents·-->103 </div></div><!--·contents·-->
112 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>105 <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.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>107 </small></address>
116 </body>108 </body>
117 </html>109 </html>
1.3 KB
html2text {}
    
Offset 6, 36 lines modifiedOffset 6, 26 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Variables 
13 stdstreams.cc·File·Reference 
14 #include·"stdstreams.hh"12 Classes·|·Namespaces
 13 singleton.hh·File·Reference
 14 Useful·wrapper·for·creating·singletons.·More...
 15 #include·<dune/common/visibility.hh>
 16 Go_to_the_source_code_of_this_file.
 17 ·Classes
 18 class· Dune::Singleton<_T_>
 19  ······An·adapter·to·turn·a·class·into·a·singleton.·More...
 20  
15 ·Namespaces21 ·Namespaces
16 namespace· Dune22 namespace· Dune
17  ··········Dune·namespace.23  ··········Dune·namespace.
18  24  
 25 *****·Detailed·Description·*****
 26 Useful·wrapper·for·creating·singletons.
 27 Inspired·by·the·article·CodeGuru:_A_Leak-Free_Singleton_class
19 ·Variables 
20 DVVerbType Dune::dvverb·(std::cout) 
21  ··········stream·for·very·verbose·output. 
22   
23 ·DVerbType Dune::dverb·(std::cout) 
24  ··········Singleton·of·verbose·debug·stream. 
25   
26 ·DInfoType Dune::dinfo·(std::cout) 
27  ··········Stream·for·informative·output. 
28   
29 ·DWarnType Dune::dwarn·(std::cerr) 
30  ··········Stream·for·warnings·indicating·problems. 
31   
32 DGraveType Dune::dgrave·(std::cerr) 
33  ··········Stream·for·warnings·indicating·fatal·errors. 
34   
35 ··DErrType Dune::derr·(std::cerr) 
36  ··········Stream·for·error·messages. 
37   
  
38 ===============================================================================28 ===============================================================================
39 ·····Generated·by [doxygen]·1.9.829 ·····Generated·by [doxygen]·1.9.8
8.76 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 39 lines modifiedOffset 70, 64 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
78 ··<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>78 <a·href="#define-members">Macros</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
 80 ··<div·class="headertitle"><div·class="title">stdthread.hh·File·Reference</div></div>
79 </div><!--header-->81 </div><!--header-->
80 <div·class="contents">82 <div·class="contents">
  
81 <p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/> 
84 <code>#include·&lt;type_traits&gt;</code><br·/> 
85 <code>#include·&lt;istream&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/densevector.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/> 
90 </div> 
91 <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00071_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">84 <table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>86 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
97 <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">
 91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 92 Macros</h2></td></tr>
 93 <tr·class="memitem:acbf1020c1747ea8c3dd1031d2d608557"·id="r_acbf1020c1747ea8c3dd1031d2d608557"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html#acbf1020c1747ea8c3dd1031d2d608557">DUNE_ASSERT_CALL_ONCE</a>()&#160;&#160;&#160;··<a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">::Dune::assertCallOnce</a>(__FILE__,·__LINE__,·__func__)</td></tr>
 94 <tr·class="memdesc:acbf1020c1747ea8c3dd1031d2d608557"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<br·/></td></tr>
 95 <tr·class="separator:acbf1020c1747ea8c3dd1031d2d608557"><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="func-members"·name="func-members"></a>
 98 Functions</h2></td></tr>
 99 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"·id="r_aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::doAssertCallOnce</a>·(const·char·*file,·int·line,·const·char·*function)</td></tr>
 100 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:a3b55a8ff91fc039845da40a86486a007"·id="r_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>
 102 <tr·class="memdesc:a3b55a8ff91fc039845da40a86486a007"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<br·/></td></tr>
 103 <tr·class="separator:a3b55a8ff91fc039845da40a86486a007"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>104 </table>
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
100 <div·class="textblock"><p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·</p>105 <h2·class="groupheader">Macro·Definition·Documentation</h2>
 106 <a·id="acbf1020c1747ea8c3dd1031d2d608557"·name="acbf1020c1747ea8c3dd1031d2d608557"></a>
 107 <h2·class="memtitle"><span·class="permalink"><a·href="#acbf1020c1747ea8c3dd1031d2d608557">&#9670;&#160;</a></span>DUNE_ASSERT_CALL_ONCE</h2>
  
 108 <div·class="memitem">
 109 <div·class="memproto">
 110 ······<table·class="memname">
 111 ········<tr>
 112 ··········<td·class="memname">#define·DUNE_ASSERT_CALL_ONCE</td>
 113 ··········<td>(</td>
 114 ··········<td·class="paramname"></td><td>)</td>
 115 ··········<td>&#160;&#160;&#160;··<a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">::Dune::assertCallOnce</a>(__FILE__,·__LINE__,·__func__)</td>
 116 ········</tr>
 117 ······</table>
 118 </div><div·class="memdoc">
  
 119 <p>Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.·</p>
 120 <p>This·calls·assertCallOnce()·and·automatically·provides·information·about·the·caller·in·the·error·message.·</p>
  
 121 </div>
 122 </div>
101 </div></div><!--·contents·-->123 </div><!--·contents·-->
102 <!--·start·footer·part·-->124 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>125 <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.8126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>127 </small></address>
106 </body>128 </body>
107 </html>129 </html>
1.73 KB
html2text {}
    
Offset 6, 28 lines modifiedOffset 6, 38 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Macros·|·Functions
 13 stdthread.hh·File·Reference
12 Namespaces 
13 scalarvectorview.hh·File·Reference 
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·More... 
16 #include·<cstddef> 
17 #include·<type_traits> 
18 #include·<istream> 
19 #include·<dune/common/densevector.hh> 
20 #include·<dune/common/fvector.hh> 
21 #include·<dune/common/typetraits.hh> 
22 #include·<dune/common/matvectraits.hh> 
23 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
24 ·Namespaces15 ·Namespaces
25 namespace· Dune16 namespace· Dune
26  ··········Dune·namespace.17  ··········Dune·namespace.
27  18  
28 *****·Detailed·Description·***** 
29 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.19 ·Macros
 20 #define DUNE_ASSERT_CALL_ONCE()   ·::Dune::assertCallOnce(__FILE__,·__LINE__,
 21 ·········__func__)
 22  ·······Make·sure·call_once()·works·and·provide·a·helpful·error·message
 23 ·········otherwise.
 24  
 25 ·Functions
 26 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)
 27  
 28 void Dune::assertCallOnce·(const·char·*file=nullptr,·int·line=-1,·const·char
 29 ······*function=nullptr)
 30  ····Make·sure·call_once()·works·and·provide·a·helpful·error·message
 31 ······otherwise.
 32  
 33 *****·Macro·Definition·Documentation·*****
 34 *****·◆ DUNE_ASSERT_CALL_ONCE·*****
 35 #define···············(··)·   ·::Dune::assertCallOnce(__FILE__,·__LINE__,
 36 DUNE_ASSERT_CALL_ONCE······__func__)
 37 Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.
 38 This·calls·assertCallOnce()·and·automatically·provides·information·about·the
 39 caller·in·the·error·message.
  
30 ===============================================================================40 ===============================================================================
31 ·····Generated·by [doxygen]·1.9.841 ·····Generated·by [doxygen]·1.9.8
39.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 194 lines modifiedOffset 74, 54 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">scalarvectorview.hh</div></div>80 ··<div·class="headertitle"><div·class="title">stdthread.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDTHREAD_HH</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_STDTHREAD_HH</span></div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <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>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>{</div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <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>
 95 <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>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00392.html">dune/common/densevector.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
97 <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/matvectraits.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
99 <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> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>97 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 98 <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="}">
 99 <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>
 100 <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>
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Impl·{</div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
103 <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> 
104 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">class·</span>ScalarVectorView·:</div> 
105 <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> 
106 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····K*·dataP_;</div> 
108 <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>102 <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>
 103 <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>
 104 <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>
109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div>
 106 </div>
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div>107 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
114 <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> 
115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
116 <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="c[·...·truncated·by·diffoscope;·len:·94,·SHA:·367f4e9777c486d15d86423d8ca45df87ee16a7a28d78921c4d820323148efcf·...·]>109 <div·class="foldopen"·id="foldopen00049"·data-start=""·data-end="">
 110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00071.html#acbf1020c1747ea8c3dd1031d2d608557">···49</a></span><span·class="preprocessor">#define·DUNE_ASSERT_CALL_ONCE()·························\</span></div>
 111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">··::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)</span></div>
 112 </div>
117 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>113 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
118 <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>114 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·namespace·Dune</span></div>
119 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>115 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
120 <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> 
121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//=====·construction</span></div> 
123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">constexpr</span>·ScalarVectorView·()</div> 
125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······:·dataP_(nullptr)</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="l00066"·name="l00066"></a><span·class="lineno">···66</span>····ScalarVectorView·(K*·p)·:</div> 
129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······dataP_(p)</div> 
130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····{}</div> 
131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
132 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····ScalarVectorView·(<span·class="keyword">const</span>·ScalarVectorView·&amp;other)·:</div> 
133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······Base(),</div> 
134 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······dataP_(other.dataP_)</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>·</div> 
137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····ScalarVectorView·(ScalarVectorView·&amp;&amp;other)·:</div> 
138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(),</div> 
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······dataP_(·other.dataP_·)</div> 
140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div> 
141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
142 <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> 
143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{</div> 
144 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······assert(dataP_);</div> 
145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······assert(other.dataP_);</div> 
146 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······*dataP_·=·*(other.dataP_);</div> 
147 <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> 
148 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div> 
149 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
150 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·KK&gt;</div> 
151 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·ScalarVectorView&lt;KK&gt;&amp;·other)</div> 
152 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> 
153 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······assert(dataP_);</div> 
154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······assert(other.dataP_);</div> 
155 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······*dataP_·=·*(other.dataP_);</div> 
156 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> 
157 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····}</div> 
158 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
159 <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> 
160 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······std::enable_if_t&lt;std::is_convertible&lt;T,·K&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
161 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">inline</span>·ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·T&amp;·k)</div> 
162 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{</div> 
163 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······*dataP_·=·k;</div> 
164 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> 
165 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····}</div> 
166 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
167 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">size_type</a>·<a·class="code·hl_function"·href="a01424.html#a3daf5b5501de6164915db0e34e8ce763">size</a>·()</div> 
168 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div> 
169 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<span·class="keywordflow">return</span>·1;</div> 
170 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····}</div> 
Max diff block lines reached; 2188/33316 bytes (6.57%) of diff not shown.
6.38 KB
html2text {}
    
Offset 7, 215 lines modifiedOffset 7, 54 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 scalarvectorview.hh12 stdthread.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH 
20 ·6#define·DUNE_COMMON_SCALARVECTORVIEW_HH 
21 ·7 
22 ·8#include·<cstddef> 
23 ·9#include·<type_traits> 
24 ·10#include·<istream>19 ·5
 20 ·6#ifndef·DUNE_COMMON_STDTHREAD_HH
 21 ·7#define·DUNE_COMMON_STDTHREAD_HH
 22 ·8
 23 ·9namespace·Dune
 24 ·10{
25 ·1125 ·11
 26 ·12·//·used·internally·by·assertCallOnce·for·the·actual·check
 27 ·13·void·doAssertCallOnce(const·char·*file,·int·line,·const·char·*function);
 28 ·14
 29 ·17
 30 35·inline·void·assertCallOnce(const·char·*file·=·nullptr,·int·line·=·-1,
 31 ·36·const·char·*function·=·nullptr)
26 ·12#include·<dune/common/densevector.hh> 
27 ·13#include·<dune/common/fvector.hh> 
28 ·14#include·<dune/common/typetraits.hh> 
29 ·15#include·<dune/common/matvectraits.hh> 
30 ·16 
31 ·17namespace·Dune·{ 
32 ·18 
33 ·19namespace·Impl·{ 
34 ·20 
35 ·35·template<class·K> 
36 ·36·class·ScalarVectorView·: 
37 ·37·public·DenseVector<ScalarVectorView<K>> 
38 ·38·{32 ·37·{
39 ·39·K*·dataP_; 
40 ·40·using·Base·=·DenseVector<ScalarVectorView<K>>;33 ·38·//·make·sure·to·call·this·only·the·first·time·this·function·is·invoked
 34 ·39·[[maybe_unused]]·static·const·bool·works
 35 ·40·=·(doAssertCallOnce(file,·line,·function),·true);
41 ·4136 ·41·}
 37 ·42
42 ·42·template·<class> 
43 ·43·friend·class·ScalarVectorView; 
44 ·44·public: 
45 ·4538 ·45
 39 49#define·DUNE_ASSERT_CALL_ONCE()·\
 40 ·50·::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)
46 ·47·constexpr·static·int·dimension·=·1; 
47 ·48 
48 ·50·using·size_type·=·typename·Base::size_type; 
49 ·5141 ·51
50 ·53·using·reference·=·std::decay_t<K>&; 
51 ·54 
52 ·56·using·const_reference·=·const·K&; 
53 ·57 
54 ·58·//=====·construction 
55 ·59 
56 ·61·constexpr·ScalarVectorView·() 
57 ·62·:·dataP_(nullptr) 
58 ·63·{} 
59 ·64 
60 ·66·ScalarVectorView·(K*·p)·: 
61 ·67·dataP_(p) 
62 ·68·{} 
63 ·69 
64 ·71·ScalarVectorView·(const·ScalarVectorView·&other)·: 
65 ·72·Base(), 
66 ·73·dataP_(other.dataP_) 
67 ·74·{} 
68 ·75 
69 ·77·ScalarVectorView·(ScalarVectorView·&&other)·: 
70 ·78·Base(), 
71 ·79·dataP_(·other.dataP_·) 
72 ·80·{} 
73 ·81 
74 ·83·ScalarVectorView&·operator=·(const·ScalarVectorView&·other) 
75 ·84·{ 
76 ·85·assert(dataP_); 
77 ·86·assert(other.dataP_); 
78 ·87·*dataP_·=·*(other.dataP_); 
79 ·88·return·*this; 
80 ·89·} 
81 ·90 
82 ·91·template<class·KK> 
83 ·92·ScalarVectorView&·operator=·(const·ScalarVectorView<KK>&·other) 
84 ·93·{ 
85 ·94·assert(dataP_); 
86 ·95·assert(other.dataP_); 
87 ·96·*dataP_·=·*(other.dataP_); 
88 ·97·return·*this; 
89 ·98·} 
90 ·99 
91 ·101·template<typename·T, 
92 ·102·std::enable_if_t<std::is_convertible<T,·K>::value,·int>·=·0> 
93 ·103·inline·ScalarVectorView&·operator=·(const·T&·k) 
94 ·104·{ 
95 ·105·*dataP_·=·k; 
96 ·106·return·*this; 
97 ·107·} 
98 ·108 
99 ·110·static·constexpr·size_type·size·() 
100 ·111·{ 
101 ·112·return·1; 
102 ·113·} 
103 ·114 
104 ·116·K&·operator[]·([[maybe_unused]]·size_type·i) 
105 ·117·{ 
106 ·118·DUNE_ASSERT_BOUNDS(i·==·0); 
107 ·119·return·*dataP_; 
108 ·120·} 
109 ·121 
110 ·123·const·K&·operator[]·([[maybe_unused]]·size_type·i)·const 
111 ·124·{ 
112 ·125·DUNE_ASSERT_BOUNDS(i·==·0); 
113 ·126·return·*dataP_; 
114 ·127·} 
115 ·128·};·//·class·ScalarVectorView 
Max diff block lines reached; 872/6510 bytes (13.39%) of diff not shown.
13.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 50 lines modifiedOffset 71, 72 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
79 ··<div·class="headertitle"><div·class="title">arraylist.hh·File·Reference</div></div>79 <a·href="#func-members">Functions</a>··</div>
 80 ··<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>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)··83 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
85 <code>#include·&lt;cassert&gt;</code><br·/>86 <code>#include·&lt;cstddef&gt;</code><br·/>
 87 <code>#include·&lt;iostream&gt;</code><br·/>
 88 <code>#include·&lt;type_traits&gt;</code><br·/>
86 <code>#include·&lt;memory&gt;</code><br·/>89 <code>#include·&lt;utility&gt;</code><br·/>
87 <code>#include·&lt;vector&gt;</code><br·/>90 <code>#include·&lt;vector&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
88 <code>#include·&quot;<a·class="el"·href="a00113_source.html">iteratorfacades.hh</a>&quot;</code><br·/>95 <code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 96 <code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/precision.hh</a>&gt;</code><br·/>
 97 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
 98 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 99 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>
89 </div>100 </div>
90 <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p>101 <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">102 <table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
93 Classes</h2></td></tr>104 Classes</h2></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="a01404.html">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;</a></td></tr>
94 <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> 
95 <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> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <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="a01276.html">Dune::ArrayListIterator&lt;·T,·N,·A·&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="a01420.html">Dune::FMatrixError</a></td></tr>
98 <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>108 <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>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <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="a01280.html">Dune::ConstArrayListIterator&lt;·T,·N,·A·&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="a01400.html">Dune::DenseMatrix&lt;·MAT·&gt;</a></td></tr>
101 <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>111 <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>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">113 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>115 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
108 <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:a00431"·id="r_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>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 </table><table·class="memberdecls">
 122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 123 Functions</h2></td></tr>
 124 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"·id="r_a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·,·typename·V1·,·typename·V2·&gt;·</td></tr>
 125 <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·<a·class="el"·href="a01400.html">DenseMatrix</a>&lt;·MAT·&gt;·&amp;matrix,·const·<a·class="el"·href="a01424.html">DenseVector</a>&lt;·V1·&gt;·&amp;x,·<a·class="el"·href="a01424.html">DenseVector</a>&lt;·V2·&gt;·&amp;ret)</td></tr>
 126 <tr·class="memdesc:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<br·/></td></tr>
 127 <tr·class="separator:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"·id="r_gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·&gt;·</td></tr>
 129 <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·<a·class="el"·href="a01400.html">DenseMatrix</a>&lt;·MAT·&gt;·&amp;a)</td></tr>
 130 <tr·class="memdesc:gaaf67fddab3978a57f94f556513bc0d77"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Sends·the·matrix·to·an·output·stream.··<br·/></td></tr>
 131 <tr·class="separator:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table>132 </table>
110 <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>
 134 <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>
111 <div·class="textblock"><p>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·</p> 
112 <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> 
113 </div></div><!--·contents·-->135 </div></div><!--·contents·-->
114 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>137 <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.8138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
117 </small></address>139 </small></address>
118 </body>140 </body>
119 </html>141 </html>
2.78 KB
html2text {}
    
Offset 6, 43 lines modifiedOffset 6, 59 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
13 arraylist.hh·File·Reference13 densematrix.hh·File·Reference
14 Implements·a·random-access·container·that·can·efficiently·change·size·(similar 
15 to·std::deque)·More... 
16 #include·<array>14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a
 16 compile-time·given·number·of·rows·and·columns.·More...
17 #include·<cassert>17 #include·<cmath>
18 #include·<memory>18 #include·<cstddef>
 19 #include·<iostream>
 20 #include·<type_traits>
 21 #include·<utility>
19 #include·<vector>22 #include·<vector>
20 #include·"iteratorfacades.hh"23 #include·<dune/common/boundschecking.hh>
 24 #include·<dune/common/classname.hh>
 25 #include·<dune/common/exceptions.hh>
 26 #include·<dune/common/fvector.hh>
 27 #include·<dune/common/math.hh>
 28 #include·<dune/common/precision.hh>
 29 #include·<dune/common/simd/simd.hh>
 30 #include·<dune/common/typetraits.hh>
 31 #include·<dune/common/scalarvectorview.hh>
21 Go_to_the_source_code_of_this_file.32 Go_to_the_source_code_of_this_file.
22 ·Classes33 ·Classes
 34 struct· Dune::FieldTraits<_DenseMatrix<_M_>_>
23 class· Dune::ArrayList<_T,_N,_A_> 
24  ······A·dynamically·growing·random·access·list.·More... 
25  35  
26 class· Dune::ArrayListIterator<_T,_N,_A_> 
27  ······A·random·access·iterator·for·the·Dune::ArrayList·class.·More...36 ·class· Dune::FMatrixError
 37  ·······Error·thrown·if·operations·of·a·FieldMatrix·fail.·More...
28  38  
 39 ·class· Dune::DenseMatrix<_MAT_>
 40  ·······A·dense·n·x·m·matrix.·More...
29 class· Dune::ConstArrayListIterator<_T,_N,_A_> 
30  ······A·constant·random·access·iterator·for·the·Dune::ArrayList·class. 
31 ········More... 
32  41  
33 ·Namespaces42 ·Namespaces
34 namespace· Dune43 namespace· Dune
35  ··········Dune·namespace.44  ··········Dune·namespace.
36  45  
 46 namespace· Dune::DenseMatrixHelp
 47  
 48 ·Functions
 49 template<typename·MAT·,·typename·V1·,·typename·V2·>
 50 ···static·void Dune::DenseMatrixHelp::multAssign·(const·DenseMatrix<·MAT·>
 51 ················&matrix,·const·DenseVector<·V1·>·&x,·DenseVector<·V2·>·&ret)
 52  ··············calculates·ret·=·matrix·*·x
 53  
 54 template<typename·MAT·>
 55 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·DenseMatrix<·MAT·>·&a)
 56  ··············Sends·the·matrix·to·an·output·stream.
 57  
37 *****·Detailed·Description·*****58 *****·Detailed·Description·*****
 59 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a
 60 compile-time·given·number·of·rows·and·columns.
38 Implements·a·random-access·container·that·can·efficiently·change·size·(similar 
39 to·std::deque) 
40 This·file·implements·the·class·ArrayList·which·behaves·like·dynamically·growing 
41 array·together·with·the·class·ArrayListIterator·which·is·random·access·iterator 
42 as·needed·by·the·stl·for·sorting·and·other·algorithms. 
43 ··Author 
44 ······Markus·Blatt 
  
45 ===============================================================================61 ===============================================================================
46 ·····Generated·by [doxygen]·1.9.862 ·····Generated·by [doxygen]·1.9.8
403 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 623 lines modifiedOffset 74, 1304 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">arraylist.hh</div></div>80 ··<div·class="headertitle"><div·class="title">densematrix.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEMATRIX_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEMATRIX_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ARRAYLIST_HH</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_ARRAYLIST_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00113.html">iteratorfacades.hh</a>&quot;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <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>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/classname.hh</a>&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00101.html">dune/common/math.hh</a>&gt;</span></div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00227.html">dune/common/precision.hh</a>&gt;</span></div>
 103 <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>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
97 <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>107 <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>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="comment">//·forward·declaration</span></div> 
100 <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> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">class·</span>ArrayListIterator;</div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 110 <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>
103 <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> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">class·</span>ConstArrayListIterator;</div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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>·T,·<span·class="keywordtype">int</span>·N=100,·<span·class="keyword">class</span>·A=std::allocator&lt;T&gt;·&gt;</div>112 <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>
107 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="};">113 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};">
108 <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>114 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01404.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>[·...·truncated·by·diffoscope;·len:·14,·SHA:·10de491e1c5b6eb26ae45d2ef8de337c40797584707025a550a4e7d647f7bb76·...·]</div>
109 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>115 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>
 116 <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>
 117 <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>
110 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div> 
111 <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> 
112 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
113 <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> 
114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>118 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··};</div>
115 <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#aa76d40[·...·truncated·by·diffoscope;·len:·43,·SHA:·cb7cc04e7b680243b4a78d57a72ea0b947e3a1e8ad30fdc4d807e410826db667·...·]/div>119 </div>
116 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>120 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 121 <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>
 122 <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>
117 <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> 
118 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
119 <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> 
120 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>123 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
121 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01284.html#a69712ac1ea2ca0283a0d8caa1837f5e7">···94</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T*·<a·class="code·hl_typedef"·href="a01284.html#a697[·...·truncated·by·diffoscope;·len:·48,·SHA:·bae82176a96db469054249f4c78f125786fd5ced3ccd3dcb4d6c4b1fa9687099·...·];</div>124 <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>
 125 <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>
 126 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 127 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 128 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">namespace·</span>Impl</div>
 129 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div>
 130 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 131 <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>
 132 <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>
 133 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{};</div>
 134 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 135 <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>
 136 <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>
 137 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>
 138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">public</span>:</div>
 139 <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>
 140 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div>
 141 <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>
 142 <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>
 143 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······}</div>
 144 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div>
 145 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 146 <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>
 147 <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>
 148 <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>
 149 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div>
 150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">public</span>:</div>
 151 <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>
 152 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······{</div>
 153 <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>
 154 <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>
 155 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keyword">typename</span>·DenseMatrix::iterator·tIt·=·std::begin(denseMatrix);</div>
 156 <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>
 157 <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>
 158 <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>
 159 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div>
 160 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····};</div>
122 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>161 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
123 <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:·106,·SHA:·5803456570a42040a4702891a4c64efc2170e5d444322ec1b6895c14905a8faa·...·]</div>162 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}·<span·class="comment">//·namespace·Impl</span></div>
 163 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 164 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 165 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 166 <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>
 167 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">struct·</span>DenseMatrixAssigner</div>
 168 <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>
Max diff block lines reached; 320786/346413 bytes (92.60%) of diff not shown.
65.0 KB
html2text {}
    
Offset 7, 700 lines modifiedOffset 7, 1526 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 arraylist.hh12 densematrix.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_DENSEMATRIX_HH
 20 ·6#define·DUNE_DENSEMATRIX_HH
 21 ·7
19 ·5 
20 ·6#ifndef·DUNE_COMMON_ARRAYLIST_HH 
21 ·7#define·DUNE_COMMON_ARRAYLIST_HH 
22 ·8 
23 ·9#include·<array> 
24 ·10#include·<cassert>22 ·8#include·<cmath>
25 ·11#include·<memory>23 ·9#include·<cstddef>
 24 ·10#include·<iostream>
 25 ·11#include·<type_traits>
 26 ·12#include·<utility>
26 ·12#include·<vector>27 ·13#include·<vector>
27 ·13#include·"iteratorfacades.hh" 
28 ·1428 ·14
 29 ·15#include·<dune/common/boundschecking.hh>
 30 ·16#include·<dune/common/classname.hh>
 31 ·17#include·<dune/common/exceptions.hh>
 32 ·18#include·<dune/common/fvector.hh>
 33 ·19#include·<dune/common/math.hh>
 34 ·20#include·<dune/common/precision.hh>
 35 ·21#include·<dune/common/simd/simd.hh>
 36 ·22#include·<dune/common/typetraits.hh>
 37 ·23#include·<dune/common/scalarvectorview.hh>
 38 ·24
29 ·15namespace·Dune39 ·25namespace·Dune
30 ·16{40 ·26{
 41 ·27
 42 ·28·template<typename·M>·class·DenseMatrix;
 43 ·29
 44 ·30·template<typename·M>
 45 31·struct·FieldTraits<·DenseMatrix<M>·>
31 ·17·//·forward·declaration 
32 ·18·template<class·T,·int·N,·class·A> 
33 ·19·class·ArrayListIterator; 
34 ·20 
35 ·21·template<class·T,·int·N,·class·A> 
36 ·22·class·ConstArrayListIterator; 
37 ·23 
38 ·60·template<class·T,·int·N=100,·class·A=std::allocator<T>·> 
39 61·class·ArrayList 
40 ·62·{46 ·32·{
 47 33·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>::
 48 value_type·>::field_type·field_type;
 49 34·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>::
 50 value_type·>::real_type·real_type;
 51 ·35·};
 52 ·36
 53 ·37·template<class·K,·int·N,·int·M>·class·FieldMatrix;
 54 ·38·template<class·K,·int·N>·class·FieldVector;
 55 ·39
 56 ·58·template<·class·DenseMatrix,·class·RHS·>
 57 59·struct·DenseMatrixAssigner;
 58 ·60
 59 ·61#ifndef·DOXYGEN
 60 ·62·namespace·Impl
 61 ·63·{
 62 ·64
 63 ·65·template<·class·DenseMatrix,·class·RHS,·class·=·void·>
 64 ·66·class·DenseMatrixAssigner
 65 ·67·{};
 66 ·68
 67 ·69·template<·class·DenseMatrix,·class·RHS·>
 68 ·70·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·Dune::
 69 IsNumber<·RHS·>::value·>·>
 70 ·71·{
41 ·63·public:71 ·72·public:
42 69·typedef·T·MemberType; 
43 ·70 
44 74·typedef·T·value_type; 
45 ·75 
46 79·typedef·T&·reference; 
47 ·80 
48 84·typedef·const·T&·const_reference; 
49 ·85 
50 89·typedef·T*·pointer; 
51 ·90 
52 94·typedef·const·T*·const_pointer;72 ·73·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·)
 73 ·74·{
 74 ·75·typedef·typename·DenseMatrix::field_type·field_type;
 75 ·76·std::fill(·denseMatrix.begin(),·denseMatrix.end(),·static_cast<·field_type
 76 >(·rhs·)·);
 77 ·77·}
 78 ·78·};
 79 ·79
 80 ·80·template<·class·DenseMatrix,·class·RHS·>
 81 ·81·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·!std::
 82 is_same<·typename·RHS::const_iterator,·void·>::value
 83 ·82·&&·std::is_convertible<·typename·RHS::const_iterator::value_type,·typename
 84 DenseMatrix::iterator::value_type·>::value·>·>
 85 ·83·{
 86 ·84·public:
 87 ·85·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·)
 88 ·86·{
 89 ·87·DUNE_ASSERT_BOUNDS(rhs.N()·==·denseMatrix.N());
 90 ·88·DUNE_ASSERT_BOUNDS(rhs.M()·==·denseMatrix.M());
 91 ·89·typename·DenseMatrix::iterator·tIt·=·std::begin(denseMatrix);
 92 ·90·typename·RHS::const_iterator·sIt·=·std::begin(rhs);
 93 ·91·for(;·sIt·!=·std::end(rhs);·++tIt,·++sIt)
 94 ·92·std::copy(std::begin(*sIt),·std::end(*sIt),·std::begin(*tIt));
 95 ·93·}
 96 ·94·};
53 ·9597 ·95
54 100·constexpr·static·int·chunkSize_·=·(N·>·0)·?·N·:·1;98 ·96·}·//·namespace·Impl
 99 ·97
 100 ·98
 101 ·99
 102 ·100·template<·class·DenseMatrix,·class·RHS·>
 103 ·101·struct·DenseMatrixAssigner
 104 ·102·:·public·Impl::DenseMatrixAssigner<·DenseMatrix,·RHS·>
 105 ·103·{};
55 ·101106 ·104
Max diff block lines reached; 62174/66527 bytes (93.46%) of diff not shown.
27.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 109 lines modifiedOffset 74, 55 lines modified
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#typedef-members">Typedefs</a>·&#124;78 <a·href="#typedef-members">Typedefs</a>·&#124;
79 <a·href="#func-members">Functions</a>·&#124;79 <a·href="#func-members">Functions</a>·&#124;
80 <a·href="#var-members">Variables</a>··</div>80 <a·href="#var-members">Variables</a>··</div>
81 ··<div·class="headertitle"><div·class="title">indices.hh·File·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">referencehelper.hh·File·Reference</div></div>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
84 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
85 <code>#include·&lt;type_traits&gt;</code><br·/> 
86 <code>#include·&lt;utility&gt;</code><br·/>85 <code>#include·&lt;functional&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/keywords.hh</a>&gt;</code><br·/> 
88 </div>86 </div>
89 <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">88 <table·class="memberdecls">
91 <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>
92 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:a00441"·id="r_a00441"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00441.html">Dune::Indices</a></td></tr> 
97 <tr·class="memdesc:a00441"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·with·predefined·compile·time·indices·for·the·range·[0,19].·<br·/></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
101 Typedefs</h2></td></tr>96 Typedefs</h2></td></tr>
102 <tr·class="memitem:gacf764509e6dae37477f5ad09b5ca3467"·id="r_gacf764509e6dae37477f5ad09b5ca3467"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i&gt;·</td></tr> 
103 <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> 
104 <tr·class="memdesc:gacf764509e6dae37477f5ad09b5ca3467"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·constant·with·value·i.··<br·/></td></tr>97 <tr·class="memitem:a77f46351fe46db7d54dfec534616366b"·id="r_a77f46351fe46db7d54dfec534616366b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 98 <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>
 99 <tr·class="memdesc:a77f46351fe46db7d54dfec534616366b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·trait·to·resolve·std::reference_wrapper.··<br·/></td></tr>
105 <tr·class="separator:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a77f46351fe46db7d54dfec534616366b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
108 Functions</h2></td></tr>103 Functions</h2></td></tr>
109 <tr·class="memitem:ga72824809a31d81d07517c1e903c3dab1"·id="r_ga72824809a31d81d07517c1e903c3dab1"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·I·,·I...·i&gt;·</td></tr> 
110 <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> 
111 <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;...··<br·/></td></tr>104 <tr·class="memitem:ga965f89f9b3f8d3490d0db77d0cc54553"·id="r_ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 105 <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>
 106 <tr·class="memdesc:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<br·/></td></tr>
 107 <tr·class="separator:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:a475729bf34315ee373afc7b55b81a47a"·id="r_a475729bf34315ee373afc7b55b81a47a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 109 <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>
112 <tr·class="separator:ga72824809a31d81d07517c1e903c3dab1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:a475729bf34315ee373afc7b55b81a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:ga2ca0c16cf494211b6128a9e6e2c6274b"·id="r_ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 112 <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>
 113 <tr·class="memdesc:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<br·/></td></tr>
 114 <tr·class="separator:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table><table·class="memberdecls">115 </table><table·class="memberdecls">
114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
115 Variables</h2></td></tr>117 Variables</h2></td></tr>
 118 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"·id="r_ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 119 <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>
 120 <tr·class="memdesc:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·detect·if·given·type·is·a·std::reference_wrapper.··<br·/></td></tr>
116 <tr·class="memitem:ga2f3de78a2872dfc7652b48b42c537eb8"·id="r_ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·0·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">Dune::Indices::_0</a>·=·{}</td></tr> 
117 <tr·class="memdesc:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·0.··<br·/></td></tr> 
118 <tr·class="separator:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ga50d06c69be6f5a74e319d34064d8bc3c"·id="r_ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">Dune::Indices::_1</a>·=·{}</td></tr> 
120 <tr·class="memdesc:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·1.··<br·/></td></tr> 
121 <tr·class="separator:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:gac405682eeaf6a8a64648dd85af7e84fb"·id="r_gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·2·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">Dune::Indices::_2</a>·=·{}</td></tr> 
123 <tr·class="memdesc:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·2.··<br·/></td></tr> 
124 <tr·class="separator:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"·id="r_ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·3·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">Dune::Indices::_3</a>·=·{}</td></tr> 
126 <tr·class="memdesc:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·3.··<br·/></td></tr> 
127 <tr·class="separator:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"·id="r_gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·4·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">Dune::Indices::_4</a>·=·{}</td></tr> 
129 <tr·class="memdesc:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·4.··<br·/></td></tr> 
130 <tr·class="separator:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gab875313e016428e2498da7fd90f1949d"·id="r_gab875313e016428e2498da7fd90f1949d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·5·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">Dune::Indices::_5</a>·=·{}</td></tr> 
132 <tr·class="memdesc:gab875313e016428e2498da7fd90f1949d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·5.··<br·/></td></tr> 
133 <tr·class="separator:gab875313e016428e2498da7fd90f1949d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:gaf220e1bb42d603f557cbc9a9331830b2"·id="r_gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·6·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">Dune::Indices::_6</a>·=·{}</td></tr> 
135 <tr·class="memdesc:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·6.··<br·/></td></tr> 
136 <tr·class="separator:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:ga2ca75d1d25482664a74ee83e8ce0b5fe"·id="r_ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·7·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">Dune::Indices::_7</a>·=·{}</td></tr> 
138 <tr·class="memdesc:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·7.··<br·/></td></tr> 
139 <tr·class="separator:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
140 <tr·class="memitem:ga1c19945beef1b5f54065de84e7a8641f"·id="r_ga1c19945beef1b5f54065de84e7a8641f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·8·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">Dune::Indices::_8</a>·=·{}</td></tr> 
141 <tr·class="memdesc:ga1c19945beef1b5f54065de84e7a8641f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·8.··<br·/></td></tr> 
142 <tr·class="separator:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:ga3419af1bbd8440b0e54d041f2a8c2b80"·id="r_ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·9·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">Dune::Indices::_9</a>·=·{}</td></tr> 
144 <tr·class="memdesc:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·9.··<br·/></td></tr> 
145 <tr·class="separator:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:gac31c1f8aded673ba67174158bd5fa33b"·id="r_gac31c1f8aded673ba67174158bd5fa33b"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·10·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">Dune::Indices::_10</a>·=·{}</td></tr> 
147 <tr·class="memdesc:gac31c1f8aded673ba67174158bd5fa33b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·10.··<br·/></td></tr> 
148 <tr·class="separator:gac31c1f8aded673ba67174158bd5fa33b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:gaac852bc693ac4fbdebac5196bcdc9a64"·id="r_gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·11·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">Dune::Indices::_11</a>·=·{}</td></tr> 
150 <tr·class="memdesc:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·11.··<br·/></td></tr> 
151 <tr·class="separator:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:ga70c227071a19ea12597ebde7abc8d373"·id="r_ga70c227071a19ea12597ebde7abc8d373"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·12·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">Dune::Indices::_12</a>·=·{}</td></tr> 
153 <tr·class="memdesc:ga70c227071a19ea12597ebde7abc8d373"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·12.··<br·/></td></tr> 
154 <tr·class="separator:ga70c227071a19ea12597ebde7abc8d373"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
155 <tr·class="memitem:gab861b496b29bb9d1f32b4010434e003d"·id="r_gab861b496b29bb9d1f32b4010434e003d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·13·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">Dune::Indices::_13</a>·=·{}</td></tr> 
156 <tr·class="memdesc:gab861b496b29bb9d1f32b4010434e003d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·13.··<br·/></td></tr> 
157 <tr·class="separator:gab861b496b29bb9d1f32b4010434e003d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:ga46aedfe3d5090a00cffcb7a652013a7f"·id="r_ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·14·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">Dune::Indices::_14</a>·=·{}</td></tr> 
159 <tr·class="memdesc:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·14.··<br·/></td></tr> 
160 <tr·class="separator:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
161 <tr·class="memitem:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"·id="r_ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·15·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">Dune::Indices::_15</a>·=·{}</td></tr> 
162 <tr·class="memdesc:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·15.··<br·/></td></tr> 
163 <tr·class="separator:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
164 <tr·class="memitem:ga16898b601989e869b270c43c173de953"·id="r_ga16898b601989e869b270c43c173de953"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·16·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga16898b601989e869b270c43c173de953">Dune::Indices::_16</a>·=·{}</td></tr> 
165 <tr·class="memdesc:ga16898b601989e869b270c43c173de953"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·16.··<br·/></td></tr> 
166 <tr·class="separator:ga16898b601989e869b270c43c173de953"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
167 <tr·class="memitem:gac1f450218a4ab129a04ae59bac7c57a1"·id="r_gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·17·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">Dune::Indices::_17</a>·=·{}</td></tr> 
168 <tr·class="memdesc:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·17.··<br·/></td></tr> 
169 <tr·class="separator:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
170 <tr·class="memitem:gab50e00b1160125118d3a3f36f0d82654"·id="r_gab50e00b1160125118d3a3f36f0d82654"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·18·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">Dune::Indices::_18</a>·=·{}</td></tr> 
Max diff block lines reached; 287/23197 bytes (1.24%) of diff not shown.
4.26 KB
html2text {}
    
Offset 7, 97 lines modifiedOffset 7, 41 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Typedefs·|·Functions·|·Variables12 Namespaces·|·Typedefs·|·Functions·|·Variables
 13 referencehelper.hh·File·Reference
13 indices.hh·File·Reference 
14 #include·<cstddef> 
15 #include·<type_traits>14 #include·<type_traits>
16 #include·<utility>15 #include·<functional>
17 #include·<dune/common/keywords.hh> 
18 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
19 ·Namespaces17 ·Namespaces
20 namespace· Dune18 namespace· Dune
21  ··········Dune·namespace.19  ··········Dune·namespace.
22  20  
23 namespace· Dune::Indices 
24  ··········Namespace·with·predefined·compile·time·indices·for·the·range 
25 ············[0,19]. 
26   
27 ·Typedefs21 ·Typedefs
28 template<std::size_t·i> 
29 using Dune::index_constant·=·std::integral_constant<·std::size_t,·i·> 
30  ·····An·index·constant·with·value·i.22 template<class·T·>
 23 using Dune::ResolveRef_t·=·std::remove_reference_t<·decltype(Dune::resolveRef
 24 ·······(std::declval<·T·&·>()))>
 25  ·····Type·trait·to·resolve·std::reference_wrapper.
31  26  
32 ·Functions27 ·Functions
33 template<class·F·,·class·I·,·I...·i> 
34 decltype(auto)·constexpr Dune::unpackIntegerSequence·(F·&&f,·std:: 
35 ··························integer_sequence<·I,·i...·>·sequence) 
36  ························Unpack·an·std::integer_sequence<I,i...>·to·std:: 
37 ··························integral_constant<I,i>...28 template<class·T·>
 29 constexpr·T·& Dune::resolveRef·(T·&gf)·noexcept
 30  ·············Helper·function·to·resolve·std::reference_wrapper.
 31  
 32 template<class·T·>
 33 ·const·auto·& Dune::resolveRef·(T·&&gf)=delete
 34  
 35 template<class·T·>
 36 constexpr·T·& Dune::resolveRef·(std::reference_wrapper<·T·>·gf)·noexcept
 37  ·············Helper·function·to·resolve·std::reference_wrapper.
38  38  
39 ·Variables39 ·Variables
 40 template<class·T·>
 41 constexpr·bool Dune::IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value
 42  ··············Helper·to·detect·if·given·type·is·a·std::reference_wrapper.
40 ·constexpr·index_constant<·0·> Dune::Indices::_0·=·{} 
41  ······························Compile·time·index·with·value·0. 
42   
43 ·constexpr·index_constant<·1·> Dune::Indices::_1·=·{} 
44  ······························Compile·time·index·with·value·1. 
45   
46 ·constexpr·index_constant<·2·> Dune::Indices::_2·=·{} 
47  ······························Compile·time·index·with·value·2. 
48   
49 ·constexpr·index_constant<·3·> Dune::Indices::_3·=·{} 
50  ······························Compile·time·index·with·value·3. 
51   
52 ·constexpr·index_constant<·4·> Dune::Indices::_4·=·{} 
53  ······························Compile·time·index·with·value·4. 
54   
55 ·constexpr·index_constant<·5·> Dune::Indices::_5·=·{} 
56  ······························Compile·time·index·with·value·5. 
57   
58 ·constexpr·index_constant<·6·> Dune::Indices::_6·=·{} 
59  ······························Compile·time·index·with·value·6. 
60   
61 ·constexpr·index_constant<·7·> Dune::Indices::_7·=·{} 
62  ······························Compile·time·index·with·value·7. 
63   
64 ·constexpr·index_constant<·8·> Dune::Indices::_8·=·{} 
65  ······························Compile·time·index·with·value·8. 
66   
67 ·constexpr·index_constant<·9·> Dune::Indices::_9·=·{} 
68  ······························Compile·time·index·with·value·9. 
69   
70 constexpr·index_constant<·10·> Dune::Indices::_10·=·{} 
71  ······························Compile·time·index·with·value·10. 
72   
73 constexpr·index_constant<·11·> Dune::Indices::_11·=·{} 
74  ······························Compile·time·index·with·value·11. 
75   
76 constexpr·index_constant<·12·> Dune::Indices::_12·=·{} 
77  ······························Compile·time·index·with·value·12. 
78   
79 constexpr·index_constant<·13·> Dune::Indices::_13·=·{} 
80  ······························Compile·time·index·with·value·13. 
81   
82 constexpr·index_constant<·14·> Dune::Indices::_14·=·{} 
83  ······························Compile·time·index·with·value·14. 
84   
85 constexpr·index_constant<·15·> Dune::Indices::_15·=·{} 
86  ······························Compile·time·index·with·value·15. 
87   
88 constexpr·index_constant<·16·> Dune::Indices::_16·=·{} 
89  ······························Compile·time·index·with·value·16. 
90   
91 constexpr·index_constant<·17·> Dune::Indices::_17·=·{} 
92  ······························Compile·time·index·with·value·17. 
93   
94 constexpr·index_constant<·18·> Dune::Indices::_18·=·{} 
95  ······························Compile·time·index·with·value·18. 
96   
97 constexpr·index_constant<·19·> Dune::Indices::_19·=·{} 
98  ······························Compile·time·index·with·value·19. 
99  43  
  
100 ===============================================================================44 ===============================================================================
101 ·····Generated·by [doxygen]·1.9.845 ·····Generated·by [doxygen]·1.9.8
45.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 120 lines modifiedOffset 74, 92 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">indices.hh</div></div>80 ··<div·class="headertitle"><div·class="title">referencehelper.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <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>
 88 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDICES_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_INDICES_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00239.html">dune/common/keywords.hh</a>&gt;</span></div>95 <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>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
97 <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>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Impl·{</div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
99 <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>99 <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>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_con[·...·truncated·by·diffoscope;·len:·56,·SHA:·83079a124af3d2b2300eefa0a0a1e351252461401719a935bcf9abb0cb48443b·...·];</div>100 <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>
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 102 <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>
 103 <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>
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 105 <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>
 106 <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>
 107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}·<span·class="comment">//·namespace·Dune::Impl</span></div>
 109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 111 <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>
 112 <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>
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 114 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 115 <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="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">116 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}">
105 <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>117 <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"[·...·truncated·by·diffoscope;·len:·64,·SHA:·1ef07c14238380153f846322e79beb9e6ece736aca53433ae2874bc2da2d4db3·...·]</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="keywordflow">return</span>·gf;</div>
 120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>
 121 </div>
106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>122 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
107 <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="a00239.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> 
108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>123 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
109 <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="a00239.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> 
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
111 <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="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·224,·SHA:·bea91c3bf2349fed38b0c0133a9d80ef425ddc39702587accffec5a48b5c2a18·...·]</div>124 <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>
 125 <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>
 126 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·return·value·is·stored.</span></div>
 127 <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>
 128 <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>
 129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·leads·to·nicer·error·messages.</span></div>
 130 <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>
 131 <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>
112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>132 <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"><a·class="line"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">···62</a></span>····<a·class="code·hl_define"·href="a00239.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> 
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>133 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
115 <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="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keywor[·...·truncated·by·diffoscope;·len:·224,·SHA:·8763e0ff553fa614614b66cebd5015a9c0b6d0933b2815121f58cb06e3ae5c77·...·];</div>134 <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>
 135 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">
 136 <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>
 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>··<span·class="keywordflow">return</span>·gf.get();</div>
 139 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>
 140 </div>
116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>141 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
117 <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="a00239.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> 
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
119 <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="a00239.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> 
120 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
121 <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="a00239.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> 
122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
123 <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="a00239.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> 
124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
125 <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="a00239.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> 
126 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
127 <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="a00239.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> 
128 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
129 <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="a00239.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> 
130 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>142 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
131 <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="a00239.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> 
132 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>143 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
133 <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="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·223,·SHA:·4726ece521c73569801ebcc2d68d0453d43beda735a9918f2ef4f6b846b86a86·...·];</div>144 <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>
 145 <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>
134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>146 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
135 <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="a00239.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> 
136 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
137 <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="a00239.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> 
138 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
139 <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="a00239.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> 
140 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>147 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
141 <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="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·224,·SHA:·835dd2a44ff55cbc8a60f5f848ff7494fa915c7a5eda678a79270645a1b1e45a·...·]</div>148 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace·Dune</span></div>
 149 <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">··105</span>·</div>150 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
143 <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="a00239.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> 
144 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>151 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
145 <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="a00239.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> 
146 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
147 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··}·<span·class="comment">//·namespace·Indices</span></div> 
148 </div> 
Max diff block lines reached; 765/38982 bytes (1.96%) of diff not shown.
7.41 KB
html2text {}
    
Offset 7, 185 lines modifiedOffset 7, 100 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 indices.hh12 referencehelper.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH
 20 ·6#define·DUNE_COMMON_REFERENCE_HELPER_HH
 21 ·7
19 ·5 
20 ·6#ifndef·DUNE_COMMON_INDICES_HH 
21 ·7#define·DUNE_COMMON_INDICES_HH 
22 ·8 
23 ·9#include·<cstddef> 
24 ·10#include·<type_traits>22 ·8#include·<type_traits>
25 ·11#include·<utility>23 ·9#include·<functional>
 24 ·10
 25 ·11
26 ·1226 ·12
27 ·13#include·<dune/common/keywords.hh>27 ·13namespace·Dune·{
28 ·1428 ·14
29 ·15namespace·Dune29 ·15namespace·Impl·{
30 ·16{30 ·16
31 ·29·template<std::size_t·i> 
32 30·using·index_constant·=·std::integral_constant<std::size_t,·i>; 
33 ·31 
34 ·32 
35 ·33 
36 50·namespace·Indices31 ·17·template<class·T>
 32 ·18·class·IsReferenceWrapper·:·public·std::false_type·{};
 33 ·19
 34 ·20·template<class·T>
 35 ·21·class·IsReferenceWrapper<std::reference_wrapper<T>>·:·public·std::true_type
 36 {};
 37 ·22
 38 ·23·template<class·T>
 39 ·24·class·IsReferenceWrapper<const·std::reference_wrapper<T>>·:·public·std::
 40 true_type·{};
 41 ·25
 42 ·26}·//·namespace·Dune::Impl
 43 ·27
 44 ·28
 45 ·34template<class·T>
 46 35constexpr·bool·IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value;
 47 ·36
 48 ·37
 49 ·46template<class·T>
 50 47constexpr·T&·resolveRef(T&·gf)·noexcept
 51 ·48{
 52 ·49·return·gf;
 53 ·50}
37 ·51·{54 ·51
 55 ·52
 56 ·53//·There's·no·overload·for·non·std::reference_wrapper·r-values,
 57 ·54//·because·this·may·lead·to·undefined·behavior·whenever·the
 58 ·55//·return·value·is·stored.
 59 ·56//·Notice·that·deleting·the·overload·is·not·necessary,·but
 60 ·57//·helps·to·document·that·it·is·missing·on·purpose.·It·also
 61 ·58//·leads·to·nicer·error·messages.
 62 ·59template<class·T>
 63 60const·auto&·resolveRef(T&&·gf)·=·delete;
 64 ·61
 65 ·62
 66 ·81template<class·T>
 67 82constexpr·T&·resolveRef(std::reference_wrapper<T>·gf)·noexcept
 68 ·83{
 69 ·84·return·gf.get();
 70 ·85}
 71 ·86
38 53·DUNE_INLINE_VARIABLE·constexpr·index_constant<_0>·_0·=·{}; 
39 ·54 
40 56·DUNE_INLINE_VARIABLE·constexpr·index_constant<_1>·_1·=·{}; 
41 ·57 
42 59·DUNE_INLINE_VARIABLE·constexpr·index_constant<_2>·_2·=·{}; 
43 ·60 
44 62·DUNE_INLINE_VARIABLE·constexpr·index_constant<_3>·_3·=·{}; 
45 ·63 
46 65·DUNE_INLINE_VARIABLE·constexpr·index_constant<_4>·_4·=·{}; 
47 ·66 
48 68·DUNE_INLINE_VARIABLE·constexpr·index_constant<_5>·_5·=·{}; 
49 ·69 
50 71·DUNE_INLINE_VARIABLE·constexpr·index_constant<_6>·_6·=·{}; 
51 ·72 
52 74·DUNE_INLINE_VARIABLE·constexpr·index_constant<_7>·_7·=·{}; 
53 ·75 
54 77·DUNE_INLINE_VARIABLE·constexpr·index_constant<_8>·_8·=·{}; 
55 ·78 
56 80·DUNE_INLINE_VARIABLE·constexpr·index_constant<_9>·_9·=·{}; 
57 ·81 
58 83·DUNE_INLINE_VARIABLE·constexpr·index_constant<10>·_10·=·{}; 
59 ·84 
60 86·DUNE_INLINE_VARIABLE·constexpr·index_constant<11>·_11·=·{}; 
61 ·8772 ·87
 73 ·88
 74 ·99template<class·T>
 75 100using·ResolveRef_t·=·std::remove_reference_t<decltype(Dune::resolveRef(std::
 76 declval<T&>()))>;
 77 ·101
62 89·DUNE_INLINE_VARIABLE·constexpr·index_constant<12>·_12·=·{}; 
63 ·90 
64 92·DUNE_INLINE_VARIABLE·constexpr·index_constant<13>·_13·=·{}; 
65 ·93 
66 95·DUNE_INLINE_VARIABLE·constexpr·index_constant<14>·_14·=·{}; 
67 ·96 
68 98·DUNE_INLINE_VARIABLE·constexpr·index_constant<15>·_15·=·{}; 
69 ·99 
70 101·DUNE_INLINE_VARIABLE·constexpr·index_constant<16>·_16·=·{}; 
71 ·10278 ·102
72 104·DUNE_INLINE_VARIABLE·constexpr·index_constant<17>·_17·=·{};79 ·103}·//·namespace·Dune
 80 ·104
73 ·10581 ·105
74 107·DUNE_INLINE_VARIABLE·constexpr·index_constant<18>·_18·=·{}; 
75 ·10882 ·106
 83 ·107#endif·//·DUNE_COMMON_REFERENCE_HELPER_HH
 84 Dune::IsReferenceWrapper_v
 85 constexpr·bool·IsReferenceWrapper_v
 86 Helper·to·detect·if·given·type·is·a·std::reference_wrapper.
 87 Definition·referencehelper.hh:35
 88 Dune::resolveRef
Max diff block lines reached; 363/7560 bytes (4.80%) of diff not shown.
12.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 66 lines modifiedOffset 70, 33 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124; 
78 <a·href="#func-members">Functions</a>··</div>77 <a·href="#define-members">Macros</a>··</div>
79 ··<div·class="headertitle"><div·class="title">fmatrixev.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">boundschecking.hh·File·Reference</div></div>
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
  
82 <p>Eigenvalue·computations·for·the·FieldMatrix·class.··81 <p>Macro·for·wrapping·boundary·checks.··
83 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/> 
85 <code>#include·&lt;iostream&gt;</code><br·/> 
86 <code>#include·&lt;cmath&gt;</code><br·/> 
87 <code>#include·&lt;cassert&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
92 </div>84 </div>
93 <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">86 <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"·id="r_a00425"><td·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 <tr·class="memitem:a00436"·id="r_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> 
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>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
104 Functions</h2></td></tr>88 Macros</h2></td></tr>
 89 <tr·class="memitem:ga75d4ba5883cb39e7ec7927891a12615e"·id="r_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>
 90 <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.··<br·/></td></tr>
105 <tr·class="memitem:a86eafff72a6c52bec8aa92e191f08887"·id="r_a86eafff72a6c52bec8aa92e191f08887"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
106 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;eigenValues)</td></tr> 
107 <tr·class="memdesc:a86eafff72a6c52bec8aa92e191f08887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<br·/></td></tr> 
108 <tr·class="separator:a86eafff72a6c52bec8aa92e191f08887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:ae35eb55b361af2d69d419f3b6ecf4d2c"·id="r_ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
110 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr> 
111 <tr·class="memdesc:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field·matrix··<br·/></td></tr> 
112 <tr·class="separator:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:a96fe2783815b8f97773279ed069cf1d8"·id="r_a96fe2783815b8f97773279ed069cf1d8"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
114 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>)</td></tr> 
115 <tr·class="memdesc:a96fe2783815b8f97773279ed069cf1d8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<br·/></td></tr> 
116 <tr·class="separator:a96fe2783815b8f97773279ed069cf1d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:afe77be4b948169fdcebb318248023920"·id="r_afe77be4b948169fdcebb318248023920"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
118 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr> 
119 <tr·class="memdesc:afe77be4b948169fdcebb318248023920"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field·matrix··<br·/></td></tr> 
120 <tr·class="separator:afe77be4b948169fdcebb318248023920"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a72135a64a9d7252dbcf26664c5810cce"·id="r_a72135a64a9d7252dbcf26664c5810cce"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·,·class·C·&gt;·</td></tr> 
122 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·C,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>)</td></tr> 
123 <tr·class="memdesc:a72135a64a9d7252dbcf26664c5810cce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·non-symmetric·field·matrix··<br·/></td></tr> 
124 <tr·class="separator:a72135a64a9d7252dbcf26664c5810cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 </table>92 </table>
126 <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>
127 <div·class="textblock"><p>Eigenvalue·computations·for·the·FieldMatrix·class.·</p>94 <div·class="textblock"><p>Macro·for·wrapping·boundary·checks.·</p>
128 </div></div><!--·contents·-->95 </div></div><!--·contents·-->
129 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
130 <hr·class="footer"/><address·class="footer"><small>97 <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.898 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
132 </small></address>99 </small></address>
133 </body>100 </body>
134 </html>101 </html>
2.44 KB
html2text {}
    
Offset 6, 60 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Macros
 13 boundschecking.hh·File·Reference
 14 Macro·for·wrapping·boundary·checks.·More...
12 Namespaces·|·Functions 
13 fmatrixev.hh·File·Reference 
14 Eigenvalue·computations·for·the·FieldMatrix·class.·More... 
15 #include·<algorithm> 
16 #include·<iostream> 
17 #include·<cmath> 
18 #include·<cassert> 
19 #include·<dune/common/exceptions.hh>15 #include·<dune/common/exceptions.hh>
20 #include·<dune/common/fvector.hh> 
21 #include·<dune/common/fmatrix.hh> 
22 #include·<dune/common/math.hh> 
23 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
 17 ·Macros
 18 #define DUNE_ASSERT_BOUNDS(cond)
 19  ·······If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds;
 20 ·········otherwise,·do·nothing.
24 ·Namespaces 
25 namespace· Dune 
26  ··········Dune·namespace. 
27   
28 namespace· Dune::FMatrixHelp 
29   
30 ·Functions 
31 template<int·dim,·typename·K·> 
32 static·void Dune::FMatrixHelp::eigenValues·(const·FieldMatrix<·K,·dim,·dim·> 
33 ·············&matrix,·FieldVector<·K,·dim·>·&eigenValues) 
34  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix 
35   
36 template<int·dim,·typename·K·> 
37 static·void Dune::FMatrixHelp::eigenValuesVectors·(const·FieldMatrix<·K,·dim, 
38 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues,·FieldMatrix<·K, 
39 ·············dim,·dim·>·&eigenVectors) 
40  ···········calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field 
41 ·············matrix 
42   
43 template<int·dim,·typename·K·> 
44 static·void Dune::FMatrixHelp::eigenValuesLapack·(const·FieldMatrix<·K,·dim, 
45 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues) 
46  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix 
47   
48 template<int·dim,·typename·K·> 
49 static·void Dune::FMatrixHelp::eigenValuesVectorsLapack·(const·FieldMatrix<·K, 
50 ·············dim,·dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues, 
51 ·············FieldMatrix<·K,·dim,·dim·>·&eigenVectors) 
52  ···········calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field 
53 ·············matrix 
54   
55 template<int·dim,·typename·K·,·class·C·> 
56 static·void Dune::FMatrixHelp::eigenValuesNonSym·(const·FieldMatrix<·K,·dim, 
57 ·············dim·>·&matrix,·FieldVector<·C,·dim·>·&eigenValues) 
58  ···········calculates·the·eigenvalues·of·a·non-symmetric·field·matrix 
59  21  
60 *****·Detailed·Description·*****22 *****·Detailed·Description·*****
61 Eigenvalue·computations·for·the·FieldMatrix·class.23 Macro·for·wrapping·boundary·checks.
  
62 ===============================================================================24 ===============================================================================
63 ·····Generated·by [doxygen]·1.9.825 ·····Generated·by [doxygen]·1.9.8
134 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 640 lines modifiedOffset 74, 44 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">fmatrixev.hh</div></div>80 ··<div·class="headertitle"><div·class="title">boundschecking.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FMATRIXEIGENVALUES_HH</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_BOUNDSCHECKING_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FMATRIXEIGENVALUES_HH</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_BOUNDSCHECKING_HH</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifndef·DUNE_ASSERT_BOUNDS</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>91 <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>
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/fmatrix.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00386.html">dune/common/math.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
100 <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> 
101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>FMatrixHelp·{</div> 
103 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
104 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div> 
105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·defined·in·fmatrixev.cc</span></div> 
106 <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> 
107 <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> 
108 <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> 
109 <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> 
110 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
111 <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> 
112 <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> 
113 <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> 
114 <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> 
115 <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> 
116 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
117 <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> 
118 <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> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
122 <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> 
123 <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> 
124 <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> 
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
128 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="preprocessor">#endif</span></div> 
129 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
130 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">namespace·</span>Impl·{</div> 
131 <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> 
132 <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> 
133 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
134 <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> 
135 <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> 
136 <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> 
137 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
138 <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> 
139 <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> 
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······}</div> 
143 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
144 <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> 
145 <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> 
146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····································FieldVector&lt;K,·2&gt;&amp;·eigenvalues)</div> 
147 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div> 
148 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">using·</span>std::sqrt;</div> 
149 <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> 
150 <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> 
151 <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> 
152 <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> 
153 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<span·class="keywordflow">if</span>·(q·&lt;·0)</div> 
154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········{</div> 
155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········std::cout·&lt;&lt;·matrix·&lt;&lt;·std::endl;</div> 
156 <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> 
157 <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> 
158 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div> 
159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="comment">//·get·square·root</span></div> 
161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········q·=·sqrt(q);</div> 
162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="comment">//·store·eigenvalues·in·ascending·order</span></div> 
164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········eigenvalues[0]·=·p·-·q;</div> 
165 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········eigenvalues[1]·=·p·+·q;</div> 
166 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div> 
167 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
168 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="comment">/*</span></div> 
169 <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> 
170 <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> 
171 <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> 
172 <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> 
173 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">··········Communications·of·the·ACM·4·(4):·168,·doi:10.1145/355578.366316</span></div> 
174 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">······*/</span></div> 
175 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K&gt;</div> 
176 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keyword">static</span>·K·eigenValues3dImpl(<span·class="keyword">const</span>·FieldMatrix&lt;K,·3,·3&gt;&amp;·matrix,</div> 
177 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>································FieldVector&lt;K,·3&gt;&amp;·eigenvalues)</div> 
178 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······{</div> 
179 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········<span·class="keyword">using·</span>std::sqrt;</div> 
180 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········<span·class="keyword">using·</span>std::acos;</div> 
Max diff block lines reached; 271/111708 bytes (0.24%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
24.4 KB
html2text {}
    
Offset 7, 712 lines modifiedOffset 7, 39 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 fmatrixev.hh12 boundschecking.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root15 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_FMATRIXEIGENVALUES_HH 
20 ·6#define·DUNE_FMATRIXEIGENVALUES_HH17 ·3#ifndef·DUNE_BOUNDSCHECKING_HH
 18 ·4#define·DUNE_BOUNDSCHECKING_HH
 19 ·5
 20 ·6#include·<dune/common/exceptions.hh>
21 ·721 ·7
 22 ·19#ifndef·DUNE_ASSERT_BOUNDS
 23 ·20#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)
22 ·12#include·<algorithm> 
23 ·13#include·<iostream> 
24 ·14#include·<cmath> 
25 ·15#include·<cassert> 
26 ·16 
27 ·17#include·<dune/common/exceptions.hh> 
28 ·18#include·<dune/common/fvector.hh> 
29 ·19#include·<dune/common/fmatrix.hh> 
30 ·20#include·<dune/common/math.hh> 
31 ·2124 ·21
 25 30#define·DUNE_ASSERT_BOUNDS(cond)·\
 26 ·31·do·{·\
 27 ·32·if·(!(cond))·\
 28 ·33·DUNE_THROW(Dune::RangeError,·"Index·out·of·bounds.");·\
 29 ·34·}·while·(false)
32 ·22namespace·Dune·{ 
33 ·23 
34 ·29·namespace·FMatrixHelp·{ 
35 ·30 
36 ·31#if·HAVE_LAPACK 
37 ·32·//·defined·in·fmatrixev.cc 
38 ·33·extern·void·eigenValuesLapackCall( 
39 ·34·const·char*·jobz,·const·char*·uplo,·const·long 
40 ·35·int*·n,·double*·a,·const·long·int*·lda,·double*·w, 
41 ·36·double*·work,·const·long·int*·lwork,·long·int*·info); 
42 ·37 
43 ·38·extern·void·eigenValuesNonsymLapackCall( 
44 ·39·const·char*·jobvl,·const·char*·jobvr,·const·long 
45 ·40·int*·n,·double*·a,·const·long·int*·lda,·double*·wr,·double*·wi,·double*·vl, 
46 ·41·const·long·int*·ldvl,·double*·vr,·const·long·int*·ldvr,·double*·work, 
47 ·42·const·long·int*·lwork,·long·int*·info); 
48 ·43 
49 ·44·extern·void·eigenValuesLapackCall( 
50 ·45·const·char*·jobz,·const·char*·uplo,·const·long 
51 ·46·int*·n,·float*·a,·const·long·int*·lda,·float*·w, 
52 ·47·float*·work,·const·long·int*·lwork,·long·int*·info); 
53 ·48 
54 ·49·extern·void·eigenValuesNonsymLapackCall( 
55 ·50·const·char*·jobvl,·const·char*·jobvr,·const·long 
56 ·51·int*·n,·float*·a,·const·long·int*·lda,·float*·wr,·float*·wi,·float*·vl, 
57 ·52·const·long·int*·ldvl,·float*·vr,·const·long·int*·ldvr,·float*·work, 
58 ·53·const·long·int*·lwork,·long·int*·info); 
59 ·54 
60 ·55#endif 
61 ·56 
62 ·57·namespace·Impl·{ 
63 ·58·//internal·tag·to·activate/disable·code·for·eigenvector·calculation·at 
64 compile·time 
65 ·59·enum·Jobs·{·OnlyEigenvalues=0,·EigenvaluesEigenvectors=1·}; 
66 ·60 
67 ·61·//internal·dummy·used·if·only·eigenvalues·are·to·be·calculated 
68 ·62·template<typename·K,·int·dim> 
69 ·63·using·EVDummy·=·FieldMatrix<K,·dim,·dim>; 
70 ·64 
71 ·65·//compute·the·cross-product·of·two·vectors 
72 ·66·template<typename·K> 
73 ·67·inline·FieldVector<K,3>·crossProduct(const·FieldVector<K,3>&·vec0,·const 
74 FieldVector<K,3>&·vec1)·{ 
75 ·68·return·{vec0[1]*vec1[2]·-·vec0[2]*vec1[1],·vec0[2]*vec1[0]·-·vec0[0]*vec1 
76 [2],·vec0[0]*vec1[1]·-·vec0[1]*vec1[0]}; 
77 ·69·} 
78 ·70 
79 ·71·template·<typename·K> 
80 ·72·static·void·eigenValues2dImpl(const·FieldMatrix<K,·2,·2>&·matrix, 
81 ·73·FieldVector<K,·2>&·eigenvalues) 
82 ·74·{ 
83 ·75·using·std::sqrt; 
84 ·76·const·K·p·=·0.5·*·(matrix[0][0]·+·matrix·[1][1]); 
85 ·77·const·K·p2·=·p·-·matrix[1][1]; 
86 ·78·K·q·=·p2·*·p2·+·matrix[1][0]·*·matrix[0][1]; 
87 ·79·if(·q·<·0·&&·q·>·-1e-14·)·q·=·0; 
88 ·80·if·(q·<·0) 
89 ·81·{ 
90 ·82·std::cout·<<·matrix·<<·std::endl; 
91 ·83·//·Complex·eigenvalues·are·either·caused·by·non-symmetric·matrices·or·by 
92 round-off·errors 
93 ·84·DUNE_THROW(MathError,·"Complex·eigenvalue·detected·(which·this 
94 implementation·cannot·handle)."); 
95 ·85·} 
96 ·86 
97 ·87·//·get·square·root 
98 ·88·q·=·sqrt(q); 
99 ·89 
100 ·90·//·store·eigenvalues·in·ascending·order 
101 ·91·eigenvalues[0]·=·p·-·q; 
102 ·92·eigenvalues[1]·=·p·+·q; 
103 ·93·} 
104 ·94 
105 ·95·/* 
106 ·96·This·implementation·was·adapted·from·the·pseudo-code·(Python?) 
107 implementation·found·on 
108 ·97·http://en.wikipedia.org/wiki/Eigenvalue_algorithm·(retrieved·late·August 
109 2014). 
110 ·98·Wikipedia·claims·to·have·taken·it·from 
111 ·99·Smith,·Oliver·K.·(April·1961),·Eigenvalues·of·a·symmetric·3·×·3·matrix., 
112 ·100·Communications·of·the·ACM·4·(4):·168,·doi:10.1145/355578.366316 
113 ·101·*/ 
114 ·102·template·<typename·K> 
115 ·103·static·K·eigenValues3dImpl(const·FieldMatrix<K,·3,·3>&·matrix, 
116 ·104·FieldVector<K,·3>&·eigenvalues) 
117 ·105·{ 
118 ·106·using·std::sqrt; 
119 ·107·using·std::acos; 
120 ·108·using·real_type·=·typename·FieldTraits<K>::real_type; 
121 ·109·const·K·pi·=·MathematicalConstants<K>::pi(); 
Max diff block lines reached; 2656/24980 bytes (10.63%) of diff not shown.
61.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00083.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 45 lines modifiedOffset 70, 776 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#define-members">Macros</a>··</div>
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">lru.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">version.hh·File·Reference</div></div>
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
  
82 <p>LRU·Cache·Container,·using·an·STL·like·interface.··81 <p>Various·macros·to·work·with·Dune·module·version·numbers.··
83 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
  
84 <div·class="textblock"><code>#include·&lt;list&gt;</code><br·/> 
85 <code>#include·&lt;utility&gt;</code><br·/> 
86 <code>#include·&lt;map&gt;</code><br·/> 
87 <code>#include·&lt;memory&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
89 </div> 
90 <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">84 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html">Dune::lru&lt;·Key,·Tp,·Traits·&gt;</a></td></tr> 
95 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">LRU·Cache·Container.··<a·href="a01896.html#details">More...</a><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="namespaces"·name="namespaces"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
99 Namespaces</h2></td></tr>86 Macros</h2></td></tr>
100 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memdesc: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="memitem:a229e35109d69cff060df5c80e71f3d73"·id="r_a229e35109d69cff060df5c80e71f3d73"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73[·...·truncated·by·diffoscope;·len:·83,·SHA:·a6c285a21325cc3be4636f986e4ae673e72b18721a4d6ab763f22abf2407f86c·...·]</td></tr>
 88 <tr·class="memdesc:a229e35109d69cff060df5c80e71f3d73"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.··<br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a229e35109d69cff060df5c80e71f3d73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:ab25a714acc2ab9e565053cb523054a95"·id="r_ab25a714acc2ab9e565053cb523054a95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#ab25a714acc2ab9e565053cb523054a95">DUNE_VERSION_EQUAL</a>(module,··major,··minor)</td></tr>
 91 <tr·class="memdesc:ab25a714acc2ab9e565053cb523054a95"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.··<br·/></td></tr>
 92 <tr·class="separator:ab25a714acc2ab9e565053cb523054a95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:a860ad2275fe1229fe01d9992a6685fe7"·id="r_a860ad2275fe1229fe01d9992a6685fe7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a860ad2275fe1229fe01d9992a6685fe7">DUNE_VERSION_EQUAL_REV</a>(module,··major,··minor,··revision)</td></tr>
 94 <tr·class="memdesc:a860ad2275fe1229fe01d9992a6685fe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision.··<br·/></td></tr>
 95 <tr·class="separator:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:ae9c7fb3f1d0d68848c2b03cf45a5f620"·id="r_ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,··major,··minor)</td></tr>
 97 <tr·class="memdesc:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·greater.··<br·/></td></tr>
 98 <tr·class="separator:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:a989ea73953b5d09cb17675d64233a15b"·id="r_a989ea73953b5d09cb17675d64233a15b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a989ea73953b5d09cb17675d64233a15b">DUNE_VERSION_LT</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00083.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr>
 100 <tr·class="memdesc:a989ea73953b5d09cb17675d64233a15b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·major.minor.··<br·/></td></tr>
 101 <tr·class="separator:a989ea73953b5d09cb17675d64233a15b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:a3ff6f986ce87d82c20da62e6355cf520"·id="r_a3ff6f986ce87d82c20da62e6355cf520"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a3ff6f986ce87d82c20da62e6355cf520">DUNE_VERSION_NEWER</a>(module,··major,··minor)&#160;&#160;&#160;··<a·class="el"·href="a00083.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr>
 103 <tr·class="memdesc:a3ff6f986ce87d82c20da62e6355cf520"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·newer.··<br·/></td></tr>
 104 <tr·class="separator:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a4221602addcd43bfc16992d83eaab73b"·id="r_a4221602addcd43bfc16992d83eaab73b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,··major,··minor)</td></tr>
 106 <tr·class="memdesc:a4221602addcd43bfc16992d83eaab73b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·greater·than·major.minor.··<br·/></td></tr>
 107 <tr·class="separator:a4221602addcd43bfc16992d83eaab73b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:a30a27a1b8996420c55ed3c6009a62253"·id="r_a30a27a1b8996420c55ed3c6009a62253"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a30a27a1b8996420c55ed3c6009a62253">DUNE_VERSION_LTE</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00083.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,major,minor)</td></tr>
 109 <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.··<br·/></td></tr>
 110 <tr·class="separator:a30a27a1b8996420c55ed3c6009a62253"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a95ef2ff0c01c2b1add28f5d4a55e6904"·id="r_a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,··major,··minor,··revision)</td></tr>
 112 <tr·class="memdesc:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·greater.··<br·/></td></tr>
 113 <tr·class="separator:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:a475b789ab8bce20d26045e337955a52b"·id="r_a475b789ab8bce20d26045e337955a52b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a475b789ab8bce20d26045e337955a52b">DUNE_VERSION_LT_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00083.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr>
 115 <tr·class="memdesc:a475b789ab8bce20d26045e337955a52b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·lower·than·major.minor.revision.··<br·/></td></tr>
 116 <tr·class="separator:a475b789ab8bce20d26045e337955a52b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:a5b004009c0c7997b2330992534942c3b"·id="r_a5b004009c0c7997b2330992534942c3b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a5b004009c0c7997b2330992534942c3b">DUNE_VERSION_NEWER_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··<a·class="el"·href="a00083.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr>
 118 <tr·class="memdesc:a5b004009c0c7997b2330992534942c3b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·newer.··<br·/></td></tr>
 119 <tr·class="separator:a5b004009c0c7997b2330992534942c3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:ab892e2a1845da3fb29c5fb0cbe4d413f"·id="r_ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,··major,··minor,··revision)</td></tr>
 121 <tr·class="memdesc:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·greater·version·than·major.minor.revision.··<br·/></td></tr>
 122 <tr·class="separator:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a3e5db809b447136ea37c9c2ab3ea8c52"·id="r_a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a3e5db809b447136ea37c9c2ab3ea8c52">DUNE_VERSION_LTE_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00083.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,major,minor,revision)</td></tr>
 124 <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.··<br·/></td></tr>
 125 <tr·class="separator:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:ae3ff9d66de4e43cbc5e67743013977c9"·id="r_ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.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>
 127 <tr·class="memdesc:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.··<br·/></td></tr>
 128 <tr·class="separator:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:a2c5026c661a32b8cb9e0f92a4515c6c6"·id="r_a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a2c5026c661a32b8cb9e0f92a4515c6c6">DUNE_MODULE_VERSION_ID</a>(module)&#160;&#160;&#160;··<a·class="el"·href="a00083.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td></tr>
 130 <tr·class="memdesc:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·for·the·given·module.··<br·/></td></tr>
 131 <tr·class="separator:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table>132 </table>
104 <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>
105 <div·class="textblock"><p>LRU·Cache·Container,·using·an·STL·like·interface.·</p> 
106 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>134 <div·class="textblock"><p>Various·macros·to·work·with·Dune·module·version·numbers.·</p>
 135 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 136 <a·id="a2c5026c661a32b8cb9e0f92a4515c6c6"·name="a2c5026c661a32b8cb9e0f92a4515c6c6"></a>
 137 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c5026c661a32b8cb9e0f92a4515c6c6">&#9670;&#160;</a></span>DUNE_MODULE_VERSION_ID</h2>
  
 138 <div·class="memitem">
 139 <div·class="memproto">
 140 ······<table·class="memname">
 141 ········<tr>
 142 ··········<td·class="memname">#define·DUNE_MODULE_VERSION_ID</td>
 143 ··········<td>(</td>
 144 ··········<td·class="paramtype">&#160;</td>
 145 ··········<td·class="paramname">module</td><td>)</td>
 146 ··········<td>&#160;&#160;&#160;··<a·class="el"·href="a00083.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td>
 147 ········</tr>
 148 ······</table>
 149 </div><div·class="memdoc">
  
 150 <p>Compute·a·unique·uint·id·for·the·given·module.·</p>
 151 <p>For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:</p><ul>
 152 <li>DUNE_COMMON·for·dune-common</li>
 153 <li>DUNE_GRID·for·dune-grid</li>
 154 <li>DUNE_GEOMETRY·for·dune-geometry</li>
 155 <li>DUNE_ISTL·for·dune-istl</li>
 156 <li>DUNE_LOCALFUNCTIONS·for·dune-localfunctions</li>
 157 </ul>
 158 <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>
  
 159 </div>
Max diff block lines reached; 243/46279 bytes (0.53%) of diff not shown.
15.9 KB
html2text {}
    
Offset 6, 31 lines modifiedOffset 6, 345 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Macros
13 lru.hh·File·Reference13 version.hh·File·Reference
 14 Various·macros·to·work·with·Dune·module·version·numbers.·More...
14 LRU·Cache·Container,·using·an·STL·like·interface.·More... 
15 #include·<list> 
16 #include·<utility> 
17 #include·<map> 
18 #include·<memory> 
19 #include·<dune/common/exceptions.hh> 
20 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
21 ·Classes 
22 class· Dune::lru<_Key,_Tp,_Traits_> 
23  ······LRU·Cache·Container.·More...16 ·Macros
 17 #define DUNE_VERSION_JOIN(module,·type)   module·##·_VERSION_·##·type
 18  ·······Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.
24  19  
25 ·Namespaces 
26 namespace· Dune 
27  ··········Dune·namespace.20 #define DUNE_VERSION_EQUAL(module,·major,·minor)
 21  ·······True·if·'module'·has·the·version·major.minor.
 22  
 23 #define DUNE_VERSION_EQUAL_REV(module,·major,·minor,·revision)
 24  ·······True·if·'module'·has·the·version·major.minor.revision.
 25  
 26 #define DUNE_VERSION_GTE(module,·major,·minor)
 27  ·······True·if·'module'·has·the·version·major.minor·or·greater.
 28  
 29 #define DUNE_VERSION_LT(module,·major,·minor)   ·!·DUNE_VERSION_GTE(module,major,minor)
 30  ·······True·if·'module'·has·a·version·less·than·major.minor.
 31  
 32 #define DUNE_VERSION_NEWER(module,·major,·minor)   ·DUNE_VERSION_GTE(module,major,minor)
 33  ·······True·if·'module'·has·the·version·major.minor·or·newer.
 34  
 35 #define DUNE_VERSION_GT(module,·major,·minor)
 36  ·······True·if·'module'·has·a·version·greater·than·major.minor.
 37  
 38 #define DUNE_VERSION_LTE(module,·major,·minor)   ·!·DUNE_VERSION_GT(module,major,minor)
 39  ·······True·if·'module'·has·a·version·less·than·or·equal·to·major.minor.
 40  
 41 #define DUNE_VERSION_GTE_REV(module,·major,·minor,·revision)
 42  ·······True·if·'module'·has·the·version·major.minor.revision·or·greater.
 43  
 44 #define DUNE_VERSION_LT_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GTE_REV
 45 ·········(module,major,minor,revision)
 46  ·······True·if·'module'·has·a·version·lower·than·major.minor.revision.
 47  
 48 #define DUNE_VERSION_NEWER_REV(module,·major,·minor,·revision)   ·DUNE_VERSION_GTE_REV
 49 ·········(module,major,minor,revision)
 50  ·······True·if·'module'·has·the·version·major.minor.revision·or·newer.
 51  
 52 #define DUNE_VERSION_GT_REV(module,·major,·minor,·revision)
 53  ·······True·if·'module'·has·a·greater·version·than·major.minor.revision.
 54  
 55 #define DUNE_VERSION_LTE_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GT_REV
 56 ·········(module,major,minor,revision)
 57  ·······True·if·'module'·has·a·version·lower·or·equal·to·major.minor.revision.
 58  
 59 #define DUNE_VERSION_ID(major,·minor,·revision)   ·((unsigned·int)((major·<<·24)·+·(minor
 60 ·········<<·16)·+·revision))
 61  ·······Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.
 62  
 63 #define DUNE_MODULE_VERSION_ID(module)   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN
 64 ·········(module,MAJOR),·DUNE_VERSION_JOIN(module,MINOR),·DUNE_VERSION_JOIN
 65 ·········(module,REVISION)·)
 66  ·······Compute·a·unique·uint·id·for·the·given·module.
28  67  
29 *****·Detailed·Description·*****68 *****·Detailed·Description·*****
30 LRU·Cache·Container,·using·an·STL·like·interface. 
31 ··Author 
32 ······Christian·Engwer69 Various·macros·to·work·with·Dune·module·version·numbers.
 70 *****·Macro·Definition·Documentation·*****
 71 *****·◆ DUNE_MODULE_VERSION_ID·*****
 72 #define················(· module·)·   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN
 73 DUNE_MODULE_VERSION_ID··············(module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·)
 74 Compute·a·unique·uint·id·for·the·given·module.
 75 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 76 ····*·DUNE_COMMON·for·dune-common
 77 ····*·DUNE_GRID·for·dune-grid
 78 ····*·DUNE_GEOMETRY·for·dune-geometry
 79 ····*·DUNE_ISTL·for·dune-istl
 80 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 81 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 82 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
 83 module·name·in·the·context·of·this·macro.
 84 *****·◆ DUNE_VERSION_EQUAL·*****
 85 #define·DUNE_VERSION_EQUAL·(· module,
 86 ····························· major,
 87 ····························· minor 
 88 ···························)
 89 Value:
 90 ((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·\
 91 (DUNE_VERSION_JOIN(module,MINOR)·==·minor))
 92 DUNE_VERSION_JOIN
 93 #define·DUNE_VERSION_JOIN(module,·type)
 94 Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.
 95 Definition·version.hh:28
 96 True·if·'module'·has·the·version·major.minor.
 97 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 98 ····*·DUNE_COMMON·for·dune-common
 99 ····*·DUNE_GRID·for·dune-grid
 100 ····*·DUNE_GEOMETRY·for·dune-geometry
 101 ····*·DUNE_ISTL·for·dune-istl
 102 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 103 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 104 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
 105 module·name·in·the·context·of·this·macro.
 106 *****·◆ DUNE_VERSION_EQUAL_REV·*****
 107 #define·DUNE_VERSION_EQUAL_REV·(· module,
 108 ································· major,
 109 ································· minor,
 110 ································· revision 
 111 ·······························)
 112 Value:
 113 (·DUNE_VERSION_EQUAL(module,major,minor)·&&·\
 114 (DUNE_VERSION_JOIN(module,REVISION)·==·revision))
 115 DUNE_VERSION_EQUAL
 116 #define·DUNE_VERSION_EQUAL(module,·major,·minor)
 117 True·if·'module'·has·the·version·major.minor.
 118 Definition·version.hh:44
 119 True·if·'module'·has·the·version·major.minor.revision.
Max diff block lines reached; 116/16305 bytes (0.71%) of diff not shown.
59.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 238 lines modifiedOffset 74, 107 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">lru.hh</div></div>80 ··<div·class="headertitle"><div·class="title">version.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LRU_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_VERSION_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_LRU_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_VERSION_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">···28</a></span><span·class="preprocessor">#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;list&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <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="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
99 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>{</div> 
100 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
101 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="comment">/*</span></div> 
102 <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> 
103 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·····*/</span></div> 
104 <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> 
105 <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> 
106 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">struct·</span>_lru_default_traits</div> 
107 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div> 
108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keyword">typedef</span>·Key·key_type;</div> 
109 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">typedef</span>·Alloc·allocator;</div> 
110 <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> 
111 <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> 
112 <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> 
113 <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> 
114 <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> 
115 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····};</div> 
116 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
117 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}·<span·class="comment">//·end·empty·namespace</span></div> 
118 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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">typename</span>·Key,·<span·class="keyword">typename</span>·Tp,</div> 
120 <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> 
121 <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="};"> 
122 <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> 
123 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> 
124 <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> 
125 <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> 
126 <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> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
130 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div> 
131 <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> 
132 <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> 
133 <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> 
134 <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> 
135 <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> 
136 <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> 
137 <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> 
138 <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> 
139 <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> 
140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
141 <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}">92 <div·class="foldopen"·id="foldopen00044"·data-start=""·data-end="">
 93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00083.html#ab25a714acc2ab9e565053cb523054a95">···44</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL(module,major,minor)·\</span></div>
 94 <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>
 95 <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>
142 <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> 
143 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div> 
144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·_data.front().second;</div> 
145 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
146 </div>96 </div>
147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
148 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}">98 <div·class="foldopen"·id="foldopen00062"·data-start=""·data-end="">
149 <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:·96,·SHA:·7d59ed4e366cf497ea718c849183905faffeb32bb127dd17a8ca31f8d3516879·...·]</span></div>99 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00083.html#a860ad2275fe1229fe01d9992a6685fe7">···62</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL_REV(module,major,minor,revision)·\</span></div>
 100 <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>
150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">····</span>{</div>101 <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>
151 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keywordflow">return</span>·_data.front().second;</div> 
152 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> 
153 </div>102 </div>
154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>103 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
155 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}">104 <div·class="foldopen"·id="foldopen00080"·data-start=""·data-end="">
 105 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00083.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">···80</a></span><span·class="preprocessor">#define·DUNE_VERSION_GTE(module,major,minor)·\</span></div>
 106 <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>
 107 <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>
156 <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> 
157 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> 
158 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordflow">return</span>·_data.back().second;</div> 
159 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····}</div> 
160 </div>108 </div>
161 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>109 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
162 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}">110 <div·class="foldopen"·id="foldopen00098"·data-start=""·data-end="">
163 <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_funct[·...·truncated·by·diffoscope;·len:·152,·SHA:·fcabe22e63ad85edb790c25bb71780862e5b70bb0d64d331de77d73a6c24cdd2·...·]</span></div>111 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00083.html#a989ea73953b5d09cb17675d64233a15b">···98</a></span><span·class="preprocessor">#define·DUNE_VERSION_LT(module,major,minor)·\</span></div>
164 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">····</span>{</div>112 <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>
165 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">return</span>·_data.back().second;</div> 
166 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div> 
167 </div>113 </div>
168 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>114 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
169 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
170 <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}">115 <div·class="foldopen"·id="foldopen00116"·data-start=""·data-end="">
 116 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00083.html#a3ff6f986ce87d82c20da62e6355cf520">··116</a></span><span·class="preprocessor">#define·DUNE_VERSION_NEWER(module,major,minor)·\</span></div>
 117 <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>
171 <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> 
172 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div> 
173 <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> 
Max diff block lines reached; 271/51431 bytes (0.53%) of diff not shown.
9.52 KB
html2text {}
    
Offset 7, 269 lines modifiedOffset 7, 82 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 lru.hh12 version.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_LRU_HH19 ·5#ifndef·DUNE_VERSION_HH
20 ·6#define·DUNE_COMMON_LRU_HH20 ·6#define·DUNE_VERSION_HH
21 ·721 ·7
 22 28#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type
22 ·8#include·<list> 
23 ·9#include·<utility> 
24 ·10#include·<map> 
25 ·11#include·<memory> 
26 ·12 
27 ·13#include·<dune/common/exceptions.hh> 
28 ·14 
29 ·20namespace·Dune·{ 
30 ·21 
31 ·22·namespace·{ 
32 ·23 
33 ·24·/* 
34 ·25·hide·the·default·traits·in·an·empty·namespace 
35 ·26·*/ 
36 ·27·template·<typename·Key,·typename·Tp, 
37 ·28·typename·Alloc·=·std::allocator<Tp>·> 
38 ·29·struct·_lru_default_traits 
39 ·30·{ 
40 ·31·typedef·Key·key_type; 
41 ·32·typedef·Alloc·allocator; 
42 ·33·typedef·std::list<·std::pair<Key,·Tp>·>·list_type; 
43 ·34·typedef·typename·list_type::iterator·iterator; 
44 ·35·typedef·typename·std::less<key_type>·cmp; 
45 ·36·typedef·std::map<·key_type,·iterator,·cmp, 
46 ·37·typename·std::allocator_traits<allocator>::template·rebind_alloc<std:: 
47 pair<const·key_type,·iterator>·>·>·map_type; 
48 ·38·}; 
49 ·39 
50 ·40·}·//·end·empty·namespace 
51 ·41 
52 ·49·template·<typename·Key,·typename·Tp, 
53 ·50·typename·Traits·=·_lru_default_traits<Key,·Tp>·> 
54 51·class·lru 
55 ·52·{ 
56 ·53·typedef·typename·Traits::list_type·list_type; 
57 ·54·typedef·typename·Traits::map_type·map_type; 
58 ·55·typedef·typename·Traits::allocator·allocator; 
59 ·56·typedef·typename·map_type::iterator·map_iterator; 
60 ·57·typedef·typename·map_type::const_iterator·const_map_iterator; 
61 ·58 
62 ·59·public: 
63 60·typedef·typename·Traits::key_type·key_type; 
64 61·typedef·typename·allocator::value_type·value_type; 
65 62·using·pointer·=·typename·allocator::value_type*; 
66 63·using·const_pointer·=·typename·allocator::value_type·const*; 
67 64·using·const_reference·=·typename·allocator::value_type·const&; 
68 65·using·reference·=·typename·allocator::value_type&; 
69 66·typedef·typename·allocator::size_type·size_type; 
70 67·typedef·typename·list_type::iterator·iterator; 
71 68·typedef·typename·list_type::const_iterator·const_iterator; 
72 ·69 
73 74·reference·front() 
74 ·75·{ 
75 ·76·return·_data.front().second; 
76 ·77·} 
77 ·78 
78 83·const_reference·front()·const 
79 ·84·{ 
80 ·85·return·_data.front().second; 
81 ·86·} 
82 ·87 
83 92·reference·back() 
84 ·93·{ 
85 ·94·return·_data.back().second; 
86 ·95·} 
87 ·96 
88 101·const_reference·back·([[maybe_unused]]·int·i)·const 
89 ·102·{ 
90 ·103·return·_data.back().second; 
91 ·104·} 
92 ·105 
93 ·106 
94 110·void·pop_front() 
95 ·111·{ 
96 ·112·key_type·k·=·_data.front().first; 
97 ·113·_data.pop_front(); 
98 ·114·_index.erase(k); 
99 ·115·} 
100 119·void·pop_back() 
101 ·120·{ 
102 ·121·key_type·k·=·_data.back().first; 
103 ·122·_data.pop_back(); 
104 ·123·_index.erase(k); 
105 ·124·} 
106 ·125 
107 131·iterator·find·(const·key_type·&·key) 
108 ·132·{ 
109 ·133·const·map_iterator·it·=·_index.find(key); 
110 ·134·if·(it·==·_index.end())·return·_data.end(); 
111 ·135·return·it->second; 
112 ·136·} 
113 ·137 
114 143·const_iterator·find·(const·key_type·&·key)·const 
115 ·144·{ 
116 ·145·const·map_iterator·it·=·_index.find(key); 
117 ·146·if·(it·==·_index.end())·return·_data.end(); 
118 ·147·return·it->second; 
119 ·148·} 
120 ·149 
121 161·reference·insert·(const·key_type·&·key,·const_reference·data) 
122 ·162·{ 
123 ·163·std::pair<key_type,·value_type>·x(key,·data); 
124 ·164·/*·insert·item·as·mru·*/ 
125 ·165·iterator·it·=·_data.insert(_data.begin(),·x); 
126 ·166·/*·store·index·*/ 
127 ·167·_index.insert(std::make_pair(key,it)); 
128 ·168 
129 ·169·return·it->second; 
130 ·170·} 
Max diff block lines reached; 116/9724 bytes (1.19%) of diff not shown.
21.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 118 lines modifiedOffset 70, 35 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
80 ··<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>79 ··<div·class="headertitle"><div·class="title">conditional.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Contains·utility·classes·which·can·be·used·with·std::tuple.·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/> 
86 <code>#include·&lt;tuple&gt;</code><br·/> 
87 <code>#include·&lt;type_traits&gt;</code><br·/> 
88 <code>#include·&lt;utility&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
91 </div> 
92 <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p>
93 <table·class="memberdecls">83 <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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02916.html">Dune::TupleAccessTraits&lt;·T·&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="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02924.html">Dune::TupleAccessTraits&lt;·T·&amp;·&gt;</a></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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> 
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="a02940.html">Dune::ForEachType&lt;·TE,·std::tuple&lt;·Args...·&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="a02944.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&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="a02948.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&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="a02952.html">Dune::AddRefTypeEvaluator&lt;·T·&gt;</a></td></tr> 
111 <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> 
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="a02956.html">Dune::AddPtrTypeEvaluator&lt;·T·&gt;</a></td></tr> 
114 <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> 
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="a02960.html">Dune::AddPtrTypeEvaluator&lt;·T·&amp;·&gt;</a></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="a02964.html">Dune::AtType&lt;·N,·Tuple·&gt;</a></td></tr> 
119 <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> 
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="a02968.html">Dune::At&lt;·N·&gt;</a></td></tr> 
122 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Reverse·element·access.··<a·href="a02968.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="a02972.html">Dune::PointerPairDeletor&lt;·Tuple·&gt;</a></td></tr> 
125 <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> 
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <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> 
128 <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> 
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="a02980.html">Dune::IsType&lt;·T·&gt;</a></td></tr> 
131 <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> 
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="a02984.html">Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</a></td></tr> 
134 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.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="a02988.html">Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;</a></td></tr> 
137 <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> 
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="a02996.html">Dune::PushBackTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></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="a03004.html">Dune::PushFrontTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></td></tr> 
142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <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> 
144 <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> 
145 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <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> 
147 <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> 
148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <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> 
150 <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> 
151 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <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> 
153 <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> 
154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
155 </table><table·class="memberdecls"> 
156 <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>
157 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
158 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
159 <tr·class="memdesc: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>
160 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
161 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
162 <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>
163 Functions</h2></td></tr>91 Functions</h2></td></tr>
 92 <tr·class="memitem:aa7df1a64bf1697e91502bce842535577"·id="r_aa7df1a64bf1697e91502bce842535577"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr>
 93 <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>
 94 <tr·class="memdesc:aa7df1a64bf1697e91502bce842535577"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">conditional·evaluate··<br·/></td></tr>
164 <tr·class="memitem:gaeeffbe0f382283c9a2314a3947e54be9"·id="r_gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·ArgTuple·,·class·I·,·I...·i&gt;·</td></tr> 
165 <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> 
166 <tr·class="memdesc:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·function·with·arguments·from·a·given·tuple.··<br·/></td></tr> 
167 <tr·class="separator:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
168 <tr·class="memitem:gaee981bf99011a9bc2dd496a7d486e4ab"·id="r_gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memTemplParams"·colspan="2">template&lt;class·Tuple·,·class·Functor·&gt;·</td></tr> 
169 <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> 
170 <tr·class="separator:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
171 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"·id="r_gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TE,·class...·Args&gt;·</td></tr> 
172 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a02944.html">TransformTupleFunctor</a>&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> 
173 <tr·class="separator:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:aa7df1a64bf1697e91502bce842535577"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
174 <tr·class="memitem:ga24fcc49c0d83971073f4e0bd5e96748b"·id="r_ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TypeEvaluator,·class·Tuple·,·class...·Args&gt;·</td></tr> 
175 <tr·class="memitem:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">Dune::transformTuple</a>·(Tuple·&amp;&amp;orig,·Args·&amp;&amp;...·args)·-&gt;·decltype(<a·class="el"·href="a00403.html#gaee981bf99011a9bc2dd496a7d486e4ab">genericTransformTuple</a>(orig,·<a·class="el"·href="a00403.html#gafdcf54abf95c1fbd29eb7317d4db1240">makeTransformTupleFunctor</a>&lt;·TypeEvaluator·&gt;(args...)))</td></tr> 
176 <tr·class="separator:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 505/17322 bytes (2.92%) of diff not shown.
4.02 KB
html2text {}
    
Offset 6, 110 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Namespaces·|·Functions
 13 conditional.hh·File·Reference
13 tupleutility.hh·File·Reference 
14 Common·»·Utilities·»·Tuple_Utilities 
15 Contains·utility·classes·which·can·be·used·with·std::tuple.·More... 
16 #include·<cstddef> 
17 #include·<tuple> 
18 #include·<type_traits> 
19 #include·<utility> 
20 #include·<dune/common/hybridutilities.hh> 
21 #include·<dune/common/typetraits.hh> 
22 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
23 ·Classes 
24 struct· Dune::TupleAccessTraits<_T_> 
25   
26 struct· Dune::TupleAccessTraits<_T_*_> 
27   
28 struct· Dune::TupleAccessTraits<_T_&_> 
29   
30 struct· Dune::NullPointerInitialiser<_std::tuple<_Args..._>_> 
31   
32 struct· Dune::ForEachType<_TE,_std::tuple<_Args..._>_> 
33   
34 ·class· Dune::TransformTupleFunctor<_TE,_Args_> 
35   
36 struct· Dune::TransformTupleFunctor<_TE,_Args_>::TypeEvaluator<_T_> 
37   
38 struct· Dune::AddRefTypeEvaluator<_T_> 
39  ·······TypeEvaluator·to·turn·a·type·T·into·a·reference·to·T·More... 
40   
41 struct· Dune::AddPtrTypeEvaluator<_T_> 
42  ·······TypeEvaluator·to·turn·a·type·T·into·a·pointer·to·T·More... 
43   
44 struct· Dune::AddPtrTypeEvaluator<_T_&_> 
45   
46 struct· Dune::AtType<_N,_Tuple_> 
47  ·······Type·for·reverse·element·access.·More... 
48   
49 struct· Dune::At<_N_> 
50  ·······Reverse·element·access.·More... 
51   
52 struct· Dune::PointerPairDeletor<_Tuple_> 
53  ·······Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·More... 
54   
55 ·class· Dune::FirstPredicateIndex<_Tuple,_Predicate,_start,_size_> 
56  ·······Finding·the·index·of·a·certain·type·in·a·std::tuple.·More... 
57   
58 struct· Dune::IsType<_T_> 
59  ·······Generator·for·predicates·accepting·one·particular·type.·More... 
60   
61 struct· Dune::IsType<_T_>::Predicate<_U_> 
62  ·······The·actual·predicate.·More... 
63   
64 struct· Dune::FirstTypeIndex<_Tuple,_T,_start_> 
65  ·······Find·the·first·occurrence·of·a·type·in·a·std::tuple.·More... 
66   
67 struct· Dune::PushBackTuple<_typename_std::tuple<_Args..._>,_T_> 
68   
69 struct· Dune::PushFrontTuple<_typename_std::tuple<_Args..._>,_T_> 
70   
71 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_N_> 
72  ·······Apply·reduce·with·meta·binary·function·to·template.·More... 
73   
74 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_0_> 
75  ·······Apply·reduce·with·meta·binary·function·to·template.·More... 
76   
77 struct· Dune::JoinTuples<_Head,_Tail_> 
78  ·······Join·two·std::tuple's.·More... 
79   
80 struct· Dune::FlattenTuple<_Tuple_> 
81  ·······Flatten·a·std::tuple·of·std::tuple's.·More... 
82   
83 ·Namespaces15 ·Namespaces
84 namespace· Dune16 namespace· Dune
85  ··········Dune·namespace.17  ··········Dune·namespace.
86  18  
87 ·Functions19 ·Functions
 20 template<typename·T1·,·typename·T2·>
 21 const·T1 Dune::cond·(bool·b,·const·T1·&v1,·const·T2·&v2)
 22  ········conditional·evaluate
88 template<class·F·,·class·ArgTuple·,·class·I·,·I...·i> 
89 ······················decltype(auto) Dune::applyPartial·(F·&&f,·ArgTuple 
90 ······································&&args,·std::integer_sequence<·I,·i...·>) 
91  ····································Apply·function·with·arguments·from·a 
92 ······································given·tuple. 
93   
94 template<class·Tuple·,·class·Functor·> 
95 ································auto Dune::genericTransformTuple·(Tuple·&&t, 
96 ······································Functor·&&f)·->·decltype 
97 ······································(genericTransformTupleBackend(t,·f)) 
98   
99 template<template<·class·>·class·TE,·class...·Args> 
100 TransformTupleFunctor<·TE,·Args...·> Dune::makeTransformTupleFunctor·(Args 
101 ······································&&...·args) 
102   
103 template<template<·class·>·class·TypeEvaluator,·class·Tuple·,·class...·Args> 
104 ································auto Dune::transformTuple·(Tuple·&&orig,·Args 
105 ······································&&...·args)·->·decltype 
106 ······································(genericTransformTuple(orig, 
107 ······································makeTransformTupleFunctor<·TypeEvaluator 
108 ······································>(args...))) 
109  23  
110 *****·Detailed·Description·***** 
111 Contains·utility·classes·which·can·be·used·with·std::tuple. 
  
112 ===============================================================================24 ===============================================================================
113 ·····Generated·by [doxygen]·1.9.825 ·····Generated·by [doxygen]·1.9.8
95.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·conditional.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 74, 447 lines modifiedOffset 74, 38 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">tupleutility.hh</div></div>80 ··<div·class="headertitle"><div·class="title">conditional.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONDITIONAL_HH</span></div>
 86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_CONDITIONAL_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TUPLE_UTILITY_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_TUPLE_UTILITY_HH</span></div>88 <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>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>{</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</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">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00299.html">dune/common/hybridutilities.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <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> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
101 <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> 
102 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}">92 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="}">
103 <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:·164,·SHA:·a9f3253452d50b42a9d61b0be97180e9dfca0dc5df3badab99acf988a55c9659·...·])</div>93 <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<[·...·truncated·by·diffoscope;·len:·139,·SHA:·fd1ee7df10e0e0a324bb5021837269063047faa647b087f8b3a8f4bfe32a63b6·...·])</div>
 94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>
 95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordflow">return</span>·(b·?·v1·:·v2);</div>
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div>
105 <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> 
106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div> 
107 </div>97 </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">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
110 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> 
111 <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> 
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"><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> 
114 <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> 
115 <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> 
116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div> 
117 </div> 
118 <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>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
120 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};"> 
121 <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> 
122 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div> 
123 <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> 
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div> 
127 </div> 
128 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
129 <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> 
130 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};"> 
131 <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> 
132 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> 
133 <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> 
134 <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> 
135 <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> 
136 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··};</div> 
137 </div> 
138 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
139 <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> 
140 <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> 
141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
142 <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> 
143 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="};"> 
144 <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> 
145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> 
146 <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> 
147 <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> 
148 <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> 
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="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> 
151 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
152 </div> 
153 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div> 
154 </div> 
155 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
156 <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> 
157 <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> 
158 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
159 <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> 
160 <div·class="foldopen"·id="foldopen00119"·data-start="{"·data-end="};"> 
161 <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> 
162 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div> 
163 <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> 
164 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··};</div> 
165 </div> 
166 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
167 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
168 <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> 
169 <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> 
170 <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> 
171 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div> 
172 <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> 
173 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··}</div> 
174 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> 
175 <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> 
176 <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> 
Max diff block lines reached; 5492/80891 bytes (6.79%) of diff not shown.
15.9 KB
html2text {}
    
Offset 7, 517 lines modifiedOffset 7, 37 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 tupleutility.hh12 conditional.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root15 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 17 ·3#ifndef·DUNE_COMMON_CONDITIONAL_HH
 18 ·4#define·DUNE_COMMON_CONDITIONAL_HH
19 ·519 ·5
20 ·6#ifndef·DUNE_TUPLE_UTILITY_HH 
21 ·7#define·DUNE_TUPLE_UTILITY_HH20 ·6namespace·Dune
 21 ·7{
22 ·822 ·8
 23 ·27·template<typename·T1,·typename·T2>
 24 28·const·T1·cond(bool·b,·const·T1·&·v1,·const·T2·&·v2)
23 ·9#include·<cstddef> 
24 ·10#include·<tuple> 
25 ·11#include·<type_traits> 
26 ·12#include·<utility> 
27 ·13 
28 ·14#include·<dune/common/hybridutilities.hh> 
29 ·15#include·<dune/common/typetraits.hh> 
30 ·16 
31 ·17namespace·Dune·{ 
32 ·18 
33 ·41·template<class·F,·class·ArgTuple,·class·I,·I...·i> 
34 42·decltype(auto)·applyPartial(F&&·f,·ArgTuple&&·args,·std::integer_sequence<I, 
35 i...>·/*indices*/) 
36 ·43·{ 
37 ·44·return·f(std::get<i>(args)...); 
38 ·45·} 
39 ·46 
40 ·47·template<class·T> 
41 48·struct·TupleAccessTraits 
42 ·49·{ 
43 50·typedef·typename·std::add_const<T>::type&·ConstType; 
44 51·typedef·T&·NonConstType; 
45 52·typedef·const·typename·std::remove_const<T>::type&·ParameterType; 
46 ·53·}; 
47 ·54 
48 ·55·template<class·T> 
49 56·struct·TupleAccessTraits<T*> 
50 ·57·{ 
51 58·typedef·typename·std::add_const<T>::type*·ConstType; 
52 59·typedef·T*·NonConstType; 
53 60·typedef·T*·ParameterType; 
54 ·61·}; 
55 ·62 
56 ·63·template<class·T> 
57 64·struct·TupleAccessTraits<T&> 
58 ·65·{ 
59 66·typedef·T&·ConstType; 
60 67·typedef·T&·NonConstType; 
61 68·typedef·T&·ParameterType; 
62 ·69·}; 
63 ·70 
64 ·78·template<class·T> 
65 79·struct·NullPointerInitialiser; 
66 ·80 
67 ·81·template<class...·Args> 
68 82·struct·NullPointerInitialiser<std::tuple<Args...>·> 
69 ·83·{ 
70 84·typedef·std::tuple<Args...>·ResultType; 
71 85·static·ResultType·apply() 
72 ·86·{ 
73 ·87·return·ResultType(static_cast<Args>(nullptr)...); 
74 ·88·} 
75 ·89·}; 
76 ·90 
77 ·115·template<template·<class>·class·TE,·class·T> 
78 116·struct·ForEachType; 
79 ·117 
80 ·118·template<template·<class>·class·TE,·class...·Args> 
81 119·struct·ForEachType<TE,·std::tuple<Args...>·> 
82 ·120·{ 
83 121·typedef·std::tuple<typename·TE<Args>::Type...>·Type; 
84 ·122·}; 
85 ·123 
86 ·124#ifndef·DOXYGEN 
87 ·125·template<class·Tuple,·class·Functor,·std::size_t...·I> 
88 ·126·inline·auto·genericTransformTupleBackendImpl(Tuple&·t,·Functor&·f,·const 
89 std::index_sequence<I...>&·) 
90 ·127·->·std::tuple<decltype(f(std::get<I>(t)))...> 
91 ·128·{ 
92 ·129·return·std::tuple<decltype(f(std::get<I>(t)))...>(f(std::get<I>(t))...); 
93 ·130·} 
94 ·131 
95 ·132·template<class...·Args,·class·Functor> 
96 ·133·auto·genericTransformTupleBackend(std::tuple<Args...>&·t,·Functor&·f)·-> 
97 ·134·decltype(genericTransformTupleBackendImpl(t,·f,std:: 
98 index_sequence_for<Args...>{})) 
99 ·135·{ 
100 ·136·return·genericTransformTupleBackendImpl(t,·f,std:: 
101 index_sequence_for<Args...>{}); 
102 ·137·} 
103 ·138 
104 ·139·template<class...·Args,·class·Functor> 
105 ·140·auto·genericTransformTupleBackend(const·std::tuple<Args...>&·t,·Functor& 
106 f)·-> 
107 ·141·decltype(genericTransformTupleBackendImpl(t,·f,·std:: 
108 index_sequence_for<Args...>{})) 
109 ·142·{ 
110 ·143·return·genericTransformTupleBackendImpl(t,·f,·std:: 
111 index_sequence_for<Args...>{}); 
112 ·144·} 
113 ·145#endif 
114 ·146 
115 ·185·template<class·Tuple,·class·Functor> 
116 186·auto·genericTransformTuple(Tuple&&·t,·Functor&&·f)·-> 
117 ·187·decltype(genericTransformTupleBackend(t,·f)) 
118 ·188·{ 
119 ·189·return·genericTransformTupleBackend(t,·f); 
120 ·190·} 
121 ·191 
122 ·224·template<template<class>·class·TE,·class...·Args> 
123 225·class·TransformTupleFunctor 
124 ·226·{ 
125 ·227·mutable·std::tuple<Args&...>·tup; 
126 ·228 
Max diff block lines reached; 2248/16280 bytes (13.81%) of diff not shown.
9.41 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 30 lines modifiedOffset 71, 74 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#define-members">Macros</a>··</div>77 <a·href="#define-members">Macros</a>··</div>
78 ··<div·class="headertitle"><div·class="title">unused.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh·File·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.··81 <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·...·].··
82 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
 83 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 </div>
83 <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">86 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
86 Macros</h2></td></tr>88 Macros</h2></td></tr>
87 <tr·class="memitem:ga82d6aa0dcd7f162d42922460058fbf86"·id="r_ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">[·...·truncated·by·diffoscope;·len:·79,·SHA:·cce6c45b45b729a54defbd8e57a5ea0b47d6cb5a5ffc04d5feedd65aeb547d81·...·])</td></tr>89 <tr·class="memitem:acd7d9df83980a2517813af61e0eb22e1"·id="r_acd7d9df83980a2517813af61e0eb22e1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html#acd7d9df83980a2517813af61e0eb22e1">CHE[·...·truncated·by·diffoscope;·len:·37,·SHA:·24234f4f0608bf76b69d47e3417cb96a332501cb329d7621d85c308e8dd68eb3·...·])</td></tr>
88 <tr·class="separator:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:acd7d9df83980a2517813af61e0eb22e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:a3ae5cb4f2a5339eb07e94108e67bcca7"·id="r_a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html#a3ae5cb4f2a5339eb07e94108e67bcca7">CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</a>(__interface_method_to_call__)&#160;&#160;&#160;··(__interface_method_to_call__)</td></tr>
 92 <tr·class="separator:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>93 </table>
90 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
91 <div·class="textblock"><p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·</p>95 <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>
 96 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn·</dd></dl>
 97 <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>
 98 <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>
 99 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 100 <a·id="a3ae5cb4f2a5339eb07e94108e67bcca7"·name="a3ae5cb4f2a5339eb07e94108e67bcca7"></a>
 101 <h2·class="memtitle"><span·class="permalink"><a·href="#a3ae5cb4f2a5339eb07e94108e67bcca7">&#9670;&#160;</a></span>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</h2>
  
 102 <div·class="memitem">
 103 <div·class="memproto">
 104 ······<table·class="memname">
 105 ········<tr>
 106 ··········<td·class="memname">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</td>
 107 ··········<td>(</td>
 108 ··········<td·class="paramtype">&#160;</td>
 109 ··········<td·class="paramname">__interface_method_to_call__</td><td>)</td>
 110 ··········<td>&#160;&#160;&#160;··(__interface_method_to_call__)</td>
 111 ········</tr>
 112 ······</table>
 113 </div><div·class="memdoc">
 114 <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>
  
 115 </div>
 116 </div>
 117 <a·id="acd7d9df83980a2517813af61e0eb22e1"·name="acd7d9df83980a2517813af61e0eb22e1"></a>
 118 <h2·class="memtitle"><span·class="permalink"><a·href="#acd7d9df83980a2517813af61e0eb22e1">&#9670;&#160;</a></span>CHECK_INTERFACE_IMPLEMENTATION</h2>
  
 119 <div·class="memitem">
 120 <div·class="memproto">
 121 ······<table·class="memname">
 122 ········<tr>
 123 ··········<td·class="memname">#define·CHECK_INTERFACE_IMPLEMENTATION</td>
 124 ··········<td>(</td>
 125 ··········<td·class="paramtype">&#160;</td>
 126 ··········<td·class="paramname">dummy</td><td>)</td>
 127 ··········<td></td>
 128 ········</tr>
 129 ······</table>
 130 </div><div·class="memdoc">
  
 131 </div>
 132 </div>
92 </div></div><!--·contents·-->133 </div><!--·contents·-->
93 <!--·start·footer·part·-->134 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>135 <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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>137 </small></address>
97 </body>138 </body>
98 </html>139 </html>
2.51 KB
html2text {}
    
Offset 7, 18 lines modifiedOffset 7, 48 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros12 Macros
13 unused.hh·File·Reference 
14 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.·More...13 bartonnackmanifcheck.hh·File·Reference
 14 Provides·check·for·implementation·of·interface·methods·when·using·static
 15 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging
 16 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up
 17 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has
 18 to·be·defined.·More...
 19 #include·<dune/common/exceptions.hh>
15 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
16 ·Macros21 ·Macros
17 #define DUNE_UNUSED_PARAMETER(param)   static_cast<void>(param)22 #define CHECK_INTERFACE_IMPLEMENTATION(dummy)
 23  
 24 #define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)   
 25 ·········(__interface_method_to_call__)
18  26  
19 *****·Detailed·Description·*****27 *****·Detailed·Description·*****
20 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.28 Provides·check·for·implementation·of·interface·methods·when·using·static
 29 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging
 30 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up
 31 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has
 32 to·be·defined.
 33 ··Author
 34 ······Robert·Kloefkorn
 35 Use·by·invoking·CHECK_INTERFACE_IMPLEMENTATION(asImp().methodToCheck())·and·for
 36 template·methods·double·(CHECK_INTERFACE_IMPLEMENTATION((asImp().template
 37 methodToCheck<param>·())).·If·either·NDEBUG·is·defined·or·DUNE_INTERFACECHECK
 38 is·undefined·the·CHECK_INTERFACE_IMPLEMENTATION·macro·is·empty.
 39 Note:·adding·the·interface·check·to·a·method·will·cause·the·implementation·of
 40 the·method·to·be·called·twice,·so·before·use·make·sure·that·this·will·not·cause
 41 problems·e.g.·if·internal·counters·are·updated.
 42 *****·Macro·Definition·Documentation·*****
 43 *****·◆ CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·*****
 44 #define·································(· __interface_method_to_call__·)·   
 45 CHECK_AND_CALL_INTERFACE_IMPLEMENTATION····································(__interface_method_to_call__)
 46 The·macro·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·throws·an·exception,·if·the
 47 interface·method·is·not·implemented·and·just·calls·the·method·otherwise.·If
 48 NDEBUG·is·defined·no·checking·is·done·and·the·method·is·just·called.
 49 *****·◆ CHECK_INTERFACE_IMPLEMENTATION·*****
 50 #define·CHECK_INTERFACE_IMPLEMENTATION·(· dummy·)
  
21 ===============================================================================51 ===============================================================================
22 ·····Generated·by [doxygen]·1.9.852 ·····Generated·by [doxygen]·1.9.8
11.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 26 lines modifiedOffset 74, 62 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">unused.hh</div></div>80 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_UNUSED_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_UNUSED_HH</span></div>87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//-·Dune·includes</span></div>
 88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
90 <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>90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#ifdef·CHECK_INTERFACE_IMPLEMENTATION</span></div>
 91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#undef·CHECK_INTERFACE_IMPLEMENTATION</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>
 93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</span></div>
 94 <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>
 95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>
 96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 97 <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>
 98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00089.html#acd7d9df83980a2517813af61e0eb22e1">···35</a></span><span·class="preprocessor">#define·CHECK_INTERFACE_IMPLEMENTATION(dummy)</span></div>
 99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div>
 100 <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>
 101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">··{\</span></div>
 102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">····static·bool·call·=·false;·\</span></div>
 103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">····if(·call·==·true·)·\</span></div>
 104 <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>
 105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">····call·=·true;·\</span></div>
 106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">····try·{·\</span></div>
 107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">······(__interface_method_to_call__);·\</span></div>
 108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">······call·=·false;·\</span></div>
 109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">····}·\</span></div>
 110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">····catch·(·...·)·\</span></div>
 111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">····{·\</span></div>
 112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">······call·=·false;·\</span></div>
 113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">······throw;·\</span></div>
 114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">····}·\</span></div>
 115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">··}</span></div>
 116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div>
 117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 118 <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>
 119 <div·class="foldopen"·id="foldopen00061"·data-start=""·data-end="">
 120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00089.html#a3ae5cb4f2a5339eb07e94108e67bcca7">···61</a></span><span·class="preprocessor">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div>
 121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">··(__interface_method_to_call__)</span></div>
 122 </div>
 123 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">#else</span></div>
 124 <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>
 125 <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>
 126 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#endif</span></div>
 127 <div·class="ttc"·id="aa00110_html"><div·class="ttname"><a·href="a00110.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
92 </div><!--·fragment·--></div><!--·contents·-->128 </div><!--·fragment·--></div><!--·contents·-->
93 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>130 <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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>132 </small></address>
97 </body>133 </body>
98 </html>134 </html>
1.89 KB
html2text {}
    
Offset 7, 22 lines modifiedOffset 7, 59 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 unused.hh12 bartonnackmanifcheck.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_UNUSED_HH 
20 ·6#define·DUNE_COMMON_UNUSED_HH 
21 ·7 
22 21#define·DUNE_UNUSED_PARAMETER(param)·static_cast<void>(param)19 ·24//-·Dune·includes
 20 ·25#include·<dune/common/exceptions.hh>
 21 ·26
 22 ·27#ifdef·CHECK_INTERFACE_IMPLEMENTATION
 23 ·28#undef·CHECK_INTERFACE_IMPLEMENTATION
23 ·22#endif24 ·29#endif
 25 ·30#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION
 26 ·31#undef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION
 27 ·32#endif
 28 ·33
 29 ·34#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK
 30 35#define·CHECK_INTERFACE_IMPLEMENTATION(dummy)
 31 ·36#else
 32 ·37#define·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\
 33 ·38·{\
 34 ·39·static·bool·call·=·false;·\
 35 ·40·if(·call·==·true·)·\
 36 ·41·DUNE_THROW(NotImplemented,"Interface·method·not·implemented!");\
 37 ·42·call·=·true;·\
 38 ·43·try·{·\
 39 ·44·(__interface_method_to_call__);·\
 40 ·45·call·=·false;·\
 41 ·46·}·\
 42 ·47·catch·(·...·)·\
 43 ·48·{·\
 44 ·49·call·=·false;·\
 45 ·50·throw;·\
 46 ·51·}·\
 47 ·52·}
 48 ·53#endif
 49 ·54
 50 ·60#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK
 51 61#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)
 52 \
 53 ·62·(__interface_method_to_call__)
 54 ·63#else
 55 ·64#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION
 56 (__interface_method_to_call__)·\
 57 ·65·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)
 58 ·66#endif
 59 exceptions.hh
 60 A·few·common·exception·classes.
  
24 ===============================================================================61 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.862 ·····Generated·by [doxygen]·1.9.8
18.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 44 lines modifiedOffset 70, 97 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#typedef-members">Typedefs</a>·&#124;79 <a·href="#define-members">Macros</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>80 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh·File·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh·File·Reference</div></div>
81 </div><!--header-->82 </div><!--header-->
82 <div·class="contents">83 <div·class="contents">
  
 84 <p>Portable·very·large·unsigned·integers.··
 85 <a·href="#details">More...</a></p>
83 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>86 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 87 <code>#include·&lt;iostream&gt;</code><br·/>
 88 <code>#include·&lt;limits&gt;</code><br·/>
 89 <code>#include·&lt;cstdint&gt;</code><br·/>
 90 <code>#include·&lt;cstdlib&gt;</code><br·/>
 91 <code>#include·&lt;type_traits&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/hash.hh</a>&gt;</code><br·/>
84 </div>94 </div>
85 <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">96 <table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 98 Classes</h2></td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01296.html">Dune::bigunsignedint&lt;·k·&gt;</a></td></tr>
 100 <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>
 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="a01304.html">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</a></td></tr>
 103 <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>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 </table><table·class="memberdecls">
87 <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>
88 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
89 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
91 <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:a00424"·id="r_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>
 112 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">114 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>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:gaf87f343423f6514fb0bea86e67539446"·id="r_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>
94 Typedefs</h2></td></tr> 
95 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"·id="r_a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
96 <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> 
97 <tr·class="memdesc:a9bbde85cc655ad122680398fef8fa5cd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::unique_ptr</code>·introduced·as·transition·wrapper.··<br·/></td></tr> 
98 <tr·class="separator:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:gaf87f343423f6514fb0bea86e67539446"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">119 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
101 Functions</h2></td></tr>121 Functions</h2></td></tr>
 122 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"·id="r_ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 123 <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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x)</td></tr>
102 <tr·class="memitem:a6eaf1fedf356f1f09c981cd6863fbb7b"·id="r_a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class...·Args&gt;·</td></tr> 
103 <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> 
104 <tr·class="memdesc:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::make_unique</code>·introduced·as·transition·wrapper.··<br·/></td></tr> 
105 <tr·class="separator:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"·id="r_gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 126 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaa1064cddd9687941b214fd8fb438922b">Dune::operator+</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
 127 <tr·class="separator:gaa1064cddd9687941b214fd8fb438922b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"·id="r_ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 129 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga80f9fd2604e395d902fb0df692cdaca4">Dune::operator-</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
 130 <tr·class="separator:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"·id="r_ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 132 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga18a74c0d02300748edcf3bc9c58eaf27">Dune::operator*</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
 133 <tr·class="separator:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"·id="r_ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 135 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga5e2147f08b4e20eb876456a231859903">Dune::operator/</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
 136 <tr·class="separator:ga5e2147f08b4e20eb876456a231859903"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"·id="r_gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 138 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gac8578d991f3565183d9abd2d808f97b9">Dune::operator%</a>·(const·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
 139 <tr·class="separator:gac8578d991f3565183d9abd2d808f97b9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"·id="r_ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 141 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr>
 142 <tr·class="separator:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"·id="r_gaa560c3307467da3720ab83b11334572a"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 144 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr>
 145 <tr·class="separator:gaa560c3307467da3720ab83b11334572a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:ga21e8f5650bf767702eb604232468e1cc"·id="r_ga21e8f5650bf767702eb604232468e1cc"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 147 <tr·class="memitem:ga21e8f5650bf767702eb604232468e1cc"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr>
 148 <tr·class="separator:ga21e8f5650bf767702eb604232468e1cc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:ga5a699f8fd400fcf19a3743d60dd64fb0"·id="r_ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 150 <tr·class="memitem:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr>
 151 <tr·class="separator:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:ga73959b8d904c046a773200eb2a4bc020"·id="r_ga73959b8d904c046a773200eb2a4bc020"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 153 <tr·class="memitem:ga73959b8d904c046a773200eb2a4bc020"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01296.html">bigunsignedint</a>&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·<a·class="el"·href="a01296.html">bigunsignedint</a>&lt;·k·&gt;·&amp;y)</td></tr>
 154 <tr·class="separator:ga73959b8d904c046a773200eb2a4bc020"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table>155 </table>
 156 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 157 <div·class="textblock"><p>Portable·very·large·unsigned·integers.·</p>
 158 <dl·class="section·author"><dt>Author</dt><dd>Peter·Bastian·</dd></dl>
107 </div><!--·contents·-->159 </div></div><!--·contents·-->
108 <!--·start·footer·part·-->160 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>161 <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.8162 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
111 </small></address>163 </small></address>
112 </body>164 </body>
113 </html>165 </html>
2.85 KB
html2text {}
    
Offset 6, 29 lines modifiedOffset 6, 88 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Typedefs·|·Functions 
13 to_unique_ptr.hh·File·Reference 
14 #include·<memory>12 Classes·|·Namespaces·|·Macros·|·Functions
 13 bigunsignedint.hh·File·Reference
 14 Portable·very·large·unsigned·integers.·More...
 15 #include·<algorithm>
 16 #include·<iostream>
 17 #include·<limits>
 18 #include·<cstdint>
 19 #include·<cstdlib>
 20 #include·<type_traits>
 21 #include·<dune/common/exceptions.hh>
 22 #include·<dune/common/hash.hh>
15 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
 24 ·Classes
 25 ·class· Dune::bigunsignedint<_k_>
 26  ·······Portable·very·large·unsigned·integers.·More...
 27  
 28 struct· Dune::IsNumber<_bigunsignedint<_k_>_>
 29  ·······Declare·big·unsigned·int·is·a·number.·More...
 30  
16 ·Namespaces31 ·Namespaces
17 namespace· Dune32 namespace· Dune
18  ··········Dune·namespace.33  ··········Dune·namespace.
19  34  
20 ·Typedefs 
21 template<class·T·> 
22 using Dune::ToUniquePtr·=·std::unique_ptr<·T·> 
23  ·····Alias·for·std::unique_ptr·introduced·as·transition·wrapper.35 namespace· std
 36  ··········STL·namespace.
 37  
 38 ·Macros
 39 #define DUNE_BINOP(OP)
24  40  
25 ·Functions41 ·Functions
 42 template<int·k>
 43 ·····std::ostream·& Dune::operator<<·(std::ostream·&s,·const·bigunsignedint<·k
26 template<class·T·,·class...·Args> 
27 std::unique_ptr<·T·> Dune::makeToUnique·(Args·&&...·args) 
28  ····················Alias·for·std::make_unique·introduced·as·transition 
29 ······················wrapper.44 ·····················>·&x)
 45  
 46 template<int·k>
 47 bigunsignedint<·k·> Dune::operator+·(const·bigunsignedint<·k·>·&x,·std::
 48 ·····················uintmax_t·y)
 49  
 50 template<int·k>
 51 bigunsignedint<·k·> Dune::operator-·(const·bigunsignedint<·k·>·&x,·std::
 52 ·····················uintmax_t·y)
 53  
 54 template<int·k>
 55 bigunsignedint<·k·> Dune::operator*·(const·bigunsignedint<·k·>·&x,·std::
 56 ·····················uintmax_t·y)
 57  
 58 template<int·k>
 59 bigunsignedint<·k·> Dune::operator/·(const·bigunsignedint<·k·>·&x,·std::
 60 ·····················uintmax_t·y)
 61  
 62 template<int·k>
 63 bigunsignedint<·k·> Dune::operator%·(const·bigunsignedint<·k·>·&x,·std::
 64 ·····················uintmax_t·y)
 65  
 66 template<int·k>
 67 bigunsignedint<·k·> Dune::operator+·(std::uintmax_t·x,·const·bigunsignedint<·k
 68 ·····················>·&y)
 69  
 70 template<int·k>
 71 bigunsignedint<·k·> Dune::operator-·(std::uintmax_t·x,·const·bigunsignedint<·k
 72 ·····················>·&y)
 73  
 74 template<int·k>
 75 bigunsignedint<·k·> Dune::operator*·(std::uintmax_t·x,·const·bigunsignedint<·k
 76 ·····················>·&y)
 77  
 78 template<int·k>
 79 bigunsignedint<·k·> Dune::operator/·(std::uintmax_t·x,·const·bigunsignedint<·k
 80 ·····················>·&y)
 81  
 82 template<int·k>
 83 bigunsignedint<·k·> Dune::operator%·(std::uintmax_t·x,·const·bigunsignedint<·k
 84 ·····················>·&y)
30  85  
 86 *****·Detailed·Description·*****
 87 Portable·very·large·unsigned·integers.
 88 ··Author
 89 ······Peter·Bastian
  
31 ===============================================================================90 ===============================================================================
32 ·····Generated·by [doxygen]·1.9.891 ·····Generated·by [doxygen]·1.9.8
169 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 48 lines modifiedOffset 74, 799 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh</div></div>80 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_BIGUNSIGNEDINT_HH</span></div>
89 <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>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_BIGUNSIGNEDINT_HH</span></div>
Diff chunk too large, falling back to line-by-line diff (750 lines added, 20 lines removed)
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
91 <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>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
95 <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>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
97 <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>97 <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/exceptions.hh</a>&gt;</span></div>
98 <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<[·...·truncated·by·diffoscope;·len:·46,·SHA:·0ff7a991dd8ee3a7e41914f7fd9ccee41cc0af1de584b80045363231222eceb1·...·]</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00215.html">dune/common/hash.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
100 <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>100 <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>
101 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="}">101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
102 <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">makeTo[·...·truncated·by·diffoscope;·len:·35,·SHA:·406048fbf2b62ebb3b57a84a4d53afc2aba2db968db020a98952b222b1296d4b·...·]</div>102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
103 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··{</div>103 <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>
104 <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>104 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">struct·</span>MPITraits;</div>
105 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··}</div>105 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>
106 </div>106 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
107 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>107 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl·{</div>
108 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>}·<span·class="comment">//·end·namespace·Dune</span></div>108 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
109 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>109 <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>
110 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_TO_UNIQUE_PTR_HH</span></div>110 <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>
 111 <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>
 112 <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>
 113 <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>
 114 <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>
 115 <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>
 116 <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>
 117 <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>
 118 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 119 <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>
 120 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">struct·</span>numeric_limits_helper</div>
 121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div>
 122 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 123 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">protected</span>:</div>
 124 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 125 <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>
 126 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······{</div>
 127 <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>
 128 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······}</div>
 129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 130 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····};</div>
 131 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div>
 133 <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>··<span·class="keyword">template</span>&lt;<span·class="keywordtype">int</span>·k&gt;</div>
 135 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};">
 136 <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>
 137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</span>:</div>
 138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="comment">//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed</span></div>
 140 <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>
 141 <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>
 142 <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>
 143 <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>
 144 <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>
 145 <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>
 146 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·();</div>
 148 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 149 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Signed&gt;</div>
 150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·(Signed·x,·<span·class="keyword">typename</span>·std::enable_if&lt;std::is_integral&lt;Signed&gt;::value·&amp;&amp;·std::is_signed&lt;Signed&gt;::value&gt;::type*·=·0);</div>
 151 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·(std::uintmax_t·x);</div>
 153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00408.html#ga588c20d32be8eda48a3755baba464dd3">print</a>·(std::ostream&amp;·s)·<span·class="keyword">const</span>·;</div>
 155 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 156 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01296.html#adf824f5ffaa474c95aafc39e8406d078">···98</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#adf824f5ffaa474c95aafc39e8406d078">operator+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 157 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga33d7cece1203eab3cdbbb982fcacd608">operator+=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 158 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 159 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01296.html#ab38f155c5dbfa9ebc3ab0b6f30f995de">··102</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#ab38f155c5dbfa9ebc3ab0b6f30f995de">operator-·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 160 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gae07a08fd0165093a4a120ab5ab30e3f8">operator-=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 161 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 162 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01296.html#a598625d1f6adb74f518806bcc4c607d0">··106</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#a598625d1f6adb74f518806bcc4c607d0">operator*·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 163 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gaea1b22b024fc727899cb356c8301df10">operator*=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 164 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 165 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gabca7e8dbfe73be43c64c517621f5177e">operator++·</a>();</div>
 166 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 167 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01296.html#adac7b98831fb677414b075cda13a638a">··115</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#adac7b98831fb677414b075cda13a638a">operator/·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 168 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga060fc6f6318d3631ac5a033cb8138458">operator/=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 169 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 170 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01296.html#a65d9548bb0b1d081a5aaca032078554b">··121</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#a65d9548bb0b1d081a5aaca032078554b">operator%·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 171 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gacb3b8f598053bbbde7cdfe60fe2ef879">operator%=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 172 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 173 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a01296.html#ad1e389dc5b3343dc05c0333327cd2fdb">··125</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#ad1e389dc5b3343dc05c0333327cd2fdb">operator&amp;·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 174 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga75df8592292ff5ec40244d5fa6a26427">operator&amp;=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 175 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 176 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01296.html#a578f23c64d7fec255571a145b5b41d0d">··129</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#a578f23c64d7fec255571a145b5b41d0d">operator^·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 177 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga34d5f252a0f67b144c564b8c2591136c">operator^=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 178 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 179 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a01296.html#a25275d0c9d905553466690a867ab826a">··133</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#a25275d0c9d905553466690a867ab826a">operator|·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div>
 180 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gabdc13f31b8591f91da4f7d1d5956b80d">operator|=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div>
 181 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div>
 182 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a00408.html#gaaa7d16f0cab60097e45cd6ac53bd6883">operator~·</a>()·<span·class="keyword">const</span>;</div>
Max diff block lines reached; 8348/146144 bytes (5.71%) of diff not shown.
26.4 KB
html2text {}
    
Offset 7, 51 lines modifiedOffset 7, 895 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 to_unique_ptr.hh12 bigunsignedint.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·519 ·5
20 ·6#ifndef·DUNE_TO_UNIQUE_PTR_HH 
21 ·7#define·DUNE_TO_UNIQUE_PTR_HH20 ·6#ifndef·DUNE_BIGUNSIGNEDINT_HH
 21 ·7#define·DUNE_BIGUNSIGNEDINT_HH
Diff chunk too large, falling back to line-by-line diff (800 lines added, 19 lines removed)
22 ·822 ·8
23 ·9#warning·to_unique_ptr.hh·and·ToUniquePtr·are·deprecated.·Use·std::unique_ptr23 ·9#include·<algorithm>
24 or·std::shared_ptr·instead.24 ·10#include·<iostream>
25 ·1025 ·11#include·<limits>
26 ·11#include·<memory>26 ·12#include·<cstdint>
27 ·1227 ·13#include·<cstdlib>
28 ·13namespace·Dune28 ·14#include·<type_traits>
29 ·14{29 ·15#include·<dune/common/exceptions.hh>
30 ·17·template·<class·T>30 ·16#include·<dune/common/hash.hh>
31 18·using·ToUniquePtr·[[deprecated]]·=·std::unique_ptr<T>;31 ·17
32 ·1932 ·24namespace·Dune
33 ·22·template·<class·T,·class...·Args>33 ·25{
34 23·[[deprecated]]·std::unique_ptr<T>·makeToUnique·(Args&&...·args)34 ·26#if·HAVE_MPI
35 ·24·{35 ·27·template<class·K>
36 ·25·return·std::make_unique(std::forward<Args>(args)...);36 ·28·struct·MPITraits;
37 ·26·}37 ·29#endif
38 ·2738 ·30
39 ·28}·//·end·namespace·Dune39 ·36·namespace·Impl·{
40 ·2940 ·37
41 ·30#endif·//·DUNE_TO_UNIQUE_PTR_HH41 ·38·//·numeric_limits_helper·provides·std::numeric_limits·access·to·the
 42 internals
 43 ·39·//·of·bigunsignedint.·Previously,·the·correct·specialization·of·std::
 44 numeric_limits
 45 ·40·//·was·a·friend·of·bigunsignedint,·but·that·creates·problems·on·recent
 46 versions
 47 ·41·//·of·clang·with·the·alternative·libc++·library,·because·that·library
 48 declares·the
 49 ·42·//·base·template·of·std::numeric_limits·as·a·class·and·clang·subsequently
 50 complains
 51 ·43·//·if·the·friend·declaration·uses·'struct'.·Unfortunately,·libstdc++·uses·a
 52 struct,
 53 ·44·//·making·it·impossible·to·keep·clang·happy·for·both·standard·libraries.
 54 ·45·//·So·we·move·the·access·helper·functionality·into·a·custom·struct·and
 55 simply·let
 56 ·46·//·the·numeric_limits·specialization·inherit·from·the·helper.
 57 ·47
 58 ·48·template<typename·T>
 59 ·49·struct·numeric_limits_helper
 60 ·50·{
 61 ·51
 62 ·52·protected:
 63 ·53
 64 ·54·static·std::uint16_t&·digit(T&·big_unsigned_int,·std::size_t·i)
 65 ·55·{
 66 ·56·return·big_unsigned_int.digit[i];
 67 ·57·}
 68 ·58
 69 ·59·};
 70 ·60
 71 ·61·}
 72 ·62
 73 ·72·template<int·k>
 74 73·class·bigunsignedint·{
 75 ·74·public:
 76 ·75
 77 ·76·//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed
 78 77·constexpr·static·int·bits·=·std::numeric_limits<std::uint16_t>::digits;
 79 78·constexpr·static·int·n·=·k/bits+(k%bits!=0);
 80 79·constexpr·static·int·hexdigits·=·4;
 81 80·constexpr·static·int·bitmask·=·0xFFFF;
 82 81·constexpr·static·int·compbitmask·=·0xFFFF0000;
 83 82·constexpr·static·int·overflowmask·=·0x1;
 84 ·83
 85 ·85·bigunsignedint·();
 86 ·86
 87 ·88·template<typename·Signed>
 88 ·89·bigunsignedint·(Signed·x,·typename·std::enable_if<std::
 89 is_integral<Signed>::value·&&·std::is_signed<Signed>::value>::type*·=·0);
 90 ·90
 91 ·92·bigunsignedint·(std::uintmax_t·x);
 92 ·93
 93 ·95·void·print·(std::ostream&·s)·const·;
 94 ·96
 95 98·bigunsignedint<k>·operator+(const·bigunsignedint<k>&·x)·const;
 96 ·99·bigunsignedint<k>&·operator+=(const·bigunsignedint<k>&·x);
 97 ·100
 98 102·bigunsignedint<k>·operator-(const·bigunsignedint<k>&·x)·const;
 99 ·103·bigunsignedint<k>&·operator-=(const·bigunsignedint<k>&·x);
 100 ·104
 101 106·bigunsignedint<k>·operator*(const·bigunsignedint<k>&·x)·const;
 102 ·107·bigunsignedint<k>&·operator*=(const·bigunsignedint<k>&·x);
 103 ·108
 104 ·110·bigunsignedint<k>&·operator++();
 105 ·111
 106 115·bigunsignedint<k>·operator/(const·bigunsignedint<k>&·x)·const;
 107 ·116·bigunsignedint<k>&·operator/=(const·bigunsignedint<k>&·x);
 108 ·117
 109 121·bigunsignedint<k>·operator%(const·bigunsignedint<k>&·x)·const;
 110 ·122·bigunsignedint<k>&·operator%=(const·bigunsignedint<k>&·x);
 111 ·123
 112 125·bigunsignedint<k>·operator&(const·bigunsignedint<k>&·x)·const;
 113 ·126·bigunsignedint<k>&·operator&=(const·bigunsignedint<k>&·x);
 114 ·127
 115 129·bigunsignedint<k>·operator^(const·bigunsignedint<k>&·x)·const;
 116 ·130·bigunsignedint<k>&·operator^=(const·bigunsignedint<k>&·x);
 117 ·131
 118 133·bigunsignedint<k>·operator|(const·bigunsignedint<k>&·x)·const;
 119 ·134·bigunsignedint<k>&·operator|=(const·bigunsignedint<k>&·x);
 120 ·135
 121 ·137·bigunsignedint<k>·operator~()·const;
 122 ·138
 123 ·139
 124 ·141·bigunsignedint<k>·operator<<(int·i)·const;
 125 ·142
 126 ·144·bigunsignedint<k>·operator>>(int·i)·const;
 127 ·145
 128 ·146
 129 ·148·bool·operator<(const·bigunsignedint<k>&·x)·const;
Max diff block lines reached; 2993/27006 bytes (11.08%) of diff not shown.
11.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 70 lines modifiedOffset 70, 57 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#namespaces">Namespaces</a>·&#124;
77 <a·href="#define-members">Macros</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
78 ··<div·class="headertitle"><div·class="title">visibility.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">stringutility.hh·File·Reference</div></div>
79 </div><!--header-->80 </div><!--header-->
80 <div·class="contents">81 <div·class="contents">
  
81 <p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.··82 <p>Miscellaneous·helper·stuff.··
82 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 85 <code>#include·&lt;cstring&gt;</code><br·/>
 86 <code>#include·&lt;algorithm&gt;</code><br·/>
 87 <code>#include·&lt;cassert&gt;</code><br·/>
 88 <code>#include·&lt;cstdio&gt;</code><br·/>
 89 <code>#include·&lt;memory&gt;</code><br·/>
 90 <code>#include·&lt;string&gt;</code><br·/>
 91 <code>#include·&lt;new&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 93 </div>
83 <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">95 <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"·id="r_a00425"><td·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">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
86 Macros</h2></td></tr>103 Functions</h2></td></tr>
87 <tr·class="memitem:a392e8fb5628732502467b715b88974b4"·id="r_a392e8fb5628732502467b715b88974b4"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>&#160;&#160;&#160;implementation_defined</td></tr> 
88 <tr·class="memdesc:a392e8fb5628732502467b715b88974b4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·a·symbol·as·part·of·the·public·ABI.··<br·/></td></tr>104 <tr·class="memitem:gaf31028edab397ce01e0192a2823488f7"·id="r_gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>
 105 <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>
 106 <tr·class="memdesc:gaf31028edab397ce01e0192a2823488f7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·prefix.··<br·/></td></tr>
89 <tr·class="separator:a392e8fb5628732502467b715b88974b4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:gaf31028edab397ce01e0192a2823488f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:ab9e9adaae1a11e7546a1b712495d1f42"·id="r_ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html#ab9e9adaae1a11e7546a1b712495d1f42">DUNE_PRIVATE</a>&#160;&#160;&#160;implementation_defined</td></tr> 
91 <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.··<br·/></td></tr>108 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"·id="r_ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>
 109 <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>
 110 <tr·class="memdesc:ga560ea1a14403e04148126a2e9396dea2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·suffix.··<br·/></td></tr>
92 <tr·class="separator:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:ga560ea1a14403e04148126a2e9396dea2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"·id="r_gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 113 <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>
 114 <tr·class="memdesc:gab825672ce0273462cb092bba70f39d0b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Format·values·according·to·printf·format·string.··<br·/></td></tr>
 115 <tr·class="separator:gab825672ce0273462cb092bba70f39d0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>116 </table>
94 <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>
 118 <div·class="textblock"><p>Miscellaneous·helper·stuff.·</p>
95 <div·class="textblock"><p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·</p> 
96 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
97 <a·id="a392e8fb5628732502467b715b88974b4"·name="a392e8fb5628732502467b715b88974b4"></a> 
98 <h2·class="memtitle"><span·class="permalink"><a·href="#a392e8fb5628732502467b715b88974b4">&#9670;&#160;</a></span>DUNE_EXPORT</h2> 
  
99 <div·class="memitem"> 
100 <div·class="memproto"> 
101 ······<table·class="memname"> 
102 ········<tr> 
103 ··········<td·class="memname">#define·DUNE_EXPORT&#160;&#160;&#160;implementation_defined</td> 
104 ········</tr> 
105 ······</table> 
106 </div><div·class="memdoc"> 
  
107 <p>Export·a·symbol·as·part·of·the·public·ABI.·</p> 
108 <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> 
  
109 </div> 
110 </div> 
111 <a·id="ab9e9adaae1a11e7546a1b712495d1f42"·name="ab9e9adaae1a11e7546a1b712495d1f42"></a> 
112 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e9adaae1a11e7546a1b712495d1f42">&#9670;&#160;</a></span>DUNE_PRIVATE</h2> 
  
113 <div·class="memitem"> 
114 <div·class="memproto"> 
115 ······<table·class="memname"> 
116 ········<tr> 
117 ··········<td·class="memname">#define·DUNE_PRIVATE&#160;&#160;&#160;implementation_defined</td> 
118 ········</tr> 
119 ······</table> 
120 </div><div·class="memdoc"> 
  
121 <p>Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.·</p> 
122 <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> 
  
123 </div> 
124 </div> 
125 </div><!--·contents·-->119 </div></div><!--·contents·-->
126 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>121 <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.8122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
129 </small></address>123 </small></address>
130 </body>124 </body>
131 </html>125 </html>
2.36 KB
html2text {}
    
Offset 6, 37 lines modifiedOffset 6, 43 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros12 Namespaces·|·Functions
13 visibility.hh·File·Reference13 stringutility.hh·File·Reference
14 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·More...14 Miscellaneous·helper·stuff.·More...
 15 #include·<cstddef>
 16 #include·<cstring>
 17 #include·<algorithm>
 18 #include·<cassert>
 19 #include·<cstdio>
 20 #include·<memory>
 21 #include·<string>
 22 #include·<new>
 23 #include·<dune/common/exceptions.hh>
15 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
16 ·Macros 
17 #define DUNE_EXPORT   implementation_defined 
18  ·······Export·a·symbol·as·part·of·the·public·ABI.25 ·Namespaces
 26 namespace· Dune
 27  ··········Dune·namespace.
19  28  
20 #define DUNE_PRIVATE   implementation_defined 
21  ·······Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.29 ·Functions
 30 template<typename·C·>
 31 ··············bool Dune::hasPrefix·(const·C·&c,·const·char·*prefix)
 32  ··················Check·whether·a·character·container·has·a·given·prefix.
 33  
 34 template<typename·C·>
 35 ··············bool Dune::hasSuffix·(const·C·&c,·const·char·*suffix)
 36  ··················Check·whether·a·character·container·has·a·given·suffix.
 37  
 38 template<class...·T>
 39 static·std::string Dune::formatString·(const·std::string·&s,·const·T·&...
 40 ····················args)
 41  ··················Format·values·according·to·printf·format·string.
22  42  
23 *****·Detailed·Description·*****43 *****·Detailed·Description·*****
 44 Miscellaneous·helper·stuff.
24 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level. 
25 *****·Macro·Definition·Documentation·***** 
26 *****·◆ DUNE_EXPORT·***** 
27 #define·DUNE_EXPORT   implementation_defined 
28 Export·a·symbol·as·part·of·the·public·ABI. 
29 Mark·a·class,·function·or·static·variable·as·visible·outside·the·current·DSO. 
30 For·now,·this·is·mostly·important·for·templated·global·variables·and·functions 
31 that·contain·static·variables. 
32 *****·◆ DUNE_PRIVATE·***** 
33 #define·DUNE_PRIVATE   implementation_defined 
34 Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only. 
35 Mark·a·class,·function·or·static·variable·as·inaccessible·from·outside·the 
36 current·DSO.·Doing·so·will·decrease·the·size·of·the·symbol·table,·but·you·have 
37 to·be·sure·that·the·symbol·will·never·have·to·be·accessed·from·another·library 
38 or·the·main·executable! 
  
39 ===============================================================================45 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.846 ·····Generated·by [doxygen]·1.9.8
24.6 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·stringutility.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 74, 48 lines modifiedOffset 74, 109 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">visibility.hh</div></div>80 ··<div·class="headertitle"><div·class="title">stringutility.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VISIBILITY_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STRINGUTILITY_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_VISIBILITY_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STRINGUTILITY_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
92 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
93 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00095.html#a392e8fb5628732502467b715b88974b4">···20</a></span><span·class="preprocessor">#define·DUNE_EXPORT·implementation_defined</span></div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div>
 95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
94 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
95 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
96 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00095.html#ab9e9adaae1a11e7546a1b712495d1f42">···28</a></span><span·class="preprocessor">#define·DUNE_PRIVATE·implementation_defined</span></div>102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
97 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
98 <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>104 <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>
 105 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}">
 106 <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>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····std::size_t·len·=·std::strlen(prefix);</div>
 108 <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>
 109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···········std::equal(prefix,·prefix+len,·c.begin());</div>
99 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div>
 111 </div>
100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#if·__GNUC__·&gt;=·4</span></div> 
101 <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> 
102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·attribute</span></div> 
103 <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> 
104 <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> 
105 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#else</span></div> 
106 <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> 
107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#define·DUNE_EXPORT</span></div> 
108 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#define·DUNE_PRIVATE</span></div> 
109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div> 
110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
111 <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>113 <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>
 114 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}">
 115 <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>
 116 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::size_t·len·=·std::strlen(suffix);</div>
 117 <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>
 118 <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>
 119 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····std::advance(it,·c.size()·-·len);</div>
 120 <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>
 121 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div>
 122 </div>
 123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 124 <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>
 125 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}">
 126 <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>
 127 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>
 128 <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>
 129 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">char</span>·buffer[bufferSize];</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>····<span·class="comment">//·try·to·format·with·static·buffer</span></div>
 132 <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>
 133 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 134 <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>
 135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">if</span>·(r&lt;0)</div>
 136 <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>
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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="comment">//·if·buffer·was·large·enough·return·result·as·string</span></div>
 139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">if</span>·(r&lt;bufferSize)</div>
 140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·std::string(buffer);</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="comment">//·if·buffer·was·to·small·allocate·a·larger·buffer·using</span></div>
 143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//·the·predicted·size·hint·(+1·for·the·terminating·0-byte).</span></div>
 144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·dynamicBufferSize·=·r+1;</div>
 145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····std::unique_ptr&lt;char[]&gt;·dynamicBuffer;</div>
 147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">try</span>·{</div>
 148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······dynamicBuffer·=·std::make_unique&lt;char[]&gt;(dynamicBufferSize);</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="keywordflow">catch</span>·(<span·class="keyword">const</span>·std::bad_alloc&amp;)·{</div>
 151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</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·allocate·large·enough·dynamic·buffer·in·formatString.&quot;</span>);</div>
 152 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····}</div>
 153 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 154 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·convert·and·check·for·errors·again</span></div>
 155 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····r·=·std::snprintf(dynamicBuffer.get(),·dynamicBufferSize,·s.c_str(),·args...);</div>
 156 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">if</span>·(r&lt;0)</div>
 157 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</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>
 158 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 159 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="comment">//·the·new·buffer·should·always·be·large·enough</span></div>
 160 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····assert(r&lt;dynamicBufferSize);</div>
 161 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 162 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordflow">return</span>·std::string(dynamicBuffer.get());</div>
 163 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··}</div>
 164 </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>·</div>
113 <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>167 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_STRINGUTILITY_HH</span></div>
 168 <div·class="ttc"·id="aa00110_html"><div·class="ttname"><a·href="a00110.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
 169 <div·class="ttc"·id="aa00402_html_ga560ea1a14403e04148126a2e9396dea2"><div·class="ttname"><a·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">Dune::hasSuffix</a></div><div·class="ttdeci">bool·hasSuffix(const·C·&amp;c,·const·char·*suffix)</div><div·class="ttdoc">Check·whether·a·character·container·has·a·given·suffix.</div><div·class="ttdef"><b>Definition</b>·stringutility.hh:53</div></div>
 170 <div·class="ttc"·id="aa00402_html_gab825672ce0273462cb092bba70f39d0b"><div·class="ttname"><a·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">Dune::formatString</a></div><div·class="ttdeci">static·std::string·formatString(const·std::string·&amp;s,·const·T·&amp;...·args)</div><div·class="ttdoc">Format·values·according·to·printf·format·string.</div><div·class="ttdef"><b>Definition</b>·stringutility.hh:73</div></div>
 171 <div·class="ttc"·id="aa00402_html_gaf31028edab397ce01e0192a2823488f7"><div·class="ttname"><a·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">Dune::hasPrefix</a></div><div·class="ttdeci">bool·hasPrefix(const·C·&amp;c,·const·char·*prefix)</div><div·class="ttdoc">Check·whether·a·character·container·has·a·given·prefix.</div><div·class="ttdef"><b>Definition</b>·stringutility.hh:37</div></div>
 172 <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>
 173 <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/20728 bytes (1.31%) of diff not shown.
4.27 KB
html2text {}
    
Offset 7, 46 lines modifiedOffset 7, 119 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 visibility.hh12 stringutility.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_VISIBILITY_HH19 ·5#ifndef·DUNE_COMMON_STRINGUTILITY_HH
20 ·6#define·DUNE_COMMON_VISIBILITY_HH20 ·6#define·DUNE_COMMON_STRINGUTILITY_HH
21 ·721 ·7
22 ·12#ifdef·DOXYGEN 
23 ·13 
24 ·15 
25 20#define·DUNE_EXPORT·implementation_defined 
26 ·2122 ·12#include·<cstddef>
 23 ·13#include·<cstring>
 24 ·14#include·<algorithm>
 25 ·15#include·<cassert>
 26 ·16#include·<cstdio>
 27 ·17#include·<memory>
 28 ·18#include·<string>
 29 ·19#include·<new>
 30 ·20
 31 ·21#include·<dune/common/exceptions.hh>
 32 ·22
27 ·2333 ·23
 34 ·24namespace·Dune·{
 35 ·25
 36 ·36·template<typename·C>
 37 37·bool·hasPrefix(const·C&·c,·const·char*·prefix)·{
 38 ·38·std::size_t·len·=·std::strlen(prefix);
 39 ·39·return·c.size()·>=·len·&&
 40 ·40·std::equal(prefix,·prefix+len,·c.begin());
 41 ·41·}
28 28#define·DUNE_PRIVATE·implementation_defined 
29 ·29 
30 ·30#else·//·DOXYGEN 
31 ·31 
32 ·32#if·__GNUC__·>=·4 
33 ·33//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the 
34 visibility 
35 ·34//·attribute 
36 ·35#define·DUNE_EXPORT·__attribute__((visibility("default"))) 
37 ·36#define·DUNE_PRIVATE·__attribute__((visibility("hidden"))) 
38 ·37#else 
39 ·38//·We·don't·know·about·the·active·compiler,·so·just·turn·the·visibility 
40 macros·to·no-ops. 
41 ·39#define·DUNE_EXPORT 
42 ·40#define·DUNE_PRIVATE 
43 ·41#endif 
44 ·4242 ·42
45 ·43#endif·//·DOXYGEN 
46 ·4443 ·52·template<typename·C>
 44 53·bool·hasSuffix(const·C&·c,·const·char*·suffix)·{
 45 ·54·std::size_t·len·=·std::strlen(suffix);
 46 ·55·if(c.size()·<·len)·return·false;
 47 ·56·typename·C::const_iterator·it·=·c.begin();
 48 ·57·std::advance(it,·c.size()·-·len);
 49 ·58·return·std::equal(suffix,·suffix+len,·it);
 50 ·59·}
 51 ·60
 52 ·72·template<class...·T>
 53 73·static·std::string·formatString(const·std::string&·s,·const·T&...·args)
 54 ·74·{
 55 ·75·static·const·int·bufferSize=1000;
 56 ·76·char·buffer[bufferSize];
 57 ·77
 58 ·78·//·try·to·format·with·static·buffer
 59 ·79·int·r·=·std::snprintf(buffer,·bufferSize,·s.c_str(),·args...);
 60 ·80
 61 ·81·//·negative·return·values·correspond·to·errors
 62 ·82·if·(r<0)
 63 ·83·DUNE_THROW(Dune::Exception,"Could·not·convert·format·string·using·given
 64 arguments.");
 65 ·84
 66 ·85·//·if·buffer·was·large·enough·return·result·as·string
 67 ·86·if·(r<bufferSize)
 68 ·87·return·std::string(buffer);
 69 ·88
 70 ·89·//·if·buffer·was·to·small·allocate·a·larger·buffer·using
 71 ·90·//·the·predicted·size·hint·(+1·for·the·terminating·0-byte).
 72 ·91·int·dynamicBufferSize·=·r+1;
 73 ·92
 74 ·93·std::unique_ptr<char[]>·dynamicBuffer;
 75 ·94·try·{
 76 ·95·dynamicBuffer·=·std::make_unique<char[]>(dynamicBufferSize);
 77 ·96·}
 78 ·97·catch·(const·std::bad_alloc&)·{
 79 ·98·DUNE_THROW(Dune::Exception,"Could·allocate·large·enough·dynamic·buffer·in
 80 formatString.");
 81 ·99·}
 82 ·100
 83 ·101·//·convert·and·check·for·errors·again
 84 ·102·r·=·std::snprintf(dynamicBuffer.get(),·dynamicBufferSize,·s.c_str(),
 85 args...);
 86 ·103·if·(r<0)
 87 ·104·DUNE_THROW(Dune::Exception,"Could·not·convert·format·string·using·given
 88 arguments.");
 89 ·105
 90 ·106·//·the·new·buffer·should·always·be·large·enough
 91 ·107·assert(r<dynamicBufferSize);
 92 ·108
 93 ·109·return·std::string(dynamicBuffer.get());
 94 ·110·}
 95 ·113}
 96 ·114
47 ·45#endif·//·DUNE_COMMON_VISIBILITY97 ·115#endif·//·DUNE_COMMON_STRINGUTILITY_HH
 98 exceptions.hh
 99 A·few·common·exception·classes.
 100 Dune::hasSuffix
 101 bool·hasSuffix(const·C·&c,·const·char·*suffix)
 102 Check·whether·a·character·container·has·a·given·suffix.
 103 Definition·stringutility.hh:53
 104 Dune::formatString
 105 static·std::string·formatString(const·std::string·&s,·const·T·&...·args)
 106 Format·values·according·to·printf·format·string.
 107 Definition·stringutility.hh:73
 108 Dune::hasPrefix
 109 bool·hasPrefix(const·C·&c,·const·char·*prefix)
 110 Check·whether·a·character·container·has·a·given·prefix.
Max diff block lines reached; 116/4349 bytes (2.67%) of diff not shown.
13.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 39 lines modifiedOffset 71, 84 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
79 ··<div·class="headertitle"><div·class="title">timer.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>79 <a·href="#func-members">Functions</a>··</div>
 80 ··<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>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>A·simple·timing·class.··83 <p>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;chrono&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 86 <code>#include·&lt;cmath&gt;</code><br·/>
 87 <code>#include·&lt;cstddef&gt;</code><br·/>
 88 <code>#include·&lt;cstdlib&gt;</code><br·/>
 89 <code>#include·&lt;complex&gt;</code><br·/>
 90 <code>#include·&lt;cstring&gt;</code><br·/>
 91 <code>#include·&lt;utility&gt;</code><br·/>
 92 <code>#include·&lt;initializer_list&gt;</code><br·/>
 93 <code>#include·&lt;algorithm&gt;</code><br·/>
 94 <code>#include·&quot;<a·class="el"·href="a00113_source.html">typetraits.hh</a>&quot;</code><br·/>
 95 <code>#include·&quot;<a·class="el"·href="a00110_source.html">exceptions.hh</a>&quot;</code><br·/>
 96 <code>#include·&quot;<a·class="el"·href="a00179_source.html">ftraits.hh</a>&quot;</code><br·/>
 97 <code>#include·&quot;<a·class="el"·href="a00239_source.html">densevector.hh</a>&quot;</code><br·/>
 98 <code>#include·&quot;<a·class="el"·href="a00080_source.html">boundschecking.hh</a>&quot;</code><br·/>
 99 <code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 100 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
85 </div>101 </div>
86 <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p>102 <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">103 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
89 Classes</h2></td></tr>105 Classes</h2></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="a01776.html">Dune::DenseMatVecTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&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="a01780.html">Dune::FieldTraits&lt;·FieldVector&lt;·K,·SIZE·&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="a01784.html">Dune::IsFieldVectorSizeCorrect&lt;·C,·SIZE·&gt;</a></td></tr>
 111 <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>
 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="a01788.html">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE·&gt;,·SIZE·&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">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>
 116 <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="a02884.html">Dune::Timer</a></td></tr>117 <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>
91 <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>118 <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>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">120 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>121 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
95 Namespaces</h2></td></tr>122 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>123 <tr·class="memitem:a00425"·id="r_a00425"><td·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>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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:a00438"·id="r_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>
 127 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<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="func-members"·name="func-members"></a>
 131 Functions</h2></td></tr>
 132 <tr·class="memitem:ab33f61f8962056b6619b0d5b7edceefd"·id="r_ab33f61f8962056b6619b0d5b7edceefd"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr>
 133 <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·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·SIZE·&gt;·&amp;b,·<a·class="el"·href="a03180.html">PriorityTag</a>&lt;·2·&gt;,·<a·class="el"·href="a01928.html">ADLTag</a>)</td></tr>
 134 <tr·class="separator:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a5312822f8a17821bbd4fdd8671528d88"·id="r_a5312822f8a17821bbd4fdd8671528d88"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr>
 136 <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·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·SIZE·&gt;·&amp;b,·<a·class="el"·href="a03180.html">PriorityTag</a>&lt;·2·&gt;,·<a·class="el"·href="a01928.html">ADLTag</a>)</td></tr>
 137 <tr·class="separator:a5312822f8a17821bbd4fdd8671528d88"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:a4daa32207a54271c8d4496a7fe7ef610"·id="r_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>
 139 <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·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·SIZE·&gt;·&amp;b,·<a·class="el"·href="a03180.html">PriorityTag</a>&lt;·2·&gt;,·<a·class="el"·href="a01928.html">ADLTag</a>)</td></tr>
 140 <tr·class="separator:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:abe1edb9dee17e22e019dcc99fda44e7f"·id="r_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>
 142 <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·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·1·&gt;·&amp;b,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·1·&gt;·&amp;c,·<a·class="el"·href="a03180.html">PriorityTag</a>&lt;·2·&gt;,·<a·class="el"·href="a01928.html">ADLTag</a>)</td></tr>
 143 <tr·class="separator:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table>144 </table>
100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>145 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
101 <div·class="textblock"><p>A·simple·timing·class.·</p>146 <div·class="textblock"><p>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·</p>
102 </div></div><!--·contents·-->147 </div></div><!--·contents·-->
103 <!--·start·footer·part·-->148 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>149 <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.8150 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
106 </small></address>151 </small></address>
107 </body>152 </body>
108 </html>153 </html>
2.53 KB
html2text {}
    
Offset 6, 26 lines modifiedOffset 6, 75 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
13 timer.hh·File·Reference13 fvector.hh·File·Reference
14 Common 
15 A·simple·timing·class.·More...14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a
 16 compile-time·given·size.·More...
 17 #include·<array>
 18 #include·<cmath>
 19 #include·<cstddef>
 20 #include·<cstdlib>
 21 #include·<complex>
16 #include·<chrono>22 #include·<cstring>
 23 #include·<utility>
 24 #include·<initializer_list>
 25 #include·<algorithm>
 26 #include·"typetraits.hh"
 27 #include·"exceptions.hh"
 28 #include·"ftraits.hh"
 29 #include·"densevector.hh"
 30 #include·"boundschecking.hh"
 31 #include·<dune/common/math.hh>
 32 #include·<dune/common/promotiontraits.hh>
17 Go_to_the_source_code_of_this_file.33 Go_to_the_source_code_of_this_file.
18 ·Classes34 ·Classes
19 class· Dune::Timer 
20  ······A·simple·stop·watch.·More...35 struct· Dune::DenseMatVecTraits<_FieldVector<_K,_SIZE_>_>
 36  
 37 struct· Dune::FieldTraits<_FieldVector<_K,_SIZE_>_>
 38  
 39 struct· Dune::IsFieldVectorSizeCorrect<_C,_SIZE_>
 40  ·······TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.
 41 ·········More...
 42  
 43 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE_>,_SIZE_>
 44  
 45 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE1_>,_SIZE_>
 46  
 47 ·class· Dune::FieldVector<_K,_SIZE_>
 48  ·······vector·space·out·of·a·tensor·product·of·fields.·More...
21  49  
22 ·Namespaces50 ·Namespaces
23 namespace· Dune51 namespace· Dune
24  ··········Dune·namespace.52  ··········Dune·namespace.
25  53  
 54 namespace· Dune::MathOverloads
 55  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
 56  
 57 ·Functions
 58 template<class·K·,·int·SIZE>
 59 auto Dune::MathOverloads::isFinite·(const·FieldVector<·K,·SIZE·>·&b,
 60 ······PriorityTag<·2·>,·ADLTag)
 61  
 62 template<class·K·,·int·SIZE>
 63 bool Dune::MathOverloads::isInf·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag<
 64 ······2·>,·ADLTag)
 65  
 66 template<class·K·,·int·SIZE,·typename·=·std::enable_if_t<HasNaN<K>::value>>
 67 bool Dune::MathOverloads::isNaN·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag<
 68 ······2·>,·ADLTag)
 69  
 70 template<class·K·,·typename·=·std::enable_if_t<HasNaN<K>::value>>
 71 bool Dune::MathOverloads::isUnordered·(const·FieldVector<·K,·1·>·&b,·const
 72 ······FieldVector<·K,·1·>·&c,·PriorityTag<·2·>,·ADLTag)
 73  
26 *****·Detailed·Description·*****74 *****·Detailed·Description·*****
27 A·simple·timing·class.75 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a
 76 compile-time·given·size.
  
28 ===============================================================================77 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.878 ·····Generated·by [doxygen]·1.9.8
145 KB
./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 157 lines modifiedOffset 74, 639 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">timer.hh</div></div>80 ··<div·class="headertitle"><div·class="title">fvector.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TIMER_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FVECTOR_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TIMER_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FVECTOR_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#ifndef·TIMER_USE_STD_CLOCK</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//·headers·for·std::chrono</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;chrono&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#else</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·headers·for·std::clock</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;ctime&gt;</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
98 <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="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00113.html">typetraits.hh</a>&quot;</span></div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00110.html">exceptions.hh</a>&quot;</span></div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00179.html">ftraits.hh</a>&quot;</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00239.html">densevector.hh</a>&quot;</span></div>
 105 <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>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00101.html">dune/common/math.hh</a>&gt;</span></div>
 108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00257.html">dune/common/promotiontraits.hh</a>&gt;</span></div>
 109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 110 <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>
 111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 112 <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>
 113 <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>
100 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};">114 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">
101 <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>115 <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">FieldVecto[·...·truncated·by·diffoscope;·len:·24,·SHA:·0b47e997416e9e3ba8c2bb8919c8620b8a0be5984b22805d9868fb168a53ecbb·...·]</div>
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>116 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
 117 <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>
 118 <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>
 119 <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>
 120 <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>
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div>121 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div>
 122 </div>
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>123 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 124 <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>
105 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">125 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};">
106 <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>126 <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>
107 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div>127 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
108 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······isRunning_·=·startImmediately;</div> 
109 <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>128 <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#aaaf5[·...·truncated·by·diffoscope;·len:·161,·SHA:·60086e5bf13a16e2d0860ff8912ca904a5e8ecb0d28f741881899fce044dea24·...·];</div>
 129 <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>
110 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div>130 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>
111 </div>131 </div>
112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>132 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 133 <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>
113 <div·class="foldopen"·id="foldopen00057"·data-start="{"·data-end="}">134 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};">
114 <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[·...·truncated·by·diffoscope;·len:·15,·SHA:·c68493adacd91b65242b1f7ee3b4043e0f004ada25880569a03bf81bfae2692e·...·]</div>135 <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>
115 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div>136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>
 137 <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>
116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······sumElapsed_·=·0.0;</div> 
117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······storedLastElapsed_·=·0.0;</div> 
118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······rawReset();</div> 
119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
120 </div>139 </div>
121 <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> 
123 <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> 
124 <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> 
125 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div> 
126 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(not·(isRunning_))</div> 
127 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······{</div> 
128 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········rawReset();</div> 
129 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········isRunning_·=·<span·class="keyword">true</span>;</div> 
130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div> 
131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div>140 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 141 <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>
 142 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="};">
 143 <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>
 144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
 145 <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>
 146 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··};</div>
132 </div>147 </div>
133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>149 <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>
135 <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}">150 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="};">
 151 <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>
136 <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> 
137 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div> 
138 <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> 
139 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keywordflow">if</span>·(isRunning_)</div> 
140 <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> 
141 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>152 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>
142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·sumElapsed_;</div>153 <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#a2ef454b[·...·truncated·by·diffoscope;·len:·73,·SHA:·0595577faa5d7a4c9c2387ae50d35eee914b7bccd6e422c6e5df06995fbc4ba0·...·];</div>
143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>154 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··};</div>
144 </div>155 </div>
145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 158 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div>
147 <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}">159 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="};">
148 <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">las[·...·truncated·by·diffoscope;·len:·30,·SHA:·4c883af8c56e5e5ddeab42d3125eee4074dac7133739da70fd5155889decf5fd·...·]</div>160 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01412.html">···93</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>·:</div>
 161 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;·FieldVector&lt;K,SIZE&gt;·&gt;</div>
149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{</div>162 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div>
150 <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>163 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····std::array&lt;K,SIZE&gt;·_data;</div>
Max diff block lines reached; 90770/125101 bytes (72.56%) of diff not shown.
23.0 KB
html2text {}
    
Offset 7, 164 lines modifiedOffset 7, 715 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 timer.hh12 fvector.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_TIMER_HH19 ·5#ifndef·DUNE_FVECTOR_HH
20 ·6#define·DUNE_TIMER_HH20 ·6#define·DUNE_FVECTOR_HH
21 ·721 ·7
22 ·8#ifndef·TIMER_USE_STD_CLOCK 
23 ·9//·headers·for·std::chrono 
24 ·10#include·<chrono> 
25 ·11#else 
26 ·12//·headers·for·std::clock22 ·8#include·<array>
 23 ·9#include·<cmath>
 24 ·10#include·<cstddef>
 25 ·11#include·<cstdlib>
 26 ·12#include·<complex>
27 ·13#include·<ctime>27 ·13#include·<cstring>
28 ·14#endif 
29 ·15 
30 ·16namespace·Dune·{28 ·14#include·<utility>
 29 ·15#include·<initializer_list>
 30 ·16#include·<algorithm>
31 ·1731 ·17
32 42·class·Timer32 ·18#include·"typetraits.hh"
 33 ·19#include·"exceptions.hh"
 34 ·20
 35 ·21#include·"ftraits.hh"
 36 ·22#include·"densevector.hh"
 37 ·23#include·"boundschecking.hh"
 38 ·24
 39 ·25#include·<dune/common/math.hh>
 40 ·26#include·<dune/common/promotiontraits.hh>
 41 ·27
 42 ·28namespace·Dune·{
 43 ·29
 44 ·39·template<·class·K,·int·SIZE·>·class·FieldVector;
 45 ·40·template<·class·K,·int·SIZE·>
 46 41·struct·DenseMatVecTraits<·FieldVector<K,SIZE>·>
33 ·43·{47 ·42·{
34 ·44·public: 
35 ·45 
36 50·Timer·(bool·startImmediately=true)·noexcept48 43·typedef·FieldVector<K,SIZE>·derived_type;
 49 44·typedef·std::array<K,SIZE>·container_type;
 50 45·typedef·K·value_type;
 51 46·typedef·typename·container_type::size_type·size_type;
 52 ·47·};
 53 ·48
 54 ·49·template<·class·K,·int·SIZE·>
 55 50·struct·FieldTraits<·FieldVector<K,SIZE>·>
37 ·51·{56 ·51·{
38 ·52·isRunning_·=·startImmediately; 
39 ·53·reset();57 52·typedef·typename·FieldTraits<K>::field_type·field_type;
 58 53·typedef·typename·FieldTraits<K>::real_type·real_type;
40 ·54·}59 ·54·};
41 ·5560 ·55
 61 ·64·template<typename·C,·int·SIZE>
 62 65·struct·IsFieldVectorSizeCorrect
42 57·void·reset()·noexcept 
43 ·58·{ 
44 ·59·sumElapsed_·=·0.0; 
45 ·60·storedLastElapsed_·=·0.0; 
46 ·61·rawReset(); 
47 ·62·} 
48 ·63 
49 ·64 
50 66·void·start()·noexcept 
51 ·67·{63 ·66·{
 64 71·constexpr·static·bool·value·=·true;
52 ·68·if·(not·(isRunning_)) 
53 ·69·{ 
54 ·70·rawReset(); 
55 ·71·isRunning_·=·true; 
56 ·72·}65 ·72·};
57 ·73·}66 ·73
 67 ·74·template<typename·T,·int·SIZE>
 68 75·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE>,SIZE>
58 ·74 
59 ·75 
60 77·double·elapsed·()·const·noexcept 
61 ·78·{69 ·76·{
62 ·79·//·if·timer·is·running·add·the·time·elapsed·since·last·start·to·sum 
63 ·80·if·(isRunning_) 
64 ·81·return·sumElapsed_·+·lastElapsed();70 77·constexpr·static·bool·value·=·true;
 71 ·78·};
 72 ·79
 73 ·80·template<typename·T,·int·SIZE,·int·SIZE1>
 74 81·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE1>,SIZE>
65 ·8275 ·82·{
66 ·83·return·sumElapsed_;76 83·constexpr·static·bool·value·=·false;
67 ·84·}77 ·84·};
68 ·8578 ·85
69 ·8679 ·86
70 88·double·lastElapsed·()·const·noexcept80 ·92·template<·class·K,·int·SIZE·>
 81 93·class·FieldVector·:
 82 ·94·public·DenseVector<·FieldVector<K,SIZE>·>
71 ·89·{83 ·95·{
72 ·90·//·if·timer·is·running·return·the·current·value 
73 ·91·if·(isRunning_) 
74 ·92·return·rawElapsed(); 
75 ·93 
76 ·94·//·if·timer·is·not·running·return·stored·value·from·last·run 
77 ·95·return·storedLastElapsed_; 
78 ·96·} 
79 ·97 
80 ·98 
81 100·double·stop()·noexcept84 ·96·std::array<K,SIZE>·_data;
 85 ·97·typedef·DenseVector<_FieldVector<K,SIZE>·>·Base;
 86 ·98·public:
 87 100·constexpr·static·int·dimension·=·SIZE;
 88 ·101
 89 102·typedef·typename·Base::size_type·size_type;
 90 103·typedef·typename·Base::value_type·value_type;
 91 ·104
 92 106·typedef·value_type&·reference;
 93 ·107
 94 109·typedef·const·value_type&·const_reference;
 95 ·110
Max diff block lines reached; 18848/23521 bytes (80.13%) of diff not shown.
31.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 44 lines modifiedOffset 72, 195 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#define-members">Macros</a>·&#124;
79 <a·href="#enum-members">Enumerations</a>··</div>80 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">documentation.hh·File·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">math.hh·File·Reference</div></div>
81 </div><!--header-->82 </div><!--header-->
82 <div·class="contents">83 <div·class="contents">
  
83 <p>Documentation·related·stuff.··84 <p>Some·useful·basic·math·stuff.··
84 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
 86 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
 87 <code>#include·&lt;complex&gt;</code><br·/>
 88 <code>#include·&lt;limits&gt;</code><br·/>
 89 <code>#include·&lt;type_traits&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
 91 </div>
85 <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p>92 <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">93 <table·class="memberdecls">
87 <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>
88 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="a01908.html">Dune::StandardMathematicalConstants&lt;·T·&gt;</a></td></tr>
 97 <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>
 98 <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="a01488.html">Dune::ImplementationDefined</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="a01912.html">Dune::MathematicalConstants&lt;·Field·&gt;</a></td></tr>
90 <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>100 <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>
 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="a01916.html">Dune::Factorial&lt;·m·&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="a01920.html">Dune::Factorial&lt;·0·&gt;</a></td></tr>
 105 <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>
 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="a01928.html">Dune::MathOverloads::ADLTag</a></td></tr>
 108 <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>
 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="a01932.html">Dune::MathImpl::isUnorderedImpl</a></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">112 </table><table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>114 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
97 <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:a00438"·id="r_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>
 119 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a00443"·id="r_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>
 122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 </table><table·class="memberdecls">
 124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 125 Macros</h2></td></tr>
 126 <tr·class="memitem:ad9142ad3167567a3fdc4e29c7996ec95"·id="r_ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html#ad9142ad3167567a3fdc4e29c7996ec95">DUNE_COMMON_MATH_ISFUNCTION</a>(function,··stdfunction)</td></tr>
 127 <tr·class="separator:ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:a8a492f8cc06481d5f3b0d514e344dcfa"·id="r_a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html#a8a492f8cc06481d5f3b0d514e344dcfa">DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>(function)</td></tr>
 129 <tr·class="separator:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">130 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>131 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
100 Enumerations</h2></td></tr>132 Functions</h2></td></tr>
101 <tr·class="memitem:a90bbc2f44b2002c6431570e453a822a0"·id="r_a90bbc2f44b2002c6431570e453a822a0"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom">{·<a·class="el"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">Dune::implementationDefined</a> 
102 ·}</td></tr>133 <tr·class="memitem:a3e1ea51d0034cae5c0f206c0bdae2c9d"·id="r_a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Exponent·&gt;·</td></tr>
 134 <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>
 135 <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.··<br·/></td></tr>
 136 <tr·class="separator:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"·id="r_aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 138 <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>
 139 <tr·class="memdesc:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<br·/></td></tr>
 140 <tr·class="separator:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a76c0d28bee57c3a25005f55d790dad03"·id="r_a76c0d28bee57c3a25005f55d790dad03"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr>
 142 <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>
 143 <tr·class="memdesc:a76c0d28bee57c3a25005f55d790dad03"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<br·/></td></tr>
 144 <tr·class="separator:a76c0d28bee57c3a25005f55d790dad03"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:a2dd634f0f1043459fc810cb763999214"·id="r_a2dd634f0f1043459fc810cb763999214"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 146 <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>
 147 <tr·class="memdesc:a2dd634f0f1043459fc810cb763999214"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<br·/></td></tr>
 148 <tr·class="separator:a2dd634f0f1043459fc810cb763999214"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:a0f831857d19b4b3fdbfb49eed8872e22"·id="r_a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n,·T·k&gt;·</td></tr>
 150 <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>
 151 <tr·class="memdesc:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<br·/></td></tr>
 152 <tr·class="separator:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:ad23b1e7dff795bbdcd86389aeab065ba"·id="r_ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr>
 154 <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>
 155 <tr·class="separator:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:ae6ef69fa70938d4aa93d8e30d3813c13"·id="r_ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memTemplParams"·colspan="2">template&lt;class·K·&gt;·</td></tr>
 157 <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>
 158 <tr·class="memdesc:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·conjugate·complex·of·x··<br·/></td></tr>
 159 <tr·class="separator:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:ac1712a3bb38c829a2c339355cdb28133"·id="r_ac1712a3bb38c829a2c339355cdb28133"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 161 <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>
 162 <tr·class="memdesc:ac1712a3bb38c829a2c339355cdb28133"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·sign·of·the·value.··<br·/></td></tr>
 163 <tr·class="separator:ac1712a3bb38c829a2c339355cdb28133"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:a52c04e77b813dd109ca59f9ded3a3515"·id="r_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>·(<a·class="el"·href="a00438.html#a4daa32207a54271c8d4496a7fe7ef610">isNaN</a>,·isnan)</td></tr>
 165 <tr·class="separator:a52c04e77b813dd109ca59f9ded3a3515"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:a132229e4e1f87c4ea645b92e5ce316e2"·id="r_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>·(<a·class="el"·href="a00438.html#a5312822f8a17821bbd4fdd8671528d88">isInf</a>,·isinf)</td></tr>
 167 <tr·class="separator:a132229e4e1f87c4ea645b92e5ce316e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:a826fe50216822399903f37a0b901a9d4"·id="r_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>·(<a·class="el"·href="a00438.html#ab33f61f8962056b6619b0d5b7edceefd">isFinite</a>,·isfinite)</td></tr>
 169 <tr·class="separator:a826fe50216822399903f37a0b901a9d4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 170 <tr·class="memitem:aab4ad4b002d6757a35d82f9d7954e604"·id="r_aab4ad4b002d6757a35d82f9d7954e604"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 171 <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,·<a·class="el"·href="a03180.html">PriorityTag</a>&lt;·1·&gt;,·<a·class="el"·href="a01928.html">ADLTag</a>)·-&gt;·decltype(isUnordered(t1,·t2))</td></tr>
103 <tr·class="separator:a90bbc2f44b2002c6431570e453a822a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>172 <tr·class="separator:aab4ad4b002d6757a35d82f9d7954e604"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 173 <tr·class="memitem:a5fe96f40a2f7d525f8828086e306bc6a"·id="r_a5fe96f40a2f7d525f8828086e306bc6a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 174 <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,·<a·class="el"·href="a03180.html">PriorityTag</a>&lt;·0·&gt;,·<a·class="el"·href="a01928.html">ADLTag</a>)</td></tr>
 175 <tr·class="separator:a5fe96f40a2f7d525f8828086e306bc6a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 176 <tr·class="memitem:a3ae62f6f2833a56f9c4d5c9fe10e1116"·id="r_a3ae62f6f2833a56f9c4d5c9fe10e1116"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00443.html#a3ae62f6f2833a56f9c4d5c9fe10e1116">Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>·(isNaN)</td></tr>
 177 <tr·class="separator:a3ae62f6f2833a56f9c4d5c9fe10e1116"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 178 <tr·class="memitem:ab3d3f80e8ca72d2c4ff96b488c940d28"·id="r_ab3d3f80e8ca72d2c4ff96b488c940d28"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00443.html#ab3d3f80e8ca72d2c4ff96b488c940d28">Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>·(isInf)</td></tr>
 179 <tr·class="separator:ab3d3f80e8ca72d2c4ff96b488c940d28"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 180 <tr·class="memitem:a1434c3257e1930c54618527637803b47"·id="r_a1434c3257e1930c54618527637803b47"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00443.html#a1434c3257e1930c54618527637803b47">Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>·(isFinite)</td></tr>
Max diff block lines reached; 4760/26277 bytes (18.11%) of diff not shown.
5.6 KB
html2text {}
    
Offset 6, 27 lines modifiedOffset 6, 156 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Enumerations12 Classes·|·Namespaces·|·Macros·|·Functions
13 documentation.hh·File·Reference13 math.hh·File·Reference
14 Documentation·related·stuff.·More...14 Some·useful·basic·math·stuff.·More...
 15 #include·<cmath>
 16 #include·<complex>
 17 #include·<limits>
 18 #include·<type_traits>
 19 #include·<dune/common/typeutilities.hh>
15 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
16 ·Classes21 ·Classes
17 struct· Dune::ImplementationDefined 
18  ·······Dummy·struct·used·for·documentation·purposes.·More...22 struct· Dune::StandardMathematicalConstants<_T_>
 23  ·······Standard·implementation·of·MathematicalConstants.·More...
 24  
 25 struct· Dune::MathematicalConstants<_Field_>
 26  ·······Provides·commonly·used·mathematical·constants.·More...
 27  
 28 struct· Dune::Factorial<_m_>
 29  
 30 struct· Dune::Factorial<_0_>
 31  ·······end·of·recursion·of·factorial·via·specialization·More...
 32  
 33 struct· Dune::MathOverloads::ADLTag
 34  ·······Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.
 35 ·········More...
 36  
 37 struct· Dune::MathImpl::isUnorderedImpl
19  38  
20 ·Namespaces39 ·Namespaces
21 namespace· Dune40 namespace· Dune
22  ··········Dune·namespace.41  ··········Dune·namespace.
23  42  
24 ·Enumerations 
25 enum· {·Dune::implementationDefined·}43 namespace· Dune::MathOverloads
 44  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
 45  
 46 namespace· Dune::MathImpl
 47  
 48 ·Macros
 49 #define DUNE_COMMON_MATH_ISFUNCTION(function,·stdfunction)
 50  
 51 #define DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR(function)
 52  
 53 ·Functions
 54 template<class·Base·,·class·Exponent·>
 55 ·······constexpr·Base Dune::power·(Base·m,·Exponent·p)
 56  ·····················Power·method·for·integer·exponents.
 57  
 58 template<class·T·>
 59 ···static·constexpr·T Dune::factorial·(const·T·&n)·noexcept
 60  ·····················calculate·the·factorial·of·n·as·a·constexpr
 61  
 62 template<class·T·,·T·n>
 63 static·constexpr·auto Dune::factorial·(std::integral_constant<·T,·n·>)
 64 ·······················noexcept
 65  ·····················calculate·the·factorial·of·n·as·a·constexpr
 66  
 67 template<class·T·>
 68 ···static·constexpr·T Dune::binomial·(const·T·&n,·const·T·&k)·noexcept
 69  ·····················calculate·the·binomial·coefficient·n·over·k·as·a
 70 ·······················constexpr
 71  
 72 template<class·T·,·T·n,·T·k>
 73 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std::
 74 ·······················integral_constant<·T,·k·>)·noexcept
 75  ·····················calculate·the·binomial·coefficient·n·over·k·as·a
 76 ·······················constexpr
 77  
 78 template<class·T·,·T·n>
 79 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std::
 80 ·······················integral_constant<·T,·n·>)·noexcept
 81  
 82 template<class·K·>
 83 ····················K Dune::conjugateComplex·(const·K·&x)
 84  ·····················compute·conjugate·complex·of·x
 85  
 86 template<class·T·>
 87 ··················int Dune::sign·(const·T·&val)
 88  ·····················Return·the·sign·of·the·value.
 89  
 90 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isNaN,
 91 ·······················isnan)
 92  
 93 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isInf,
 94 ·······················isinf)
 95  
 96 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION
 97 ·······················(isFinite,·isfinite)
 98  
 99 template<class·T·>
 100 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T
 101 ·······················&t2,·PriorityTag<·1·>,·ADLTag)·->·decltype(isUnordered
 102 ·······················(t1,·t2))
 103  
 104 template<class·T·>
 105 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T
 106 ·······················&t2,·PriorityTag<·0·>,·ADLTag)
 107  
 108 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR
 109 ·······················(isNaN)
 110  
 111 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR
 112 ·······················(isInf)
 113  
 114 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR
 115 ·······················(isFinite)
 116  
 117 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>>
 118 ·················auto Dune::MathOverloads::isNaN·(const·T·&t,·PriorityTag<·2
 119 ·······················>,·ADLTag)
 120  
 121 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>>
 122 ·················auto Dune::MathOverloads::isInf·(const·T·&t,·PriorityTag<·2
 123 ·······················>,·ADLTag)
 124  
 125 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>>
 126 ·················auto Dune::MathOverloads::isFinite·(const·T·&t,·PriorityTag<
 127 ·······················2·>,·ADLTag)
26  128  
27 *****·Detailed·Description·*****129 *****·Detailed·Description·*****
Max diff block lines reached; 116/5713 bytes (2.03%) of diff not shown.
73.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 38 lines modifiedOffset 74, 373 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">documentation.hh</div></div>80 ··<div·class="headertitle"><div·class="title">math.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATH_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATH_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_DOCUMENTATION_HH</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_DOCUMENTATION_HH</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
 93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/typeutilities.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>97 <div·class="line"><a·id="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>
 98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 100 <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>
 101 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">
93 <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>102 <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>
 103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
 104 <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}">
 105 <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>
 106 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div>
 107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">using·</span>std::exp;</div>
 108 <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>
 109 <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>
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····}</div>
95 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">···55</a></span>··<span·class="keyword">enum</span>·{·<a·class="code·hl_enumvalue"·[·...·truncated·by·diffoscope;·len:·115,·SHA:·5743841fc390ca00133380a0d4e288bd73380a900eadacfc2b4aff229eb23978·...·]/div>111 </div>
 112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 113 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}">
 114 <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>
 115 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div>
 116 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">using·</span>std::acos;</div>
 117 <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>
 118 <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>
 119 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div>
 120 </div>
 121 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>
 122 </div>
 123 <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>124 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 125 <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>
 126 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};">
 127 <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>
 128 <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>
97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}</div>129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{};</div>
 130 </div>
98 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
99 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 133 <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>
 134 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}">
 135 <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>
 136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
 137 <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>
 138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">auto</span>·result·=·Base(1);</div>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······result·*=·m;</div>
 143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">if</span>·(p&lt;0)</div>
 145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······result·=·Base(1)/result;</div>
 146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·result;</div>
 148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div>
 149 </div>
 150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 151 <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>
 152 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="};">
 153 <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>
 154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>
 155 <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>
 156 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··};</div>
 157 </div>
 158 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 159 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>·&lt;&gt;</div>
 160 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="};">
 161 <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(<span·class="stringliteral">&quot;Use·function·factorial·instead!·Will·be·removed·after·Dune·2.9&quot;</span>)]]·<a·class="code·hl_struct"·href="a01916.html">Factorial</a>&lt;0&gt;</div>
 162 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··{</div>
 163 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//·0!·=·1</span></div>
 164 <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>
 165 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··};</div>
 166 </div>
 167 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 169 <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>
 170 <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>
 171 <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}">
 172 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="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>
 173 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··{</div>
 174 <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>
 175 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····T·fac·=·1;</div>
 176 <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>
 177 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······fac·*=·k+1;</div>
 178 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·fac;</div>
 179 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div>
 180 </div>
 181 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 182 <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>
 183 <div·class="foldopen"·id="foldopen00122"·data-start="{"·data-end="}">
Max diff block lines reached; 6978/63071 bytes (11.06%) of diff not shown.
11.5 KB
html2text {}
    
Offset 7, 40 lines modifiedOffset 7, 387 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 documentation.hh12 math.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5 
20 ·6#ifndef·DUNE_COMMON_DOCUMENTATION_HH 
21 ·7#define·DUNE_COMMON_DOCUMENTATION_HH19 ·5#ifndef·DUNE_MATH_HH
 20 ·6#define·DUNE_MATH_HH
 21 ·7
 22 ·12#include·<cmath>
 23 ·13#include·<complex>
 24 ·14#include·<limits>
 25 ·15#include·<type_traits>
 26 ·16
 27 ·17#include·<dune/common/typeutilities.hh>
22 ·828 ·18
23 ·13namespace·Dune·{29 ·19namespace·Dune
24 ·14 
25 42·struct·ImplementationDefined·{};30 ·20{
 31 ·21
 32 ·32·template<·class·T·>
 33 33·struct·StandardMathematicalConstants
 34 ·34·{
 35 38·static·const·T·e·()
 36 ·39·{
 37 ·40·using·std::exp;
 38 ·41·static·const·T·e·=·exp(·T(·1·)·);
 39 ·42·return·e;
26 ·4340 ·43·}
27 55·enum·{·implementationDefined·};41 ·44
 42 48·static·const·T·pi·()
 43 ·49·{
 44 ·50·using·std::acos;
 45 ·51·static·const·T·pi·=·acos(·T(·-1·)·);
 46 ·52·return·pi;
 47 ·53·}
 48 ·54·};
 49 ·55
28 ·5650 ·56
29 ·57} 
30 ·5851 ·64·template<·class·Field·>
 52 65·struct·MathematicalConstants
 53 ·66·:·public·StandardMathematicalConstants<Field>
 54 ·67·{};
 55 ·68
 56 ·69
 57 ·74·template·<class·Base,·class·Exponent>
 58 75·constexpr·Base·power(Base·m,·Exponent·p)
 59 ·76·{
 60 ·77·static_assert(std::numeric_limits<Exponent>::is_integer,·"Exponent·must·be
 61 an·integer·type!");
 62 ·78
 63 ·79·auto·result·=·Base(1);
 64 ·80·auto·absp·=·(p<0)·?·-p·:·p;·//·This·is·simply·abs,·but·std::abs·is·not
 65 constexpr
 66 ·81·for·(Exponent·i·=·Exponent(0);·i<absp;·i++)
 67 ·82·result·*=·m;
 68 ·83
 69 ·84·if·(p<0)
 70 ·85·result·=·Base(1)/result;
 71 ·86
 72 ·87·return·result;
 73 ·88·}
 74 ·89
 75 ·92·template·<int·m>
 76 93·struct·Factorial
 77 ·94·{
 78 96·static·constexpr·int·factorial·=·m·*·Factorial<m-1>::factorial;
 79 ·97·};
 80 ·98
 81 ·100·template·<>
 82 101·struct·[[deprecated("Use·function·factorial·instead!·Will·be·removed·after
 83 Dune·2.9")]]·Factorial<0>
 84 ·102·{
 85 ·103·//·0!·=·1
 86 104·static·constexpr·int·factorial·=·1;
 87 ·105·};
 88 ·106
 89 ·107
 90 ·109·//·T·has·to·be·an·integral·type
 91 ·110·template<class·T>
 92 111·constexpr·inline·static·T·factorial(const·T&·n)·noexcept
 93 ·112·{
 94 ·113·static_assert(std::numeric_limits<T>::is_integer,·"`factorial(n)`·has·to
 95 be·called·with·an·integer·type.");
 96 ·114·T·fac·=·1;
 97 ·115·for(T·k·=·0;·k·<·n;·++k)
 98 ·116·fac·*=·k+1;
 99 ·117·return·fac;
 100 ·118·}
 101 ·119
 102 ·121·template<class·T,·T·n>
 103 122·constexpr·inline·static·auto·factorial·(std::integral_constant<T,·n>)
 104 noexcept
 105 ·123·{
 106 ·124·return·std::integral_constant<T,·factorial(n)>{};
 107 ·125·}
 108 ·126
 109 ·127
 110 ·129·//·T·has·to·be·an·integral·type
 111 ·130·template<class·T>
 112 131·constexpr·inline·static·T·binomial·(const·T&·n,·const·T&·k)·noexcept
 113 ·132·{
 114 ·133·static_assert(std::numeric_limits<T>::is_integer,·"`binomial(n,·k)`·has·to
 115 be·called·with·an·integer·type.");
 116 ·134
 117 ·135·if(·k·<·0·||·k·>·n·)
 118 ·136·return·0;
 119 ·137
 120 ·138·if·(2*k·>·n)
 121 ·139·return·binomial(n,·n-k);
 122 ·140
 123 ·141·T·bin·=·1;
 124 ·142·for(auto·i·=·n-k;·i·<·n;·++i)
 125 ·143·bin·*=·i+1;
 126 ·144·return·bin·/·factorial(k);
 127 ·145·}
Max diff block lines reached; 2492/11702 bytes (21.30%) of diff not shown.
30.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 99 lines modifiedOffset 72, 88 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#enum-members">Enumerations</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
81 ··<div·class="headertitle"><div·class="title">float_cmp.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">concept.hh·File·Reference</div></div>
82 </div><!--header-->81 </div><!--header-->
83 <div·class="contents">82 <div·class="contents">
  
84 <p>Various·ways·to·compare·floating-point·numbers.··83 <p>Infrastructure·for·concepts.··
85 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00308_source.html">float_cmp.cc</a>&quot;</code><br·/>85 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 86 <code>#include·&lt;utility&gt;</code><br·/>
 87 <code>#include·&lt;tuple&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
87 </div>92 </div>
88 <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">94 <table·class="memberdecls">
90 <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>
91 Classes</h2></td></tr>96 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="a01716.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·style·&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="a01348.html">Dune::Concept::Refines&lt;·BaseConcepts·&gt;</a></td></tr>
93 <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> 
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="a01720.html">Dune::FloatCmpOps&lt;·T,·cstyle_,·rstyle_·&gt;</a></td></tr> 
96 <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>98 <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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
99 <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>
100 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00434"·id="r_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="memitem:a00427"·id="r_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>
 107 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> 
108 Enumerations</h2></td></tr> 
109 <tr·class="memitem:ga4aeb759ed9de8b477a155492aeb2789b"·id="r_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> 
110 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">Dune::FloatCmp::relativeStrong</a> 
111 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">Dune::FloatCmp::absolute</a> 
112 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">Dune::FloatCmp::defaultCmpStyle</a>·=·relativeWeak 
113 ·}</td></tr> 
114 <tr·class="separator:ga4aeb759ed9de8b477a155492aeb2789b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:ga8507e971c45243aed2c4de1b3736ca04"·id="r_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·/> 
116 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">Dune::FloatCmp::towardZero</a> 
117 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">Dune::FloatCmp::towardInf</a> 
118 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">Dune::FloatCmp::downward</a> 
119 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">Dune::FloatCmp::upward</a> 
120 ,·<br·/> 
121 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">Dune::FloatCmp::defaultRoundingStyle</a>·=·towardZero 
122 <br·/> 
123 ·}</td></tr> 
124 <tr·class="separator:ga8507e971c45243aed2c4de1b3736ca04"><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>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
127 Functions</h2></td></tr>111 Functions</h2></td></tr>
 112 <tr·class="memitem:ga91a4108f1ea3f3644e343659a4e25904"·id="r_ga91a4108f1ea3f3644e343659a4e25904"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T&gt;·</td></tr>
 113 <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>
 114 <tr·class="memdesc:ga91a4108f1ea3f3644e343659a4e25904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·concept·is·modeled·by·given·types.··<br·/></td></tr>
128 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"·id="r_ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
129 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
130 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<br·/></td></tr> 
131 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"·id="r_ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
133 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
134 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<br·/></td></tr> 
135 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"·id="r_gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
137 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
138 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<br·/></td></tr> 
139 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"·id="r_gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
141 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
142 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<br·/></td></tr> 
143 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"·id="r_gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
145 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
146 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<br·/></td></tr> 
147 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"·id="r_gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
149 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
150 <tr·class="memdesc:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·or·equal·second··<br·/></td></tr> 
151 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"·id="r_ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr> 
154 <tr·class="memdesc:ga510d97be4644ccab5db0b674d79633c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">round·using·epsilon··<br·/></td></tr> 
155 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"·id="r_ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle&gt;·</td></tr> 
157 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr> 
158 <tr·class="memdesc:ga78eaf86b21236f5c55336724e911da08"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">truncate·using·epsilon··<br·/></td></tr> 
159 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:a505975b777b113e7a170bf0b92f18cc4"·id="r_a505975b777b113e7a170bf0b92f18cc4"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·&gt;·</td></tr>
 117 <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>
 118 <tr·class="separator:a505975b777b113e7a170bf0b92f18cc4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:a0c5244fc0c1f77eb234e0bab79bb5240"·id="r_a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memTemplParams"·colspan="2">template&lt;bool·b,·typename·std::enable_if&lt;·b,·int·&gt;::type··=·0&gt;·</td></tr>
 120 <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>
 121 <tr·class="separator:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:a06e79a0db6608ca4c073c4c8f0dd824d"·id="r_a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·<a·class="el"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr>
 123 <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>
 124 <tr·class="separator:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:a2dbe5630e5ddb8c2f2a23f48cce6013b"·id="r_a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·<a·class="el"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr>
 126 <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>
 127 <tr·class="separator:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 529/25131 bytes (2.10%) of diff not shown.
5.34 KB
html2text {}
    
Offset 6, 83 lines modifiedOffset 6, 81 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Enumerations·|·Functions12 Classes·|·Namespaces·|·Functions
13 float_cmp.hh·File·Reference13 concept.hh·File·Reference
14 Various·ways·to·compare·floating-point·numbers.·More... 
15 #include·"float_cmp.cc"14 Infrastructure·for·concepts.·More...
 15 #include·<type_traits>
 16 #include·<utility>
 17 #include·<tuple>
 18 #include·<dune/common/typeutilities.hh>
 19 #include·<dune/common/typelist.hh>
 20 #include·<dune/common/tupleutility.hh>
 21 #include·<dune/common/std/type_traits.hh>
16 Go_to_the_source_code_of_this_file.22 Go_to_the_source_code_of_this_file.
17 ·Classes23 ·Classes
 24 struct· Dune::Concept::Refines<_BaseConcepts_>
 25  ·······Base·class·for·refined·concepts.·More...
18 struct· Dune::FloatCmp::DefaultEpsilon<_T,_style_> 
19  ·······mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon 
20 ·········More... 
21   
22 ·class· Dune::FloatCmpOps<_T,_cstyle_,_rstyle__> 
23  ·······Class·encapsulating·a·default·epsilon.·More... 
24  26  
25 ·Namespaces27 ·Namespaces
26 namespace· Dune28 namespace· Dune
27  ··········Dune·namespace.29  ··········Dune·namespace.
28  30  
29 namespace· Dune::FloatCmp31 namespace· Dune::Concept
 32  ··········Namespace·for·concepts.
30   
31 ·Enumerations 
32 enum·Dune::FloatCmp::CmpStyle·{·Dune::FloatCmp::relativeWeak·,·Dune::FloatCmp:: 
33 ··· relativeStrong·,·Dune::FloatCmp::absolute·,·Dune::FloatCmp::defaultCmpStyle·= 
34 ·····relativeWeak·} 
35   
36 enum·Dune::FloatCmp::RoundingStyle·{ 
37 ···   Dune::FloatCmp::towardZero·,·Dune::FloatCmp::towardInf·,·Dune::FloatCmp:: 
38 ·····downward·,·Dune::FloatCmp::upward·, 
39 ·····  Dune::FloatCmp::defaultRoundingStyle·=·towardZero 
40 ·····} 
41  33  
42 ·Functions34 ·Functions
 35 template<class·C·,·class...·T>
 36 constexpr·auto Dune::models·()
 37  ··············Check·if·concept·is·modeled·by·given·types.
43 template<class·T·,·CmpStyle·style> 
44 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename 
45 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
46  ····test·for·equality·using·epsilon 
47  38  
 39 template<class·C·,·class·Tuple·>
 40 constexpr·auto Dune::Concept::tupleEntriesModel·()·->·typename·Impl::
 41 ················TupleEntriesModelHelper<·C,·Tuple·>::Result
48 template<class·T·,·CmpStyle·style> 
49 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename 
50 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
51  ····test·for·inequality·using·epsilon 
52  42  
 43 template<bool·b,·typename·std::enable_if<·b,·int·>::type·=·0>
 44 constexpr·bool Dune::Concept::requireTrue·()
53 template<class·T·,·CmpStyle·style> 
54 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename 
55 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
56  ····test·if·first·greater·than·second 
57  45  
 46 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(),
 47 int·>::type·=·0>
 48 constexpr·bool Dune::Concept::requireConcept·()
58 template<class·T·,·CmpStyle·style> 
59 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename 
60 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
61  ····test·if·first·lesser·than·second 
62  49  
 50 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(),
 51 int·>::type·=·0>
 52 constexpr·bool Dune::Concept::requireConcept·(T·&&...)
63 template<class·T·,·CmpStyle·style> 
64 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename 
65 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
66  ····test·if·first·greater·or·equal·second 
67  53  
 54 template<class·C·,·class·Tuple·,·typename·std::enable_if<·tupleEntriesModel<
 55 C,·Tuple·>(),·int·>::type·=·0>
 56 constexpr·bool Dune::Concept::requireConceptForTupleEntries·()
68 template<class·T·,·CmpStyle·style> 
69 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename 
70 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
71  ····test·if·first·lesser·or·equal·second 
72  57  
 58 template<class·From·,·class·To·,·typename·std::enable_if<·std::is_convertible<
 59 From,·To·>::value,·int·>::type·=·0>
 60 constexpr·bool Dune::Concept::requireConvertible·()
73 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
74 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
75 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
76  ····round·using·epsilon 
77  61  
78 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
79 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
80 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
81  ····truncate·using·epsilon62 template<class·To·,·class·From·,·typename·std::enable_if<·std::is_convertible<
 63 From,·To·>::value,·int·>::type·=·0>
 64 constexpr·bool Dune::Concept::requireConvertible·(const·From·&)
 65  
 66 template<typename·T·>
 67 constexpr·bool Dune::Concept::requireType·()
 68  
 69 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std::
 70 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0>
 71 constexpr·bool Dune::Concept::requireBaseOf·()
 72  
 73 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std::
 74 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0>
 75 constexpr·bool Dune::Concept::requireBaseOf·(const·Derived·&)
 76  
 77 template<class·A·,·class·B·,·typename·std::enable_if<·std::is_same<·A,·B·>::
 78 value,·int·>::type·=·0>
 79 constexpr·bool Dune::Concept::requireSameType·()
82  80  
83 *****·Detailed·Description·*****81 *****·Detailed·Description·*****
84 Various·ways·to·compare·floating-point·numbers.82 Infrastructure·for·concepts.
Max diff block lines reached; 116/5443 bytes (2.13%) of diff not shown.
114 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 197 lines modifiedOffset 74, 336 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">float_cmp.hh</div></div>80 ··<div·class="headertitle"><div·class="title">concept.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONCEPT_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_CONCEPT_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/typeutilities.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/typelist.hh</a>&gt;</span></div>
 96 <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/tupleutility.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
90 <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>99 <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>
 100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
91 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">namespace·</span>FloatCmp·{</div> 
92 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·basic·constants</span></div> 
93 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="};">101 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}">
94 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">··104</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·{</div> 
95 <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> 
96 <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> 
97 <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> 
98 <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> 
99 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">··113</a></span>····};</div>102 <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>
 103 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 104 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 105 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 106 <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>
 107 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="};">
 108 <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>
 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"><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>
 111 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>};</div>
100 </div>112 </div>
101 <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="};"> 
102 <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> 
103 <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> 
104 <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> 
105 <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> 
106 <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> 
107 <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> 
108 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">··127</a></span>····};</div> 
109 </div>113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 117 <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="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·#############################################################################</span></div>
 120 <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>
 121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·#·for·the·models()·function·below.</span></div>
 122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="comment">//·#############################################################################</span></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="comment">//·Forward·declaration</span></div>
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</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="comment">//·Here·is·the·implementation·of·the·concept·checking.</span></div>
 131 <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>
 132 <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>
 133 <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>
 134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·of·refinement.</span></div>
 135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 136 <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>
 137 <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>
 138 <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>
 139 <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>
 140 <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>
 141 <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>
 142 <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>
 143 <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>
 144 <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>
 145 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{·<span·class="keywordflow">return</span>·{};·}</div>
 146 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 147 <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>
 148 <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>
 149 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="comment">//·this·default·overload·drops·in.</span></div>
 150 <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>
 151 <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="a03180.html">PriorityTag&lt;0&gt;</a>)</div>
 152 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{·<span·class="keywordflow">return</span>·{};·}</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="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 156 <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>
 157 <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>
 158 <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>
 159 <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>
 160 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 161 <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>
 162 <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>
 163 <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>
 164 <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>
 165 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·modelsConceptList(TypeList&lt;C0,·CC...&gt;)</div>
 166 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{·<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>&lt;C0,·T...&gt;()·and·modelsConceptList&lt;T...&gt;(TypeList&lt;CC...&gt;());·}</div>
 167 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
110 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>168 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
Max diff block lines reached; 72585/96145 bytes (75.50%) of diff not shown.
19.7 KB
html2text {}
    
Offset 7, 306 lines modifiedOffset 7, 362 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 float_cmp.hh12 concept.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_FLOAT_CMP_HH19 ·5#ifndef·DUNE_COMMON_CONCEPT_HH
20 ·6#define·DUNE_COMMON_FLOAT_CMP_HH20 ·6#define·DUNE_COMMON_CONCEPT_HH
21 ·721 ·7
 22 ·8#include·<type_traits>
 23 ·9#include·<utility>
 24 ·10#include·<tuple>
 25 ·11
 26 ·12#include·<dune/common/typeutilities.hh>
 27 ·13#include·<dune/common/typelist.hh>
 28 ·14#include·<dune/common/tupleutility.hh>
 29 ·15#include·<dune/common/std/type_traits.hh>
 30 ·16
22 ·97namespace·Dune·{31 ·23namespace·Dune·{
23 ·100·namespace·FloatCmp·{ 
24 ·101·//·basic·constants 
25 104·enum·CmpStyle·{ 
26 106·relativeWeak, 
27 108·relativeStrong, 
28 110·absolute, 
29 ·112·defaultCmpStyle·=·relativeWeak 
30 113·}; 
31 116·enum·RoundingStyle·{ 
32 118·towardZero, 
33 120·towardInf, 
34 122·downward, 
35 124·upward, 
36 ·126·defaultRoundingStyle·=·towardZero 
37 127·};32 ·24
 33 34namespace·Concept·{
 34 ·35
 35 ·36
 36 ·37
 37 ·52template<class...·BaseConcepts>
 38 53struct·Refines
 39 ·54{
 40 55·typedef·TypeList<BaseConcepts...>·BaseConceptList;
 41 ·56};
 42 ·57
 43 ·58
 44 ·59#ifndef·DOXYGEN
 45 ·60
 46 ·61namespace·Impl·{
 47 ·62
 48 ·63·/
 49 /·#############################################################################
 50 ·64·//·#·All·functions·following·here·are·implementation·details
 51 ·65·//·#·for·the·models()·function·below.
 52 ·66·/
 53 /·#############################################################################
 54 ·67
 55 ·68·//·Forward·declaration
 56 ·69·template<class·C,·class...·T>
 57 ·70·constexpr·bool·models();
 58 ·71
 59 ·72
 60 ·73
 61 ·74·//·Here·is·the·implementation·of·the·concept·checking.
 62 ·75·//·The·first·two·overloads·do·the·magic·for·checking
 63 ·76·//·if·the·requirements·of·a·concept·are·satisfied.
 64 ·77·//·The·rest·is·just·for·checking·base·concepts·in·case
 65 ·78·//·of·refinement.
 66 ·79
 67 ·80·//·This·overload·is·present·if·type·substitution·for
 68 ·81·//·C::require(T...)·is·successful,·i.e.,·if·the·T...
 69 ·82·//·matches·the·requirement·of·C.·In·this·case·this
 70 ·83·//·overload·is·selected·because·PriorityTag<1>
 71 ·84·//·is·a·better·match·for·PrioriryTag<42>·than
 72 ·85·//·PriorityTag<0>·in·the·default·overload.
 73 ·86·template<class·C,·class...·T,
 74 ·87·decltype(std::declval<C>().require(std::declval<T>()...),·0)·=0>
 75 ·88·constexpr·std::true_type·matchesRequirement(PriorityTag<1>)
 76 ·89·{·return·{};·}
 77 ·90
 78 ·91·//·If·the·above·overload·is·ruled·out·by·SFINAE·because
 79 ·92·//·the·T...·does·not·match·the·requirements·of·C,·then
 80 ·93·//·this·default·overload·drops·in.
 81 ·94·template<class·C,·class...·T>
 82 ·95·constexpr·std::false_type·matchesRequirement(PriorityTag<0>)
 83 ·96·{·return·{};·}
 84 ·97
 85 ·98
 86 ·99
 87 ·100·//·An·empty·list·C·of·concepts·is·always·matched·by·T...
 88 ·101·template<class...T>
 89 ·102·constexpr·bool·modelsConceptList(TypeList<>)
 90 ·103·{·return·true;·}
 91 ·104
 92 ·105·//·A·nonempty·list·C0,..,CN·of·concepts·is·modeled
 93 ·106·//·by·T...·if·it·models·the·concept·C0
 94 ·107·//·and·all·concepts·in·the·list·C1,..,CN.
 95 ·108·template<class...T,·class·C0,·class...·CC>
 96 ·109·constexpr·bool·modelsConceptList(TypeList<C0,·CC...>)
 97 ·110·{·return·models<C0,·T...>()·and·modelsConceptList<T...>(TypeList<CC...>
 98 ());·}
 99 ·111
38 ·128100 ·112
39 ·129·template<class·T>·struct·EpsilonType;101 ·113
 102 ·114·//·If·C·is·an·unrefined·concept,·then·T...·models·C
 103 ·115·//·if·it·matches·the·requirement·of·C.
 104 ·116·template<class·C,·class...·T>
 105 ·117·constexpr·bool·modelsConcept(PriorityTag<0>)
 106 ·118·{·return·matchesRequirement<C,·T...>(PriorityTag<42>());·}
 107 ·119
 108 ·120·//·If·C·is·a·refined·concept,·then·T...·models·C
 109 ·121·//·if·it·matches·the·requirement·of·C·and·of
 110 ·122·//·all·base·concepts.
 111 ·123·//
 112 ·124·//·This·overload·is·used·if·C::BaseConceptList·exists
 113 ·125·//·due·to·its·higher·priority.
 114 ·126·template<class·C,·class...·T,
 115 ·127·decltype(typename·C::BaseConceptList(),·0)·=·0>
 116 ·128·constexpr·bool·modelsConcept(PriorityTag<1>)
 117 ·129·{·return·matchesRequirement<C,·T...>(PriorityTag<42>())·and
Max diff block lines reached; 15942/20181 bytes (79.00%) of diff not shown.
10.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·gmpfield.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 71, 56 lines modifiedOffset 71, 54 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
79 <a·href="#func-members">Functions</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">mallocallocator.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">gmpfield.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Allocators·that·use·malloc/free.··82 <p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
86 <code>#include·&lt;cstdlib&gt;</code><br·/>85 <code>#include·&lt;string&gt;</code><br·/>
 86 <code>#include·&lt;type_traits&gt;</code><br·/>
87 <code>#include·&lt;new&gt;</code><br·/>87 <code>#include·&lt;gmpxx.h&gt;</code><br·/>
88 <code>#include·&lt;utility&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
89 </div>90 </div>
90 <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">92 <table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
93 Classes</h2></td></tr>94 Classes</h2></td></tr>
94 <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>95 <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>
95 <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>96 <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>
96 <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="a01836.html">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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>
 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="a01844.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>
 103 <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="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="a01848.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·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="a01852.html">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="namespaces"·name="namespaces"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
101 Namespaces</h2></td></tr>110 Namespaces</h2></td></tr>
102 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <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="func-members"·name="func-members"></a> 
107 Functions</h2></td></tr> 
108 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"·id="r_a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
109 <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·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;,·const·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;)</td></tr> 
110 <tr·class="memdesc:a0b225faa806a6ba0744fd93ce17b447a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·equivalent··<br·/></td></tr> 
111 <tr·class="separator:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:a336418ea10c30e25ece655d63bdf3d84"·id="r_a336418ea10c30e25ece655d63bdf3d84"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
113 <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·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;,·const·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·T·&gt;·&amp;)</td></tr> 
114 <tr·class="memdesc:a336418ea10c30e25ece655d63bdf3d84"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·not·equivalent··<br·/></td></tr> 
115 <tr·class="separator:a336418ea10c30e25ece655d63bdf3d84"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 </table>114 </table>
117 <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>
118 <div·class="textblock"><p>Allocators·that·use·malloc/free.·</p>116 <div·class="textblock"><p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.·</p>
119 </div></div><!--·contents·-->117 </div></div><!--·contents·-->
120 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
121 <hr·class="footer"/><address·class="footer"><small>119 <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.8120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
123 </small></address>121 </small></address>
124 </body>122 </body>
125 </html>123 </html>
1.96 KB
html2text {}
    
Offset 6, 41 lines modifiedOffset 6, 42 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Classes·|·Namespaces
13 mallocallocator.hh·File·Reference 
14 Allocators·that·use·malloc/free.·More... 
15 #include·<exception>13 gmpfield.hh·File·Reference
 14 Wrapper·for·the·GNU·multiprecision·(GMP)·library.·More...
 15 #include·<iostream>
16 #include·<cstdlib>16 #include·<string>
17 #include·<new> 
18 #include·<utility>17 #include·<type_traits>
 18 #include·<gmpxx.h>
 19 #include·<dune/common/promotiontraits.hh>
 20 #include·<dune/common/typetraits.hh>
19 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
20 ·Classes22 ·Classes
21 ·class· Dune::MallocAllocator<_T_> 
22  ·······Allocators·implementation·which·simply·calls·malloc/free.·More...23 ·class· Dune::GMPField<_precision_>
 24  ·······Number·class·for·high·precision·floating·point·number·using·the·GMP
 25 ·········library·mpf_class·implementation.·More...
23  26  
24 struct· Dune::MallocAllocator<_T_>::rebind<_U_>27 struct· Dune::IsNumber<_GMPField<_precision_>_>
 28  
 29 struct· Dune::PromotionTraits<_GMPField<_precision1_>,_GMPField<_precision2_>
 30 ·········>
 31  
 32 struct· Dune::PromotionTraits<_GMPField<_precision_>,_GMPField<_precision_>_>
 33  
 34 struct· Dune::PromotionTraits<_GMPField<_precision_>,_T_>
 35  
 36 struct· Dune::PromotionTraits<_T,_GMPField<_precision_>_>
25  37  
26 ·Namespaces38 ·Namespaces
27 namespace· Dune39 namespace· Dune
28  ··········Dune·namespace.40  ··········Dune·namespace.
29  41  
30 ·Functions 
31 template<class·T·> 
32 constexpr·bool Dune::operator==·(const·MallocAllocator<·T·>·&,·const 
33 ················MallocAllocator<·T·>·&) 
34  ··············check·whether·allocators·are·equivalent 
35   
36 template<class·T·> 
37 constexpr·bool Dune::operator!=·(const·MallocAllocator<·T·>·&,·const 
38 ················MallocAllocator<·T·>·&) 
39  ··············check·whether·allocators·are·not·equivalent 
40   
41 *****·Detailed·Description·*****42 *****·Detailed·Description·*****
42 Allocators·that·use·malloc/free.43 Wrapper·for·the·GNU·multiprecision·(GMP)·library.
  
43 ===============================================================================44 ===============================================================================
44 ·····Generated·by [doxygen]·1.9.845 ·····Generated·by [doxygen]·1.9.8
56.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 162 lines modifiedOffset 74, 141 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mallocallocator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">gmpfield.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MALLOC_ALLOCATOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GMPFIELD_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MALLOC_ALLOCATOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GMPFIELD_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_GMP·||·DOXYGEN</span></div>
 95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;gmpxx.h&gt;</span></div>
 97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00257.html">dune/common/promotiontraits.hh</a>&gt;</span></div>
 99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
95 <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>101 <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>
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
97 <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> 
98 <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="};"> 
99 <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> 
100 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</span>:</div>103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 104 <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>
101 <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> 
102 <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> 
103 <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> 
104 <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> 
105 <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> 
106 <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> 
107 <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> 
108 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">105 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};">
109 <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> 
110 <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="cod[·...·truncated·by·diffoscope;·len:·77,·SHA:·26b5d902ea3785c49700a93f818ea377ddac16d3a149a8e615867a73277f1a09·...·]</div>106 <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>
 107 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····:·<span·class="keyword">public</span>·mpf_class</div>
 108 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··{</div>
 109 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">typedef</span>·mpf_class·Base;</div>
111 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····};</div>110 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 111 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>
 112 <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}">
 113 <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>
 114 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······:·Base(0,precision)</div>
 115 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{}</div>
112 </div>116 </div>
113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
114 <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> 
115 <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> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>117 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
119 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}">118 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}">
120 <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·clas[·...·truncated·by·diffoscope;·len:·124,·SHA:·2166d925e03e4e8846b93dc2d6e9b1d548b591971f34b601e9e2ffa3c6e1abbb·...·]</div>119 <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>
121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">····</span>{</div>120 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······:·Base(str,precision)</div>
122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keywordflow">return</span>·&amp;x;</div> 
123 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····}</div>121 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{}</div>
124 </div>122 </div>
 123 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
125 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}">124 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">
126 <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>125 <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>
127 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">····</span>{</div>126 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·Base(str,precision)</div>
128 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">return</span>·&amp;x;</div> 
129 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div>
130 </div>128 </div>
131 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>129 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 130 <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>
 131 <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>
 132 <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>
 133 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··············&gt;</div>
132 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}">134 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}">
 135 <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>
133 <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> 
134 <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> 
135 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{</div> 
136 <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> 
137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div> 
138 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>136 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······:·Base(·v,precision·)</div>
139 <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> 
140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>·(!ret)</div> 
141 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div> 
142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">return</span>·ret;</div> 
143 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>137 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····{}</div>
144 </div>138 </div>
145 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>139 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 140 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·type·conversion·operators</span></div>
146 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}">141 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}">
147 <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>142 <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>
148 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div>143 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div>
149 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······std::free(p);</div>144 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">return</span>·this-&gt;get_d();</div>
150 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div>145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div>
151 </div>146 </div>
 147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
152 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
 149 </div>
 150 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 151 <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>
153 <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}">152 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="};">
 153 <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>
 154 <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>
154 <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> 
Max diff block lines reached; 24510/48342 bytes (50.70%) of diff not shown.
8.86 KB
html2text {}
    
Offset 7, 197 lines modifiedOffset 7, 148 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 mallocallocator.hh12 gmpfield.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_MALLOC_ALLOCATOR_HH 
20 ·6#define·DUNE_MALLOC_ALLOCATOR_HH19 ·5#ifndef·DUNE_GMPFIELD_HH
 20 ·6#define·DUNE_GMPFIELD_HH
21 ·721 ·7
 22 ·12#include·<iostream>
22 ·8#include·<exception> 
23 ·9#include·<cstdlib> 
24 ·10#include·<new>23 ·13#include·<string>
25 ·11#include·<utility> 
26 ·1224 ·14#include·<type_traits>
 25 ·15
 26 ·16#if·HAVE_GMP·||·DOXYGEN
 27 ·17
 28 ·18#include·<gmpxx.h>
 29 ·19
 30 ·20#include·<dune/common/promotiontraits.hh>
 31 ·21#include·<dune/common/typetraits.hh>
 32 ·22
27 ·17namespace·Dune33 ·23namespace·Dune
28 ·18{ 
29 ·23·template·<class·T> 
30 24·class·MallocAllocator·{34 ·24{
 35 ·25
 36 ·30·template<·unsigned·int·precision·>
 37 31·class·GMPField
 38 ·32·:·public·mpf_class
 39 ·33·{
 40 ·34·typedef·mpf_class·Base;
 41 ·35
31 ·25·public:42 ·36·public:
32 26·typedef·std::size_t·size_type; 
33 27·typedef·std::ptrdiff_t·difference_type; 
34 28·typedef·T*·pointer; 
35 29·typedef·const·T*·const_pointer; 
36 30·typedef·T&·reference; 
37 31·typedef·const·T&·const_reference; 
38 32·typedef·T·value_type; 
39 33·template·<class·U>·struct·rebind·{ 
40 34·typedef·MallocAllocator<U>·other; 
41 ·35·}; 
42 ·36 
43 38·MallocAllocator()·noexcept·{}43 38·GMPField·()
 44 ·39·:·Base(0,precision)
 45 ·40·{}
 46 ·41
 47 45·GMPField·(·const·char*·str·)
 48 ·46·:·Base(str,precision)
 49 ·47·{}
 50 ·48
 51 52·GMPField·(·const·std::string&·str·)
 52 ·53·:·Base(str,precision)
 53 ·54·{}
 54 ·55
44 ·40·template·<class·U>55 ·58·template<·class·T,
45 41·MallocAllocator(const·MallocAllocator<U>&)·noexcept·{} 
46 43·~MallocAllocator()·noexcept·{} 
47 ·44 
48 45·pointer·address(reference·x)·const56 ·59·typename·EnableIf·=·typename·std::enable_if<
 57 ·60·std::is_convertible<T,·mpf_class>::value>::type
 58 ·61·>
 59 62·GMPField·(·const·T·&v·)
 60 ·63·:·Base(·v,precision·)
 61 ·64·{}
 62 ·65
 63 ·66·//·type·conversion·operators
 64 67·operator·double·()·const
49 ·46·{65 ·68·{
 66 ·69·return·this->get_d();
50 ·47·return·&x; 
51 ·48·} 
52 49·const_pointer·address(const_reference·x)·const 
53 ·50·{ 
54 ·51·return·&x; 
55 ·52·} 
56 ·53 
57 55·pointer·allocate(size_type·n, 
58 ·56·[[maybe_unused]]·const·void*·hint·=·0) 
59 ·57·{ 
60 ·58·if·(n·>·this->max_size()) 
61 ·59·throw·std::bad_alloc(); 
62 ·60 
63 ·61·pointer·ret·=·static_cast<pointer>(std::malloc(n·*·sizeof(T))); 
64 ·62·if·(!ret) 
65 ·63·throw·std::bad_alloc(); 
66 ·64·return·ret; 
67 ·65·} 
68 ·66 
69 68·void·deallocate(pointer·p,·[[maybe_unused]]·size_type·n) 
70 ·69·{ 
71 ·70·std::free(p); 
72 ·71·}67 ·70·}
73 ·72 
74 74·size_type·max_size()·const·noexcept 
75 ·75·{ 
76 ·76·return·size_type(-1)·/·sizeof(T);68 ·71
 69 ·72·};
 70 ·73
 71 ·74·template·<unsigned·int·precision>
 72 75·struct·IsNumber<GMPField<precision>>
 73 ·76·:·public·std::integral_constant<bool,·true>·{
77 ·77·}74 ·77·};
78 ·7875 ·78
79 80·void·construct(pointer·p,·const·T&·val)76 ·79·template<·unsigned·int·precision1,·unsigned·int·precision2·>
 77 80·struct·PromotionTraits<GMPField<precision1>,·GMPField<precision2>>
80 ·81·{78 ·81·{
81 ·82·::new((void*)p)T(val);79 82·typedef·GMPField<(precision1·>·precision2·?·precision1·:·precision2)>
 80 PromotedType;
82 ·83·}81 ·83·};
83 ·8482 ·84
84 ·86·template<typename·...·Args> 
85 87·void·construct(pointer·p,·Args&&...·args)83 ·85·template<·unsigned·int·precision·>
 84 86·struct·PromotionTraits<GMPField<precision>,GMPField<precision>>
86 ·88·{85 ·87·{
Max diff block lines reached; 3949/9051 bytes (43.63%) of diff not shown.
11.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 30 lines modifiedOffset 70, 82 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
78 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh·File·Reference</div></div>79 <a·href="#define-members">Macros</a>·&#124;
 80 <a·href="#func-members">Functions</a>··</div>
 81 ··<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>
79 </div><!--header-->82 </div><!--header-->
80 <div·class="contents">83 <div·class="contents">
  
 84 <p>A·few·common·exception·classes.··
 85 <a·href="#details">More...</a></p>
81 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>86 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>
82 <code>#include·&lt;type_traits&gt;</code><br·/>87 <code>#include·&lt;string&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>88 <code>#include·&lt;sstream&gt;</code><br·/>
84 </div>89 </div>
85 <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>
86 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01548.html">Dune::Exception</a></td></tr>
 95 <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>
 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="a01552.html">Dune::ExceptionHook</a></td></tr>
 98 <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>
 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="a01556.html">Dune::IOError</a></td></tr>
 101 <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>
 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="a01560.html">Dune::MathError</a></td></tr>
 104 <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>
 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="a01564.html">Dune::RangeError</a></td></tr>
 107 <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>
 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="a01568.html">Dune::NotImplemented</a></td></tr>
 110 <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>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <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>
 113 <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>
 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="a01576.html">Dune::OutOfMemoryError</a></td></tr>
 116 <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>
 117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <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>
 119 <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>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <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>
 122 <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>
 123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>125 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>126 Namespaces</h2></td></tr>
89 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>127 <tr·class="memitem:a00425"·id="r_a00425"><td·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>128 <tr·class="memdesc: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>129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 </table><table·class="memberdecls">
 131 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 132 Macros</h2></td></tr>
 133 <tr·class="memitem:gad7fce127d6eaabe773adbc409514f21e"·id="r_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>
 134 <tr·class="separator:gad7fce127d6eaabe773adbc409514f21e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 </table><table·class="memberdecls">
 136 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 137 Functions</h2></td></tr>
 138 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"·id="r_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>
 139 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>140 </table>
 141 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 142 <div·class="textblock"><p>A·few·common·exception·classes.·</p>
 143 <p>This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to·throw·them·in·a·simple·manner·</p>
93 </div><!--·contents·-->144 </div></div><!--·contents·-->
94 <!--·start·footer·part·-->145 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>146 <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.8147 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>148 </small></address>
98 </body>149 </body>
99 </html>150 </html>
1.98 KB
html2text {}
    
Offset 6, 20 lines modifiedOffset 6, 65 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces12 Classes·|·Namespaces·|·Macros·|·Functions
13 matrixconcepts.hh·File·Reference13 exceptions.hh·File·Reference
14 #include·<utility> 
15 #include·<type_traits> 
16 #include·<dune/common/std/type_traits.hh>14 Common·»·Exception_handling
 15 A·few·common·exception·classes.·More...
 16 #include·<exception>
 17 #include·<string>
 18 #include·<sstream>
17 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
 20 ·Classes
 21 ·class· Dune::Exception
 22  ·······Base·class·for·Dune-Exceptions.·More...
 23  
 24 struct· Dune::ExceptionHook
 25  ·······Base·class·to·add·a·hook·to·the·Dune::Exception.·More...
 26  
 27 ·class· Dune::IOError
 28  ·······Default·exception·class·for·I/O·errors.·More...
 29  
 30 ·class· Dune::MathError
 31  ·······Default·exception·class·for·mathematical·errors.·More...
 32  
 33 ·class· Dune::RangeError
 34  ·······Default·exception·class·for·range·errors.·More...
 35  
 36 ·class· Dune::NotImplemented
 37  ·······Default·exception·for·dummy·implementations.·More...
 38  
 39 ·class· Dune::SystemError
 40  ·······Default·exception·class·for·OS·errors.·More...
 41  
 42 ·class· Dune::OutOfMemoryError
 43  ·······Default·exception·if·memory·allocation·fails.·More...
 44  
 45 ·class· Dune::InvalidStateException
 46  ·······Default·exception·if·a·function·was·called·while·the·object·is·not·in
 47 ·········a·valid·state·for·that·function.·More...
 48  
 49 ·class· Dune::ParallelError
 50  ·······Default·exception·if·an·error·in·the·parallel·communication·of·the
 51 ·········program·occurred.·More...
 52  
18 ·Namespaces53 ·Namespaces
19 namespace· Dune54 namespace· Dune
20  ··········Dune·namespace.55  ··········Dune·namespace.
21  56  
 57 ·Macros
 58 #define DUNE_THROW(E,·m)
 59  
 60 ·Functions
 61 std::ostream·& Dune::operator<<·(std::ostream·&stream,·const·Exception·&e)
 62  
 63 *****·Detailed·Description·*****
 64 A·few·common·exception·classes.
 65 This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to
 66 throw·them·in·a·simple·manner
  
22 ===============================================================================67 ===============================================================================
23 ·····Generated·by [doxygen]·1.9.868 ·····Generated·by [doxygen]·1.9.8
40.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 109 lines modifiedOffset 74, 119 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh</div></div>80 ··<div·class="headertitle"><div·class="title">exceptions.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_MATRIXCONCEPTS_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_EXCEPTIONS_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_EXCEPTIONS_HH</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
95 <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/std/type_traits.hh</a>&gt;</span></div>95 <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>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">/*·forward·declarations·*/</span></div>
 98 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">class·</span>Exception;</div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExceptionHook;</div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
99 <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>101 <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="};">
 102 <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>
 103 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··:·<span·class="keyword">public</span>·std::exception</div>
 104 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div>
 105 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div>
 106 <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>
 107 <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>
 108 <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>
 109 <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>
 110 <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>
 111 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">private</span>:</div>
 112 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····std::string·_message;</div>
 113 <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>
 114 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··};</div>
 115 </div>
 116 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 117 <div·class="foldopen"·id="foldopen00173"·data-start="{"·data-end="};">
 118 <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>
 119 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>··{</div>
 120 <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>
 121 <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>
 122 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>··};</div>
 123 </div>
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>124 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>·</div>
101 <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> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">class·</span>FieldMatrix;</div>125 <div·class="foldopen"·id="foldopen00179"·data-start="{"·data-end="}">
 126 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno"><a·class="line"·href="a00412.html#gad42c9f04f7871a06e6149e1a11185404">··179</a></span>··<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream·&amp;stream,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01548.html">Exception</a>·&amp;e)</div>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>127 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>··{</div>
 128 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>····<span·class="keywordflow">return</span>·stream·&lt;&lt;·e.<a·class="code·hl_function"·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">what</a>();</div>
104 <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> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">class·</span>DynamicMatrix;</div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}</div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Dune::Impl·{</div> 
110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
112 <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> 
113 <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> 
114 <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> 
115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
122 <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> 
123 <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> 
124 <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> 
125 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
126 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
128 <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> 
129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>IsStaticSizeMatrixHelper·=·std::void_t&lt;<span·class="keyword">decltype</span>(T::rows,·T::cols)&gt;;</div> 
130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
131 <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> 
132 <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> 
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
134 <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> 
135 <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> 
136 <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> 
137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
143 <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> 
144 <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> 
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
146 <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> 
147 <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> 
148 <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> 
149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
151 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
152 <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> 
153 <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> 
154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
155 <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> 
Max diff block lines reached; 2823/34463 bytes (8.19%) of diff not shown.
7.07 KB
html2text {}
    
Offset 7, 115 lines modifiedOffset 7, 153 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 matrixconcepts.hh12 exceptions.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH 
20 ·6#define·DUNE_COMMON_MATRIXCONCEPTS_HH 
21 ·719 ·5
 20 ·6#ifndef·DUNE_EXCEPTIONS_HH
 21 ·7#define·DUNE_EXCEPTIONS_HH
22 ·822 ·8
23 ·923 ·9#include·<exception>
24 ·10#include·<utility>24 ·10#include·<string>
25 ·11#include·<type_traits>25 ·11#include·<sstream>
26 ·1226 ·12
27 ·13#include·<dune/common/std/type_traits.hh>27 ·13namespace·Dune·{
28 ·1428 ·14
29 ·15 
30 ·16 
31 ·17namespace·Dune·{29 ·73·/*·forward·declarations·*/
 30 ·74·class·Exception;
 31 ·75·struct·ExceptionHook;
 32 ·76
 33 94·class·Exception
 34 ·95·:·public·std::exception
 35 ·96·{
 36 ·97·public:
 37 ·98·Exception·();
 38 ·99·void·message(const·std::string·&msg);
 39 ·100·const·char*·what()·const·noexcept·override;
 40 ·101·static·void·registerHook·(ExceptionHook·*·hook);
 41 ·102·static·void·clearHook·();
 42 ·103·private:
 43 ·104·std::string·_message;
 44 ·105·static·ExceptionHook·*·_hook;
 45 ·106·};
 46 ·107
 47 173·struct·ExceptionHook
 48 ·174·{
 49 175·virtual·~ExceptionHook()·{}
 50 176·virtual·void·operator_()()·=·0;
 51 ·177·};
32 ·1852 ·178
 53 179·inline·std::ostream&·operator<<(std::ostream·&stream,·const·Exception·&e)
 54 ·180·{
 55 ·181·return·stream·<<·e.what();
 56 ·182·}
33 ·19·template<class,·int,·int> 
34 ·20·class·FieldMatrix; 
35 ·21 
36 ·22·template<class> 
37 ·23·class·DynamicMatrix; 
38 ·24 
39 ·25} 
40 ·26 
41 ·27namespace·Dune::Impl·{ 
42 ·28 
43 ·29 
44 ·30·//·Some·traits·for·checking·matrix·concepts.·Currently·these·are 
45 ·31·//·all·technical·internal·helpers·that·just·serve·different·headers 
46 ·32·//·to·do·internal·checks·and·are·thus·collected·here. 
47 ·33 
48 ·34·template<class·T> 
49 ·35·using·IsMatrixHelper·=·std::void_t<decltype(std::declval<T>().N(),·std:: 
50 declval<T>().M())>; 
51 ·36 
52 ·37·template<class·T> 
53 ·38·struct·IsMatrix·:·public·Dune::Std::is_detected<IsMatrixHelper,·T>·{}; 
54 ·39 
55 ·40·//·Check·if·T·is·a·matrix·by·checking·for·member·functions·N()·and·M(). 
56 ·41·template<class·T> 
57 ·42·constexpr·bool·IsMatrix_v·=·Impl::IsMatrix<T>::value; 
58 ·43 
59 ·44 
60 ·45 
61 ·46·template<class·T> 
62 ·47·using·IsStaticSizeMatrixHelper·=·std::void_t<decltype(T::rows,·T::cols)>; 
63 ·48 
64 ·49·template<class·T> 
65 ·50·struct·IsStaticSizeMatrix·:·public·Dune::Std:: 
66 is_detected<IsStaticSizeMatrixHelper,·T>·{}; 
67 ·51 
68 ·52·//·Check·if·T·is·a·statically·sized·matrix·by·checking·for·static·members 
69 rows·and·cols. 
70 ·53·template<class·T> 
71 ·54·constexpr·bool·IsStaticSizeMatrix_v·=·Impl::IsStaticSizeMatrix<T>::value; 
72 ·55 
73 ·56 
74 ·57 
75 ·58·template<class·T> 
76 ·59·class·IsFieldMatrix·:·public·std::false_type·{}; 
77 ·60 
78 ·61·template<·class·K,·int·ROWS,·int·COLS> 
79 ·62·class·IsFieldMatrix<Dune::FieldMatrix<K,·ROWS,·COLS>>·:·public·std:: 
80 true_type·{}; 
81 ·63 
82 ·64·//·Check·if·T·is·an·instance·of·FieldMatrix 
83 ·65·template<class·T> 
84 ·66·constexpr·bool·IsFieldMatrix_v·=·Impl::IsFieldMatrix<T>::value; 
85 ·67 
86 ·68 
87 ·69 
88 ·70·template<class·T> 
89 ·71·class·IsDenseMatrix·:·public·std::false_type·{}; 
90 ·72 
91 ·73·template<class·K,·int·ROWS,·int·COLS> 
92 ·74·class·IsDenseMatrix<Dune::FieldMatrix<K,·ROWS,·COLS>>·:·public·std:: 
93 true_type·{}; 
94 ·75 
95 ·76·template<class·K> 
96 ·77·class·IsDenseMatrix<Dune::DynamicMatrix<K>>·:·public·std::true_type·{}; 
97 ·78 
98 ·79·//·Check·if·T·is·a·dense·matrix.·This·is·implemented·by·specialization. 
99 ·80·template<class·T> 
100 ·81·constexpr·bool·IsDenseMatrix_v·=·Impl::IsDenseMatrix<T>::value; 
101 ·82 
102 ·8357 ·183
103 ·84 
Max diff block lines reached; 1216/7211 bytes (16.86%) of diff not shown.
45.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 99 lines modifiedOffset 72, 134 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#typedef-members">Typedefs</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>80 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh·File·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">typetraits.hh·File·Reference</div></div>
81 </div><!--header-->82 </div><!--header-->
82 <div·class="contents">83 <div·class="contents">
  
83 <p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.··84 <p>Traits·for·type·conversions·and·type·information.··
84 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;iterator&gt;</code><br·/>86 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>
86 <code>#include·&lt;type_traits&gt;</code><br·/>87 <code>#include·&lt;type_traits&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00218_source.html">typetraits.hh</a>&quot;</code><br·/>88 <code>#include·&lt;utility&gt;</code><br·/>
 89 <code>#include·&lt;vector&gt;</code><br·/>
88 </div>90 </div>
89 <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">92 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>94 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="a01876.html">Dune::ForwardIteratorFacade&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="a03084.html">Dune::Empty</a></td></tr>
94 <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>96 <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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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>98 <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>
97 <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>99 <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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="a03092.html">Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</a></td></tr>
 102 <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>
 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="a03096.html">Dune::AlwaysFalse&lt;·T·&gt;</a></td></tr>
 105 <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>
 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="a03100.html">Dune::AlwaysTrue&lt;·T·&gt;</a></td></tr>
 108 <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>
 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="a03108.html">Dune::IsCallable&lt;·F(Args...),·R·&gt;</a></td></tr>
 111 <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>
 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="a01300.html">Dune::IsNumber&lt;·T·&gt;</a></td></tr>
 114 <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>
 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="a03112.html">Dune::HasNaN&lt;·T·&gt;</a></td></tr>
 117 <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>
 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="a03116.html">Dune::IsIndexable&lt;·T,·I·&gt;</a></td></tr>
 120 <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>
 121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <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>
 123 <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>
 124 <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="a01884.html">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>125 <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>
 126 <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>
 127 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <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>
 129 <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>
 130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <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>
 132 <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>
 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="a03136.html">Dune::SizeOf&lt;·T·&gt;</a></td></tr>
 135 <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>
 136 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <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>
 138 <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>
 139 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <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>
 141 <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>
 142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <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>
 144 <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>
 145 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <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>
100 <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>147 <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>
 148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <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>
 150 <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>
 151 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <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>
 153 <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>
 154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 155 <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>
 156 <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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>157 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">158 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>159 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>160 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>161 <tr·class="memitem:a00425"·id="r_a00425"><td·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>162 <tr·class="memdesc: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>163 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">164 </table><table·class="memberdecls">
 165 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 166 Typedefs</h2></td></tr>
 167 <tr·class="memitem:ga6a3de1d2dbd47536c4b007d3a3b108a2"·id="r_ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memTemplParams"·colspan="2">template&lt;class...·Types&gt;·</td></tr>
 168 <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>
 169 <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.··<br·/></td></tr>
 170 <tr·class="separator:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 171 <tr·class="memitem:gaadd3a3e69d0220b41bb40ebc442d79ae"·id="r_gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr>
 172 <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·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·Type·&gt;::field_type</td></tr>
 173 <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>.··<br·/></td></tr>
 174 <tr·class="separator:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 175 <tr·class="memitem:ga48aa0bb0268c390d251495eabdac4ae6"·id="r_ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr>
 176 <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·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·Type·&gt;::real_type</td></tr>
 177 <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>.··<br·/></td></tr>
 178 <tr·class="separator:ga48aa0bb0268c390d251495eabdac4ae6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 179 <tr·class="memitem:ga64c2d9377550162293c4fabd163f457b"·id="r_ga64c2d9377550162293c4fabd163f457b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 180 <tr·class="memitem:ga64c2d9377550162293c4fabd163f457b"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga64c2d9377550162293c4fabd163f457b">Dune::AutonomousValue</a>·=·typename·<a·class="el"·href="a03144.html">AutonomousValueType</a>&lt;·T·&gt;::type</td></tr>
 181 <tr·class="memdesc:ga64c2d9377550162293c4fabd163f457b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··<br·/></td></tr>
Max diff block lines reached; 15587/34089 bytes (45.72%) of diff not shown.
12.0 KB
html2text {}
    
Offset 6, 137 lines modifiedOffset 6, 123 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Classes·|·Namespaces·|·Typedefs·|·Functions
 13 typetraits.hh·File·Reference
 14 Traits·for·type·conversions·and·type·information.·More...
 15 #include·<complex>
13 iteratorfacades.hh·File·Reference 
14 This·file·implements·iterator·facade·classes·for·writing·stl·conformant 
15 iterators.·More... 
16 #include·<iterator> 
17 #include·<type_traits>16 #include·<type_traits>
18 #include·"typetraits.hh"17 #include·<utility>
 18 #include·<vector>
19 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
20 ·Classes20 ·Classes
21 class· Dune::ForwardIteratorFacade<_T,_V,_R,_D_> 
22  ······Base·class·for·stl·conformant·forward·iterators.·More...21 struct· Dune::Empty
 22  ·······Just·an·empty·class.·More...
23  23  
24 class· Dune::BidirectionalIteratorFacade<_T,_V,_R,_D_> 
25  ······Facade·class·for·stl·conformant·bidirectional·iterators.·More...24 struct· Dune::IsInteroperable<_T1,_T2_>
 25  ·······Checks·whether·two·types·are·interoperable.·More...
26  26  
27 class· Dune::RandomAccessIteratorFacade<_T,_V,_R,_D_> 
28  ······Base·class·for·stl·conformant·forward·iterators.·More...27 struct· Dune::EnableIfInterOperable<_T1,_T2,_Type_>
 28  ·······Enable·typedef·if·two·types·are·interoperable.·More...
 29  
 30 struct· Dune::AlwaysFalse<_T_>
 31  ·······template·which·always·yields·a·false·value·More...
 32  
 33 struct· Dune::AlwaysTrue<_T_>
 34  ·······template·which·always·yields·a·true·value·More...
 35  
 36 struct· Dune::IsCallable<_F(Args...),_R_>
 37  ·······Check·if·a·type·is·callable·with·()-operator·and·given·arguments.
 38 ·········More...
 39  
 40 struct· Dune::IsNumber<_T_>
 41  ·······Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically
 42 ·········blocked)·containers.·More...
 43  
 44 struct· Dune::HasNaN<_T_>
 45  ·······Whether·this·type·has·a·value·of·NaN.·More...
 46  
 47 struct· Dune::IsIndexable<_T,_I_>
 48  ·······Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),
 49 ·········i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.·More...
 50  
 51 struct· Dune::IsIterable<_T,_typename_>
 52  ·······typetrait·to·check·that·a·class·has·begin()·and·end()·members·More...
 53  
 54 struct· Dune::IsTuple<_T_>
 55  ·······Check·if·T·is·a·std::tuple<...>·More...
 56  
 57 struct· Dune::IsTupleOrDerived<_T_>
 58  ·······Check·if·T·derived·from·a·std::tuple<...>·More...
 59  
 60 struct· Dune::IsIntegralConstant<_T_>
 61  ·······Check·if·T·is·an·std::integral_constant<I,·i>·More...
 62  
 63 struct· Dune::SizeOf<_T_>
 64  ·······Compute·size·of·variadic·type·list.·More...
 65  
 66 struct· Dune::AutonomousValueType<_T_>
 67  ·······Type·free·of·internal·references·that·T·can·be·converted·to.·More...
 68  
 69 struct· Dune::AutonomousValueType<_T_&_>
 70  ·······Specialization·to·remove·lvalue·references.·More...
 71  
 72 struct· Dune::AutonomousValueType<_T_&&_>
 73  ·······Specialization·to·remove·rvalue·references.·More...
 74  
 75 struct· Dune::AutonomousValueType<_const_T_>
 76  ·······Specialization·to·remove·const·qualifiers.·More...
 77  
 78 struct· Dune::AutonomousValueType<_volatile_T_>
 79  ·······Specialization·to·remove·volatile·qualifiers.·More...
 80  
 81 struct· Dune::AutonomousValueType<_std::vector<_bool_>::reference_>
 82  ·······Specialization·for·the·proxies·of·vector<bool>·More...
 83  
 84 struct· Dune::AutonomousValueType<_volatile_const_T_>
 85  ·······Specialization·to·remove·both·const·and·volatile·qualifiers.·More...
29  86  
30 ·Namespaces87 ·Namespaces
31 namespace· Dune88 namespace· Dune
32  ··········Dune·namespace.89  ··········Dune·namespace.
33  90  
 91 ·Typedefs
 92 template<class...·Types>
 93 using Dune::void_t·=·typename·Impl::voider<·Types...·>::type
 94  ·····Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-
 95 ·······techniques.
 96  
 97 template<class·Type·>
 98 using Dune::field_t·=·typename·FieldTraits<·Type·>::field_type
 99  ·····Convenient·access·to·FieldTraits<Type>::field_type.
 100  
 101 template<class·Type·>
 102 using Dune::real_t·=·typename·FieldTraits<·Type·>::real_type
 103  ·····Convenient·access·to·FieldTraits<Type>::real_type.
 104  
 105 template<class·T·>
 106 using Dune::AutonomousValue·=·typename·AutonomousValueType<·T·>::type
 107  ·····Type·free·of·internal·references·that·T·can·be·converted·to.
 108  
34 ·Functions109 ·Functions
 110 template<class·T·,·T...·t,·std::size_t·index>
 111 ················constexpr·auto Dune::integerSequenceEntry·(std::
 112 ································integer_sequence<·T,·t...·>,·std::
 113 ································integral_constant<·std::size_t,·index·>·i)
 114  ······························Get·entry·of·std::integer_sequence.
35 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
36 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const 
37 ························································ForwardIteratorFacade<·T1, 
38 ························································V1,·R1,·D·>·&lhs,·const 
39 ························································ForwardIteratorFacade<·T2, 
40 ························································V2,·R2,·D·>·&rhs) 
41  ······················································Checks·for·equality. 
42  115  
 116 template<class·T·>
 117 constexpr·AutonomousValue<·T·> Dune::autoCopy·(T·&&v)
Max diff block lines reached; 634/12236 bytes (5.18%) of diff not shown.
192 KB
./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 507 lines modifiedOffset 74, 411 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh</div></div>80 ··<div·class="headertitle"><div·class="title">typetraits.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ITERATORFACADES_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TYPETRAITS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ITERATORFACADES_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TYPETRAITS_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00218.html">typetraits.hh</a>&quot;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
95 <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>95 <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>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
97 <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>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">namespace·</span>Impl</div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>
 100 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 101 <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>
 102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>voider</div>
 103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div>
 104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>······<span·class="keyword">using·</span>type·=·void;</div>
 105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····};</div>
 106 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··}</div>
 107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 109 <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>
 110 <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>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 112 <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>
 113 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 114 <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>
98 <div·class="foldopen"·id="foldopen00140"·data-start="{"·data-end="};">115 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};">
99 <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>116 <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>
100 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··{</div> 
101 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> 
102 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··<span·class="keyword">public</span>:</div> 
103 <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> 
104 <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> 
105 <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> 
106 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a01876.html#ad31ac07a5e26ff49e1d9616d4072a0fb">··147</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#ad31ac07a5e26ff49e1d9616d4072a0fb">difference_type</a>·=·D;</div> 
107 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01876.html#a15d11ccef925779642b1637aac23bfe5">··148</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#a15d11ccef925779642b1637aac23bfe5">pointer</a>·=·V*;</div> 
108 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="a01876.html#af42be6f3deadd418c6d79818603a5bdd">··149</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#af42be6f3deadd418c6d79818603a5bdd">reference</a>·=·R;</div> 
109 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div>117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>
 118 <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>
110 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">··175</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>;</div> 
111 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> 
112 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a01876.html#a91b8956e40e1fa5395f9bc095bc69557">··180</a></span>····<span·class="keyword">typedef</span>·V·<a·class="code·hl_typedef"·href="a01876.html#a91b8956e40e1fa5395f9bc095bc69557">Value</a>;</div> 
113 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div> 
114 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">··185</a></span>····<span·class="keyword">typedef</span>·V*·<a·class="code·hl_typedef"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">Pointer</a>;</div> 
115 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div> 
116 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno"><a·class="line"·href="a01876.html#a4b5e403398426bad661a47efd77f3329">··190</a></span>····<span·class="keyword">typedef</span>·D·<a·class="code·hl_typedef"·href="a01876.html#a4b5e403398426bad661a47efd77f3329">DifferenceType</a>;</div> 
117 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div> 
118 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno"><a·class="line"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">··195</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">Reference</a>;</div> 
119 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
120 <div·class="foldopen"·id="foldopen00198"·data-start="{"·data-end="}"> 
121 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno"><a·class="line"·href="a01876.html#addb69ce5c37bc55e5b7aa5d133e3f647">··198</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">Reference</a>·<a·class="code·hl_function"·href="a01876.html#addb69ce5c37bc55e5b7aa5d133e3f647">operator*</a>()<span·class="keyword">·const</span></div> 
122 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span><span·class="keyword">····</span>{</div> 
123 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·const*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)-&gt;dereference();</div> 
124 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····}</div>119 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div>
125 </div>120 </div>
126 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>·</div>121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 122 <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>
127 <div·class="foldopen"·id="foldopen00203"·data-start="{"·data-end="}">123 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="};">
128 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno"><a·class="line"·href="a01876.html#a7652915172bfadc464e813ee73bd6013">··203</a></span>····<a·class="code·hl_typedef"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">Pointer</a>·<a·class="code·hl_function"·hre[·...·truncated·by·diffoscope;·len:·103,·SHA:·6ec30146b3b55cf1f4bbdb110d8d23173a3582876fa279ca170669b80e29ebac·...·]></div>124 <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>
 125 <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>
129 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span><span·class="keyword">····</span>{</div>126 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{};</div>
130 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>······<span·class="keywordflow">return</span>·&amp;(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span><a·class="code·hl_typedef"·href="a01876.ht[·...·truncated·by·diffoscope;·len:·144,·SHA:·44c2abeb57fc74dcbc816da4076e764c8ffad69c779149e35f9b6803cfb686e2·...·]/div>127 </div>
131 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>····}</div>128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 129 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 130 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 131 <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>
 132 <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>
 133 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 134 <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>
 135 <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>
 136 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div>
 137 <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>
 138 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a03104.html">··162</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03104.html">IsCallable</a>;</div>
 139 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div>
 140 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·F,·<span·class="keyword">typename</span>...·Args&gt;</div>
 141 <div·class="foldopen"·id="foldopen00169"·data-start="{"·data-end="};">
 142 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno"><a·class="line"·href="a03108.html">··169</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03104.html">IsCallable</a>&lt;F(Args...),·R&gt;</div>
 143 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>··:·<span·class="keyword">public</span>·std::bool_constant&lt;</div>
 144 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>······std::is_invocable_r_v&lt;R,·F,·Args...&gt;</div>
 145 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>········&amp;&amp;·!std::is_member_pointer_v&lt;std::decay_t&lt;F&gt;&gt;</div>
 146 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>····&gt;·{};</div>
 147 </div>
 148 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>
 149 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>·</div>
 150 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T&gt;</div>
 151 <div·class="foldopen"·id="foldopen00193"·data-start="{"·data-end="};">
 152 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno"><a·class="line"·href="a01300.html">··193</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01300.html">IsNumber</a></div>
 153 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>····:·<span·class="keyword">public</span>·std::integral_constant&lt;bool,·std::is_arithmetic&lt;T&gt;::value&gt;·{</div>
 154 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··};</div>
132 </div>155 </div>
 156 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>
 157 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 158 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>·</div>
 159 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T&gt;</div>
 160 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01300.html">IsNumber</a>&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::complex&lt;T&gt;&gt;</div>
Max diff block lines reached; 142527/164165 bytes (86.82%) of diff not shown.
31.4 KB
html2text {}
    
Offset 7, 617 lines modifiedOffset 7, 464 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 iteratorfacades.hh12 typetraits.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_ITERATORFACADES_HH 
20 ·6#define·DUNE_ITERATORFACADES_HH19 ·5#ifndef·DUNE_TYPETRAITS_HH
 20 ·6#define·DUNE_TYPETRAITS_HH
21 ·721 ·7
22 ·8#include·<iterator>22 ·8#include·<complex>
23 ·9#include·<type_traits>23 ·9#include·<type_traits>
24 ·10 
25 ·11#include·"typetraits.hh"24 ·10#include·<utility>
 25 ·11#include·<vector>
26 ·1226 ·12
27 ·13namespace·Dune27 ·13namespace·Dune
28 ·14{28 ·14{
29 ·139·template<class·T,·class·V,·class·R·=·V&,·class·D·=·std::ptrdiff_t> 
30 140·class·ForwardIteratorFacade 
31 ·141·{ 
32 ·142 
33 ·143·public: 
34 ·144·/*·type·aliases·required·by·C++·for·iterators·*/ 
35 145·using·iterator_category·=·std::forward_iterator_tag; 
36 146·using·value_type·=·typename·std::remove_const<V>::type; 
37 147·using·difference_type·=·D; 
38 148·using·pointer·=·V*; 
39 149·using·reference·=·R; 
40 ·15029 ·15
 30 ·16·namespace·Impl
 31 ·17·{
41 175·typedef·T·DerivedType; 
42 ·176 
43 180·typedef·V·Value; 
44 ·181 
45 185·typedef·V*·Pointer; 
46 ·186 
47 190·typedef·D·DifferenceType; 
48 ·19132 ·19
49 195·typedef·R·Reference;33 ·23·template·<class...>
 34 ·24·struct·voider
 35 ·25·{
 36 ·26·using·type·=·void;
 37 ·27·};
 38 ·28·}
 39 ·29
 40 ·31
 41 ·39·template·<class...·Types>
 42 40·using·void_t·=·typename·Impl::voider<Types...>::type;
 43 ·41
 44 55·struct·Empty·{};
 45 ·56
 46 ·63·template<class·T1,·class·T2>
 47 64·struct·IsInteroperable
 48 ·65·{
 49 70·constexpr·static·bool·value·=·std::is_convertible<T1,T2>::value·||·std::
 50 is_convertible<T2,T1>::value;
 51 ·71·};
 52 ·72
 53 ·78·template<class·T1,·class·T2,·class·Type>
 54 79·struct·EnableIfInterOperable
 55 ·80·:·public·std::enable_if<IsInteroperable<T1,T2>::value,·Type>
 56 ·81·{};
 57 ·82
 58 ·100
 59 ·116
 60 ·123·template<typename·T>
 61 124·struct·AlwaysFalse·:·public·std::false_type·{};
 62 ·125
 63 ·133·template<typename·T>
 64 134·struct·AlwaysTrue·:·public·std::true_type·{};
 65 ·135
 66 ·161·template<typename·D,·typename·R·=·void>
 67 162·struct·IsCallable;
 68 ·163
 69 ·168·template<typename·R,·typename·F,·typename...·Args>
 70 169·struct·IsCallable<F(Args...),·R>
 71 ·170·:·public·std::bool_constant<
 72 ·171·std::is_invocable_r_v<R,·F,·Args...>
 73 ·172·&&·!std::is_member_pointer_v<std::decay_t<F>>
 74 ·173·>·{};
 75 ·174
 76 ·177
 77 ·192·template·<typename·T>
 78 193·struct·IsNumber
 79 ·194·:·public·std::integral_constant<bool,·std::is_arithmetic<T>::value>·{
 80 ·195·};
50 ·19681 ·196
51 198·Reference·operator*()·const 
52 ·199·{ 
53 ·200·return·static_cast<DerivedType·const*>(this)->dereference();82 ·197#ifndef·DOXYGEN
 83 ·198
 84 ·199·template·<typename·T>
 85 ·200·struct·IsNumber<std::complex<T>>
 86 ·201·:·public·std::integral_constant<bool,·IsNumber<T>::value>·{
54 ·201·}87 ·202·};
55 ·20288 ·203
 89 ·204#endif·//·DOXYGEN
 90 ·205
56 203·Pointer·operator->()·const 
57 ·204·{ 
58 ·205·return·&(static_cast<const·DerivedType·*>(this)->dereference()); 
59 ·206·} 
60 ·20791 ·207
 92 ·210·template·<typename·T>
 93 211·struct·HasNaN
 94 ·212·:·public·std::integral_constant<bool,·std::is_floating_point<T>::value>·{
61 209·DerivedType&·operator++() 
62 ·210·{ 
63 ·211·static_cast<DerivedType·*>(this)->increment(); 
64 ·212·return·*static_cast<DerivedType·*>(this); 
65 ·213·}95 ·213·};
66 ·21496 ·214
 97 ·215#ifndef·DOXYGEN
 98 ·216
 99 ·217·template·<typename·T>
 100 ·218·struct·HasNaN<std::complex<T>>
 101 ·219·:·public·std::integral_constant<bool,·std::is_floating_point<T>::value>·{
Max diff block lines reached; 28466/32154 bytes (88.53%) of diff not shown.
5.37 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 38 lines modifiedOffset 70, 31 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#define-members">Macros</a>··</div>
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">unused.hh·File·Reference</div></div>
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
  
 81 <p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.··
 82 <a·href="#details">More...</a></p>
  
82 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/> 
83 <code>#include·&lt;map&gt;</code><br·/> 
84 <code>#include·&lt;memory&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
87 </div> 
88 <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">84 <table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
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="a02332.html">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;</a></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>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
96 Namespaces</h2></td></tr>86 Macros</h2></td></tr>
 87 <tr·class="memitem:ga82d6aa0dcd7f162d42922460058fbf86"·id="r_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>
97 <tr·class="memitem:a00425"·id="r_a00425"><td·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>88 <tr·class="separator:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table>89 </table>
 90 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 91 <div·class="textblock"><p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·</p>
101 </div><!--·contents·-->92 </div></div><!--·contents·-->
102 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>94 <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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>96 </small></address>
106 </body>97 </body>
107 </html>98 </html>
865 B
html2text {}
    
Offset 6, 25 lines modifiedOffset 6, 19 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Macros
 13 unused.hh·File·Reference
 14 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.·More...
12 Classes·|·Namespaces 
13 parameterizedobject.hh·File·Reference 
14 #include·<functional> 
15 #include·<map> 
16 #include·<memory> 
17 #include·<dune/common/exceptions.hh> 
18 #include·<dune/common/typeutilities.hh> 
19 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Macros
 17 #define DUNE_UNUSED_PARAMETER(param)   static_cast<void>(param)
20 ·Classes 
21 class· Dune::ParameterizedObjectFactory<_TypeT(Args...),_KeyT_> 
22   
23 ·Namespaces 
24 namespace· Dune 
25  ··········Dune·namespace. 
26  18  
 19 *****·Detailed·Description·*****
 20 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.
  
27 ===============================================================================21 ===============================================================================
28 ·····Generated·by [doxygen]·1.9.822 ·····Generated·by [doxygen]·1.9.8
36.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 178 lines modifiedOffset 74, 26 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh</div></div>80 ··<div·class="headertitle"><div·class="title">unused.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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:·4·-*-</span></div>83 <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>
84 <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>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_UNUSED_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_UNUSED_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>90 <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>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00215.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <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> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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">typename</span>·Signature,</div> 
100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·········<span·class="keyword">typename</span>·KeyT·=·std::string&gt;</div> 
101 <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> 
102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
103 <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> 
104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·········<span·class="keyword">typename</span>·KeyT,</div> 
105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·········<span·class="keyword">typename</span>...·Args&gt;</div> 
106 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> 
107 <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> 
108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> 
109 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">public</span>:</div> 
110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
111 <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> 
112 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
113 <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> 
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">protected</span>:</div> 
116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
117 <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> 
118 <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>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div> 
120 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> 
121 <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> 
122 <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> 
123 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········{</div> 
124 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············<span·class="keywordflow">return</span>·{};</div> 
125 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div> 
126 </div> 
127 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
128 <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> 
129 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> 
130 <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="a03180.html">Dune::PriorityTag&lt;0&gt;</a>)</div> 
131 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········{</div> 
132 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>············<span·class="keywordflow">return</span>·{};</div> 
133 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········}</div> 
134 </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">public</span>:</div> 
137 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
138 <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> 
139 <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> 
140 <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> 
141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>············<span·class="keywordflow">if</span>·(i·==·registry_.end())·{</div> 
142 <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> 
143 <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> 
144 <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> 
145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············}</div> 
146 <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> 
147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div> 
148 </div> 
149 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
150 <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> 
151 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}"> 
152 <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> 
153 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········{</div> 
154 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>············registry_[key]·=·DefaultCreator&lt;Impl&gt;();</div> 
155 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········}</div> 
156 </div> 
157 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
158 <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> 
159 <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> 
160 <div·class="foldopen"·id="foldopen00121"·data-start="{"·data-end="}"> 
161 <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> 
162 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········{</div> 
163 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>············registry_[key]·=·f;</div> 
164 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········}</div> 
165 </div> 
166 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
167 <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> 
168 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>············<span·class="keyword">typename</span>·std::enable_if&lt;</div> 
169 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>················std::is_convertible&lt;Impl,·Type&gt;::value</div> 
170 <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> 
171 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>················<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
172 <div·class="foldopen"·id="foldopen00145"·data-start="{"·data-end="}"> 
173 <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> 
174 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········{</div> 
175 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>············registry_[key]·=·[=](Args...)·{·<span·class="keywordflow">return</span>·t;};</div> 
176 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>········}</div> 
177 </div> 
178 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
179 <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="}"> 
180 <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> 
181 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="keyword">········</span>{</div> 
182 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>············<span·class="keywordflow">return</span>·registry_.count(key);</div> 
183 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>········}</div> 
Max diff block lines reached; 271/31050 bytes (0.87%) of diff not shown.
6.29 KB
html2text {}
    
Offset 7, 202 lines modifiedOffset 7, 22 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 parameterizedobject.hh12 unused.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·4·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=4·sts=4:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH 
20 ·6#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH19 ·5#ifndef·DUNE_COMMON_UNUSED_HH
 20 ·6#define·DUNE_COMMON_UNUSED_HH
21 ·721 ·7
 22 21#define·DUNE_UNUSED_PARAMETER(param)·static_cast<void>(param)
 23 ·22#endif
22 ·8#include·<functional> 
23 ·9#include·<map> 
24 ·10#include·<memory> 
25 ·11 
26 ·12#include·<dune/common/exceptions.hh> 
27 ·13#include·<dune/common/typeutilities.hh> 
28 ·14 
29 ·15namespace·Dune·{ 
30 ·16 
31 ·34template<typename·Signature, 
32 ·35·typename·KeyT·=·std::string> 
33 36class·ParameterizedObjectFactory; 
34 ·37 
35 ·38template<typename·TypeT, 
36 ·39·typename·KeyT, 
37 ·40·typename...·Args> 
38 41class·ParameterizedObjectFactory<TypeT(Args...),·KeyT> 
39 ·42{ 
40 ·43·public: 
41 ·44 
42 46·typedef·KeyT·Key; 
43 ·47 
44 49·using·Type·=·TypeT; 
45 ·50 
46 ·51·protected: 
47 ·52 
48 53·using·Creator·=·std::function<Type(Args...)>; 
49 ·54 
50 ·55·template<class·F> 
51 56·static·constexpr·auto·has_proper_signature(Dune::PriorityTag<1>) 
52 ·57·->·decltype(·std::declval<F>()(std::declval<Args>()...),·std::true_type()) 
53 ·58·{ 
54 ·59·return·{}; 
55 ·60·} 
56 ·61 
57 ·62·template<class·F> 
58 63·static·constexpr·std::false_type·has_proper_signature(Dune::PriorityTag<0>) 
59 ·64·{ 
60 ·65·return·{}; 
61 ·66·} 
62 ·67 
63 ·68·public: 
64 ·69 
65 77·Type·create(Key·const&·key,·Args·...·args)·const·{ 
66 ·78·typename·Registry::const_iterator·i·=·registry_.find(key); 
67 ·79·if·(i·==·registry_.end())·{ 
68 ·80·DUNE_THROW(Dune::InvalidStateException, 
69 ·81·"ParametrizedObjectFactory:·key·``"·<< 
70 ·82·key·<<·"''·not·registered"); 
71 ·83·} 
72 ·84·else·return·i->second(args...); 
73 ·85·} 
74 ·86 
75 ·100·template<class·Impl> 
76 101·void·define(Key·const&·key) 
77 ·102·{ 
78 ·103·registry_[key]·=·DefaultCreator<Impl>(); 
79 ·104·} 
80 ·105 
81 ·119·template<class·F, 
82 ·120·typename·std::enable_if<has_proper_signature<F>(PriorityTag<42>()),·int>:: 
83 type·=·0> 
84 121·void·define(Key·const&·key,·F&&·f) 
85 ·122·{ 
86 ·123·registry_[key]·=·f; 
87 ·124·} 
88 ·125 
89 ·140·template<class·Impl, 
90 ·141·typename·std::enable_if< 
91 ·142·std::is_convertible<Impl,·Type>::value 
92 ·143·and·not·std::is_convertible<Impl,·Creator>::value, 
93 ·144·int>::type·=·0> 
94 145·void·define(Key·const&·key,·Impl&&·t) 
95 ·146·{ 
96 ·147·registry_[key]·=·[=](Args...)·{·return·t;}; 
97 ·148·} 
98 ·149 
99 150·bool·contains(Key·const&·key)·const 
100 ·151·{ 
101 ·152·return·registry_.count(key); 
102 ·153·} 
103 ·154 
104 ·155·private: 
105 ·156 
106 ·157·template<class·T> 
107 ·158·struct·Tag{}; 
108 ·159 
109 ·160·template<class·Impl> 
110 ·161·struct·DefaultCreator 
111 ·162·{ 
112 ·163·template<class...·T> 
113 ·164·Type·operator()(T&&...·args)·const 
114 ·165·{ 
115 ·166·return·DefaultCreator::create(Tag<Type>(),·PriorityTag<42>(),·std:: 
116 forward<T>(args)...); 
117 ·167·} 
118 ·168 
119 ·169·template<class·Target,·class...·T> 
120 ·170·static·Type·create(Tag<Target>,·PriorityTag<1>,·T&&·...·args)·{ 
121 ·171·return·Impl(std::forward<T>(args)...); 
122 ·172·} 
123 ·173 
124 ·174·template<class·Target,·class...·T> 
125 ·175·static·Type·create(Tag<std::unique_ptr<Target>>,·PriorityTag<2>,·T&&·... 
126 args)·{ 
127 ·176·return·std::make_unique<Impl>(std::forward<T>(args)...); 
128 ·177·} 
Max diff block lines reached; 116/6418 bytes (1.81%) of diff not shown.
6.27 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 41 lines modifiedOffset 70, 43 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#define-members">Macros</a>··</div>
 78 ··<div·class="headertitle"><div·class="title">fmatrixev.cc·File·Reference</div></div>
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>··</div> 
79 ··<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> 
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
  
82 <p>Utility·class·for·storing·and·resetting·stream·attributes.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>81 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
85 </div> 
86 <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <code>#include·&lt;cmath&gt;</code><br·/>
 83 <code>#include·&lt;cassert&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
87 <table·class="memberdecls">85 </div><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="a01872.html">Dune::ios_base_all_saver</a></td></tr> 
91 <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> 
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>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
95 Namespaces</h2></td></tr>87 Macros</h2></td></tr>
 88 <tr·class="memitem:afa3d4fc0f9c478d5f00cc7586b9dad48"·id="r_afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html#afa3d4fc0f9c478d5f00cc7586b9dad48">DUNE_FMATRIXEIGENVALUES_CC</a></td></tr>
96 <tr·class="memitem:a00425"·id="r_a00425"><td·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>89 <tr·class="separator:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table>90 </table>
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> 
102 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>91 <h2·class="groupheader">Macro·Definition·Documentation</h2>
 92 <a·id="afa3d4fc0f9c478d5f00cc7586b9dad48"·name="afa3d4fc0f9c478d5f00cc7586b9dad48"></a>
 93 <h2·class="memtitle"><span·class="permalink"><a·href="#afa3d4fc0f9c478d5f00cc7586b9dad48">&#9670;&#160;</a></span>DUNE_FMATRIXEIGENVALUES_CC</h2>
  
 94 <div·class="memitem">
 95 <div·class="memproto">
 96 ······<table·class="memname">
 97 ········<tr>
 98 ··········<td·class="memname">#define·DUNE_FMATRIXEIGENVALUES_CC</td>
 99 ········</tr>
 100 ······</table>
 101 </div><div·class="memdoc">
  
 102 </div>
 103 </div>
103 </div></div><!--·contents·-->104 </div><!--·contents·-->
104 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>108 </small></address>
108 </body>109 </body>
109 </html>110 </html>
1.01 KB
html2text {}
    
Offset 6, 28 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Macros
 13 fmatrixev.cc·File·Reference
12 Classes·|·Namespaces 
13 ios_state.hh·File·Reference 
14 Common 
15 Utility·class·for·storing·and·resetting·stream·attributes.·More... 
16 #include·<ios>14 #include·<iostream>
17 Go_to_the_source_code_of_this_file. 
18 ·Classes 
19 class· Dune::ios_base_all_saver 
20  ······Utility·class·for·storing·and·resetting·stream·attributes.·More...15 #include·<cmath>
 16 #include·<cassert>
 17 #include·<dune/common/exceptions.hh>
 18 ·Macros
 19 #define DUNE_FMATRIXEIGENVALUES_CC
21  20  
 21 *****·Macro·Definition·Documentation·*****
 22 *****·◆ DUNE_FMATRIXEIGENVALUES_CC·*****
 23 #define·DUNE_FMATRIXEIGENVALUES_CC
22 ·Namespaces 
23 namespace· Dune 
24  ··········Dune·namespace. 
25   
26 *****·Detailed·Description·***** 
27 Utility·class·for·storing·and·resetting·stream·attributes. 
28 ··Author 
29 ······Markus·Blatt 
  
30 ===============================================================================24 ===============================================================================
31 ·····Generated·by [doxygen]·1.9.825 ·····Generated·by [doxygen]·1.9.8
105 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·debugalign.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 493 lines modifiedOffset 65, 382 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#define-members">Macros</a>·&#124;78 <a·href="#define-members">Macros</a>·&#124;
79 <a·href="#typedef-members">Typedefs</a>··</div>79 <a·href="#typedef-members">Typedefs</a>·&#124;
 80 <a·href="#func-members">Functions</a>·&#124;
 81 <a·href="#var-members">Variables</a>··</div>
80 ··<div·class="headertitle"><div·class="title">test.hh·File·Reference</div></div>82 ··<div·class="headertitle"><div·class="title">debugalign.hh·File·Reference</div></div>
81 </div><!--header-->83 </div><!--header-->
82 <div·class="contents">84 <div·class="contents">
  
83 <p>Common·tests·for·simd·abstraction·implementations.·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 86 <code>#include·&lt;cassert&gt;</code><br·/>
 87 <code>#include·&lt;cmath&gt;</code><br·/>
 88 <code>#include·&lt;complex&gt;</code><br·/>
86 <code>#include·&lt;cstddef&gt;</code><br·/>89 <code>#include·&lt;cstddef&gt;</code><br·/>
 90 <code>#include·&lt;cstdint&gt;</code><br·/>
 91 <code>#include·&lt;cstdlib&gt;</code><br·/>
 92 <code>#include·&lt;functional&gt;</code><br·/>
87 <code>#include·&lt;iostream&gt;</code><br·/>93 <code>#include·&lt;istream&gt;</code><br·/>
88 <code>#include·&lt;sstream&gt;</code><br·/>94 <code>#include·&lt;ostream&gt;</code><br·/>
89 <code>#include·&lt;string&gt;</code><br·/> 
90 <code>#include·&lt;type_traits&gt;</code><br·/>95 <code>#include·&lt;type_traits&gt;</code><br·/>
91 <code>#include·&lt;typeindex&gt;</code><br·/> 
92 <code>#include·&lt;typeinfo&gt;</code><br·/> 
93 <code>#include·&lt;unordered_set&gt;</code><br·/> 
94 <code>#include·&lt;utility&gt;</code><br·/>96 <code>#include·&lt;utility&gt;</code><br·/>
95 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/classname.hh</a>&gt;</code><br·/>97 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
96 <code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
97 <code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>98 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
98 <code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/simd/io.hh</a>&gt;</code><br·/>99 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
99 <code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>100 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
100 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
101 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
102 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
103 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>101 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
104 </div>102 </div>
105 <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p>103 <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p>
106 <table·class="memberdecls">104 <table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
108 Classes</h2></td></tr>106 Classes</h2></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="a02724.html">Dune::Simd::EndMark</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="a01352.html">Dune::AlignedBase&lt;·align,·Impl·&gt;</a></td></tr>
 108 <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>
 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="a01360.html">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01356.html">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;</a></td></tr>
110 <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>113 <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>
 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="a01364.html">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="a01368.html">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
 118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <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>119 <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>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table><table·class="memberdecls">121 </table><table·class="memberdecls">
115 <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>
116 Namespaces</h2></td></tr>123 Namespaces</h2></td></tr>
117 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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="memdesc: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>
119 <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:a00428"·id="r_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>
 128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 <tr·class="memitem:a00429"·id="r_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>129 <tr·class="memitem:a00429"·id="r_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>
121 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>130 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
122 <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:a00430"·id="r_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>
 133 <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>
 134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 </table><table·class="memberdecls">135 </table><table·class="memberdecls">
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>136 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
125 Macros</h2></td></tr>137 Macros</h2></td></tr>
126 <tr·class="memitem:a597f9d11a82f392a91b8bc12bd49a595"·id="r_a597f9d11a82f392a91b8bc12bd49a595"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a597f9d11a82f392a91b8bc12bd49a595">DUNE[·...·truncated·by·diffoscope;·len:·109,·SHA:·d9efef43dc02f302904b474fa14436afb2d428a84c1464c1b53f311aa451dff0·...·])</td></tr>138 <tr·class="memitem:ac631559314e81560b9e4d2949a9c6f9e"·id="r_ac631559314e81560b9e4d2949a9c6f9e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE[·...·truncated·by·diffoscope;·len:·17,·SHA:·da032f4afa156462cdaed4f4c811e63d8d0f51fd56766e87e65d71354665ffa1·...·])</td></tr>
127 <tr·class="separator:a597f9d11a82f392a91b8bc12bd49a595"><td·class="memSeparator"·colspan="2">&#160;</td></tr>139 <tr·class="separator:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 <tr·class="memitem:a48b2df30d98156457f001562d4bd5270"·id="r_a48b2df30d98156457f001562d4bd5270"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a48b2df30d98156457f001562d4bd5270">DUNE[·...·truncated·by·diffoscope;·len:·23,·SHA:·a7bf8c30135816f76ce57325015874c3c8d9961089f2acb5aeb82fe334e486b7·...·])</td></tr>140 <tr·class="memitem:a29d7d4052b3f82e3ac4809355498a1a0"·id="r_a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE[·...·truncated·by·diffoscope;·len:·17,·SHA:·0489e754c42dddca44b6f410ce15e64940d949ece71f8080e931226760925630·...·])</td></tr>
129 <tr·class="separator:a48b2df30d98156457f001562d4bd5270"><td·class="memSeparator"·colspan="2">&#160;</td></tr>141 <tr·class="separator:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:a9b2955907ac5ff3c53a5e1dc45e10532"·id="r_a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(name)</td></tr>
130 <tr·class="memitem:a09facb8a8a5240120cca8ec1d1605959"·id="r_a09facb8a8a5240120cca8ec1d1605959"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a09facb8a8a5240120cca8ec1d1605959">DUNE_SIMD_POSTFIX_OP</a>(NAME,··SYMBOL)</td></tr> 
131 <tr·class="separator:a09facb8a8a5240120cca8ec1d1605959"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:aeb2257e86dd590d0f724653136732d17"·id="r_aeb2257e86dd590d0f724653136732d17"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#aeb2257e86dd590d0f724653136732d17">DUNE_SIMD_PREFIX_OP</a>(NAME,··SYMBOL)</td></tr> 
133 <tr·class="separator:aeb2257e86dd590d0f724653136732d17"><td·class="memSeparator"·colspan="2">&#160;</td></tr>143 <tr·class="separator:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V)&gt;())</td></tr> 
135 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:a20f7280cead2264697f74b1deebc17e5"·id="r_a20f7280cead2264697f74b1deebc17e5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a20f7280cead2264697f74b1deebc17e5">DUNE_SIMD_INFIX_OP</a>(NAME,··SYMBOL)</td></tr> 
137 <tr·class="separator:a20f7280cead2264697f74b1deebc17e5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:ad379032c70061c8e4d7d292356c9381c"·id="r_ad379032c70061c8e4d7d292356c9381c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#ad379032c70061c8e4d7d292356c9381c">DUNE_SIMD_ASSIGN_OP</a>(NAME,··SYMBOL)</td></tr> 
139 <tr·class="separator:ad379032c70061c8e4d7d292356c9381c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:acf66af48cb08cc1bc5334b44dfd6e016"·id="r_acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#acf66af48cb08cc1bc5334b44dfd6e016">DUNE_SIMD_REPL_OP</a>(NAME,··REPLFN,··SYMBOL)</td></tr> 
141 <tr·class="separator:acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;OpInfixComma(T1,·T2)&gt;())</td></tr> 
143 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·V2)&gt;())</td></tr> 
145 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·T2)&gt;())</td></tr> 
147 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·T2)&gt;())</td></tr> 
149 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·P2)&gt;())</td></tr> 
Max diff block lines reached; 69446/86931 bytes (79.89%) of diff not shown.
19.7 KB
html2text {}
    
Offset 6, 205 lines modifiedOffset 6, 390 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd 
13 Classes·|·Namespaces·|·Macros·|·Typedefs12 Classes·|·Namespaces·|·Macros·|·Typedefs·|·Functions·|·Variables
14 test.hh·File·Reference13 debugalign.hh·File·Reference
15 Common·tests·for·simd·abstraction·implementations.·More... 
16 #include·<algorithm>14 #include·<algorithm>
 15 #include·<cassert>
 16 #include·<cmath>
 17 #include·<complex>
17 #include·<cstddef>18 #include·<cstddef>
 19 #include·<cstdint>
 20 #include·<cstdlib>
 21 #include·<functional>
18 #include·<iostream>22 #include·<istream>
19 #include·<sstream>23 #include·<ostream>
20 #include·<string> 
21 #include·<type_traits>24 #include·<type_traits>
22 #include·<typeindex> 
23 #include·<typeinfo> 
24 #include·<unordered_set> 
25 #include·<utility>25 #include·<utility>
26 #include·<dune/common/classname.hh>26 #include·<dune/common/classname.hh>
27 #include·<dune/common/hybridutilities.hh>27 #include·<dune/common/indices.hh>
28 #include·<dune/common/rangeutilities.hh> 
29 #include·<dune/common/simd/io.hh> 
30 #include·<dune/common/simd/loop.hh> 
31 #include·<dune/common/simd/simd.hh>28 #include·<dune/common/simd/base.hh>
32 #include·<dune/common/std/type_traits.hh>29 #include·<dune/common/simd/defaults.hh>
33 #include·<dune/common/typelist.hh> 
34 #include·<dune/common/typetraits.hh>30 #include·<dune/common/typetraits.hh>
35 Go_to_the_source_code_of_this_file.31 Go_to_the_source_code_of_this_file.
36 ·Classes32 ·Classes
37 struct· Dune::Simd::EndMark 
38  ·······final·element·marker·for·RebindList·More...33 ·class· Dune::AlignedBase<_align,_Impl_>
 34  ·······CRTP·base·mixin·class·to·check·alignment.·More...
39  35  
40 ·class· Dune::Simd::UnitTest36 struct· Dune::IsNumber<_AlignedNumberImpl::AlignedNumber<_T,_align_>_>
 37  
 38 ·class· Dune::AlignedNumberImpl::AlignedNumber<_T,_align_>
 39  ·······aligned·wrappers·for·arithmetic·types·More...
 40  
 41 struct· Dune::Simd::Overloads::ScalarType<_AlignedNumber<_T,_align_>_>
 42  
 43 struct· Dune::Simd::Overloads::RebindType<_U,_AlignedNumber<_T,_align_>_>
 44  
 45 struct· Dune::Simd::Overloads::LaneCount<_AlignedNumber<_T,_align_>_>
41  46  
42 ·Namespaces47 ·Namespaces
43 namespace· Dune48 namespace· Dune
44  ··········Dune·namespace.49  ··········Dune·namespace.
45  50  
 51 namespace· Dune::AlignedNumberImpl
 52  
46 namespace· Dune::Simd53 namespace· Dune::Simd
47  ··········Namespace·for·vectorization·interface·functions·used·by·library54  ··········Namespace·for·vectorization·interface·functions·used·by·library
48 ············developers.55 ············developers.
49  56  
 57 namespace· Dune::Simd::Overloads
 58  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 59 ············implementation.
 60  
50 ·Macros61 ·Macros
 62 #define DUNE_ASSIGN_OP(OP)
51 #define DUNE_SIMD_CHECK(expr)   ·((expr)·?·void()·:·complain(__FILE__,·__LINE__, 
52 ·········__func__,·#expr)) 
53  63  
54 #define DUNE_SIMD_CHECK_OP(expr)64 #define DUNE_BINARY_OP(OP)
55  65  
56 #define DUNE_SIMD_POSTFIX_OP(NAME,·SYMBOL)66 #define DUNE_UNARY_FUNC(name)
57  67  
58 #define DUNE_SIMD_PREFIX_OP(NAME,·SYMBOL)68 ·Typedefs
 69 using Dune::ViolatedAlignmentHandler·=·std::function<·void(const·char·*,·std::
 70 ·······size_t,·const·void·*)>
 71  ·····type·of·the·handler·called·by·violatedAlignment()
59  72  
60 #define DUNE_SIMD_OPNAME   (className<Op(V)>())73 ·Functions
 74 ·······ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·()
 75  ·································access·the·handler·called·by
 76 ···································violatedAlignment()
61  77  
62 #define DUNE_SIMD_INFIX_OP(NAME,·SYMBOL)78 ·····························void Dune::violatedAlignment·(const·char
 79 ···································*className,·std::size_t·expectedAlignment,
 80 ···································const·void·*address)
 81  ·································called·when·an·alignment·violation·is
 82 ···································detected
63  83  
64 #define DUNE_SIMD_ASSIGN_OP(NAME,·SYMBOL)84 ·····························bool Dune::isAligned·(const·void·*p,·std::size_t
 85 ···································align)
 86  ·································check·whether·an·address·conforms·to·the
 87 ···································given·alignment
65  88  
66 #define DUNE_SIMD_REPL_OP(NAME,·REPLFN,·SYMBOL)89 template<std::size_t·align·=·debugAlignment,·class·T·>
 90 ········AlignedNumber<·T,·align·> Dune::aligned·(T·value)
 91  ·································align·a·value·to·a·certain·alignment
67  92  
68 #define DUNE_SIMD_OPNAME   (className<OpInfixComma(T1,·T2)>())93 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(+)
69  94  
70 #define DUNE_SIMD_OPNAME   (className<Op(V1,·V2)>())95 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(-)
71  96  
72 #define DUNE_SIMD_OPNAME   (className<Op(V1,·T2)>())97 ·················DUNE_BINARY_OP·* Dune::AlignedNumberImpl::DUNE_BINARY_OP·(/
 98 ···································);DUNE_BINARY_OP(%
73  99  
74 #define DUNE_SIMD_OPNAME   (className<Op(V1,·T2)>())100 ··················DUNE_BINARY_OP^ Dune::AlignedNumberImpl::DUNE_BINARY_OP
 101 ···································(&);DUNE_BINARY_OP(|
75  102  
76 #define DUNE_SIMD_OPNAME   (className<Op(V1,·P2)>())103 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<<)
77  104  
78 #define DUNE_SIMD_DO(M1,·M2,·M3,·V1,·V2,·V3,·NAME)105 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(>
 106 ···································>)
 107  
 108 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(==)
 109  
 110 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(!=)
 111  
 112 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<=)
 113  
 114 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(>=)
 115  
 116 ················DUNE_BINARY_OP·&& Dune::AlignedNumberImpl::DUNE_BINARY_OP
 117 ···································(||);#define·DUNE_UNARY_FUNC(name)
 118 ···································DUNE_UNARY_FUNC(abs
Max diff block lines reached; 5995/20151 bytes (29.75%) of diff not shown.
564 KB
./usr/share/doc/libdune-common-doc/doxygen/a00125_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 2026 lines modifiedOffset 70, 668 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">test.hh</div></div>80 ··<div·class="headertitle"><div·class="title">debugalign.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUGALIGN_HH</span></div>
86 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUGALIGN_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
89 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 96 <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>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
90 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
91 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
92 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
93 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
94 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;typeindex&gt;</span></div> 
95 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
96 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;unordered_set&gt;</span></div> 
97 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
98 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
99 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00233.html">dune/common/classname.hh</a>&gt;</span></div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/classname.hh</a>&gt;</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00305.html">dune/common/indices.hh</a>&gt;</span></div>
100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00299.html">dune/common/hybridutilities.hh</a>&gt;</span></div> 
101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00017.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00137.html">dune/common/simd/io.hh</a>&gt;</span></div>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/simd/base.hh</a>&gt;</span></div>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.html">dune/common/simd/defaults.hh</a>&gt;</span></div>
103 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00134.html">dune/common/simd/loop.hh</a>&gt;</span></div> 
104 <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> 
105 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/std/type_traits.hh</a>&gt;</span></div>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
106 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/typelist.hh</a>&gt;</span></div> 
107 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 109 <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>
 110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 111 <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>
 112 <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>
108 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>113 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
109 <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> 
110 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">namespace·</span>Simd·{</div> 
111 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>114 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 115 <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>
112 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">namespace·</span>Impl·{</div> 
113 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
114 <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> 
115 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">struct·</span>LessThenComparable·:·std::false_type·{};</div> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···················································&lt;·std::declval&lt;T&gt;())&gt;·&gt;·:</div> 
119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········std::true_type</div> 
120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······{};</div> 
121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
122 <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> 
123 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">struct·</span>CopyConstHelper</div> 
124 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{</div>117 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 118 <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>
125 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keyword">using·</span>type·=·Dst;</div>119 <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>
126 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······};</div> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div> 
130 <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> 
131 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······};</div> 
132 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
133 <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> 
134 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keyword">struct·</span>CopyVolatileHelper</div>121 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}">
 122 <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>
135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</div>123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div>
 124 <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>
 125 <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>
136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">using·</span>type·=·Dst;</div>126 <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>
137 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div>127 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div>
 128 </div>
138 <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> 
139 <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> 
140 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{</div> 
141 <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> 
142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div> 
143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>129 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
144 <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>130 <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>
145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">struct·</span>CopyReferenceHelper</div>131 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};">
 132 <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>
146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div>133 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>
 134 <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>
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">using·</span>type·=·Dst;</div>135 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div>
 136 <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>
 137 <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>
 138 <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>
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······};</div>139 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
149 <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> 
150 <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>140 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">public</span>:</div>
151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······{</div> 
152 <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> 
153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······};</div>141 <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>()····················{·check[·...·truncated·by·diffoscope;·len:·14,·SHA:·5244f95c21d8f751721f61290673daa0b2dbb785998a0464a26ce86d4ea15324·...·]</div>
 142 <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>
Max diff block lines reached; 456200/480514 bytes (94.94%) of diff not shown.
94.4 KB
html2text {}
    
Offset 7, 2098 lines modifiedOffset 7, 737 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 debugalign.hh
12 ····*·simd 
13 test.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_SIMD_TEST_HH 
19 ·4#define·DUNE_COMMON_SIMD_TEST_HH 
20 ·519 ·5#ifndef·DUNE_DEBUGALIGN_HH
 20 ·6#define·DUNE_DEBUGALIGN_HH
 21 ·7
21 ·12#include·<algorithm>22 ·8#include·<algorithm>
 23 ·9#include·<cassert>
 24 ·10#include·<cmath>
 25 ·11#include·<complex>
22 ·13#include·<cstddef>26 ·12#include·<cstddef>
 27 ·13#include·<cstdint>
 28 ·14#include·<cstdlib>·//·abs
 29 ·15#include·<functional>
23 ·14#include·<iostream>30 ·16#include·<istream>
24 ·15#include·<sstream>31 ·17#include·<ostream>
25 ·16#include·<string> 
26 ·17#include·<type_traits>32 ·18#include·<type_traits>
27 ·18#include·<typeindex> 
28 ·19#include·<typeinfo> 
29 ·20#include·<unordered_set> 
30 ·21#include·<utility>33 ·19#include·<utility>
31 ·2234 ·20
32 ·23#include·<dune/common/classname.hh>35 ·21#include·<dune/common/classname.hh>
33 ·24#include·<dune/common/hybridutilities.hh>36 ·22#include·<dune/common/indices.hh>
34 ·25#include·<dune/common/rangeutilities.hh> 
35 ·26#include·<dune/common/simd/io.hh> 
36 ·27#include·<dune/common/simd/loop.hh> 
37 ·28#include·<dune/common/simd/simd.hh>37 ·23#include·<dune/common/simd/base.hh>
38 ·29#include·<dune/common/std/type_traits.hh>38 ·24#include·<dune/common/simd/defaults.hh>
39 ·30#include·<dune/common/typelist.hh> 
40 ·31#include·<dune/common/typetraits.hh>39 ·25#include·<dune/common/typetraits.hh>
 40 ·26
 41 ·27namespace·Dune·{
 42 ·28
 43 30·using·ViolatedAlignmentHandler·=
 44 ·31·std::function<void(const·char*,·std::size_t,·const·void*)>;
41 ·3245 ·32
 46 ·34
 47 ·40·ViolatedAlignmentHandler·&violatedAlignmentHandler();
 48 ·41
 49 ·43
 50 ·52·void·violatedAlignment(const·char·*className,·std::size_t
 51 expectedAlignment,
 52 ·53·const·void·*address);
 53 ·54
 54 56·inline·bool·isAligned(const·void·*p,·std::size_t·align)
42 ·33namespace·Dune·{ 
43 ·34·namespace·Simd·{ 
44 ·35 
45 ·36·namespace·Impl·{ 
46 ·37 
47 ·38·template<class·T,·class·SFINAE·=·void> 
48 ·39·struct·LessThenComparable·:·std::false_type·{}; 
49 ·40·template<class·T> 
50 ·41·struct·LessThenComparable<T,·std::void_t<decltype(std::declval<T>() 
51 ·42·<·std::declval<T>())>·>·: 
52 ·43·std::true_type 
53 ·44·{}; 
54 ·45 
55 ·46·template<class·Dst,·class·Src> 
56 ·47·struct·CopyConstHelper 
57 ·48·{ 
58 ·49·using·type·=·Dst; 
59 ·50·}; 
60 ·51·template<class·Dst,·class·Src> 
61 ·52·struct·CopyConstHelper<Dst,·const·Src> 
62 ·53·{55 ·57·{
 56 ·58·//·a·more·portable·way·to·do·this·would·be·to·abuse·std::align(),·but·that
 57 ·59·//·isn't·supported·by·g++-4.9·yet
 58 ·60·return·std::uintptr_t(p)·%·align·==·0;
63 ·54·using·type·=·std::add_const_t<Dst>; 
64 ·55·}; 
65 ·56 
66 ·57·template<class·Dst,·class·Src> 
67 ·58·struct·CopyVolatileHelper 
68 ·59·{ 
69 ·60·using·type·=·Dst; 
70 ·61·};59 ·61·}
71 ·62·template<class·Dst,·class·Src> 
72 ·63·struct·CopyVolatileHelper<Dst,·volatile·Src>60 ·62
 61 ·64·template<std::size_t·align,·class·Impl>
 62 65·class·alignas(align)·AlignedBase
73 ·64·{63 ·66·{
 64 ·67·void·checkAlignment()·const
 65 ·68·{
 66 ·69·auto·pimpl·=·static_cast<const·Impl*>(this);
 67 ·70·if(!isAligned(pimpl,·align))
 68 ·71·violatedAlignment(className<Impl>().c_str(),·align,·pimpl);
74 ·65·using·type·=·std::add_volatile_t<Dst>; 
75 ·66·}; 
76 ·67 
77 ·68·template<class·Dst,·class·Src> 
78 ·69·struct·CopyReferenceHelper 
79 ·70·{ 
80 ·71·using·type·=·Dst; 
81 ·72·};69 ·72·}
82 ·73·template<class·Dst,·class·Src> 
83 ·74·struct·CopyReferenceHelper<Dst,·Src&> 
84 ·75·{ 
85 ·76·using·type·=·std::add_lvalue_reference_t<Dst>; 
86 ·77·};70 ·73·public:
 71 74·AlignedBase()·{·checkAlignment();·}
 72 75·AlignedBase(const·AlignedBase·&)·{·checkAlignment();·}
 73 76·AlignedBase(AlignedBase·&&)·{·checkAlignment();·}
 74 77·~AlignedBase()·{·checkAlignment();·}
87 ·7875 ·78
 76 79·AlignedBase&·operator=(const·AlignedBase·&)·=·default;
 77 80·AlignedBase&·operator=(AlignedBase·&&)·=·default;
88 ·79·template<class·Dst,·class·Src> 
89 ·80·struct·CopyReferenceHelper<Dst,·Src&&> 
90 ·81·{ 
Max diff block lines reached; 88367/96692 bytes (91.39%) of diff not shown.
9.89 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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, 25 lines modifiedOffset 65, 60 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#func-members">Functions</a>··</div>
75 ··<div·class="headertitle"><div·class="title">test.cc·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">dotproduct.hh·File·Reference</div></div>
76 </div><!--header-->80 </div><!--header-->
77 <div·class="contents">81 <div·class="contents">
78 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/> 
79 <code>#include·&lt;ostream&gt;</code><br·/> 
80 <code>#include·&lt;string&gt;</code><br·/> 
 82 <p>Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>.··
 83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00179_source.html">ftraits.hh</a>&quot;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/simd/test.hh</a>&gt;</code><br·/>85 <code>#include·&quot;<a·class="el"·href="a00113_source.html">typetraits.hh</a>&quot;</code><br·/>
 86 </div>
 87 <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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="a01492.html">Dune::IsVector&lt;·T,·class·&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="a01496.html">Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;</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="namespaces"·name="namespaces"></a>
 97 Namespaces</h2></td></tr>
 98 <tr·class="memitem:a00425"·id="r_a00425"><td·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:gaea6b9fa6ea152afd7372f5b0b6584947"·id="r_gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr>
 105 <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;·<a·class="el"·href="a01300.html">IsNumber</a>&lt;·A·&gt;::value·&amp;&amp;!<a·class="el"·href="a01492.html">IsVector</a>&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·A·&gt;::field_type,·typename·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</td></tr>
 106 <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··<br·/></td></tr>
 107 <tr·class="separator:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"·id="r_aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr>
 109 <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>
 110 <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.··<br·/></td></tr>
 111 <tr·class="separator:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 </table>
 113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 114 <div·class="textblock"><p>Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>.·</p>
 115 <p>The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot·products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as·DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b)·conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and·Petsc,·but·not·with·BLAS.·</p><dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke,·Matthias·Wohlmuth·</dd></dl>
82 </div></div><!--·contents·-->116 </div></div><!--·contents·-->
83 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>118 <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.8119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
86 </small></address>120 </small></address>
87 </body>121 </body>
88 </html>122 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.93 KB
html2text {}
    
Offset 6, 16 lines modifiedOffset 6, 50 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd 
13 test.cc·File·Reference 
14 #include·<config.h> 
15 #include·<ostream> 
16 #include·<string> 
17 #include·<dune/common/simd/test.hh>12 Classes·|·Namespaces·|·Functions
 13 dotproduct.hh·File·Reference
 14 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T
 15 \cdot·b·$].·More...
 16 #include·"ftraits.hh"
 17 #include·"typetraits.hh"
 18 Go_to_the_source_code_of_this_file.
 19 ·Classes
 20 struct· Dune::IsVector<_T,_class_>
 21  
 22 struct· Dune::IsVector<_T,_std::void_t<_typename_T::field_type_>_>
 23  
 24 ·Namespaces
 25 namespace· Dune
 26  ··········Dune·namespace.
 27  
 28 ·Functions
 29 template<class·A·,·class·B·>
 30 auto Dune::dot·(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber<
 31 ······A·>::value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits<
 32 ······A·>::field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype
 33 ······(conj(a)·*b)>::type
 34  ····computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's
 35 ······VectDot·function:·dot(a,b)·:=·std::conj(a)*b
 36  
 37 template<class·A·,·class·B·>
 38 auto Dune::dotT·(const·A·&a,·const·B·&b)·->·decltype(a·*b)
 39  ····Computes·an·indefinite·vector·dot·product·for·fundamental·data·types
 40 ······according·to·Petsc's·VectTDot·function:·dotT(a,b)·:=·a*b.
 41  
 42 *****·Detailed·Description·*****
 43 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T
 44 \cdot·b·$].
 45 The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot
 46 products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as
 47 DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b)
 48 conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and
 49 Petsc,·but·not·with·BLAS.
 50 ··Author
 51 ·······Fahlke,·Matthias·Wohlmuth
  
18 ===============================================================================52 ===============================================================================
19 ·····Generated·by [doxygen]·1.9.853 ·····Generated·by [doxygen]·1.9.8
28.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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, 53 lines modifiedOffset 65, 126 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
78 ··<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'[·...·truncated·by·diffoscope;·len:·33,·SHA:·9281d602b4a5c32f2e4a1fa78029d0198c564ba9a9abeb343957f639c9bf4f3a·...·]78 <a·href="#func-members">Functions</a>·&#124;
 79 <a·href="#var-members">Variables</a>··</div>
 80 ··<div·class="headertitle"><div·class="title">rangeutilities.hh·File·Reference</div></div>
79 </div><!--header-->81 </div><!--header-->
80 <div·class="contents">82 <div·class="contents">
  
81 <p>Basic·definitions·for·SIMD·Implementations.··83 <p>Utilities·for·reduction·like·operations·on·ranges.··
82 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
 85 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;algorithm&gt;</code><br·/>
 87 <code>#include·&lt;utility&gt;</code><br·/>
 88 <code>#include·&lt;type_traits&gt;</code><br·/>
 89 <code>#include·&lt;bitset&gt;</code><br·/>
 90 </div>
83 <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">92 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>94 Classes</h2></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="a02500.html">Dune::IntegralRange&lt;·T·&gt;</a></td></tr>
 96 <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>
 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="a02504.html">Dune::StaticIntegralRange&lt;·T,·to,·from·&gt;</a></td></tr>
 99 <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>
 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="a02508.html">Dune::ValueTransformationTag</a></td></tr>
 102 <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>
 103 <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="a02612.html">Dune::Simd::Overloads::ADLTag&lt;·i·&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="a02512.html">Dune::IteratorTransformationTag</a></td></tr>
 105 <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>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <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="a02616.html">Dune::Simd::Overloads::ADLTag&lt;·0·&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="a02536.html">Dune::TransformedRangeView&lt;·R,·F,·T·&gt;</a></td></tr>
 108 <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>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="namespaces"·name="namespaces"></a>111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
93 Namespaces</h2></td></tr>112 Namespaces</h2></td></tr>
94 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>113 <tr·class="memitem:a00425"·id="r_a00425"><td·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>114 <tr·class="memdesc: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>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:a00429"·id="r_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>116 </table><table·class="memberdecls">
 117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 118 Functions</h2></td></tr>
 119 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"·id="r_gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 120 <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>
 121 <tr·class="memdesc:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·maximum·value·over·a·range··<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a00430"·id="r_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> 
101 <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>123 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"·id="r_gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type[·...·truncated·by·diffoscope;·len:·10,·SHA:·73d94da9aa91e3a264224c0ae1b697f870b9524f52870ed9cc56901048720fea·...·]</td></tr>
 124 <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>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"·id="r_gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 127 <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>
 128 <tr·class="memdesc:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·minimum·value·over·a·range··<br·/></td></tr>
 129 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"·id="r_gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 131 <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>
 132 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:ga19dd21ff930466597df962ae58d58c57"·id="r_ga19dd21ff930466597df962ae58d58c57"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 134 <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>
 135 <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··<br·/></td></tr>
 136 <tr·class="separator:ga19dd21ff930466597df962ae58d58c57"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:gaaca8a2450469eb41c338d8f51231fc34"·id="r_gaaca8a2450469eb41c338d8f51231fc34"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr>
 138 <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>
 139 <tr·class="separator:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:ga3f11c34177907a5c592990a5f4840e92"·id="r_ga3f11c34177907a5c592990a5f4840e92"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·<a·class="el"·href="a03120.html">IsIterable</a>&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 141 <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>
 142 <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··<br·/></td></tr>
 143 <tr·class="separator:ga3f11c34177907a5c592990a5f4840e92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 <tr·class="memitem:ga1782fbfe7b40a75fecb933f720357e54"·id="r_ga1782fbfe7b40a75fecb933f720357e54"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr>
 145 <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>
 146 <tr·class="separator:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"·id="r_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>
 148 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02500.html">IntegralRange</a>&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>
 149 <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:·<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range(0,10)</a>)·//·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:·<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range(10)</a>)·//·0,1,2,3,4,5,6,7,8,9··<br·/></td></tr>
 150 <tr·class="separator:gae90ef519a48803f4a414eb4d643669ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 151 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"·id="r_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>
 152 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02500.html">IntegralRange</a>&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>
 153 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"·id="r_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>
 155 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02500.html">IntegralRange</a>&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>
 156 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 157 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"·id="r_ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·to&gt;·</td></tr>
 158 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02504.html">StaticIntegralRange</a>&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>
 159 <tr·class="separator:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:gae2dd8cb1fce8767381e33a5b834cf55d"·id="r_gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr>
 161 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·const·F·&amp;f)</td></tr>
 162 <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>.··<br·/></td></tr>
 163 <tr·class="separator:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:gaccf70716194b093e0d21e6da93c108f8"·id="r_gaccf70716194b093e0d21e6da93c108f8"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr>
 165 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·const·F·&amp;f)</td></tr>
 166 <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.··<br·/></td></tr>
 167 <tr·class="separator:gaccf70716194b093e0d21e6da93c108f8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:gaa75d4e74da1410405a33a5a62b5710e7"·id="r_gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·&gt;·</td></tr>
 169 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>)</td></tr>
 170 <tr·class="memdesc:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allow·structured-binding·for-loops·for·sparse·iterators.··<br·/></td></tr>
 171 <tr·class="separator:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 968/22350 bytes (4.33%) of diff not shown.
6.41 KB
html2text {}
    
Offset 6, 39 lines modifiedOffset 6, 134 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd 
13 Classes·|·Namespaces 
14 base.hh·File·Reference 
15 Common·»·Vectorization·»·Abstraction_Developer's_Interface 
16 Basic·definitions·for·SIMD·Implementations.·More...12 Classes·|·Namespaces·|·Functions·|·Variables
 13 rangeutilities.hh·File·Reference
 14 Utilities·for·reduction·like·operations·on·ranges.·More...
 15 #include·<dune/common/typetraits.hh>
 16 #include·<algorithm>
 17 #include·<utility>
 18 #include·<type_traits>
 19 #include·<bitset>
17 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
18 ·Classes21 ·Classes
19 struct· Dune::Simd::Overloads::ADLTag<_i_>22 ·class· Dune::IntegralRange<_T_>
 23  ·······dynamic·integer·range·for·use·in·range-based·for·loops·More...
20  24  
21 struct· Dune::Simd::Overloads::ADLTag<_0_>25 ·class· Dune::StaticIntegralRange<_T,_to,_from_>
 26  ·······static·integer·range·for·use·in·range-based·for·loops·More...
 27  
 28 struct· Dune::ValueTransformationTag
 29  ·······Tag·to·enable·value·based·transformations·in·TransformedRangeView.
 30 ·········More...
 31  
 32 struct· Dune::IteratorTransformationTag
 33  ·······Tag·to·enable·iterator·based·transformations·in·TransformedRangeView.
 34 ·········More...
 35  
 36 ·class· Dune::TransformedRangeView<_R,_F,_T_>
 37  ·······A·range·transforming·the·values·of·another·range·on-the-fly.·More...
22  38  
23 ·Namespaces39 ·Namespaces
24 namespace· Dune40 namespace· Dune
25  ··········Dune·namespace.41  ··········Dune·namespace.
26  42  
27 namespace· Dune::Simd 
28  ··········Namespace·for·vectorization·interface·functions·used·by·library 
29 ············developers.43 ·Functions
 44 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 45 type·=·0>
 46 ····························T::value_type Dune::max_value·(const·T·&v)
 47  ·········································compute·the·maximum·value·over·a
 48 ···········································range
30  49  
31 namespace· Dune::Simd::Overloads 
32  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
33 ············implementation.50 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>::
 51 type·=·0>
 52 ································const·T·& Dune::max_value·(const·T·&v)
 53  
 54 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 55 type·=·0>
 56 ····························T::value_type Dune::min_value·(const·T·&v)
 57  ·········································compute·the·minimum·value·over·a
 58 ···········································range
 59  
 60 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>::
 61 type·=·0>
 62 ································const·T·& Dune::min_value·(const·T·&v)
 63  
 64 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 65 type·=·0>
 66 ·····································bool Dune::any_true·(const·T·&v)
 67  ·········································similar·to·std::bitset<N>::any()
 68 ···········································return·true,·if·any·entries·is·true
 69  
 70 template<std::size_t·N>
 71 ·····································bool Dune::any_true·(const·std::bitset<·N
 72 ···········································>·&b)
 73  
 74 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 75 type·=·0>
 76 ·····································bool Dune::all_true·(const·T·&v)
 77  ·········································similar·to·std::bitset<N>::all()
 78 ···········································return·true,·if·any·entries·is·true
 79  
 80 template<std::size_t·N>
 81 ·····································bool Dune::all_true·(const·std::bitset<·N
 82 ···········································>·&b)
 83  
 84 template<class·T·,·class·U·,·std::enable_if_t<·std::is_same<·std::decay_t<·T·>,
 85 std::decay_t<·U·>·>::value,·int·>·=·0,·std::enable_if_t<·std::is_integral<
 86 std::decay_t<·T·>·>::value,·int·>·=·0>
 87 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&from,·U·&&to)
 88 ···········································noexcept
 89 ···········································free·standing·function·for·setting
 90 ···········································up·a·range·based·for·loop·over·an
 91 ···········································integer·range·for·(auto·i:·range
 92  ·········································(0,10))·//·0,1,2,3,4,5,6,7,8,9·or
 93 ···········································for·(auto·i:·range(-10,10))·//·-10,-
 94 ···········································9,..,8,9·or·for·(auto·i:·range(10))
 95 ···········································//·0,1,2,3,4,5,6,7,8,9
 96  
 97 template<class·T·,·std::enable_if_t<·std::is_integral<·std::decay_t<·T·>·>::
 98 value,·int·>·=·0>
 99 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&to)·noexcept
 100  
 101 template<class·T·,·std::enable_if_t<·std::is_enum<·std::decay_t<·T·>·>::value,
 102 int·>·=·0>
 103 ···············static·IntegralRange<·std::
 104 ·underlying_type_t<·std::decay_t<·T·>·>·> Dune::range·(T·&&to)·noexcept
 105  
 106 template<class·T·,·T·to>
 107 ······static·StaticIntegralRange<·T,·to·> Dune::range·(std::integral_constant<
 108 ···········································T,·to·>)·noexcept
 109  
 110 template<class·R·,·class·F·>
 111 ·····································auto Dune::transformedRangeView·(R
 112 ···········································&&range,·const·F·&f)
 113  ·········································Create·a·TransformedRangeView.
 114  
 115 template<class·R·,·class·F·>
 116 ·····································auto Dune::iteratorTransformedRangeView
 117 ···········································(R·&&range,·const·F·&f)
 118  ·········································Create·a·TransformedRangeView·using
 119 ···········································an·iterator·transformation.
 120  
 121 template<class·Range·>
 122 ·····································auto Dune::sparseRange·(Range·&&range)
 123  ·········································Allow·structured-binding·for-loops
Max diff block lines reached; 511/6544 bytes (7.81%) of diff not shown.
166 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 66 lines modifiedOffset 70, 711 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">base.hh</div></div>80 ··<div·class="headertitle"><div·class="title">rangeutilities.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <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>87 <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>
86 <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>88 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
88 <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>96 <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>
 97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
 98 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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">typename</span>·T,</div>
 100 <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="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">namespace·</span>Simd·{</div>101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">typename</span>·T::value_type</div>
 102 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}">
 103 <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>
 104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">using·</span>std::max_element;</div>
 105 <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>
 106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
 107 </div>
90 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 109 <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>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 113 <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>
 114 <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>
 115 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·T::value_type</div>
 116 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}">
 117 <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>
 118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>std::min_element;</div>
 119 <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>
 120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div>
 121 </div>
 122 <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>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 124 <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>
 125 <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>
 126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 127 <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>
 128 <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>
 129 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}">
 130 <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>
 131 <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>
 132 <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>
 133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······b·=·b·or·<span·class="keywordtype">bool</span>(e);</div>
 134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·b;</div>
 135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>
 136 </div>
91 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>137 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 138 <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>
 139 <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>
 140 <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>
 141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 142 <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>
 143 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">
 144 <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>
 145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>
 146 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·b.any();</div>
 147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div>
 148 </div>
 149 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 150 <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>
 151 <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>
 152 <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="}">
 153 <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>
 154 <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>
 155 <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>
 156 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······b·=·b·and·<span·class="keywordtype">bool</span>(e);</div>
 157 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·b;</div>
 158 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>
 159 </div>
 160 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 161 <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>
 162 <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>
 163 <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>
 164 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 165 <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>
 166 <div·class="foldopen"·id="foldopen00106"·data-start="{"·data-end="}">
 167 <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>
 168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div>
92 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keyword">namespace·</span>Overloads·{</div>169 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">return</span>·b.all();</div>
 170 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··}</div>
 171 </div>
93 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>172 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
94 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>173 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 174 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 175 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">namespace·</span>Impl</div>
 176 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div>
 177 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 178 <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>
 179 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keyword">class·</span>IntegralRangeIterator</div>
Max diff block lines reached; 106963/139125 bytes (76.88%) of diff not shown.
30.0 KB
html2text {}
    
Offset 7, 69 lines modifiedOffset 7, 883 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 rangeutilities.hh
12 ····*·simd 
13 base.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_SIMD_BASE_HH 
19 ·4#define·DUNE_COMMON_SIMD_BASE_HH 
20 ·519 ·5#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH
 20 ·6#define·DUNE_COMMON_RANGE_UTILITIES_HH
 21 ·7
 22 ·8#include·<dune/common/typetraits.hh>
 23 ·9#include·<algorithm>
 24 ·10#include·<utility>
 25 ·11#include·<type_traits>
 26 ·12#include·<bitset>
 27 ·13
21 ·92namespace·Dune·{28 ·21namespace·Dune
22 ·93·namespace·Simd·{ 
23 ·94 
24 ·97 
25 ·112·namespace·Overloads·{29 ·22{
 30 ·23
 31 ·34·template·<typename·T,
 32 ·35·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 33 ·36·typename·T::value_type
 34 37·max_value(const·T·&·v)·{
 35 ·38·using·std::max_element;
 36 ·39·return·*max_element(v.begin(),·v.end());
 37 ·40·}
 38 ·41
 39 ·42·template·<typename·T,
 40 ·43·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 41 44·const·T·&·max_value(const·T·&·v)·{·return·v;·}
 42 ·45
 43 ·51·template·<typename·T,
 44 ·52·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 45 ·53·typename·T::value_type
 46 54·min_value(const·T·&·v)·{
 47 ·55·using·std::min_element;
 48 ·56·return·*min_element(v.begin(),·v.end());
 49 ·57·}
 50 ·58
 51 ·59·template·<typename·T,
 52 ·60·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 53 61·const·T·&·min_value(const·T·&·v)·{·return·v;·}
 54 ·62
 55 ·68·template·<typename·T,
 56 ·69·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 57 70·bool·any_true(const·T·&·v)·{
 58 ·71·bool·b·=·false;
 59 ·72·for·(const·auto·&·e·:·v)
 60 ·73·b·=·b·or·bool(e);
 61 ·74·return·b;
 62 ·75·}
 63 ·76
 64 ·77·template·<typename·T,
 65 ·78·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 66 ·79·bool·any_true(const·T·&·v)·{·return·v;·}
 67 ·80
 68 ·81·template<std::size_t·N>
 69 82·bool·any_true(const·std::bitset<N>·&·b)
 70 ·83·{
 71 ·84·return·b.any();
 72 ·85·}
 73 ·86
 74 ·92·template·<typename·T,
 75 ·93·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 76 94·bool·all_true(const·T·&·v)·{
 77 ·95·bool·b·=·true;
 78 ·96·for·(const·auto·&·e·:·v)
 79 ·97·b·=·b·and·bool(e);
 80 ·98·return·b;
 81 ·99·}
 82 ·100
 83 ·101·template·<typename·T,
 84 ·102·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 85 ·103·bool·all_true(const·T·&·v)·{·return·v;·}
 86 ·104
 87 ·105·template<std::size_t·N>
 88 106·bool·all_true(const·std::bitset<N>·&·b)
 89 ·107·{
 90 ·108·return·b.all();
 91 ·109·}
26 ·11392 ·110
27 ·11693 ·111
 94 ·112
 95 ·113·namespace·Impl
 96 ·114·{
 97 ·115
 98 ·116·template·<class·T>
 99 ·117·class·IntegralRangeIterator
28 ·118100 ·118·{
29 ·181·template<unsigned·i,·bool·=·true> 
30 182·struct·ADLTag;101 ·119·public:
 102 ·120·typedef·std::random_access_iterator_tag·iterator_category;
 103 ·121·typedef·T·value_type;
 104 ·122·typedef·std::make_signed_t<T>·difference_type;
 105 ·123·typedef·const·T·*pointer;
 106 ·124·typedef·T·reference;
 107 ·125
 108 ·126·constexpr·IntegralRangeIterator()·noexcept·:·value_(0)·{}
 109 ·127·constexpr·explicit·IntegralRangeIterator(value_type·value)·noexcept·:
 110 value_(value)·{}
 111 ·128
 112 ·129·pointer·operator->()·const·noexcept·{·return·&value_;·}
 113 ·130·constexpr·reference·operator*()·const·noexcept·{·return·value_;·}
 114 ·131
 115 ·132·constexpr·reference·operator[](·difference_type·n·)·const·noexcept
 116 {·return·(value_·+·n);·}
 117 ·133
 118 ·134·constexpr·bool·operator==(const·IntegralRangeIterator·&·other)·const
 119 noexcept·{·return·(value_·==·other.value_);·}
 120 ·135·constexpr·bool·operator!=(const·IntegralRangeIterator·&·other)·const
 121 noexcept·{·return·(value_·!=·other.value_);·}
 122 ·136
 123 ·137·constexpr·bool·operator<(const·IntegralRangeIterator·&·other)·const
Max diff block lines reached; 24730/30702 bytes (80.55%) of diff not shown.
96.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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, 681 lines modifiedOffset 65, 51 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#define-members">Macros</a>·&#124; 
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#enum-members">Enumerations</a>··</div>
80 ··<div·class="headertitle"><div·class="title">loop.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">documentation.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
 82 <p>Documentation·related·stuff.··
 83 <a·href="#details">More...</a></p>
  
83 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/> 
84 <code>#include·&lt;cmath&gt;</code><br·/> 
85 <code>#include·&lt;cstddef&gt;</code><br·/> 
86 <code>#include·&lt;cstdlib&gt;</code><br·/> 
87 <code>#include·&lt;cstdint&gt;</code><br·/> 
88 <code>#include·&lt;ostream&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
92 </div> 
93 <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">85 <table·class="memberdecls">
95 <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>
96 Classes</h2></td></tr>87 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="a02636.html">Dune::LoopSIMD&lt;·T,·S,·A·&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="a01488.html">Dune::ImplementationDefined</a></td></tr>
 89 <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>
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="a02640.html">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&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="a02644.html">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·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">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> 
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="a02652.html">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
108 <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>
109 Namespaces</h2></td></tr>93 Namespaces</h2></td></tr>
110 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a00429"·id="r_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 <tr·class="memitem:a00430"·id="r_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> 
117 <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> 
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:a00438"·id="r_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">97 </table><table·class="memberdecls">
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
124 Macros</h2></td></tr> 
125 <tr·class="memitem:acb2192556fb08c1550c78d0db36245d5"·id="r_acb2192556fb08c1550c78d0db36245d5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#acb2192556fb08c1550c78d0db36245d5">DUNE_PRAGMA_OMP_SIMD</a></td></tr> 
126 <tr·class="separator:acb2192556fb08c1550c78d0db36245d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:ab2eb0e852e28f54bf511377690ba664a"·id="r_ab2eb0e852e28f54bf511377690ba664a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#ab2eb0e852e28f54bf511377690ba664a">DUNE_SIMD_LOOP_PREFIX_OP</a>(SYMBOL)</td></tr> 
128 <tr·class="separator:ab2eb0e852e28f54bf511377690ba664a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:ad0a3db4ac4d313e5df2f650176a7f47a"·id="r_ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#ad0a3db4ac4d313e5df2f650176a7f47a">DUNE_SIMD_LOOP_UNARY_OP</a>(SYMBOL)</td></tr> 
130 <tr·class="separator:ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:a5d85dc28387ccfb44c53064ad236c22c"·id="r_a5d85dc28387ccfb44c53064ad236c22c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#a5d85dc28387ccfb44c53064ad236c22c">DUNE_SIMD_LOOP_POSTFIX_OP</a>(SYMBOL)</td></tr> 
132 <tr·class="separator:a5d85dc28387ccfb44c53064ad236c22c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:ad721241fb510adc8e57604f6b9d6db18"·id="r_ad721241fb510adc8e57604f6b9d6db18"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#ad721241fb510adc8e57604f6b9d6db18">DUNE_SIMD_LOOP_ASSIGNMENT_OP</a>(SYMBOL)</td></tr> 
134 <tr·class="separator:ad721241fb510adc8e57604f6b9d6db18"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:a0302b46e03078ba45bebdde05a538fa1"·id="r_a0302b46e03078ba45bebdde05a538fa1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#a0302b46e03078ba45bebdde05a538fa1">DUNE_SIMD_LOOP_BINARY_OP</a>(SYMBOL)</td></tr> 
136 <tr·class="separator:a0302b46e03078ba45bebdde05a538fa1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:aa267e22530058c5e240294d1fe9b72c5"·id="r_aa267e22530058c5e240294d1fe9b72c5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#aa267e22530058c5e240294d1fe9b72c5">DUNE_SIMD_LOOP_BITSHIFT_OP</a>(SYMBOL)</td></tr> 
138 <tr·class="separator:aa267e22530058c5e240294d1fe9b72c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:a8b0fe90d07a9419c0c5fa7edf441cc98"·id="r_a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#a8b0fe90d07a9419c0c5fa7edf441cc98">DUNE_SIMD_LOOP_COMPARISON_OP</a>(SYMBOL)</td></tr> 
140 <tr·class="separator:a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:a4edb401d8c39ee4047c4157062238926"·id="r_a4edb401d8c39ee4047c4157062238926"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#a4edb401d8c39ee4047c4157062238926">DUNE_SIMD_LOOP_BOOLEAN_OP</a>(SYMBOL)</td></tr> 
142 <tr·class="separator:a4edb401d8c39ee4047c4157062238926"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:ab733fd44275677e226938c6366d0e1dc"·id="r_ab733fd44275677e226938c6366d0e1dc"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#ab733fd44275677e226938c6366d0e1dc">DUNE_SIMD_LOOP_CMATH_UNARY_OP</a>(expr)</td></tr> 
144 <tr·class="separator:ab733fd44275677e226938c6366d0e1dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:acd61d806a793ead4a570ab5edf47857a"·id="r_acd61d806a793ead4a570ab5edf47857a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#acd61d806a793ead4a570ab5edf47857a">DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN</a>(expr,··returnType)</td></tr> 
146 <tr·class="separator:acd61d806a793ead4a570ab5edf47857a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:a811ee59270233c3c40d1e4c52d3ee310"·id="r_a811ee59270233c3c40d1e4c52d3ee310"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#a811ee59270233c3c40d1e4c52d3ee310">DUNE_SIMD_LOOP_STD_UNARY_OP</a>(expr)</td></tr> 
148 <tr·class="separator:a811ee59270233c3c40d1e4c52d3ee310"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:a7f745d4f9480ed07bfe69af914816b22"·id="r_a7f745d4f9480ed07bfe69af914816b22"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html#a7f745d4f9480ed07bfe69af914816b22">DUNE_SIMD_LOOP_STD_BINARY_OP</a>(expr)</td></tr> 
150 <tr·class="separator:a7f745d4f9480ed07bfe69af914816b22"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
151 </table><table·class="memberdecls"> 
152 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
153 Functions</h2></td></tr>99 Enumerations</h2></td></tr>
 100 <tr·class="memitem:a90bbc2f44b2002c6431570e453a822a0"·id="r_a90bbc2f44b2002c6431570e453a822a0"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom">{·<a·class="el"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">Dune::implementationDefined</a>
 101 ·}</td></tr>
154 <tr·class="memitem:a87b977cae5e0e694b4b108bc1cab9434"·id="r_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> 
155 <tr·class="separator:a87b977cae5e0e694b4b108bc1cab9434"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:aa97415d63ec08e63ea87832efe86ddb4"·id="r_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> 
157 <tr·class="separator:aa97415d63ec08e63ea87832efe86ddb4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:a971fdb1c4fc3a2045834643c0b3ac41d"·id="r_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> 
159 <tr·class="separator:a971fdb1c4fc3a2045834643c0b3ac41d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
160 <tr·class="memitem:affe0a8a108f83afdc111db9843ac6e66"·id="r_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> 
161 <tr·class="separator:affe0a8a108f83afdc111db9843ac6e66"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:ab1786e12e4c3efe8a6117ddd99a8724a"·id="r_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> 
163 <tr·class="separator:ab1786e12e4c3efe8a6117ddd99a8724a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
164 <tr·class="memitem:a5146d4e5a65562d14d000c78019ec6dd"·id="r_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> 
165 <tr·class="separator:a5146d4e5a65562d14d000c78019ec6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:aae72f618cfe280b17a988b83395f8927"·id="r_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> 
167 <tr·class="separator:aae72f618cfe280b17a988b83395f8927"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 33815/82043 bytes (41.22%) of diff not shown.
16.5 KB
html2text {}
    
Offset 6, 491 lines modifiedOffset 6, 27 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd 
13 Classes·|·Namespaces·|·Macros·|·Functions12 Classes·|·Namespaces·|·Enumerations
14 loop.hh·File·Reference13 documentation.hh·File·Reference
 14 Documentation·related·stuff.·More...
15 #include·<array> 
16 #include·<cmath> 
17 #include·<cstddef> 
18 #include·<cstdlib> 
19 #include·<cstdint> 
20 #include·<ostream> 
21 #include·<dune/common/math.hh> 
22 #include·<dune/common/simd/simd.hh> 
23 #include·<dune/common/typetraits.hh> 
24 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
25 ·Classes16 ·Classes
 17 struct· Dune::ImplementationDefined
 18  ·······Dummy·struct·used·for·documentation·purposes.·More...
26 ·class· Dune::LoopSIMD<_T,_S,_A_> 
27   
28 struct· Dune::Simd::Overloads::ScalarType<_LoopSIMD<_T,_S,_A_>_> 
29   
30 struct· Dune::Simd::Overloads::RebindType<_U,_LoopSIMD<_T,_S,_A_>_> 
31   
32 struct· Dune::Simd::Overloads::LaneCount<_LoopSIMD<_T,_S,_A_>_> 
33   
34 struct· Dune::IsNumber<_LoopSIMD<_T,_S,_A_>_> 
35  19  
36 ·Namespaces20 ·Namespaces
37 namespace· Dune21 namespace· Dune
38  ··········Dune·namespace.22  ··········Dune·namespace.
39  23  
 24 ·Enumerations
 25 enum· {·Dune::implementationDefined·}
40 namespace· Dune::Simd 
41  ··········Namespace·for·vectorization·interface·functions·used·by·library 
42 ············developers. 
43   
44 namespace· Dune::Simd::Overloads 
45  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
46 ············implementation. 
47   
48 namespace· Dune::MathOverloads 
49  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics 
50   
51 ·Macros 
52 #define DUNE_PRAGMA_OMP_SIMD 
53   
54 #define DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL) 
55   
56 #define DUNE_SIMD_LOOP_UNARY_OP(SYMBOL) 
57   
58 #define DUNE_SIMD_LOOP_POSTFIX_OP(SYMBOL) 
59   
60 #define DUNE_SIMD_LOOP_ASSIGNMENT_OP(SYMBOL) 
61   
62 #define DUNE_SIMD_LOOP_BINARY_OP(SYMBOL) 
63   
64 #define DUNE_SIMD_LOOP_BITSHIFT_OP(SYMBOL) 
65   
66 #define DUNE_SIMD_LOOP_COMPARISON_OP(SYMBOL) 
67   
68 #define DUNE_SIMD_LOOP_BOOLEAN_OP(SYMBOL) 
69   
70 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP(expr) 
71   
72 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN(expr,·returnType) 
73   
74 #define DUNE_SIMD_LOOP_STD_UNARY_OP(expr) 
75   
76 #define DUNE_SIMD_LOOP_STD_BINARY_OP(expr) 
77   
78 ·Functions 
79 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(+) 
80   
81 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(-) 
82   
83 ··DUNE_SIMD_LOOP_BINARY_OP·* Dune::DUNE_SIMD_LOOP_BINARY_OP·(/ 
84 ······························);DUNE_SIMD_LOOP_BINARY_OP(% 
85   
86 ··DUNE_SIMD_LOOP_BINARY_OP·& Dune::DUNE_SIMD_LOOP_BINARY_OP 
87 ······························(|);DUNE_SIMD_LOOP_BINARY_OP(^ 
88   
89 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(<<) 
90   
91 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(>·>) 
92   
93 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<) 
94   
95 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<=) 
96   
97 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(>=) 
98   
99 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(!=) 
100   
101 DUNE_SIMD_LOOP_BOOLEAN_OP·&& Dune::DUNE_SIMD_LOOP_BOOLEAN_OP·(||);template< 
102 ······························class·T,·std::size_t·S,·std::size_t·A·>·std:: 
103 ······························ostream·&operator<<(std::ostream·&os,·const 
104 ······························LoopSIMD<·T,·S,·A·>·&v 
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,·LoopSIMD<·T,·S,·A·>·&&v)·->·decltype 
109 ······························(std::move(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,·const·LoopSIMD<·T,·S,·A·>·&v)·- 
115 ······························>·decltype(Simd::lane(l%lanes<·T·>(),·v[l/lanes< 
116 ······························T·>()])) 
117   
118 template<class·T·,·std::size_t·S,·std::size_t·A> 
119 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std:: 
120 ······························size_t·l,·LoopSIMD<·T,·S,·A·>·&v)·->·decltype 
121 ······························(Simd::lane(l%lanes<·T·>(),·v[l/lanes<·T·>()])) 
122   
123 template<class·T·,·std::size_t·S,·std::size_t·AM,·std::size_t·AD> 
124 ························auto Dune::Simd::Overloads::cond·(ADLTag<·5·>,·Simd:: 
125 ······························Mask<·LoopSIMD<·T,·S,·AM·>·>·mask,·LoopSIMD<·T, 
126 ······························S,·AD·>·ifTrue,·LoopSIMD<·T,·S,·AD·>·ifFalse) 
Max diff block lines reached; 7131/16887 bytes (42.23%) of diff not shown.
171 KB
./usr/share/doc/libdune-common-doc/doxygen/a00134_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·documentation.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 70, 766 lines modifiedOffset 70, 42 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">loop.hh</div></div>80 ··<div·class="headertitle"><div·class="title">documentation.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <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> 
86 <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> 
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_DOCUMENTATION_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_DOCUMENTATION_HH</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
95 <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/math.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04442.html">dune/common/simd/simd.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <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>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><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>
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">/*</span></div> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool</span></div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*·(when·instantiated·for·T=bool)</span></div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*/</span></div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·__GNUC__·&gt;=·7</span></div> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#··pragma·GCC·diagnostic·push</span></div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wbool-operation&quot;</span></div> 
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wint-in-bool-context&quot;</span></div> 
110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#··define·GCC_WARNING_DISABLED</span></div> 
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div> 
112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 95 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">···55</a></span>··<span·class="keyword">enum</span>·{·<a·class="code·hl_enumvalue"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">implementationDefined</a>·};</div>
113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">/*</span></div> 
114 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·silence·warnings·from·Clang·about·using·bitwise·operands·on</span></div> 
115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*·a·bool·(when·instantiated·for·T=bool)</span></div> 
116 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">·*/</span></div> 
117 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#ifdef·__clang__</span></div> 
118 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#if·__has_warning(&quot;-Wbitwise-instead-of-logical&quot;)</span></div> 
119 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#··pragma·clang·diagnostic·push</span></div> 
120 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#··pragma·clang·diagnostic·ignored·&quot;-Wbitwise-instead-of-logical&quot;</span></div> 
121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#··define·CLANG_WARNING_DISABLED</span></div> 
122 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#endif</span></div> 
123 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div> 
124 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
125 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*</span></div> 
126 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·&gt;=·4</span></div> 
127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">·*/</span></div> 
128 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#if·_OPENMP·&gt;=·201307</span></div> 
129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD·_Pragma(&quot;omp·simd&quot;)</span></div> 
130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#else</span></div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00134.html#acb2192556fb08c1550c78d0db36245d5">···49</a></span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD</span></div> 
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#endif</span></div> 
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}</div>
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>98 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
135 <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>·T,·std::<span·class="keywordtype">size_t</span>·S,·std::<span·class="keywordtype">size_t</span>·A·=·0&gt;</div> 
136 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> 
137 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02636.html">···65</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> 
138 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
139 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">public</span>:</div> 
140 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
141 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//default·constructor</span></div> 
142 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> 
143 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">···70</a></span>····<a·class="code·hl_function"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">LoopSIMD</a>()·{</div> 
144 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·std::min(<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> 
145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
146 </div> 
147 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
148 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="comment">//·broadcast·constructor·initializing·the·content·with·a·given·value</span></div> 
149 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> 
150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02636.html#a072ca848e458658de03c506a9d2408b1">···75</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> 
151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······this-&gt;fill(i);</div> 
152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
153 </div> 
154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·OA&gt;</div> 
156 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}"> 
157 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa66bb88d1bb61a611d0ebe555e9e6f07">···80</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> 
158 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······:·<a·class="code·hl_namespace"·href="a00424.html">std</a>::array&lt;T,S&gt;(other)</div> 
159 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{</div> 
160 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·std::min(<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> 
161 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> 
162 </div> 
163 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>99 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
164 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">/*</span></div> 
165 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·····*··Definition·of·basic·operators</span></div> 
166 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">·····*/</span></div> 
167 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
168 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//Prefix·operators</span></div> 
169 <div·class="foldopen"·id="foldopen00091"·data-start=""·data-end=""> 
170 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00134.html#ab2eb0e852e28f54bf511377690ba664a">···91</a></span><span·class="preprocessor">#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·········\</span></div> 
171 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">····auto·operator·SYMBOL()·{·····················\</span></div> 
172 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="preprocessor">······DUNE_PRAGMA_OMP_SIMD·······················\</span></div> 
173 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">······for(std::size_t·i=0;·i&lt;S;·i++){············\</span></div> 
174 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">········SYMBOL(*this)[i];························\</span></div> 
Max diff block lines reached; 10675/148086 bytes (7.21%) of diff not shown.
26.4 KB
html2text {}
    
Offset 7, 827 lines modifiedOffset 7, 40 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 documentation.hh
12 ····*·simd 
13 loop.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_SIMD_LOOP_HH 
19 ·4#define·DUNE_COMMON_SIMD_LOOP_HH 
20 ·519 ·5
 20 ·6#ifndef·DUNE_COMMON_DOCUMENTATION_HH
 21 ·7#define·DUNE_COMMON_DOCUMENTATION_HH
 22 ·8
21 ·6#include·<array> 
22 ·7#include·<cmath> 
23 ·8#include·<cstddef> 
24 ·9#include·<cstdlib> 
25 ·10#include·<cstdint> 
26 ·11#include·<ostream> 
27 ·12 
28 ·13#include·<dune/common/math.hh> 
29 ·14#include·<dune/common/simd/simd.hh> 
30 ·15#include·<dune/common/typetraits.hh> 
31 ·16 
32 ·17namespace·Dune·{23 ·13namespace·Dune·{
33 ·18 
34 ·19 
35 ·20/* 
36 ·21·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool 
37 ·22·*·(when·instantiated·for·T=bool) 
38 ·23·*/ 
39 ·24#if·__GNUC__·>=·7 
40 ·25#·pragma·GCC·diagnostic·push 
41 ·26#·pragma·GCC·diagnostic·ignored·"-Wbool-operation" 
42 ·27#·pragma·GCC·diagnostic·ignored·"-Wint-in-bool-context" 
43 ·28#·define·GCC_WARNING_DISABLED 
44 ·29#endif 
45 ·30 
46 ·31/* 
47 ·32·*·silence·warnings·from·Clang·about·using·bitwise·operands·on 
48 ·33·*·a·bool·(when·instantiated·for·T=bool) 
49 ·34·*/ 
50 ·35#ifdef·__clang__ 
51 ·36#if·__has_warning("-Wbitwise-instead-of-logical") 
52 ·37#·pragma·clang·diagnostic·push 
53 ·38#·pragma·clang·diagnostic·ignored·"-Wbitwise-instead-of-logical" 
54 ·39#·define·CLANG_WARNING_DISABLED 
55 ·40#endif 
56 ·41#endif 
57 ·42 
58 ·43/* 
59 ·44·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·>=·4 
60 ·45·*/ 
61 ·46#if·_OPENMP·>=·201307 
62 ·47·#define·DUNE_PRAGMA_OMP_SIMD·_Pragma("omp·simd") 
63 ·48#else 
64 49·#define·DUNE_PRAGMA_OMP_SIMD 
65 ·50#endif 
66 ·51 
67 ·52 
68 ·64·template<class·T,·std::size_t·S,·std::size_t·A·=·0> 
69 65·class·alignas(A==0?alignof(T):A)·LoopSIMD·:·public·std::array<T,S>·{ 
70 ·66 
71 ·67·public: 
72 ·68 
73 ·69·//default·constructor 
74 70·LoopSIMD()·{ 
75 ·71·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof 
76 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0); 
77 ·72·} 
78 ·73 
79 ·74·//·broadcast·constructor·initializing·the·content·with·a·given·value 
80 75·LoopSIMD(Simd::Scalar<T>·i)·:·LoopSIMD()·{ 
81 ·76·this->fill(i); 
82 ·77·} 
83 ·78 
84 ·79·template<std::size_t·OA> 
85 80·explicit·LoopSIMD(const·LoopSIMD<T,S,OA>&·other) 
86 ·81·:·std::array<T,S>(other) 
87 ·82·{ 
88 ·83·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof 
89 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0); 
90 ·84·} 
91 ·85 
92 ·86·/* 
93 ·87·*·Definition·of·basic·operators 
94 ·88·*/ 
95 ·89 
96 ·90·//Prefix·operators 
97 91#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·\ 
98 ·92·auto·operator·SYMBOL()·{·\ 
99 ·93·DUNE_PRAGMA_OMP_SIMD·\ 
100 ·94·for(std::size_t·i=0;·i<S;·i++){·\ 
101 ·95·SYMBOL(*this)[i];·\ 
102 ·96·}·\ 
103 ·97·return·*this;·\ 
104 ·98·}·\ 
105 ·99·static_assert(true,·"expecting·;") 
106 ·100 
107 101·DUNE_SIMD_LOOP_PREFIX_OP(++); 
108 102·DUNE_SIMD_LOOP_PREFIX_OP(--); 
109 ·103#undef·DUNE_SIMD_LOOP_PREFIX_OP 
110 ·10424 ·14
 25 42·struct·ImplementationDefined·{};
111 ·105·//Unary·operators 
112 106#define·DUNE_SIMD_LOOP_UNARY_OP(SYMBOL)·\ 
113 ·107·auto·operator·SYMBOL()·const·{·\ 
114 ·108·LoopSIMD<T,S,A>·out;·\ 
115 ·109·DUNE_PRAGMA_OMP_SIMD·\ 
116 ·110·for(std::size_t·i=0;·i<S;·i++){·\ 
117 ·111·out[i]·=·SYMBOL((*this)[i]);·\ 
118 ·112·}·\ 
119 ·113·return·out;·\ 
120 ·114·}·\ 
121 ·115·static_assert(true,·"expecting·;") 
122 ·116 
123 117·DUNE_SIMD_LOOP_UNARY_OP(+); 
124 118·DUNE_SIMD_LOOP_UNARY_OP(-); 
Max diff block lines reached; 3711/26960 bytes (13.76%) of diff not shown.
15.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 76 lines modifiedOffset 65, 53 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>·&#124;76 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>77 <a·href="#var-members">Variables</a>··</div>
79 ··<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>78 ··<div·class="headertitle"><div·class="title">stdstreams.cc·File·Reference</div></div>
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
 81 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00029_source.html">stdstreams.hh</a>&quot;</code><br·/>
  
82 <p>IO·interface·of·the·SIMD·abstraction.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/> 
85 <code>#include·&lt;type_traits&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
89 </div> 
90 <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p> 
91 <table·class="memberdecls">82 </div><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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02632.html">Dune::SimdImpl::Inserter&lt;·T·&gt;</a></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </table><table·class="memberdecls"> 
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>84 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00447"·id="r_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> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:a00429"·id="r_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: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> 
107 </table><table·class="memberdecls">88 </table><table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 90 Variables</h2></td></tr>
 91 <tr·class="memitem:ga20bcb085658a3b88393e47a1d36d667c"·id="r_ga20bcb085658a3b88393e47a1d36d667c"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">DVVerbType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">Dune::dvverb</a>·(std::cout)</td></tr>
 92 <tr·class="memdesc:ga20bcb085658a3b88393e47a1d36d667c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">stream·for·very·verbose·output.··<br·/></td></tr>
109 Functions</h2></td></tr> 
110 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"·id="r_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> 
111 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a02632.html">Inserter</a>&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> 
112 <tr·class="separator:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"·id="r_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> 
114 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar</a>&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> 
115 <tr·class="separator:a30f9b97082aee4177ff947a63ae6deea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:ga20bcb085658a3b88393e47a1d36d667c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 <tr><td·colspan="2"><div·class="groupHeader">IO·interface</div></td></tr> 
117 <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> 
118 </div></td></tr> 
119 <tr·class="memitem:ga5f024733517533308b22bd0b9a5e0820"·id="r_ga5f024733517533308b22bd0b9a5e0820"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
120 <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>94 <tr·class="memitem:gab8900dadc584357856d4f6cc06324cea"·id="r_gab8900dadc584357856d4f6cc06324cea"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">DVerbType</a>&#160;</td><td·class="memItemRight"·valign="bott[·...·truncated·by·diffoscope;·len:·98,·SHA:·e04d79f95f41f8b84313205f6f6c289c03bb340f93ef0a0e22141799344e8a67·...·])</td></tr>
 95 <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.··<br·/></td></tr>
 96 <tr·class="separator:gab8900dadc584357856d4f6cc06324cea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:gab5d2fce8ed49f95067d9b5b54d6f5def"·id="r_gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">DInfoType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">Dune::dinfo</a>·(std::cout)</td></tr>
 98 <tr·class="memdesc:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·informative·output.··<br·/></td></tr>
 99 <tr·class="separator:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:ga4bff1feeab1e96f08aca7796cc69b4ea"·id="r_ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">DWarnType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">Dune::dwarn</a>·(std::cerr)</td></tr>
 101 <tr·class="memdesc:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·problems.··<br·/></td></tr>
 102 <tr·class="separator:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:ga765267750e6b2718fa718ab5f9fa1ed9"·id="r_ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">DGraveType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">Dune::dgrave</a>·(std::cerr)</td></tr>
 104 <tr·class="memdesc:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·fatal·errors.··<br·/></td></tr>
 105 <tr·class="separator:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:gacaa61db1e034d693335d33d3919ba9ca"·id="r_gacaa61db1e034d693335d33d3919ba9ca"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">DErrType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">Dune::derr</a>·(std::cerr)</td></tr>
121 <tr·class="memdesc:ga5f024733517533308b22bd0b9a5e0820"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">construct·a·stream·inserter··<br·/></td></tr>107 <tr·class="memdesc:gacaa61db1e034d693335d33d3919ba9ca"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·error·messages.··<br·/></td></tr>
122 <tr·class="separator:ga5f024733517533308b22bd0b9a5e0820"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:gacaa61db1e034d693335d33d3919ba9ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:ga47000d8c79bf7ab0548867bc01a56cac"·id="r_ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
124 <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> 
125 <tr·class="memdesc:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">construct·a·stream·inserter··<br·/></td></tr> 
126 <tr·class="separator:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 </table>109 </table>
128 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
129 <div·class="textblock"><p>IO·interface·of·the·SIMD·abstraction.·</p> 
130 <p>This·file·provides·IO·interface·functions·of·the·SIMD·abstraction·layer.</p> 
131 <p>This·file·is·intended·for·direct·inclusion·by·header·making·use·of·the·IO·interface.·</p> 
132 </div></div><!--·contents·-->110 </div><!--·contents·-->
133 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
134 <hr·class="footer"/><address·class="footer"><small>112 <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.8113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
136 </small></address>114 </small></address>
137 </body>115 </body>
138 </html>116 </html>
2.36 KB
html2text {}
    
Offset 6, 58 lines modifiedOffset 6, 36 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Variables
 13 stdstreams.cc·File·Reference
 14 #include·"stdstreams.hh"
12 ····*·simd 
13 Classes·|·Namespaces·|·Functions 
14 io.hh·File·Reference 
15 Common·»·Vectorization·»·Library_Developer's_Interface 
16 IO·interface·of·the·SIMD·abstraction.·More... 
17 #include·<ios> 
18 #include·<type_traits> 
19 #include·<dune/common/rangeutilities.hh> 
20 #include·<dune/common/simd/simd.hh> 
21 #include·<dune/common/typetraits.hh> 
22 Go_to_the_source_code_of_this_file. 
23 ·Classes 
24 class· Dune::SimdImpl::Inserter<_T_> 
25   
26 ·Namespaces15 ·Namespaces
27 namespace· Dune16 namespace· Dune
28  ··········Dune·namespace.17  ··········Dune·namespace.
29  18  
30 namespace· Dune::SimdImpl19 ·Variables
 20 DVVerbType Dune::dvverb·(std::cout)
 21  ··········stream·for·very·verbose·output.
 22  
 23 ·DVerbType Dune::dverb·(std::cout)
 24  ··········Singleton·of·verbose·debug·stream.
 25  
 26 ·DInfoType Dune::dinfo·(std::cout)
 27  ··········Stream·for·informative·output.
 28  
 29 ·DWarnType Dune::dwarn·(std::cerr)
 30  ··········Stream·for·warnings·indicating·problems.
 31  
 32 DGraveType Dune::dgrave·(std::cerr)
 33  ··········Stream·for·warnings·indicating·fatal·errors.
 34  
 35 ··DErrType Dune::derr·(std::cerr)
 36  ··········Stream·for·error·messages.
31  37  
32 namespace· Dune::Simd 
33  ··········Namespace·for·vectorization·interface·functions·used·by·library 
34 ············developers. 
35   
36 ·Functions 
37 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>> 
38 ····Inserter<·V·> Dune::SimdImpl::io·(const·V·&v) 
39   
40 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>> 
41 Simd::Scalar<·V·> Dune::SimdImpl::io·(const·V·&v) 
42   
43 IO·interface 
44 Templates·and·functions·in·this·group·provide·syntactic·sugar·for·IO.·They·are 
45 implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not 
46 customizable·by·implementations. 
47 template<class·V·> 
48 ·············auto Dune::Simd::vio·(const·V·&v) 
49  ·················construct·a·stream·inserter 
50   
51 template<class·V·> 
52 ·············auto Dune::Simd::io·(const·V·&v) 
53  ·················construct·a·stream·inserter 
54   
55 *****·Detailed·Description·***** 
56 IO·interface·of·the·SIMD·abstraction. 
57 This·file·provides·IO·interface·functions·of·the·SIMD·abstraction·layer. 
58 This·file·is·intended·for·direct·inclusion·by·header·making·use·of·the·IO 
59 interface. 
  
60 ===============================================================================38 ===============================================================================
61 ·····Generated·by [doxygen]·1.9.839 ·····Generated·by [doxygen]·1.9.8
27.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 127 lines modifiedOffset 65, 36 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#namespaces">Namespaces</a>··</div>76 <a·href="#namespaces">Namespaces</a>··</div>
77 ··<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>77 ··<div·class="headertitle"><div·class="title">variant.hh·File·Reference</div></div>
78 </div><!--header-->78 </div><!--header-->
79 <div·class="contents">79 <div·class="contents">
  
80 <p>Default·implementations·for·SIMD·Implementations.·· 
81 <a·href="#details">More...</a></p> 
82 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>80 <div·class="textblock"><code>#include·&lt;variant&gt;</code><br·/>
83 <code>#include·&lt;cstddef&gt;</code><br·/> 
84 <code>#include·&lt;type_traits&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
90 </div>81 </div>
91 <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">83 <table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:a00429"·id="r_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"·id="r_a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
99 <tr·class="memdesc: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>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:a00430"·id="r_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> 
102 <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> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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><td·colspan="2"><div·class="groupHeader">Overloadable·and·default·functions</div></td></tr> 
108 <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> 
109 </div></td></tr> 
110 <tr·class="memitem:ga172c6bee6a07fdaf412ca0771084d117"·id="r_ga172c6bee6a07fdaf412ca0771084d117"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
111 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·std::size_t·l,·V·v)=delete</td></tr> 
112 <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>··<br·/></td></tr> 
113 <tr·class="separator:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:ga2d92cc23bb0b95ca627fa2560c2f9006"·id="r_ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
115 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·<a·class="el"·href="a03028.html">MetaType</a>&lt;·V·&gt;,·const·V·&amp;u)</td></tr> 
116 <tr·class="memdesc:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(V)··<br·/></td></tr> 
117 <tr·class="separator:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:gaacc1dbc07ddc0fd6b237ca18e213c3be"·id="r_gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr> 
119 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·<a·class="el"·href="a03028.html">MetaType</a>&lt;·V·&gt;,·const·U·&amp;u)</td></tr> 
120 <tr·class="memdesc:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(U)··<br·/></td></tr> 
121 <tr·class="separator:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:gac82cb295f767f7aece888fd9216db1b3"·id="r_gac82cb295f767f7aece888fd9216db1b3"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr> 
123 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·<a·class="el"·href="a03028.html">MetaType</a>&lt;·V·&gt;,·S·s)</td></tr> 
124 <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>··<br·/></td></tr> 
125 <tr·class="separator:gac82cb295f767f7aece888fd9216db1b3"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:gacd3b3b8cae27c30aa73e855afbe904d7"·id="r_gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
127 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)=delete</td></tr> 
128 <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>··<br·/></td></tr> 
129 <tr·class="separator:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:gafb35651a7a1777d932462357552bb90c"·id="r_gafb35651a7a1777d932462357552bb90c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
131 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr> 
132 <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>··<br·/></td></tr> 
133 <tr·class="separator:gafb35651a7a1777d932462357552bb90c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:gab9dde84db30133b70a28c0b89399bc71"·id="r_gab9dde84db30133b70a28c0b89399bc71"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
135 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr> 
136 <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>··<br·/></td></tr> 
137 <tr·class="separator:gab9dde84db30133b70a28c0b89399bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:gae87036ad8322cb0064cdd3bfad16ca69"·id="r_gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
139 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)=delete</td></tr> 
140 <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>··<br·/></td></tr> 
141 <tr·class="separator:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:ga6850149b7bbe8eff67835ecfd8471f7d"·id="r_ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
143 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
144 <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>··<br·/></td></tr> 
145 <tr·class="separator:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:gaa272813526339482ae077b1a0e52a01e"·id="r_gaa272813526339482ae077b1a0e52a01e"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
147 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
148 <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>··<br·/></td></tr> 
149 <tr·class="separator:gaa272813526339482ae077b1a0e52a01e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:ga537e92d4cfd4637707852c7f93c73c74"·id="r_ga537e92d4cfd4637707852c7f93c73c74"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
151 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
152 <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>··<br·/></td></tr> 
153 <tr·class="separator:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
154 <tr·class="memitem:ga6be36412c4ee50b1e5023f43e85a53ec"·id="r_ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
155 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v)</td></tr> 
156 <tr·class="memdesc:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::maxValue()··<br·/></td></tr> 
157 <tr·class="separator:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:ga45f575aad94606a1a2afa3698abcee72"·id="r_ga45f575aad94606a1a2afa3698abcee72"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
159 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v)</td></tr> 
160 <tr·class="memdesc:ga45f575aad94606a1a2afa3698abcee72"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::minValue()··<br·/></td></tr> 
161 <tr·class="separator:ga45f575aad94606a1a2afa3698abcee72"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:ga14422b30715ca6467ef7ad7553497e8f"·id="r_ga14422b30715ca6467ef7ad7553497e8f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
163 <tr·class="memitem:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">Dune::Simd::Overloads::mask</a>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0,·std::is_same&lt;·V,·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</td></tr> 
164 <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>··<br·/></td></tr> 
165 <tr·class="separator:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:gac968f40d2358486033fdc31464a2df7f"·id="r_gac968f40d2358486033fdc31464a2df7f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
167 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0,·!std::is_same&lt;·V,·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</td></tr> 
168 <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>··<br·/></td></tr> 
169 <tr·class="separator:gac968f40d2358486033fdc31464a2df7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
170 <tr·class="memitem:ga8ae87f60e149f0ab44b71fc6624da25d"·id="r_ga8ae87f60e149f0ab44b71fc6624da25d"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr> 
171 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V1·&amp;v1,·const·V2·&amp;v2)</td></tr> 
172 <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>··<br·/></td></tr> 
173 <tr·class="separator:ga8ae87f60e149f0ab44b71fc6624da25d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 871/23483 bytes (3.71%) of diff not shown.
4.61 KB
html2text {}
    
Offset 6, 128 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd12 ····*·std
13 Namespaces13 Namespaces
14 defaults.hh·File·Reference14 variant.hh·File·Reference
15 Common·»·Vectorization·»·Abstraction_Developer's_Interface 
16 Default·implementations·for·SIMD·Implementations.·More... 
17 #include·<algorithm>15 #include·<variant>
18 #include·<cstddef> 
19 #include·<type_traits> 
20 #include·<dune/common/rangeutilities.hh> 
21 #include·<dune/common/simd/base.hh> 
22 #include·<dune/common/simd/interface.hh> 
23 #include·<dune/common/typelist.hh> 
24 #include·<dune/common/typetraits.hh> 
25 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
26 ·Namespaces17 ·Namespaces
27 namespace· Dune18 namespace· Dune
28  ··········Dune·namespace.19  ··········Dune·namespace.
29  20  
30 namespace· Dune::Simd21 namespace· Dune::Std
 22  ··········Namespace·for·features·backported·from·new·C++·standards.
31  ··········Namespace·for·vectorization·interface·functions·used·by·library 
32 ············developers. 
33  23  
34 namespace· Dune::Simd::Overloads 
35  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
36 ············implementation. 
37   
38 ·Functions 
39 Overloadable·and·default·functions 
40 This·group·contains·functions·that·you,·as·an·abstraction·developer,·must 
41 implement.·All·functions·that·are·deleted·must·be·provided,·functions·that·have 
42 a·default·implementation·may·be·left·unimplemented·if·the·default·behaviour·is 
43 satisfactory. 
44 template<class·V·> 
45 decltype(auto) Dune::Simd::Overloads::lane·(ADLTag<·0·>,·std::size_t·l,·V 
46 ················v)=delete 
47  ··············implements·Simd::lane() 
48   
49 template<class·V·> 
50 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>, 
51 ················const·V·&u) 
52  ··············implements·Simd::implCast<V>(V) 
53   
54 template<class·V·,·class·U·> 
55 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>, 
56 ················const·U·&u) 
57  ··············implements·Simd::implCast<V>(U) 
58   
59 template<class·V·,·class·S·> 
60 ··········auto Dune::Simd::Overloads::broadcast·(ADLTag<·0·>,·MetaType<·V·>,·S 
61 ················s) 
62  ··············implements·Simd::broadcast<V>() 
63   
64 template<class·V·> 
65 ·············V Dune::Simd::Overloads::cond·(ADLTag<·0·>,·const·Mask<·V·> 
66 ················&mask,·const·V·&ifTrue,·const·V·&ifFalse)=delete 
67  ··············implements·Simd::cond() 
68   
69 template<class·V·> 
70 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v1,·const·V 
71 ················&v2) 
72  ··············implements·binary·Simd::max() 
73   
74 template<class·V·> 
75 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v1,·const·V 
76 ················&v2) 
77  ··············implements·binary·Simd::min() 
78   
79 template<class·Mask·> 
80 ··········bool Dune::Simd::Overloads::anyTrue·(ADLTag<·0·>,·const·Mask 
81 ················&mask)=delete 
82  ··············implements·Simd::anyTrue() 
83   
84 template<class·Mask·> 
85 ··········bool Dune::Simd::Overloads::allTrue·(ADLTag<·0·>,·const·Mask·&mask) 
86  ··············implements·Simd::allTrue() 
87   
88 template<class·Mask·> 
89 ··········bool Dune::Simd::Overloads::anyFalse·(ADLTag<·0·>,·const·Mask·&mask) 
90  ··············implements·Simd::anyFalse() 
91   
92 template<class·Mask·> 
93 ··········bool Dune::Simd::Overloads::allFalse·(ADLTag<·0·>,·const·Mask·&mask) 
94  ··············implements·Simd::allFalse() 
95   
96 template<class·V·> 
97 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v) 
98  ··············implements·Simd::maxValue() 
99   
100 template<class·V·> 
101 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v) 
102  ··············implements·Simd::minValue() 
103   
104 template<class·V·> 
105 ·····Mask<·V·> Dune::Simd::Overloads::mask·(ADLTag<·0,·std::is_same<·V,·Mask< 
106 ················V·>·>::value·>,·const·V·&v) 
107  ··············implements·Simd::mask() 
108   
109 template<class·V·> 
110 ··········auto Dune::Simd::Overloads::mask·(ADLTag<·0,·!std::is_same<·V,·Mask< 
111 ················V·>·>::value·>,·const·V·&v) 
112  ··············implements·Simd::mask() 
113   
114 template<class·V1·,·class·V2·> 
115 ··········auto Dune::Simd::Overloads::maskOr·(ADLTag<·0·>,·const·V1·&v1,·const 
116 ················V2·&v2) 
117  ··············implements·Simd::maskOr() 
118   
119 template<class·V1·,·class·V2·> 
120 ··········auto Dune::Simd::Overloads::maskAnd·(ADLTag<·0·>,·const·V1·&v1, 
121 ················const·V2·&v2) 
122  ··············implements·Simd::maskAnd() 
123   
124 *****·Detailed·Description·***** 
125 Default·implementations·for·SIMD·Implementations. 
126 This·file·provides·default·overloads·for·SIMD·implementation·functions,·and 
127 deleted·placeholders·where·there·are·no·default·implementations. 
128 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include 
129 <dune/common/simd/simd.hh>·instead. 
  
Max diff block lines reached; 35/4701 bytes (0.74%) of diff not shown.
51.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 215 lines modifiedOffset 70, 48 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">defaults.hh</div></div>80 ··<div·class="headertitle"><div·class="title">variant.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <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>87 <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>
86 <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>88 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <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>
88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;variant&gt;·instead</span></div>
89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00017.html">dune/common/rangeutilities.hh</a>&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div>
93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/simd/base.hh</a>&gt;</span></div> 
94 <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> 
95 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/typelist.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
98 <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>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">namespace·</span>Simd·{</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Std·{</div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">using·</span>std::variant;</div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">using·</span>std::visit;</div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">using·</span>std::variant_size;</div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">using·</span>std::variant_size_v;</div>
100 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">namespace·</span>Overloads·{</div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">using·</span>std::get;</div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">using·</span>std::get_if;</div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">using·</span>std::holds_alternative;</div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span>std::monostate;</div>
101 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>}</div>
102 <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> 
103 <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="a02608.html">ADLTag&lt;0&gt;</a>,·std::size_t·l,·V·v)·=·<span·class="keyword">delete</span>;</div> 
104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div>
105 <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> 
106 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> 
107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="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="a02608.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="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="keywordflow">return</span>·u;</div> 
110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div> 
111 </div> 
112 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
113 <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> 
114 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> 
115 <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="a02608.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> 
116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······{</div> 
117 <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> 
118 <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> 
119 <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="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·result;</div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>
121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······}</div> 
122 </div> 
123 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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>·V,·<span·class="keyword">class</span>·S&gt;</div> 
125 <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> 
126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="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="a02608.html">ADLTag&lt;0&gt;</a>,·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;V&gt;</a>,·S·s)</div> 
127 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div> 
128 <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> 
129 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div> 
130 </div> 
131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
132 <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> 
133 <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="a02608.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> 
134 <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> 
135 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
136 <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> 
137 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> 
138 <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="a02608.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div> 
139 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······{</div> 
140 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">using·</span>std::max;</div> 
141 <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> 
142 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······}</div> 
143 </div> 
144 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
145 <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> 
146 <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}"> 
147 <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="a02608.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div> 
148 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······{</div> 
149 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keyword">using·</span>std::min;</div> 
150 <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> 
151 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div> 
152 </div> 
153 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
154 <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> 
155 <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="a02608.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> 
156 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
157 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
158 <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> 
159 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> 
160 <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="a02608.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> 
161 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······{</div> 
162 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a>(!<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>);</div> 
163 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······}</div> 
164 </div> 
165 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
166 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
167 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Mask&gt;</div> 
168 <div·class="foldopen"·id="foldopen00114"·data-start="{"·data-end="}"> 
169 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">··114</a></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;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; 2193/44748 bytes (4.90%) of diff not shown.
7.92 KB
html2text {}
    
Offset 7, 252 lines modifiedOffset 7, 44 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd12 ····*·std
13 defaults.hh13 variant.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
 15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_SIMD_DEFAULTS_HH20 ·5#ifndef·DUNE_COMMON_STD_VARIANT_HH
19 ·4#define·DUNE_COMMON_SIMD_DEFAULTS_HH21 ·6#define·DUNE_COMMON_STD_VARIANT_HH
20 ·522 ·7
 23 ·8#warning·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after
 24 Dune·2.8.\
 25 ·9·Include·<variant>·instead
 26 ·10
21 ·17#include·<algorithm>27 ·11#include·<variant>
 28 ·12
22 ·18#include·<cstddef> 
23 ·19#include·<type_traits> 
24 ·20 
25 ·21#include·<dune/common/rangeutilities.hh> 
26 ·22#include·<dune/common/simd/base.hh> 
27 ·23#include·<dune/common/simd/interface.hh> 
28 ·24#include·<dune/common/typelist.hh> 
29 ·25#include·<dune/common/typetraits.hh> 
30 ·26 
31 ·27namespace·Dune·{29 ·13namespace·Dune·{
32 ·28·namespace·Simd·{30 ·14namespace·Std·{
33 ·29·namespace·Overloads·{ 
34 ·30 
35 ·47·template<class·V> 
36 48·decltype(auto)·lane(ADLTag<0>,·std::size_t·l,·V·v)·=·delete; 
37 ·49 
38 ·51·template<class·V> 
39 52·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·V·&u) 
40 ·53·{ 
41 ·54·return·u; 
42 ·55·} 
43 ·56 
44 ·58·template<class·V,·class·U> 
45 59·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·U·&u) 
46 ·60·{ 
47 ·61·V·result(Simd::Scalar<V>(0)); 
48 ·62·for(auto·l·:·range(Simd::lanes(u))) 
49 ·63·Simd::lane(l,·result)·=·Simd::lane(l,·u); 
50 ·64·return·result; 
51 ·65·} 
52 ·66 
53 ·68·template<class·V,·class·S> 
54 69·auto·broadcast(ADLTag<0>,·MetaType<V>,·S·s) 
55 ·70·{ 
56 ·71·return·V(Simd::Scalar<V>(s)); 
57 ·72·} 
58 ·73 
59 ·75·template<class·V> 
60 76·V·cond(ADLTag<0>,·const·Mask<V>·&mask, 
61 ·77·const·V·&ifTrue,·const·V·&ifFalse)·=·delete; 
62 ·78 
63 ·80·template<class·V> 
64 81·auto·max(ADLTag<0>,·const·V·&v1,·const·V·&v2) 
65 ·82·{ 
66 ·83·using·std::max; 
67 ·84·return·max(v1,·v2); 
68 ·85·} 
69 ·86 
70 ·88·template<class·V> 
71 89·auto·min(ADLTag<0>,·const·V·&v1,·const·V·&v2) 
72 ·90·{ 
73 ·91·using·std::min;31 ·15·using·std::variant;
 32 ·16·using·std::visit;
 33 ·17·using·std::variant_size;
 34 ·18·using·std::variant_size_v;
 35 ·19·using·std::get;
 36 ·20·using·std::get_if;
 37 ·21·using·std::holds_alternative;
 38 ·22·using·std::monostate;
 39 ·23}
 40 ·24}
 41 ·25
 42 ·26#endif
74 ·92·return·min(v1,·v2); 
75 ·93·} 
76 ·94 
77 ·96·template<class·Mask> 
78 97·bool·anyTrue(ADLTag<0>,·const·Mask·&mask)·=·delete; 
79 ·98 
80 ·100 
81 ·103·template<class·Mask> 
82 104·bool·allTrue(ADLTag<0>,·const·Mask·&mask) 
83 ·105·{ 
84 ·106·return·!Dune::Simd::anyTrue(!mask); 
85 ·107·} 
86 ·108 
87 ·110 
88 ·113·template<class·Mask> 
89 114·bool·anyFalse(ADLTag<0>,·const·Mask·&mask) 
90 ·115·{ 
91 ·116·return·Dune::Simd::anyTrue(!mask); 
92 ·117·} 
93 ·118 
94 ·120 
95 ·123·template<class·Mask> 
96 124·bool·allFalse(ADLTag<0>,·const·Mask·&mask) 
97 ·125·{ 
98 ·126·return·!Dune::Simd::anyTrue(mask); 
99 ·127·} 
100 ·128 
101 ·130·template<class·V> 
102 131·auto·max(ADLTag<0>,·const·V·&v) 
103 ·132·{ 
104 ·133·Scalar<V>·m·=·Simd::lane(0,·v); 
105 ·134·for(std::size_t·l·=·1;·l·<·Simd::lanes(v);·++l) 
106 ·135·if(m·<·Simd::lane(l,·v)) 
107 ·136·m·=·Simd::lane(l,·v); 
108 ·137·return·m; 
109 ·138·} 
110 ·139 
111 ·141·template<class·V> 
112 142·auto·min(ADLTag<0>,·const·V·&v) 
113 ·143·{ 
Max diff block lines reached; 915/8082 bytes (11.32%) of diff not shown.
17.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 86 lines modifiedOffset 65, 45 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>··</div>76 <a·href="#namespaces">Namespaces</a>·&#124;
78 ··<div·class="headertitle"><div·class="title">standard.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00418.html">Application·Develo[·...·truncated·by·diffoscope;·len:·127,·SHA:·9d33d88fce20c992c037a377dac9e567038041f69a997083ac85157fa25361f7·...·]</div>77 <a·href="#func-members">Functions</a>··</div>
 78 ··<div·class="headertitle"><div·class="title">make_array.hh·File·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>SIMD·abstractions·for·the·standard·built-in·types.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>81 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
84 <code>#include·&lt;type_traits&gt;</code><br·/>82 <code>#include·&lt;type_traits&gt;</code><br·/>
85 <code>#include·&lt;utility&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/> 
89 </div>83 </div>
90 <p><a·href="a00143_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00143_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">85 <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="a02620.html">Dune::Simd::Overloads::ScalarType&lt;·V,·class·&gt;</a></td></tr> 
95 <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> 
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="a02624.html">Dune::Simd::Overloads::RebindType&lt;·S,·class,·class·&gt;</a></td></tr> 
98 <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> 
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="a02628.html">Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;</a></td></tr> 
101 <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> 
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>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
105 Namespaces</h2></td></tr>87 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00429"·id="r_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="memitem:a00450"·id="r_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>
110 <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="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:a00430"·id="r_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> 
113 <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> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
116 <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>
117 Functions</h2></td></tr>96 Functions</h2></td></tr>
 97 <tr·class="memitem:ga7c124024a54a49656588ff974ee67996"·id="r_ga7c124024a54a49656588ff974ee67996"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Args&gt;·</td></tr>
 98 <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>
 99 <tr·class="memdesc:ga7c124024a54a49656588ff974ee67996"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·and·initialize·an·array.··<br·/></td></tr>
118 <tr><td·colspan="2"><div·class="groupHeader">Specialized·classes·and·overloaded·functions</div></td></tr> 
119 <tr·class="memitem:ad329da4d6c881c0c53b63c01f576e6df"·id="r_ad329da4d6c881c0c53b63c01f576e6df"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
120 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·std::size_t,·V·v)</td></tr> 
121 <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>··<br·/></td></tr> 
122 <tr·class="separator:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:ga7c124024a54a49656588ff974ee67996"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"·id="r_a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
124 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplItemLeft"·align="right"·valign="top">V·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a3d3cefa72e95b1abb7a235b4511d9794">Dune::Simd::Overloads::lane</a>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·3·&gt;,·std::size_t,·V·&amp;v)</td></tr> 
125 <tr·class="separator:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:a4da440a9db2b315f531d5412174982af"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
127 <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>··<br·/></td></tr> 
128 <tr·class="separator:a4da440a9db2b315f531d5412174982af"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:aef12678a4fbb543b66e9a92eb85d9877"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
130 <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>··<br·/></td></tr> 
131 <tr·class="separator:aef12678a4fbb543b66e9a92eb85d9877"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:a8d635dd0e81111cb047adf5c28dfb781"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
133 <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>··<br·/></td></tr> 
134 <tr·class="separator:a8d635dd0e81111cb047adf5c28dfb781"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ab3e2ff7938d3f9d0a691ee30924caee0"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr> 
136 <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>··<br·/></td></tr> 
137 <tr·class="separator:ab3e2ff7938d3f9d0a691ee30924caee0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 </table>101 </table>
139 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
140 <div·class="textblock"><p>SIMD·abstractions·for·the·standard·built-in·types.·</p> 
141 <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> 
142 </div></div><!--·contents·-->102 </div><!--·contents·-->
143 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
144 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
145 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
146 </small></address>106 </small></address>
147 </body>107 </body>
148 </html>108 </html>
2.99 KB
html2text {}
    
Offset 6, 75 lines modifiedOffset 6, 29 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd12 ····*·std
13 Classes·|·Namespaces13 Namespaces·|·Functions
14 standard.hh·File·Reference14 make_array.hh·File·Reference
 15 #include·<array>
15 Common·»·Vectorization·»·Application_Developer's_Interface·»·SIMD_Abstraction 
16 Implementation_for_standard_types 
17 SIMD·abstractions·for·the·standard·built-in·types.·More... 
18 #include·<cstddef> 
19 #include·<type_traits>16 #include·<type_traits>
20 #include·<utility> 
21 #include·<dune/common/indices.hh> 
22 #include·<dune/common/simd/base.hh> 
23 #include·<dune/common/simd/defaults.hh> 
24 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
25 ·Classes 
26 struct· Dune::Simd::Overloads::ScalarType<_V,_class_> 
27  ·······should·have·a·member·type·type·More... 
28   
29 struct· Dune::Simd::Overloads::RebindType<_S,_class,_class_> 
30  ·······should·have·a·member·type·type·More... 
31   
32 struct· Dune::Simd::Overloads::LaneCount<_class,_class_> 
33  ·······should·be·derived·from·a·Dune::index_constant·More... 
34   
35 ·Namespaces18 ·Namespaces
36 namespace· Dune19 namespace· Dune
37  ··········Dune·namespace.20  ··········Dune·namespace.
38  21  
39 namespace· Dune::Simd22 namespace· Dune::Std
 23  ··········Namespace·for·features·backported·from·new·C++·standards.
40  ··········Namespace·for·vectorization·interface·functions·used·by·library 
41 ············developers. 
42   
43 namespace· Dune::Simd::Overloads 
44  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
45 ············implementation. 
46  24  
47 ·Functions25 ·Functions
 26 template<typename...·Args>
 27 std::array<·typename·std::common_type<·Dune::Std::make_array·(const·Args·&...
 28 ····Args...·>::type,·sizeof...(Args)> args)
 29  ·····································Create·and·initialize·an·array.
48 Specialized·classes·and·overloaded·functions 
49 template<class·V·> 
50 ···V Dune::Simd::Overloads::lane·(ADLTag<·2·>,·std::size_t,·V·v) 
51  ····implements·Simd::lane() 
52   
53 template<class·V·> 
54 ·V·& Dune::Simd::Overloads::lane·(ADLTag<·3·>,·std::size_t,·V·&v) 
55   
56 bool Dune::Simd::Overloads::anyTrue·(ADLTag<·2·>,·bool·mask) 
57  ····implements·Simd::anyTrue() 
58   
59 bool Dune::Simd::Overloads::allTrue·(ADLTag<·2·>,·bool·mask) 
60  ····implements·Simd::allTrue() 
61   
62 bool Dune::Simd::Overloads::anyFalse·(ADLTag<·2·>,·bool·mask) 
63  ····implements·Simd::anyFalse() 
64   
65 bool Dune::Simd::Overloads::allFalse·(ADLTag<·2·>,·bool·mask) 
66  ····implements·Simd::allFalse() 
67  30  
68 *****·Detailed·Description·***** 
69 SIMD·abstractions·for·the·standard·built-in·types. 
70 This·file·should·not·normally·be·included·by·users·of·the·SIMD·abstraction 
71 (i.e.·other·Dune·headers).·Neither·should·it·be·included·by·the·translation 
72 units·passing·built-in·types·to·Dune·headers·that·in·turn·support·SIMD·types 
73 through·the·SIMD·abstraction.·Dune-functionality·always·supports·built-in 
74 types.·Either·because·that·functionality·does·not·support·SIMD·types·and·so 
75 only·supports·built-in·types,·or·if·it·does·support·SIMD·types·it·must·include 
76 <dune/common/simd/simd.hh>,·which·in·turn·includes·this·header. 
  
77 ===============================================================================31 ===============================================================================
78 ·····Generated·by [doxygen]·1.9.832 ·····Generated·by [doxygen]·1.9.8
28.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00143_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 102 lines modifiedOffset 70, 64 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">standard.hh</div></div>80 ··<div·class="headertitle"><div·class="title">make_array.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>84 <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>
85 <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>85 <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>
86 <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>86 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
89 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <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>
90 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;experimental/array&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <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>
 96 <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>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 98 <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>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Std·{</div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 101 <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>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 103 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span>std::experimental::make_array;</div>
91 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>104 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 105 <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>
 106 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
92 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/indices.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/simd/base.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00140.html">dune/common/simd/defaults.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>107 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
96 <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>108 <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>
 109 <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>
 110 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}">
 111 <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>
 112 <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>
 113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········result·=·{{args...}};</div>
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>Simd·{</div>114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·result;</div>
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>115 <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">namespace·</span>Overloads·{</div> 
100 <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> 
102 <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> 
103 <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> 
104 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
105 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
106 <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> 
107 <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> 
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
109 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
113 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
114 <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> 
115 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> 
116 <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> 
117 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······{</div> 
118 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">return</span>·v;</div> 
119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div> 
120 </div>116 </div>
121 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
122 <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> 
123 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}"> 
124 <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> 
125 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······{</div>117 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 118 <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>
126 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·v;</div> 
127 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div> 
128 </div> 
129 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
130 <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> 
131 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="comment">//·interface·is·sufficient</span></div> 
132 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>119 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
133 <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#a[·...·truncated·by·diffoscope;·len:·376,·SHA:·94a540fdd43d70443e96d4e83b4107e1daf473dc7336373913d1b1defb872248·...·]}</div>120 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>
 121 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}</div>
134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>122 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
135 <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> 
136 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
137 <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> 
138 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
139 <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> 
140 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
141 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
142 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}·<span·class="comment">//·namespace·Overloads</span></div>123 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif</span></div>
 124 <div·class="ttc"·id="aa00406_html_ga7c124024a54a49656588ff974ee67996"><div·class="ttname"><a·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a></div><div·class="ttdeci">std::array&lt;·typename·std::common_type&lt;·Args...·&gt;::type,·sizeof...(Args)&gt;·make_array(const·Args·&amp;...·args)</div><div·class="ttdoc">Create·and·initialize·an·array.</div><div·class="ttdef"><b>Definition</b>·make_array.hh:43</div></div>
143 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}·<span·class="comment">//·namespace·Simd</span></div> 
144 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}·<span·class="comment">//·namespace·Dune</span></div> 
145 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
146 <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> 
147 <div·class="ttc"·id="aa00077_html"><div·class="ttname"><a·href="a00077.html">indices.hh</a></div></div> 
148 <div·class="ttc"·id="aa00131_html"><div·class="ttname"><a·href="a00131.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div> 
149 <div·class="ttc"·id="aa00140_html"><div·class="ttname"><a·href="a00140.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div> 
150 <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> 
151 <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> 
152 <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> 
153 <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> 
154 <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> 
155 <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="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>
156 <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> 
Max diff block lines reached; 271/24470 bytes (1.11%) of diff not shown.
4.6 KB
html2text {}
    
Offset 7, 126 lines modifiedOffset 7, 61 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd12 ····*·std
13 standard.hh13 make_array.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_SIMD_STANDARD_HH18 ·3#ifndef·DUNE_COMMON_STD_MAKE_ARRAY_HH
19 ·4#define·DUNE_COMMON_SIMD_STANDARD_HH19 ·4#define·DUNE_COMMON_STD_MAKE_ARRAY_HH
20 ·520 ·5
21 ·20#include·<cstddef>21 ·6#include·<array>
22 ·21#include·<type_traits>22 ·7#include·<type_traits>
23 ·22#include·<utility>23 ·8
 24 ·9#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 25 ·10#include·<experimental/array>
 26 ·11#endif
 27 ·12
 28 ·13#warning·make_array.hh·is·deprecated·and·will·be·removed·after·Dune·2.9.·\
 29 ·14·Use·deduction·guide·of·`std::array`·or·`std::to_array`.
 30 ·15
 31 ·16namespace·Dune·{
 32 ·17namespace·Std·{
 33 ·18
 34 ·19#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 35 ·20
 36 ·22·using·std::experimental::make_array;
24 ·2337 ·23
 38 ·24#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 39 ·25
25 ·24#include·<dune/common/indices.hh> 
26 ·25#include·<dune/common/simd/base.hh> 
27 ·26#include·<dune/common/simd/defaults.hh> 
28 ·2740 ·27
29 ·45namespace·Dune·{ 
30 ·46·namespace·Simd·{41 ·41·template·<typename...·Args>
 42 ·42·std::array<typename·std::common_type<Args...>::type,·sizeof...(Args)>
 43 43·make_array(const·Args&...·args)·{
 44 ·44·std::array<typename·std::common_type<Args...>::type,·sizeof...(Args)>
 45 ·45·result·=·{{args...}};
 46 ·46·return·result;
31 ·4747 ·47·}
 48 ·48
 49 ·49#endif·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 50 ·50
 51 ·51}
 52 ·52}
 53 ·53
 54 ·54#endif
 55 Dune::Std::make_array
 56 std::array<·typename·std::common_type<·Args...·>::type,·sizeof...(Args)>
 57 make_array(const·Args·&...·args)
 58 Create·and·initialize·an·array.
 59 Definition·make_array.hh:43
32 ·48·namespace·Overloads·{ 
33 ·49 
34 ·56 
35 ·59·template<class·V,·class> 
36 60·struct·ScalarType·{·using·type·=·V;·}; 
37 ·61 
38 ·63 
39 ·66·template<class·S,·class,·class> 
40 67·struct·RebindType·{·using·type·=·S;·}; 
41 ·68 
42 ·70 
43 ·73·template<class,·class> 
44 74·struct·LaneCount·:·public·index_constant<1>·{·}; 
45 ·75 
46 ·77 
47 ·86·template<class·V> 
48 87·V·lane(ADLTag<2>,·std::size_t,·V·v) 
49 ·88·{ 
50 ·89·return·v; 
51 ·90·} 
52 ·91 
53 ·92·template<class·V> 
54 93·V·&lane(ADLTag<3>,·std::size_t,·V·&v) 
55 ·94·{ 
56 ·95·return·v; 
57 ·96·} 
58 ·97 
59 ·98·//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the 
60 ·99·//·interface·is·sufficient 
61 ·100 
62 102·inline·bool·anyTrue(ADLTag<2>,·bool·mask)·{·return·mask;·} 
63 ·103 
64 105·inline·bool·allTrue(ADLTag<2>,·bool·mask)·{·return·mask;·} 
65 ·106 
66 108·inline·bool·anyFalse(ADLTag<2>,·bool·mask)·{·return·!mask;·} 
67 ·109 
68 111·inline·bool·allFalse(ADLTag<2>,·bool·mask)·{·return·!mask;·} 
69 ·112 
70 ·114 
71 ·115·}·//·namespace·Overloads 
72 ·116·}·//·namespace·Simd 
73 ·117}·//·namespace·Dune 
74 ·118 
75 ·119#endif·//·DUNE_COMMON_SIMD_STANDARD_HH 
76 indices.hh 
77 base.hh 
78 Basic·definitions·for·SIMD·Implementations. 
79 defaults.hh 
80 Default·implementations·for·SIMD·Implementations. 
81 Dune::index_constant 
82 std::integral_constant<·std::size_t,·i·>·index_constant 
83 An·index·constant·with·value·i. 
84 Definition·indices.hh:30 
85 Dune::Simd::Overloads::mask 
86 Mask<·V·>·mask(ADLTag<·0,·std::is_same<·V,·Mask<·V·>·>::value·>,·const·V·&v) 
87 implements·Simd::mask() 
88 Definition·defaults.hh:153 
89 Dune::Simd::Overloads::allFalse 
90 bool·allFalse(ADLTag<·0·>,·const·Mask·&mask) 
91 implements·Simd::allFalse() 
92 Definition·defaults.hh:124 
93 Dune::Simd::Overloads::allTrue 
94 bool·allTrue(ADLTag<·0·>,·const·Mask·&mask) 
95 implements·Simd::allTrue() 
96 Definition·defaults.hh:104 
97 Dune::Simd::Overloads::anyFalse 
98 bool·anyFalse(ADLTag<·0·>,·const·Mask·&mask) 
99 implements·Simd::anyFalse() 
Max diff block lines reached; 996/4688 bytes (21.25%) of diff not shown.
16.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 89 lines modifiedOffset 65, 36 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#namespaces">Namespaces</a>·&#124;76 <a·href="#namespaces">Namespaces</a>··</div>
77 <a·href="#define-members">Macros</a>·&#124; 
78 <a·href="#typedef-members">Typedefs</a>·&#124; 
79 <a·href="#var-members">Variables</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">stdstreams.hh·File·Reference</div></div>77 ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div>
81 </div><!--header-->78 </div><!--header-->
82 <div·class="contents">79 <div·class="contents">
 80 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
  
83 <p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00035_source.html">debugstream.hh</a>&quot;</code><br·/> 
86 </div>81 </div>
87 <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">83 <table·class="memberdecls">
89 <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>
90 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
91 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:a00450"·id="r_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>
94 </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:ga3a5303f96d33ae7299d9acd71b736998"·id="r_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> 
98 <tr·class="memdesc:ga3a5303f96d33ae7299d9acd71b736998"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·default·minimum·debug·level.··<br·/></td></tr> 
99 <tr·class="separator:ga3a5303f96d33ae7299d9acd71b736998"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <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="typedef-members"·name="typedef-members"></a> 
102 Typedefs</h2></td></tr> 
103 <tr·class="memitem:ga08d48df3a7a0e3bd9c0425aba8004488"·id="r_ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">VERY_VERBOSE_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">Dune::DVVerbType</a></td></tr> 
104 <tr·class="memdesc:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·very·verbose·debug·stream.··<br·/></td></tr> 
105 <tr·class="separator:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:ga65d14f278ea400db87ffb6a4bc7ed7b2"·id="r_ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">VERBOSE_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">Dune::DVerbType</a></td></tr> 
107 <tr·class="memdesc:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·more·verbose·debug·stream.··<br·/></td></tr> 
108 <tr·class="separator:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:gab41f4590c73d6408c89475e28bf18a8e"·id="r_gab41f4590c73d6408c89475e28bf18a8e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">INFO_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">Dune::DInfoType</a></td></tr> 
110 <tr·class="memdesc:gab41f4590c73d6408c89475e28bf18a8e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·info·level.··<br·/></td></tr> 
111 <tr·class="separator:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:ga20379ab9c4472509d420e98659683fe6"·id="r_ga20379ab9c4472509d420e98659683fe6"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">WARN_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">Dune::DWarnType</a></td></tr> 
113 <tr·class="memdesc:ga20379ab9c4472509d420e98659683fe6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·warn·level.··<br·/></td></tr> 
114 <tr·class="separator:ga20379ab9c4472509d420e98659683fe6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:ga70e0eedd6c7f613d6e9608fabb4d240d"·id="r_ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·<a·class="el"·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">GRAVE_DEBUG_LEVEL</a>,·<a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">Dune::DGraveType</a></td></tr> 
116 <tr·class="memdesc:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·for·fatal·errors.··<br·/></td></tr> 
117 <tr·class="separator:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:ga768c0b513889d713fd0017ef7ae35056"·id="r_ga768c0b513889d713fd0017ef7ae35056"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01396.html">DebugStream</a>&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">Dune::DErrType</a></td></tr> 
119 <tr·class="memdesc:ga768c0b513889d713fd0017ef7ae35056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·stream·used·for·error·messages.··<br·/></td></tr> 
120 <tr·class="separator:ga768c0b513889d713fd0017ef7ae35056"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 </table><table·class="memberdecls"> 
122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
123 Variables</h2></td></tr> 
124 <tr·class="memitem:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"·id="r_ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#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> 
125 <tr·class="separator:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:ga490cf91178ed464c3eff5871b4b03c8f"·id="r_ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">Dune::VERY_VERBOSE_DEBUG_LEVEL</a>·=·1</td></tr> 
127 <tr·class="memdesc:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·very·verbose·debug·stream.··<br·/></td></tr> 
128 <tr·class="separator:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:gabdcf3b4c1aefae00afd3ecaf84f755bb"·id="r_gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">Dune::VERBOSE_DEBUG_LEVEL</a>·=·2</td></tr> 
130 <tr·class="memdesc:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·verbose·debug·stream.··<br·/></td></tr> 
131 <tr·class="separator:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:gaabd88387e7eb826323b9f7d3a53a283e"·id="r_gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">Dune::INFO_DEBUG_LEVEL</a>·=·3</td></tr> 
133 <tr·class="memdesc:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·informative·debug·stream.··<br·/></td></tr> 
134 <tr·class="separator:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:gaed2aba7a7e55b026716d5027406566a0"·id="r_gaed2aba7a7e55b026716d5027406566a0"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">Dune::WARN_DEBUG_LEVEL</a>·=·4</td></tr> 
136 <tr·class="memdesc:gaed2aba7a7e55b026716d5027406566a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·debug·stream·for·warnings.··<br·/></td></tr> 
137 <tr·class="separator:gaed2aba7a7e55b026716d5027406566a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:ga4fc828eb9bb6c6b6143034b9211d2b72"·id="r_ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memItemLeft"·align="right"·valign="top">static·const·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">Dune::GRAVE_DEBUG_LEVEL</a>·=·5</td></tr> 
139 <tr·class="memdesc:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·debug·stream·for·fatal·errors.··<br·/></td></tr> 
140 <tr·class="separator:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 </table>92 </table>
142 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
143 <div·class="textblock"><p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·</p> 
144 <p>The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This·file·declares·the·stream·types·and·the·global·debug·level.·</p> 
145 </div></div><!--·contents·-->93 </div><!--·contents·-->
146 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
147 <hr·class="footer"/><address·class="footer"><small>95 <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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
149 </small></address>97 </small></address>
150 </body>98 </body>
151 </html>99 </html>
2.76 KB
html2text {}
    
Offset 6, 72 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Macros·|·Typedefs·|·Variables12 ····*·std
 13 Namespaces
13 stdstreams.hh·File·Reference14 utility.hh·File·Reference
 15 #include·<utility>
14 Standard·Dune·debug·streams.·More... 
15 #include·"debugstream.hh" 
16 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
17 ·Namespaces17 ·Namespaces
18 namespace· Dune18 namespace· Dune
19  ··········Dune·namespace.19  ··········Dune·namespace.
20  20  
 21 namespace· Dune::Std
 22  ··········Namespace·for·features·backported·from·new·C++·standards.
21 ·Macros 
22 #define DUNE_MINIMAL_DEBUG_LEVEL   4 
23  ·······The·default·minimum·debug·level. 
24  23  
25 ·Typedefs 
26 ···················typedef·DebugStream< 
27 ··············VERY_VERBOSE_DEBUG_LEVEL, 
28 ·················MINIMAL_DEBUG_LEVEL·> Dune::DVVerbType 
29  ······································Type·of·very·verbose·debug·stream. 
30   
31 ···················typedef·DebugStream< 
32 ···················VERBOSE_DEBUG_LEVEL, 
33 ·················MINIMAL_DEBUG_LEVEL·> Dune::DVerbType 
34  ······································Type·of·more·verbose·debug·stream. 
35   
36 ·typedef·DebugStream<·INFO_DEBUG_LEVEL, 
37 ·················MINIMAL_DEBUG_LEVEL·> Dune::DInfoType 
38  ······································Type·of·debug·stream·with·info·level. 
39   
40 ·typedef·DebugStream<·WARN_DEBUG_LEVEL, 
41 ·················MINIMAL_DEBUG_LEVEL·> Dune::DWarnType 
42  ······································Type·of·debug·stream·with·warn·level. 
43   
44 typedef·DebugStream<·GRAVE_DEBUG_LEVEL, 
45 ·················MINIMAL_DEBUG_LEVEL·> Dune::DGraveType 
46  ······································Type·of·debug·stream·for·fatal·errors. 
47   
48 ··············typedef·DebugStream<·1·> Dune::DErrType 
49  ······································The·type·of·the·stream·used·for·error 
50 ········································messages. 
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. 
57   
58 static·const·DebugLevel Dune::VERBOSE_DEBUG_LEVEL·=·2 
59  ·······················The·level·of·the·verbose·debug·stream. 
60   
61 static·const·DebugLevel Dune::INFO_DEBUG_LEVEL·=·3 
62  ·······················The·level·of·the·informative·debug·stream. 
63   
64 static·const·DebugLevel Dune::WARN_DEBUG_LEVEL·=·4 
65  ·······················The·level·of·the·debug·stream·for·warnings. 
66   
67 static·const·DebugLevel Dune::GRAVE_DEBUG_LEVEL·=·5 
68  ·······················The·level·of·the·debug·stream·for·fatal·errors. 
69   
70 *****·Detailed·Description·***** 
71 Standard·Dune·debug·streams. 
72 The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This 
73 file·declares·the·stream·types·and·the·global·debug·level. 
  
74 ===============================================================================24 ===============================================================================
75 ·····Generated·by [doxygen]·1.9.825 ·····Generated·by [doxygen]·1.9.8
30.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 98 lines modifiedOffset 70, 49 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">stdstreams.hh</div></div>80 ··<div·class="headertitle"><div·class="title">utility.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
 85 <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>
 86 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDSTREAMS_HH</span></div> 
89 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#define·DUNE_COMMON_STDSTREAMS_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
90 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <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>
91 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00035.html">debugstream.hh</a>&quot;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;utility&gt;·instead</span></div>
92 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
93 <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>93 <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>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
94 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
95 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#ifndef·DUNE_MINIMAL_DEBUG_LEVEL</span></div> 
96 <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> 
97 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#endif</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">namespace·</span>Std</div>
98 <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> 
99 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··{</div>
100 <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> 
101 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
102 <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>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::integer_sequence;</div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">using·</span>std::index_sequence;</div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="keyword">using·</span>std::make_integer_sequence;</div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····<span·class="keyword">using·</span>std::make_index_sequence;</div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">using·</span>std::index_sequence_for;</div>
103 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
104 <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:·63,·SHA:·e8be6d2b631b2199d487c8ed69b923c1159c9016f5f96e546801d28322250b0b·...·]</div>105 <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="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}·<span·class="comment">//·namespace·Dune</span></div>
105 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
106 <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> 
107 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
108 <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> 
109 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
110 <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> 
111 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
112 <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> 
113 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
114 <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> 
115 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
116 <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> 
117 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
118 <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> 
119 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> 
120 <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> 
121 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> 
122 <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> 
123 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>·</div> 
124 <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> 
125 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>·</div> 
126 <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> 
127 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> 
128 <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> 
129 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div> 
130 <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> 
131 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div> 
132 <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> 
133 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
134 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>}</div> 
135 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div> 
136 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span><span·class="preprocessor">#endif</span></div>109 <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>
137 <div·class="ttc"·id="aa00035_html"><div·class="ttname"><a·href="a00035.html">debugstream.hh</a></div><div·class="ttdoc">Defines·several·output·streams·for·messages·of·different·importance.</div></div> 
138 <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> 
139 <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> 
140 <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> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <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> 
146 <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> 
147 <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> 
148 <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> 
149 <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> 
150 <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> 
151 <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> 
152 <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> 
153 <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> 
154 <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> 
155 <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> 
156 <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> 
157 <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> 
158 <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>110 <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>
159 <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> 
160 </div><!--·fragment·--></div><!--·contents·-->111 </div><!--·fragment·--></div><!--·contents·-->
161 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
162 <hr·class="footer"/><address·class="footer"><small>113 <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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
164 </small></address>115 </small></address>
165 </body>116 </body>
166 </html>117 </html>
5.32 KB
html2text {}
    
Offset 7, 155 lines modifiedOffset 7, 45 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 stdstreams.hh12 ····*·std
 13 utility.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 18 ·3#ifndef·DUNE_COMMON_STD_UTILITY_HH
 19 ·4#define·DUNE_COMMON_STD_UTILITY_HH
19 ·520 ·5
 21 ·6#include·<utility>
20 ·15#ifndef·DUNE_COMMON_STDSTREAMS_HH 
21 ·16#define·DUNE_COMMON_STDSTREAMS_HH 
22 ·1722 ·7
 23 ·8#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after
 24 Dune·2.8.\
 25 ·9·Include·<utility>·instead
23 ·18#include·"debugstream.hh" 
24 ·19 
25 ·20namespace·Dune·{ 
26 ·21 
27 ·66#ifndef·DUNE_MINIMAL_DEBUG_LEVEL 
28 67#define·DUNE_MINIMAL_DEBUG_LEVEL·4 
29 ·68#endif 
30 69·static·const·DebugLevel·MINIMAL_DEBUG_LEVEL·=·DUNE_MINIMAL_DEBUG_LEVEL; 
31 ·70 
32 75·static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL·=·1; 
33 ·76 
34 81·typedef·DebugStream<VERY_VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL> 
35 DVVerbType; 
36 ·82 
37 95·extern·DVVerbType·dvverb; 
38 ·96 
39 101·static·const·DebugLevel·VERBOSE_DEBUG_LEVEL·=·2; 
40 ·10226 ·10
 27 ·11namespace·Dune
 28 ·12{
41 107·typedef·DebugStream<VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DVerbType; 
42 ·108 
43 116·extern·DVerbType·dverb; 
44 ·117 
45 122·static·const·DebugLevel·INFO_DEBUG_LEVEL·=·3; 
46 ·12329 ·13
 30 ·14·namespace·Std
 31 ·15·{
47 128·typedef·DebugStream<INFO_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DInfoType; 
48 ·129 
49 140·extern·DInfoType·dinfo; 
50 ·141 
51 146·static·const·DebugLevel·WARN_DEBUG_LEVEL·=·4; 
52 ·147 
53 152·typedef·DebugStream<WARN_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DWarnType; 
54 ·153 
55 161·extern·DWarnType·dwarn; 
56 ·16232 ·16
 33 ·17·using·std::integer_sequence;
 34 ·18·using·std::index_sequence;
 35 ·19·using·std::make_integer_sequence;
 36 ·20·using·std::make_index_sequence;
 37 ·21·using·std::index_sequence_for;
 38 ·22
 39 ·23·}·//·namespace·Std
 40 ·24
 41 ·25}·//·namespace·Dune
 42 ·26
 43 ·27#endif·//·#ifndef·DUNE_COMMON_STD_UTILITY_HH
57 167·static·const·DebugLevel·GRAVE_DEBUG_LEVEL·=·5; 
58 ·168 
59 170·typedef·DebugStream<GRAVE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DGraveType; 
60 ·171 
61 179·extern·DGraveType·dgrave; 
62 ·180 
63 182·typedef·DebugStream<1>·DErrType; 
64 ·183 
65 195·extern·DErrType·derr; 
66 ·196 
67 ·198} 
68 ·199 
69 ·200#endif 
70 debugstream.hh 
71 Defines·several·output·streams·for·messages·of·different·importance. 
72 Dune::DebugLevel 
73 unsigned·int·DebugLevel 
74 Type·for·debug·levels. 
75 Definition·debugstream.hh:118 
76 Dune::DVVerbType 
77 DebugStream<·VERY_VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DVVerbType 
78 Type·of·very·verbose·debug·stream. 
79 Definition·stdstreams.hh:81 
80 Dune::DWarnType 
81 DebugStream<·WARN_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DWarnType 
82 Type·of·debug·stream·with·warn·level. 
83 Definition·stdstreams.hh:152 
84 Dune::dvverb 
85 DVVerbType·dvverb(std::cout) 
86 stream·for·very·verbose·output. 
87 Definition·stdstreams.hh:95 
88 Dune::MINIMAL_DEBUG_LEVEL 
89 static·const·DebugLevel·MINIMAL_DEBUG_LEVEL 
90 Definition·stdstreams.hh:69 
91 DUNE_MINIMAL_DEBUG_LEVEL 
92 #define·DUNE_MINIMAL_DEBUG_LEVEL 
93 The·default·minimum·debug·level. 
94 Definition·stdstreams.hh:67 
95 Dune::VERY_VERBOSE_DEBUG_LEVEL 
96 static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL 
97 The·level·of·the·very·verbose·debug·stream. 
98 Definition·stdstreams.hh:75 
99 Dune::dwarn 
100 DWarnType·dwarn(std::cerr) 
101 Stream·for·warnings·indicating·problems. 
102 Definition·stdstreams.hh:161 
103 Dune::GRAVE_DEBUG_LEVEL 
104 static·const·DebugLevel·GRAVE_DEBUG_LEVEL 
105 The·level·of·the·debug·stream·for·fatal·errors. 
106 Definition·stdstreams.hh:167 
107 Dune::DVerbType 
108 DebugStream<·VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·>·DVerbType 
109 Type·of·more·verbose·debug·stream. 
Max diff block lines reached; 270/5425 bytes (4.98%) of diff not shown.
5.07 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 30 lines modifiedOffset 65, 42 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
76 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>··</div>
77 ··<div·class="headertitle"><div·class="title">ios_state.cc·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">functional.hh·File·Reference</div></div>
78 </div><!--header-->79 </div><!--header-->
79 <div·class="contents">80 <div·class="contents">
80 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/ios_state.hh</a>&gt;</code><br·/>81 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
 82 </div>
 83 <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 </div><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="a02864.html">Dune::Std::identity</a></td></tr>
 88 <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>
 89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 </table><table·class="memberdecls">
82 <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>
83 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
84 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
86 <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:a00450"·id="r_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>
 97 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table>99 </table>
88 </div><!--·contents·-->100 </div><!--·contents·-->
89 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>102 <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.8103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
92 </small></address>104 </small></address>
93 </body>105 </body>
743 B
html2text {}
    
Offset 6, 17 lines modifiedOffset 6, 27 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces 
13 ios_state.cc·File·Reference 
14 #include·<dune/common/ios_state.hh>12 ····*·std
 13 Classes·|·Namespaces
 14 functional.hh·File·Reference
 15 #include·<functional>
 16 Go_to_the_source_code_of_this_file.
 17 ·Classes
 18 struct· Dune::Std::identity
 19  ·······A·function·object·type·whose·operator()·returns·its·argument
 20 ·········unchanged.·More...
 21  
15 ·Namespaces22 ·Namespaces
16 namespace· Dune23 namespace· Dune
17  ··········Dune·namespace.24  ··········Dune·namespace.
18  25  
 26 namespace· Dune::Std
 27  ··········Namespace·for·features·backported·from·new·C++·standards.
 28  
  
19 ===============================================================================29 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.830 ·····Generated·by [doxygen]·1.9.8
73.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 385 lines modifiedOffset 65, 36 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>·&#124;76 <a·href="#namespaces">Namespaces</a>··</div>
78 <a·href="#define-members">Macros</a>·&#124; 
79 <a·href="#typedef-members">Typedefs</a>·&#124; 
80 <a·href="#func-members">Functions</a>·&#124; 
81 <a·href="#var-members">Variables</a>··</div> 
82 ··<div·class="headertitle"><div·class="title">debugalign.hh·File·Reference</div></div>77 ··<div·class="headertitle"><div·class="title">apply.hh·File·Reference</div></div>
83 </div><!--header-->78 </div><!--header-->
84 <div·class="contents">79 <div·class="contents">
85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>80 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
86 <code>#include·&lt;cassert&gt;</code><br·/> 
87 <code>#include·&lt;cmath&gt;</code><br·/> 
88 <code>#include·&lt;complex&gt;</code><br·/> 
89 <code>#include·&lt;cstddef&gt;</code><br·/> 
90 <code>#include·&lt;cstdint&gt;</code><br·/> 
91 <code>#include·&lt;cstdlib&gt;</code><br·/> 
92 <code>#include·&lt;functional&gt;</code><br·/> 
93 <code>#include·&lt;istream&gt;</code><br·/> 
94 <code>#include·&lt;ostream&gt;</code><br·/> 
95 <code>#include·&lt;type_traits&gt;</code><br·/> 
96 <code>#include·&lt;utility&gt;</code><br·/> 
97 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
98 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
99 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
100 <code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/> 
101 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
102 </div>81 </div>
103 <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p>
104 <table·class="memberdecls">83 <table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
106 Classes</h2></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="a01352.html">Dune::AlignedBase&lt;·align,·Impl·&gt;</a></td></tr> 
108 <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> 
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="a01360.html">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01356.html">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;</a></td></tr> 
113 <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> 
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="a01364.html">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></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="a01368.html">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></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="a01372.html">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 </table><table·class="memberdecls"> 
122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
123 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
124 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 <tr·class="memitem:a00428"·id="r_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> 
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:a00429"·id="r_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"·id="r_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>
130 <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>
131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
132 <tr·class="memitem:a00430"·id="r_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> 
133 <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> 
134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 </table><table·class="memberdecls"> 
136 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
137 Macros</h2></td></tr> 
138 <tr·class="memitem:ac631559314e81560b9e4d2949a9c6f9e"·id="r_ac631559314e81560b9e4d2949a9c6f9e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(OP)</td></tr> 
139 <tr·class="separator:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:a29d7d4052b3f82e3ac4809355498a1a0"·id="r_a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(OP)</td></tr> 
141 <tr·class="separator:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:a9b2955907ac5ff3c53a5e1dc45e10532"·id="r_a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(name)</td></tr> 
143 <tr·class="separator:a9b2955907ac5ff3c53a5e1dc45e10532"><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="typedef-members"·name="typedef-members"></a> 
146 Typedefs</h2></td></tr> 
147 <tr·class="memitem:aeeddbd17746ee9ac74ce286741916e4c"·id="r_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> 
148 <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>··<br·/></td></tr> 
149 <tr·class="separator:aeeddbd17746ee9ac74ce286741916e4c"><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="func-members"·name="func-members"></a> 
152 Functions</h2></td></tr> 
153 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"·id="r_abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr> 
154 <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>··<br·/></td></tr> 
155 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"·id="r_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·*<a·class="el"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>,·std::size_t·expectedAlignment,·const·void·*address)</td></tr> 
157 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<br·/></td></tr> 
158 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
159 <tr·class="memitem:abf9e4364af213c448afdf072eea1b913"·id="r_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> 
160 <tr·class="memdesc:abf9e4364af213c448afdf072eea1b913"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·an·address·conforms·to·the·given·alignment··<br·/></td></tr> 
161 <tr·class="separator:abf9e4364af213c448afdf072eea1b913"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:ab907d00e446cb6ec96109e7d32fbe9e0"·id="r_ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·align·=·debugAlignment,·class·T·&gt;·</td></tr> 
163 <tr·class="memitem:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01356.html">AlignedNumber</a>&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> 
164 <tr·class="memdesc:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">align·a·value·to·a·certain·alignment··<br·/></td></tr> 
165 <tr·class="separator:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:a369805c961075a51b0298fbff650155f"·id="r_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> 
167 <tr·class="separator:a369805c961075a51b0298fbff650155f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
168 <tr·class="memitem:af9ad98aaa0d1920b38f0769ebb275bed"·id="r_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> 
169 <tr·class="separator:af9ad98aaa0d1920b38f0769ebb275bed"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
170 <tr·class="memitem:a63e1fdb0dbef5f91d43e425975b9303c"·id="r_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> 
171 <tr·class="separator:a63e1fdb0dbef5f91d43e425975b9303c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
172 <tr·class="memitem:ae6fc20617f688d76333e634bace7592c"·id="r_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> 
173 <tr·class="separator:ae6fc20617f688d76333e634bace7592c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
174 <tr·class="memitem:a438743c199b67aeaf239115b8ba8a9ff"·id="r_a438743c199b67aeaf239115b8ba8a9ff"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#a438743c199b67aeaf239115b8ba8a9ff">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(&lt;&lt;)</td></tr> 
Max diff block lines reached; 10041/60150 bytes (16.69%) of diff not shown.
14.7 KB
html2text {}
    
Offset 6, 390 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Macros·|·Typedefs·|·Functions·|·Variables12 ····*·std
 13 Namespaces
13 debugalign.hh·File·Reference14 apply.hh·File·Reference
14 #include·<algorithm> 
15 #include·<cassert> 
16 #include·<cmath> 
17 #include·<complex>15 #include·<tuple>
18 #include·<cstddef> 
19 #include·<cstdint> 
20 #include·<cstdlib> 
21 #include·<functional> 
22 #include·<istream> 
23 #include·<ostream> 
24 #include·<type_traits> 
25 #include·<utility> 
26 #include·<dune/common/classname.hh> 
27 #include·<dune/common/indices.hh> 
28 #include·<dune/common/simd/base.hh> 
29 #include·<dune/common/simd/defaults.hh> 
30 #include·<dune/common/typetraits.hh> 
31 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
32 ·Classes 
33 ·class· Dune::AlignedBase<_align,_Impl_> 
34  ·······CRTP·base·mixin·class·to·check·alignment.·More... 
35   
36 struct· Dune::IsNumber<_AlignedNumberImpl::AlignedNumber<_T,_align_>_> 
37   
38 ·class· Dune::AlignedNumberImpl::AlignedNumber<_T,_align_> 
39  ·······aligned·wrappers·for·arithmetic·types·More... 
40   
41 struct· Dune::Simd::Overloads::ScalarType<_AlignedNumber<_T,_align_>_> 
42   
43 struct· Dune::Simd::Overloads::RebindType<_U,_AlignedNumber<_T,_align_>_> 
44   
45 struct· Dune::Simd::Overloads::LaneCount<_AlignedNumber<_T,_align_>_> 
46   
47 ·Namespaces17 ·Namespaces
48 namespace· Dune18 namespace· Dune
49  ··········Dune·namespace.19  ··········Dune·namespace.
50  20  
51 namespace· Dune::AlignedNumberImpl 
52   
53 namespace· Dune::Simd21 namespace· Dune::Std
 22  ··········Namespace·for·features·backported·from·new·C++·standards.
54  ··········Namespace·for·vectorization·interface·functions·used·by·library 
55 ············developers. 
56   
57 namespace· Dune::Simd::Overloads 
58  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
59 ············implementation. 
60   
61 ·Macros 
62 #define DUNE_ASSIGN_OP(OP) 
63   
64 #define DUNE_BINARY_OP(OP) 
65   
66 #define DUNE_UNARY_FUNC(name) 
67   
68 ·Typedefs 
69 using Dune::ViolatedAlignmentHandler·=·std::function<·void(const·char·*,·std:: 
70 ·······size_t,·const·void·*)> 
71  ·····type·of·the·handler·called·by·violatedAlignment() 
72   
73 ·Functions 
74 ·······ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·() 
75  ·································access·the·handler·called·by 
76 ···································violatedAlignment() 
77   
78 ·····························void Dune::violatedAlignment·(const·char 
79 ···································*className,·std::size_t·expectedAlignment, 
80 ···································const·void·*address) 
81  ·································called·when·an·alignment·violation·is 
82 ···································detected 
83   
84 ·····························bool Dune::isAligned·(const·void·*p,·std::size_t 
85 ···································align) 
86  ·································check·whether·an·address·conforms·to·the 
87 ···································given·alignment 
88   
89 template<std::size_t·align·=·debugAlignment,·class·T·> 
90 ········AlignedNumber<·T,·align·> Dune::aligned·(T·value) 
91  ·································align·a·value·to·a·certain·alignment 
92   
93 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(+) 
94   
95 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(-) 
96   
97 ·················DUNE_BINARY_OP·* Dune::AlignedNumberImpl::DUNE_BINARY_OP·(/ 
98 ···································);DUNE_BINARY_OP(% 
99   
100 ··················DUNE_BINARY_OP^ Dune::AlignedNumberImpl::DUNE_BINARY_OP 
101 ···································(&);DUNE_BINARY_OP(| 
102   
103 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<<) 
104   
105 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(> 
106 ···································>) 
107   
108 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(==) 
109   
110 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(!=) 
111   
112 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<=) 
113   
114 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(>=) 
115   
116 ················DUNE_BINARY_OP·&& Dune::AlignedNumberImpl::DUNE_BINARY_OP 
117 ···································(||);#define·DUNE_UNARY_FUNC(name) 
118 ···································DUNE_UNARY_FUNC(abs 
119   
120 ································· Dune::AlignedNumberImpl::DUNE_UNARY_FUNC 
121 ···································(acos) 
122   
123 ································· Dune::AlignedNumberImpl::DUNE_UNARY_FUNC 
124 ···································(acosh) 
125   
126 ································· Dune::AlignedNumberImpl::DUNE_UNARY_FUNC 
127 ···································(asin) 
128   
129 ································· Dune::AlignedNumberImpl::DUNE_UNARY_FUNC 
Max diff block lines reached; 2107/15022 bytes (14.03%) of diff not shown.
149 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 668 lines modifiedOffset 70, 44 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">debugalign.hh</div></div>80 ··<div·class="headertitle"><div·class="title">apply.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUGALIGN_HH</span></div>87 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUGALIGN_HH</span></div>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
96 <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> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
103 <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/classname.hh</a>&gt;</span></div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/indices.hh</a>&gt;</span></div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/simd/base.hh</a>&gt;</span></div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00140.html">dune/common/simd/defaults.hh</a>&gt;</span></div> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
109 <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>92 <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>
110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
114 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
115 <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> 
116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>
117 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
118 <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> 
119 <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> 
120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
121 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}">94 <div·class="foldopen"·id="foldopen00012"·data-start="{"·data-end="}">
 95 <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>
122 <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> 
123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div> 
124 <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> 
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div>96 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··{</div>
 97 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 98 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::apply;</div>
 99 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 100 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··}·<span·class="comment">//·namespace·Std</span></div>
128 </div>101 </div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>}·<span·class="comment">//·namespace·Dune</span></div>
129 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
130 <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> 
131 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> 
132 <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> 
133 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> 
134 <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> 
135 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div> 
136 <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> 
137 <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> 
138 <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> 
139 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
140 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">public</span>:</div> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
146 <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> 
147 <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> 
148 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··};</div> 
149 </div> 
150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> 
151 <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> 
152 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
153 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> 
154 <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> 
155 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
156 <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> 
157 <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> 
158 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
159 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}·<span·class="comment">//·namespace·AlignedNumberImpl</span></div> 
160 </div> 
161 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
162 <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> 
163 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
164 <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> 
165 <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="};"> 
166 <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> 
167 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······:·<span·class="keyword">public</span>·std::true_type·{};</div> 
168 </div> 
169 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
170 <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> 
171 <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> 
172 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
173 <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> 
Max diff block lines reached; 15798/128639 bytes (12.28%) of diff not shown.
23.1 KB
html2text {}
    
Offset 7, 737 lines modifiedOffset 7, 37 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 debugalign.hh12 ····*·std
 13 apply.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DEBUGALIGN_HH 
20 ·6#define·DUNE_DEBUGALIGN_HH20 ·5#ifndef·DUNE_COMMON_STD_APPLY_HH
 21 ·6#define·DUNE_COMMON_STD_APPLY_HH
21 ·722 ·7
22 ·8#include·<algorithm> 
23 ·9#include·<cassert> 
24 ·10#include·<cmath> 
25 ·11#include·<complex>23 ·8#include·<tuple>
 24 ·9
26 ·12#include·<cstddef> 
27 ·13#include·<cstdint> 
28 ·14#include·<cstdlib>·//·abs 
29 ·15#include·<functional> 
30 ·16#include·<istream> 
31 ·17#include·<ostream> 
32 ·18#include·<type_traits> 
33 ·19#include·<utility> 
34 ·20 
35 ·21#include·<dune/common/classname.hh> 
36 ·22#include·<dune/common/indices.hh> 
37 ·23#include·<dune/common/simd/base.hh> 
38 ·24#include·<dune/common/simd/defaults.hh> 
39 ·25#include·<dune/common/typetraits.hh> 
40 ·26 
41 ·27namespace·Dune·{25 ·10namespace·Dune
42 ·28 
43 30·using·ViolatedAlignmentHandler·= 
44 ·31·std::function<void(const·char*,·std::size_t,·const·void*)>; 
45 ·32 
46 ·34 
47 ·40·ViolatedAlignmentHandler·&violatedAlignmentHandler(); 
48 ·41 
49 ·43 
50 ·52·void·violatedAlignment(const·char·*className,·std::size_t 
51 expectedAlignment, 
52 ·53·const·void·*address); 
53 ·54 
54 56·inline·bool·isAligned(const·void·*p,·std::size_t·align) 
55 ·57·{ 
56 ·58·//·a·more·portable·way·to·do·this·would·be·to·abuse·std::align(),·but·that 
57 ·59·//·isn't·supported·by·g++-4.9·yet 
58 ·60·return·std::uintptr_t(p)·%·align·==·0; 
59 ·61·} 
60 ·62 
61 ·64·template<std::size_t·align,·class·Impl> 
62 65·class·alignas(align)·AlignedBase 
63 ·66·{ 
64 ·67·void·checkAlignment()·const 
65 ·68·{ 
66 ·69·auto·pimpl·=·static_cast<const·Impl*>(this); 
67 ·70·if(!isAligned(pimpl,·align)) 
68 ·71·violatedAlignment(className<Impl>().c_str(),·align,·pimpl); 
69 ·72·} 
70 ·73·public: 
71 74·AlignedBase()·{·checkAlignment();·} 
72 75·AlignedBase(const·AlignedBase·&)·{·checkAlignment();·} 
73 76·AlignedBase(AlignedBase·&&)·{·checkAlignment();·} 
74 77·~AlignedBase()·{·checkAlignment();·} 
75 ·78 
76 79·AlignedBase&·operator=(const·AlignedBase·&)·=·default; 
77 80·AlignedBase&·operator=(AlignedBase·&&)·=·default; 
78 ·81·}; 
79 ·82 
80 84·static·constexpr·auto·debugAlignment·=·2*alignof(std::max_align_t); 
81 ·85 
82 86·namespace·AlignedNumberImpl·{ 
83 ·87 
84 ·88·template<class·T,·std::size_t·align·=·debugAlignment> 
85 ·89·class·AlignedNumber; 
86 ·90 
87 ·91·}·//·namespace·AlignedNumberImpl 
88 ·92 
89 ·93·using·AlignedNumberImpl::AlignedNumber; 
90 ·94 
91 ·95·template<class·T,·std::size_t·align> 
92 96·struct·IsNumber<AlignedNumberImpl::AlignedNumber<T,align>> 
93 ·97·:·public·std::true_type·{}; 
94 ·98 
95 ·100·template<std::size_t·align·=·debugAlignment,·class·T> 
96 101·AlignedNumber<T,_align>·aligned(T·value)·{·return·{·std::move(value)·};·} 
97 ·102 
98 ·103·//·The·purpose·of·this·namespace·is·to·move·the·`<cmath>`·function 
99 overloads 
100 ·104·//·out·of·namespace·`Dune`.·This·avoids·problems·where·people·called 
101 ·105·//·e.g.·`sqrt(1.0)`·inside·the·`Dune`·namespace,·without·first·doing 
102 `using 
103 ·106·//·std::sqrt;`.·Without·any·`Dune::sqrt()`,·such·a·use·will·find 
104 ·107·//·`::sqrt()`,·but·with·`Dune::sqrt()`·it·will·find·only·`Dune::sqrt()`, 
105 ·108·//·which·does·not·have·an·overload·for·`double`. 
106 ·109·namespace·AlignedNumberImpl·{ 
107 ·110 
108 ·112·template<class·T,·std::size_t·align> 
109 113·class·AlignedNumber 
110 ·114·:·public·AlignedBase<align,·AlignedNumber<T,·align>·> 
111 ·115·{26 ·11{
 27 12·namespace·Std
112 ·116·T·value_; 
113 ·117 
114 ·118·public: 
115 119·AlignedNumber()·=·default; 
116 120·AlignedNumber(T·value)·:·value_(std::move(value))·{} 
117 ·121·template<class·U,·std::size_t·uAlign, 
118 ·122·class·=·std::enable_if_t<(align·>=·uAlign)·&& 
119 ·123·std::is_convertible<U,·T>::value>·> 
120 124·AlignedNumber(const·AlignedNumber<U,_uAlign>·&o)·:·value_(U(o))·{} 
121 ·125 
122 ·126·//·accessors 
123 ·127·template<class·U, 
124 ·128·class·=·std::enable_if_t<std::is_convertible<T,·U>::value>·> 
125 129·explicit·operator·U()·const·{·return·value_;·} 
126 ·130 
127 131·const·T·&value()·const·{·return·value_;·} 
Max diff block lines reached; 5650/23614 bytes (23.93%) of diff not shown.
21.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 46 lines modifiedOffset 65, 102 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#typedef-members">Typedefs</a>·&#124;
 79 <a·href="#var-members">Variables</a>··</div>
78 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div>
79 </div><!--header-->81 </div><!--header-->
80 <div·class="contents">82 <div·class="contents">
  
81 <p>helper·classes·to·provide·unique·types·for·standard·functions·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
84 </div>86 </div>
85 <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">88 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
88 Classes</h2></td></tr>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="a02868.html">Dune::Std::nonesuch</a></td></tr>
 92 <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>
 93 <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="a01312.html">Dune::Min&lt;·Type·&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="a02872.html">Dune::Std::conjunction&lt;·B·&gt;</a></td></tr>
 95 <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>
 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="a02876.html">Dune::Std::disjunction&lt;·B·&gt;</a></td></tr>
 98 <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>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <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="a01316.html">Dune::Max&lt;·Type·&gt;</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="a02880.html">Dune::Std::negation&lt;·B·&gt;</a></td></tr>
 101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·negation·of·the·type·traits·B...··<a·href="a02880.html#details">More...</a><br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
94 <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>
95 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>107 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
98 <tr·class="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:a00450"·id="r_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>
 110 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<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="typedef-members"·name="typedef-members"></a>
 114 Typedefs</h2></td></tr>
 115 <tr·class="memitem:gadb4713b99082ef169f74666e0ec7a46e"·id="r_gadb4713b99082ef169f74666e0ec7a46e"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 116 <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>
 117 <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.··<br·/></td></tr>
 118 <tr·class="separator:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:gaccaa5104ef0c27be164435f42ef81fd5"·id="r_gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 120 <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·<a·class="el"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>&lt;·<a·class="el"·href="a02868.html">nonesuch</a>,·Op,·Args...·&gt;::value_t</td></tr>
 121 <tr·class="memdesc:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid.··<br·/></td></tr>
 122 <tr·class="separator:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:ga67b8ffda29f365419403a66e49ec0ffe"·id="r_ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 124 <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·<a·class="el"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>&lt;·<a·class="el"·href="a02868.html">nonesuch</a>,·Op,·Args...·&gt;::type</td></tr>
 125 <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.··<br·/></td></tr>
 126 <tr·class="separator:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:ga2f49a21b2f60f94fa8911db7e32c9703"·id="r_ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 128 <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·<a·class="el"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>&lt;·Default,·Op,·Args...·&gt;::type</td></tr>
 129 <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>.··<br·/></td></tr>
 130 <tr·class="separator:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:ga6778de5ea60a45fdae6db8b6d8c8b6f7"·id="r_ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·Expected·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 132 <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,·<a·class="el"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">detected_t</a>&lt;·Op,·Args...·&gt;·&gt;</td></tr>
 133 <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.··<br·/></td></tr>
 134 <tr·class="separator:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:gaf26ed902d20da735bae252683a9ac5ce"·id="r_gaf26ed902d20da735bae252683a9ac5ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Target·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 136 <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,·<a·class="el"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">detected_t</a>&lt;·Op,·Args...·&gt;·&gt;</td></tr>
 137 <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.··<br·/></td></tr>
 138 <tr·class="separator:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:a32c28ddaa6975891910d73c3580ed0c1"·id="r_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>
 140 <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>·=·<a·class="el"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">Std::detected_or_t</a>&lt;·decltype(detail::warningIfNotDefined&lt;·<a·class="el"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">Std::detected_t</a>&lt;·Fallback,·Args...·&gt;·&gt;(std::declval&lt;·const·<a·class="el"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">Std::detected_t</a>&lt;·TargetType,·Args...·&gt;·*·&gt;())),·TargetType,·Args...·&gt;</td></tr>
 141 <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.··<br·/></td></tr>
 142 <tr·class="separator:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 </table><table·class="memberdecls">
 144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 145 Variables</h2></td></tr>
 146 <tr·class="memitem:ga9f0b8af5e80b339c8346a327f28bab33"·id="r_ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 147 <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>·=·<a·class="el"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">is_detected</a>&lt;Op,Args...&gt;::value</td></tr>
 148 <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.··<br·/></td></tr>
 149 <tr·class="separator:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:ga043d312181849f21d950de3f7198bac6"·id="r_ga043d312181849f21d950de3f7198bac6"><td·class="memTemplParams"·colspan="2">template&lt;typename·Expected·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 151 <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>·=·<a·class="el"·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">is_detected_exact</a>&lt;Expected,Op,Args...&gt;::value</td></tr>
 152 <tr·class="memdesc:ga043d312181849f21d950de3f7198bac6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·the·result·value·of·is_detected_exact.··<br·/></td></tr>
 153 <tr·class="separator:ga043d312181849f21d950de3f7198bac6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ga044daf77dd81fbaeb71a7ce6d15bf761"·id="r_ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memTemplParams"·colspan="2">template&lt;typename·Target·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 155 <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>·=·<a·class="el"·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">is_detected_convertible</a>&lt;Target,Op,Args...&gt;::value</td></tr>
 156 <tr·class="memdesc:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·the·result·value·of·is_detected_convertible.··<br·/></td></tr>
 157 <tr·class="separator:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table>158 </table>
100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
101 <div·class="textblock"><p>helper·classes·to·provide·unique·types·for·standard·functions·</p> 
102 </div></div><!--·contents·-->159 </div><!--·contents·-->
103 <!--·start·footer·part·-->160 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>161 <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.8162 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
106 </small></address>163 </small></address>
107 </body>164 </body>
108 </html>165 </html>
4.17 KB
html2text {}
    
Offset 6, 26 lines modifiedOffset 6, 99 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces 
13 binaryfunctions.hh·File·Reference 
14 helper·classes·to·provide·unique·types·for·standard·functions·More... 
15 #include·<algorithm>12 ····*·std
 13 Classes·|·Namespaces·|·Typedefs·|·Variables
 14 type_traits.hh·File·Reference
 15 #include·<type_traits>
 16 #include·<dune/common/typetraits.hh>
 17 #include·<dune/common/typeutilities.hh>
16 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
17 ·Classes19 ·Classes
18 struct· Dune::Min<_Type_>20 struct· Dune::Std::nonesuch
 21  ·······Type·representing·a·lookup·failure·by·std::detected_or·and·friends.
 22 ·········More...
19  23  
20 struct· Dune::Max<_Type_>24 struct· Dune::Std::conjunction<_B_>
 25  ·······forms·the·logical·conjunction·of·the·type·traits·B...·More...
 26  
 27 struct· Dune::Std::disjunction<_B_>
 28  ·······forms·the·logical·disjunction·of·the·type·traits·B...·More...
 29  
 30 struct· Dune::Std::negation<_B_>
 31  ·······forms·the·logical·negation·of·the·type·traits·B...·More...
21  32  
22 ·Namespaces33 ·Namespaces
23 namespace· Dune34 namespace· Dune
24  ··········Dune·namespace.35  ··········Dune·namespace.
25  36  
26 *****·Detailed·Description·***** 
27 helper·classes·to·provide·unique·types·for·standard·functions37 namespace· Dune::Std
 38  ··········Namespace·for·features·backported·from·new·C++·standards.
 39  
 40 ·Typedefs
 41 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args>
 42 using Dune::Std::detected_or·=·Impl::detector<·Default,·void,·Op,·Args...·>
 43  ·····Detects·whether·Op<Args...>·is·valid·and·makes·the·result·available.
 44  
 45 template<template<·typename...·>·class·Op,·typename...·Args>
 46 using Dune::Std::is_detected·=·typename·detected_or<·nonesuch,·Op,·Args...·>::
 47 ·······value_t
 48  ·····Detects·whether·Op<Args...>·is·valid.
 49  
 50 template<template<·typename...·>·class·Op,·typename...·Args>
 51 using Dune::Std::detected_t·=·typename·detected_or<·nonesuch,·Op,·Args...·>::
 52 ·······type
 53  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·nonesuch.
 54  
 55 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args>
 56 using Dune::Std::detected_or_t·=·typename·detected_or<·Default,·Op,·Args...
 57 ·······>::type
 58  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·the·fallback
 59 ·······type·Default.
 60  
 61 template<typename·Expected·,·template<·typename...·>·class·Op,·typename...
 62 Args>
 63 using Dune::Std::is_detected_exact·=·std::is_same<·Expected,·detected_t<·Op,
 64 ·······Args...·>·>
 65  ·····Checks·whether·Op<Args...>·is·Expected·without·causing·an·error·if
 66 ·······Op<Args...>·is·invalid.
 67  
 68 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args>
 69 using Dune::Std::is_detected_convertible·=·std::is_convertible<·Target,
 70 ·······detected_t<·Op,·Args...·>·>
 71  ·····Checks·whether·Op<Args...>·is·convertible·to·Target·without·causing·an
 72 ·······error·if·Op<Args...>·is·invalid.
 73  
 74 template<template<·typename...·>·class·Fallback,·template<·typename...·>·class
 75 TargetType,·typename...·Args>
 76 using Dune::detected_or_fallback_t·=·Std::detected_or_t<·decltype(detail::
 77 ·······warningIfNotDefined<·Std::detected_t<·Fallback,·Args...·>·>(std::
 78 ·······declval<·const·Std::detected_t<·TargetType,·Args...·>·*·>())),
 79 ·······TargetType,·Args...·>
 80  ·····This·type·will·be·either·TargetType<Args...>·if·it·exists,·or·the
 81 ·······Fallback<Args...>·type.
 82  
 83 ·Variables
 84 template<template<·typename...·>·class·Op,·typename...·Args>
 85 constexpr·bool Dune::Std::is_detected_v·=·is_detected<Op,Args...>::value
 86  ··············Detects·whether·Op<Args...>·is·valid·and·makes·the·result
 87 ················available·as·a·value.
 88  
 89 template<typename·Expected·,·template<·typename...·>·class·Op,·typename...
 90 Args>
 91 constexpr·bool Dune::Std::is_detected_exact_v·=
 92 ················is_detected_exact<Expected,Op,Args...>::value
 93  ··············Convenient·access·to·the·result·value·of·is_detected_exact.
 94  
 95 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args>
 96 constexpr·bool Dune::Std::is_detected_convertible_v·=
 97 ················is_detected_convertible<Target,Op,Args...>::value
 98  ··············Convenient·access·to·the·result·value·of
 99 ················is_detected_convertible.
 100  
  
28 ===============================================================================101 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.8102 ·····Generated·by [doxygen]·1.9.8
61.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·binaryfunctions.hh·Source·File</title>8 <title>dune-common:·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 70, 85 lines modifiedOffset 70, 223 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh</div></div>80 ··<div·class="headertitle"><div·class="title">type_traits.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BINARYFUNCTIONS_HH</span></div>87 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BINARYFUNCTIONS_HH</span></div>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/typeutilities.hh</a>&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
92 <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>94 <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>
 95 <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>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
94 <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> 
95 <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="};"> 
96 <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>98 <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>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div>
97 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
98 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">···19</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">first_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
99 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>101 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
100 <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> 
101 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
102 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">···23</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">result_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
103 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
104 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> 
105 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">···25</a></span>····Type·<a·class="code·hl_function"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">operator()</a>(<span·class="keyword">const</span>·Type&amp;·t1,·<span·class="keyword">const</span>·Type&amp;·t2)<span·class="keyword">·const</span></div> 
106 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">····</span>{</div>102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Std</div>
107 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keyword">using·</span>std::min;</div> 
108 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······<span·class="keywordflow">return</span>·min(t1,t2);</div> 
109 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····}</div> 
110 </div> 
111 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div>103 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>
112 </div> 
113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>104 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
114 <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> 
115 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> 
116 <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> 
117 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>105 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">using·</span>std::bool_constant;</div>
118 <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> 
119 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>106 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
120 <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_arg[·...·truncated·by·diffoscope;·len:·155,·SHA:·23eb1685c4a617a044e694a5f35714b290492804459f91418f86943cd92895dc·...·]</div>107 <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>
121 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>108 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
122 <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> 
123 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
124 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> 
125 <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">c[·...·truncated·by·diffoscope;·len:·109,·SHA:·da7467954b3e69abe6022d5c3153dda591f587976b7fc5e7fe2b24bf99e9f426·...·]</div>109 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">using·</span>std::experimental::nonesuch;</div>
 110 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>std::experimental::detected_or;</div>
 111 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span>std::experimental::is_detected;</div>
 112 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>std::experimental::detected_t;</div>
126 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">····</span>{</div>113 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>std::experimental::is_detected_v;</div>
127 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">using·</span>std::max;</div>114 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>std::experimental::detected_or_t;</div>
128 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······<span·class="keywordflow">return</span>·max(t1,t2);</div>115 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span>std::experimental::is_detected_exact;</div>
 116 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>std::experimental::is_detected_exact_v;</div>
 117 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>std::experimental::is_detected_convertible;</div>
 118 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>std::experimental::is_detected_convertible_v;</div>
129 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····}</div> 
130 </div> 
131 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div> 
132 </div> 
133 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}</div> 
134 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>119 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 120 <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>
 121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 122 <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>
 123 <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>
 124 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
135 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif</span></div>125 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 126 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 127 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">namespace·</span>Impl·{</div>
 128 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 129 <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>
 130 <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>
 131 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">struct·</span>detector</div>
 132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····{</div>
 133 <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>
 134 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">using·</span>type·=·Default;</div>
 135 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····};</div>
 136 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 137 <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>
 138 <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>
 139 <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>
 140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div>
 141 <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>
 142 <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>
 143 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····};</div>
 144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 145 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div>
 146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 147 <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>
 148 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 150 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="};">
 151 <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>
 152 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div>
 153 <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>
Max diff block lines reached; 5792/51213 bytes (11.31%) of diff not shown.
11.0 KB
html2text {}
    
Offset 7, 95 lines modifiedOffset 7, 284 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 binaryfunctions.hh12 ····*·std
 13 type_traits.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_BINARYFUNCTIONS_HH 
20 ·6#define·DUNE_BINARYFUNCTIONS_HH20 ·5#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH
 21 ·6#define·DUNE_COMMON_STD_TYPE_TRAITS_HH
21 ·722 ·7
22 ·12#include·<algorithm> 
23 ·1323 ·8#include·<type_traits>
 24 ·9#include·<dune/common/typetraits.hh>
 25 ·10#include·<dune/common/typeutilities.hh>
 26 ·11
 27 ·12#if·__has_include(<experimental/type_traits>)
 28 ·13#include·<experimental/type_traits>
 29 ·14#endif
 30 ·15
24 ·14namespace·Dune31 ·16namespace·Dune
25 ·15{32 ·17{
26 ·16·template<typename·Type> 
27 17·struct·Min 
28 ·18·{33 ·18
29 19·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated 
30 following·similar·deprecations·in·C++17")]]·=·Type; 
31 ·2034 ·20
 35 ·29namespace·Std
 36 ·30{
32 21·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated 
33 following·similar·deprecations·in·C++17")]]·=·Type; 
34 ·22 
35 23·using·result_type·[[deprecated("This·type·alias·is·deprecated·following 
36 similar·deprecations·in·C++17")]]·=·Type; 
37 ·24 
38 25·Type·operator()(const·Type&·t1,·const·Type&·t2)·const 
39 ·26·{ 
40 ·27·using·std::min; 
41 ·28·return·min(t1,t2); 
42 ·29·} 
43 ·30·}; 
44 ·3137 ·31
 38 ·34·using·std::bool_constant;
 39 ·35
 40 ·36#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED
 41 ·37
 42 ·38·using·std::experimental::nonesuch;
 43 ·39·using·std::experimental::detected_or;
 44 ·40·using·std::experimental::is_detected;
 45 ·41·using·std::experimental::detected_t;
 46 ·42·using·std::experimental::is_detected_v;
 47 ·43·using·std::experimental::detected_or_t;
 48 ·44·using·std::experimental::is_detected_exact;
 49 ·45·using·std::experimental::is_detected_exact_v;
 50 ·46·using·std::experimental::is_detected_convertible;
 51 ·47·using·std::experimental::is_detected_convertible_v;
45 ·32·template<typename·Type> 
46 33·struct·Max 
47 ·34·{ 
48 35·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated 
49 following·similar·deprecations·in·C++17")]]·=·Type; 
50 ·36 
51 37·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated 
52 following·similar·deprecations·in·C++17")]]·=·Type; 
53 ·38 
54 39·using·result_type·[[deprecated("This·type·alias·is·deprecated·following 
55 similar·deprecations·in·C++17")]]·=·Type; 
56 ·40 
57 41·Type·operator()(const·Type&·t1,·const·Type&·t2)·const 
58 ·42·{ 
59 ·43·using·std::max; 
60 ·44·return·max(t1,t2); 
61 ·45·} 
62 ·46·}; 
63 ·47} 
64 ·4852 ·48
65 ·49#endif53 ·49#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED
 54 ·50
 55 ·51·//·fallback·version·of·std::experimental::is_detected·et·al.,·heavily
 56 scribbled
 57 ·52·//·from·cppreference.com·(but·there·is·actually·not·much·implementation·to
 58 the·thing)
 59 ·53
 60 ·54#ifndef·DOXYGEN
 61 ·55
 62 ·56·namespace·Impl·{
 63 ·57
 64 ·58·//·default·version·of·detector,·this·gets·matched·on·failure
 65 ·59·template<typename·Default,·typename·Void,·template<typename...>·class·Op,
 66 typename...·Args>
 67 ·60·struct·detector
 68 ·61·{
 69 ·62·using·value_t·=·std::false_type;
 70 ·63·using·type·=·Default;
 71 ·64·};
 72 ·65
 73 ·66·//·specialization·of·detector·that·matches·if·Op<Args...>·can·be
 74 instantiated
 75 ·67·template<typename·Default,·template<typename...>·class·Op,·typename...
 76 Args>
 77 ·68·struct·detector<Default,·std::void_t<Op<Args...>>,·Op,·Args...>
 78 ·69·{
 79 ·70·using·value_t·=·std::true_type;
 80 ·71·using·type·=·Op<Args...>;
 81 ·72·};
 82 ·73
 83 ·74·}
 84 ·75
 85 ·76#endif·//·DOXYGEN
 86 ·77
 87 ·79
 88 87·struct·nonesuch
 89 ·88·{
 90 89·nonesuch()·=·delete;
 91 90·~nonesuch()·=·delete;
 92 91·nonesuch(const·nonesuch&)·=·delete;
 93 92·void·operator=(const·nonesuch&)·=·delete;
 94 ·93·};
Max diff block lines reached; 2055/11245 bytes (18.27%) of diff not shown.
11.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 57 lines modifiedOffset 72, 40 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Utilities·for·handling·filesystem·paths.··82 <p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
85 <code>#include·&lt;iterator&gt;</code><br·/> 
86 <code>#include·&lt;string&gt;</code><br·/>85 <code>#include·&lt;utility&gt;</code><br·/>
 86 </div>
 87 <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00161_source.html">dune/common/stringutility.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/path.hh</a>&gt;</code><br·/> 
90 </div><table·class="memberdecls">88 <table·class="memberdecls">
91 <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>
92 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
98 Functions</h2></td></tr>96 Functions</h2></td></tr>
 97 <tr·class="memitem:gab204e4c1df410966214b242af99406a1"·id="r_gab204e4c1df410966214b242af99406a1"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 98 <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>
 99 <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).··<br·/></td></tr>
99 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"·id="r_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> 
100 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<br·/></td></tr> 
101 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"·id="r_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> 
103 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<br·/></td></tr> 
104 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"·id="r_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> 
106 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<br·/></td></tr> 
107 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"·id="r_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> 
109 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr> 
110 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"·id="r_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> 
112 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr> 
113 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:gab204e4c1df410966214b242af99406a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"·id="r_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> 
115 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<br·/></td></tr> 
116 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 </table>101 </table>
118 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 103 <div·class="textblock"><p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</p>
119 <div·class="textblock"><p>Utilities·for·handling·filesystem·paths.·</p> 
120 <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> 
121 </div></div><!--·contents·-->104 </div></div><!--·contents·-->
122 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>106 <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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>108 </small></address>
126 </body>109 </body>
127 </html>110 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
1.99 KB
html2text {}
    
Offset 7, 47 lines modifiedOffset 7, 29 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions12 Namespaces·|·Functions
 13 proxymemberaccess.hh·File·Reference
 14 Common·»·Utilities·»·C++_utilities_and_backports
 15 infrastructure·for·supporting·operator->()·on·both·references·and·proxies
 16 More...
 17 #include·<type_traits>
 18 #include·<utility>
 19 Go_to_the_source_code_of_this_file.
13 path.cc·File·Reference 
14 Common·»·Utilities·»·Filesystem_Paths 
15 Utilities·for·handling·filesystem·paths.·More... 
16 #include·<algorithm> 
17 #include·<iterator> 
18 #include·<string> 
19 #include·<dune/common/exceptions.hh> 
20 #include·<dune/common/stringutility.hh> 
21 #include·<dune/common/path.hh> 
22 ·Namespaces20 ·Namespaces
23 namespace· Dune21 namespace· Dune
24  ··········Dune·namespace.22  ··········Dune·namespace.
25  23  
26 ·Functions24 ·Functions
 25 template<typename·T·>
 26 pointer_or_proxy_holder Dune::handle_proxy_member_access·(T·&&t)
 27  ·······················Transparent·support·for·providing·member·access·to
 28 ·························both·lvalues·and·rvalues·(temporary·proxies).
27 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p) 
28  ···········concatenate·two·paths 
29   
30 std::string Dune::processPath·(const·std::string·&p) 
31  ···········sanitize·a·path·for·further·processing 
32   
33 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p) 
34  ···········check·whether·the·given·path·indicates·that·it·is·a·directory 
35   
36 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory) 
37  ···········pretty·print·path 
38   
39 std::string Dune::prettyPath·(const·std::string·&p) 
40  ···········pretty·print·path 
41   
42 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string 
43 ·············&p) 
44  ···········compute·a·relative·path·between·two·paths 
45  29  
46 *****·Detailed·Description·*****30 *****·Detailed·Description·*****
 31 infrastructure·for·supporting·operator->()·on·both·references·and·proxies
47 Utilities·for·handling·filesystem·paths. 
48 ··Author 
49 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de 
  
50 ===============================================================================32 ===============================================================================
51 ·····Generated·by [doxygen]·1.9.833 ·····Generated·by [doxygen]·1.9.8
7.94 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 58 lines modifiedOffset 69, 28 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#namespaces">Namespaces</a>·&#124; 
77 <a·href="#func-members">Functions</a>··</div> 
78 ··<div·class="headertitle"><div·class="title">stringutility.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">parametertreeparser.cc·File·Reference</div></div>
79 </div><!--header-->76 </div><!--header-->
80 <div·class="contents">77 <div·class="contents">
 78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00245_source.html">parametertreeparser.hh</a>&quot;</code><br·/>
  
81 <p>Miscellaneous·helper·stuff.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/> 
84 <code>#include·&lt;cstring&gt;</code><br·/> 
85 <code>#include·&lt;algorithm&gt;</code><br·/> 
86 <code>#include·&lt;cassert&gt;</code><br·/> 
87 <code>#include·&lt;cstdio&gt;</code><br·/>79 <code>#include·&lt;cstdlib&gt;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
88 <code>#include·&lt;memory&gt;</code><br·/>81 <code>#include·&lt;ostream&gt;</code><br·/>
89 <code>#include·&lt;string&gt;</code><br·/>82 <code>#include·&lt;string&gt;</code><br·/>
 83 <code>#include·&lt;sstream&gt;</code><br·/>
 84 <code>#include·&lt;fstream&gt;</code><br·/>
90 <code>#include·&lt;new&gt;</code><br·/>85 <code>#include·&lt;set&gt;</code><br·/>
 86 <code>#include·&lt;map&gt;</code><br·/>
 87 <code>#include·&lt;algorithm&gt;</code><br·/>
91 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
92 </div> 
93 <p><a·href="a00161_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="namespaces"·name="namespaces"></a> 
96 Namespaces</h2></td></tr> 
97 <tr·class="memitem:a00425"·id="r_a00425"><td·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:gaf31028edab397ce01e0192a2823488f7"·id="r_gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr> 
104 <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> 
105 <tr·class="memdesc:gaf31028edab397ce01e0192a2823488f7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·prefix.··<br·/></td></tr> 
106 <tr·class="separator:gaf31028edab397ce01e0192a2823488f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"·id="r_ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr> 
108 <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> 
109 <tr·class="memdesc:ga560ea1a14403e04148126a2e9396dea2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·suffix.··<br·/></td></tr> 
110 <tr·class="separator:ga560ea1a14403e04148126a2e9396dea2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"·id="r_gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
112 <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> 
113 <tr·class="memdesc:gab825672ce0273462cb092bba70f39d0b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Format·values·according·to·printf·format·string.··<br·/></td></tr> 
114 <tr·class="separator:gab825672ce0273462cb092bba70f39d0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 </table> 
116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
117 <div·class="textblock"><p>Miscellaneous·helper·stuff.·</p> 
118 </div></div><!--·contents·-->89 </div></div><!--·contents·-->
119 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>91 <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.892 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>93 </small></address>
123 </body>94 </body>
124 </html>95 </html>
1.44 KB
html2text {}
    
Offset 6, 43 lines modifiedOffset 6, 22 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 parametertreeparser.cc·File·Reference
 13 #include·"parametertreeparser.hh"
12 Namespaces·|·Functions 
13 stringutility.hh·File·Reference 
14 Miscellaneous·helper·stuff.·More... 
15 #include·<cstddef> 
16 #include·<cstring> 
17 #include·<algorithm> 
18 #include·<cassert> 
19 #include·<cstdio>14 #include·<cstdlib>
20 #include·<memory>15 #include·<iostream>
 16 #include·<ostream>
21 #include·<string>17 #include·<string>
 18 #include·<sstream>
 19 #include·<fstream>
22 #include·<new>20 #include·<set>
 21 #include·<map>
 22 #include·<algorithm>
23 #include·<dune/common/exceptions.hh>23 #include·<dune/common/exceptions.hh>
24 Go_to_the_source_code_of_this_file. 
25 ·Namespaces 
26 namespace· Dune 
27  ··········Dune·namespace. 
28   
29 ·Functions 
30 template<typename·C·> 
31 ··············bool Dune::hasPrefix·(const·C·&c,·const·char·*prefix) 
32  ··················Check·whether·a·character·container·has·a·given·prefix. 
33   
34 template<typename·C·> 
35 ··············bool Dune::hasSuffix·(const·C·&c,·const·char·*suffix) 
36  ··················Check·whether·a·character·container·has·a·given·suffix. 
37   
38 template<class...·T> 
39 static·std::string Dune::formatString·(const·std::string·&s,·const·T·&... 
40 ····················args) 
41  ··················Format·values·according·to·printf·format·string. 
42   
43 *****·Detailed·Description·***** 
44 Miscellaneous·helper·stuff. 
  
45 ===============================================================================24 ===============================================================================
46 ·····Generated·by [doxygen]·1.9.825 ·····Generated·by [doxygen]·1.9.8
7.76 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 27 lines modifiedOffset 71, 69 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#define-members">Macros</a>··</div>77 <a·href="#define-members">Macros</a>··</div>
78 ··<div·class="headertitle"><div·class="title">assertandreturn.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">visibility.hh·File·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
81 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/> 
82 </div> 
 81 <p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.··
 82 <a·href="#details">More...</a></p>
  
83 <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00164_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="define-members"·name="define-members"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
86 Macros</h2></td></tr>86 Macros</h2></td></tr>
87 <tr·class="memitem:ga902aaece2c20a75cbf6daad4957ba069"·id="r_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> 
88 <tr·class="memdesc:ga902aaece2c20a75cbf6daad4957ba069"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Asserts·a·condition·and·return·on·success·in·constexpr·context.··<br·/></td></tr>87 <tr·class="memitem:a392e8fb5628732502467b715b88974b4"·id="r_a392e8fb5628732502467b715b88974b4"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4[·...·truncated·by·diffoscope;·len:·57,·SHA:·42222bbba9a5b0354070450e1357a49c2c7af2627aee4d5c1efb33016395bf8f·...·]</td></tr>
 88 <tr·class="memdesc:a392e8fb5628732502467b715b88974b4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·a·symbol·as·part·of·the·public·ABI.··<br·/></td></tr>
 89 <tr·class="separator:a392e8fb5628732502467b715b88974b4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:ab9e9adaae1a11e7546a1b712495d1f42"·id="r_ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html#ab9e9adaae1a11e7546a1b712495d1f42">DUNE_PRIVATE</a>&#160;&#160;&#160;implementation_defined</td></tr>
 91 <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.··<br·/></td></tr>
89 <tr·class="separator:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>93 </table>
 94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 95 <div·class="textblock"><p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·</p>
 96 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 97 <a·id="a392e8fb5628732502467b715b88974b4"·name="a392e8fb5628732502467b715b88974b4"></a>
 98 <h2·class="memtitle"><span·class="permalink"><a·href="#a392e8fb5628732502467b715b88974b4">&#9670;&#160;</a></span>DUNE_EXPORT</h2>
  
 99 <div·class="memitem">
 100 <div·class="memproto">
 101 ······<table·class="memname">
 102 ········<tr>
 103 ··········<td·class="memname">#define·DUNE_EXPORT&#160;&#160;&#160;implementation_defined</td>
 104 ········</tr>
 105 ······</table>
 106 </div><div·class="memdoc">
  
 107 <p>Export·a·symbol·as·part·of·the·public·ABI.·</p>
 108 <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>
  
 109 </div>
 110 </div>
 111 <a·id="ab9e9adaae1a11e7546a1b712495d1f42"·name="ab9e9adaae1a11e7546a1b712495d1f42"></a>
 112 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e9adaae1a11e7546a1b712495d1f42">&#9670;&#160;</a></span>DUNE_PRIVATE</h2>
  
 113 <div·class="memitem">
 114 <div·class="memproto">
 115 ······<table·class="memname">
 116 ········<tr>
 117 ··········<td·class="memname">#define·DUNE_PRIVATE&#160;&#160;&#160;implementation_defined</td>
 118 ········</tr>
 119 ······</table>
 120 </div><div·class="memdoc">
  
 121 <p>Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.·</p>
 122 <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>
  
 123 </div>
 124 </div>
91 </div><!--·contents·-->125 </div><!--·contents·-->
92 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>127 <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.8128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
95 </small></address>129 </small></address>
96 </body>130 </body>
97 </html>131 </html>
1.67 KB
html2text {}
    
Offset 7, 18 lines modifiedOffset 7, 36 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros12 Macros
13 assertandreturn.hh·File·Reference 
14 #include·<cassert>13 visibility.hh·File·Reference
 14 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·More...
15 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
16 ·Macros16 ·Macros
 17 #define DUNE_EXPORT   implementation_defined
 18  ·······Export·a·symbol·as·part·of·the·public·ABI.
17 #define DUNE_ASSERT_AND_RETURN(C,·X)   (!(C)·?·throw·[&](){assert(!#C);return·0;}()·: 
18 ·········0),·X 
19  ·······Asserts·a·condition·and·return·on·success·in·constexpr·context. 
20  19  
 20 #define DUNE_PRIVATE   implementation_defined
 21  ·······Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.
 22  
 23 *****·Detailed·Description·*****
 24 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.
 25 *****·Macro·Definition·Documentation·*****
 26 *****·◆ DUNE_EXPORT·*****
 27 #define·DUNE_EXPORT   implementation_defined
 28 Export·a·symbol·as·part·of·the·public·ABI.
 29 Mark·a·class,·function·or·static·variable·as·visible·outside·the·current·DSO.
 30 For·now,·this·is·mostly·important·for·templated·global·variables·and·functions
 31 that·contain·static·variables.
 32 *****·◆ DUNE_PRIVATE·*****
 33 #define·DUNE_PRIVATE   implementation_defined
 34 Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.
 35 Mark·a·class,·function·or·static·variable·as·inaccessible·from·outside·the
 36 current·DSO.·Doing·so·will·decrease·the·size·of·the·symbol·table,·but·you·have
 37 to·be·sure·that·the·symbol·will·never·have·to·be·accessed·from·another·library
 38 or·the·main·executable!
  
21 ===============================================================================39 ===============================================================================
22 ·····Generated·by [doxygen]·1.9.840 ·····Generated·by [doxygen]·1.9.8
10.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00164_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 36 lines modifiedOffset 74, 48 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">assertandreturn.hh</div></div>80 ··<div·class="headertitle"><div·class="title">visibility.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00164.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00164.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VISIBILITY_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_VISIBILITY_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
92 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
93 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifdef·NDEBUG</span></div> 
94 <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> 
95 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#else</span></div> 
96 <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> 
97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div> 
98 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
99 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>92 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 93 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00164.html#a392e8fb5628732502467b715b88974b4">···20</a></span><span·class="preprocessor">#define·DUNE_EXPORT·implementation_defined</span></div>
100 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>94 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 95 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 96 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00164.html#ab9e9adaae1a11e7546a1b712495d1f42">···28</a></span><span·class="preprocessor">#define·DUNE_PRIVATE·implementation_defined</span></div>
 97 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 98 <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>
 99 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 100 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#if·__GNUC__·&gt;=·4</span></div>
 101 <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>
 102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·attribute</span></div>
 103 <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>
 104 <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>
 105 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#else</span></div>
 106 <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>
 107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#define·DUNE_EXPORT</span></div>
 108 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#define·DUNE_PRIVATE</span></div>
 109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div>
 110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 111 <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>
 112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
101 <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>113 <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>
102 </div><!--·fragment·--></div><!--·contents·-->114 </div><!--·fragment·--></div><!--·contents·-->
103 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>116 <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.8117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
106 </small></address>118 </small></address>
107 </body>119 </body>
108 </html>120 </html>
1.62 KB
html2text {}
    
Offset 7, 33 lines modifiedOffset 7, 46 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 assertandreturn.hh12 visibility.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH 
20 ·6#define·DUNE_COMMON_ASSERTANDRETURN_HH19 ·5#ifndef·DUNE_COMMON_VISIBILITY_HH
 20 ·6#define·DUNE_COMMON_VISIBILITY_HH
21 ·721 ·7
22 ·8#include·<cassert>22 ·12#ifdef·DOXYGEN
 23 ·13
 24 ·15
 25 20#define·DUNE_EXPORT·implementation_defined
 26 ·21
 27 ·23
 28 28#define·DUNE_PRIVATE·implementation_defined
23 ·929 ·29
24 ·11 
25 ·19#ifdef·NDEBUG 
26 ·20·#define·DUNE_ASSERT_AND_RETURN(C,X)·X30 ·30#else·//·DOXYGEN
 31 ·31
 32 ·32#if·__GNUC__·>=·4
 33 ·33//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the
 34 visibility
 35 ·34//·attribute
 36 ·35#define·DUNE_EXPORT·__attribute__((visibility("default")))
 37 ·36#define·DUNE_PRIVATE·__attribute__((visibility("hidden")))
27 ·21#else38 ·37#else
28 22·#define·DUNE_ASSERT_AND_RETURN(C,X)·(!(C)·?·throw·[&](){assert(!#C);return 
29 0;}()·:·0),·X39 ·38//·We·don't·know·about·the·active·compiler,·so·just·turn·the·visibility
 40 macros·to·no-ops.
 41 ·39#define·DUNE_EXPORT
 42 ·40#define·DUNE_PRIVATE
30 ·23#endif43 ·41#endif
31 ·24 
32 ·25 
33 ·26 
34 ·27#endif·//·DUNE_COMMON_ASSERTANDRETURN_HH44 ·42
 45 ·43#endif·//·DOXYGEN
 46 ·44
 47 ·45#endif·//·DUNE_COMMON_VISIBILITY
  
35 ===============================================================================48 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.849 ·····Generated·by [doxygen]·1.9.8
10.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 73 lines modifiedOffset 69, 19 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>·&#124; 
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">enumset.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">quadmath.hh·File·Reference</div></div>
80 </div><!--header-->76 </div><!--header-->
81 <div·class="contents">77 <div·class="contents">
  
82 <p>Classes·for·building·sets·out·of·enumeration·values.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/> 
85 </div> 
86 <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00167_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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01524.html">Dune::EmptySet&lt;·TA·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·empty·set.··<a·href="a01524.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="a01528.html">Dune::AllSet&lt;·TA·&gt;</a></td></tr> 
94 <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> 
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="a01532.html">Dune::EnumItem&lt;·TA,·item·&gt;</a></td></tr> 
97 <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> 
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="a01536.html">Dune::EnumRange&lt;·TA,·from,·end·&gt;</a></td></tr> 
100 <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> 
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="a01540.html">Dune::NegateSet&lt;·S·&gt;</a></td></tr> 
103 <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> 
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="a01544.html">Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</a></td></tr> 
106 <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> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 </table><table·class="memberdecls"> 
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
110 Namespaces</h2></td></tr> 
111 <tr·class="memitem:a00425"·id="r_a00425"><td·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> 
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="func-members"·name="func-members"></a> 
116 Functions</h2></td></tr> 
117 <tr·class="memitem:ga6b888d5c77aa3559f4d8b92e175b4ac7"·id="r_ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·i&gt;·</td></tr> 
118 <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·<a·class="el"·href="a01532.html">EnumItem</a>&lt;·TA,·i·&gt;·&amp;)</td></tr> 
119 <tr·class="separator:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:gabce1ed7f894e6d1d841dd328689c0752"·id="r_gabce1ed7f894e6d1d841dd328689c0752"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·from,·int·to&gt;·</td></tr> 
121 <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·<a·class="el"·href="a01536.html">EnumRange</a>&lt;·TA,·from,·to·&gt;·&amp;)</td></tr> 
122 <tr·class="separator:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"·id="r_gadef896cfc4c6002054c082927fe08385"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·&gt;·</td></tr> 
124 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01544.html">Combine</a>&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> 
125 <tr·class="separator:gadef896cfc4c6002054c082927fe08385"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:ga07c45a5e1b2738eb3034f9186de33058"·id="r_ga07c45a5e1b2738eb3034f9186de33058"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·,·class·T·&gt;·</td></tr> 
127 <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·<a·class="el"·href="a01544.html">Combine</a>&lt;·TI1,·TI2,·T·&gt;·&amp;)</td></tr> 
128 <tr·class="separator:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 </table> 
130 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
131 <div·class="textblock"><p>Classes·for·building·sets·out·of·enumeration·values.·</p> 
132 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
133 </div></div><!--·contents·-->79 </div><!--·contents·-->
134 <!--·start·footer·part·-->80 <!--·start·footer·part·-->
135 <hr·class="footer"/><address·class="footer"><small>81 <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.882 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>83 </small></address>
138 </body>84 </body>
139 </html>85 </html>
1.95 KB
html2text {}
    
Offset 6, 60 lines modifiedOffset 6, 12 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions 
13 enumset.hh·File·Reference12 quadmath.hh·File·Reference
14 Classes·for·building·sets·out·of·enumeration·values.·More... 
15 #include·<iostream> 
16 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
17 ·Classes 
18 class· Dune::EmptySet<_TA_> 
19  ······An·empty·set.·More... 
20   
21 class· Dune::AllSet<_TA_> 
22  ······A·set·containing·everything.·More... 
23   
24 class· Dune::EnumItem<_TA,_item_> 
25  ······A·set·consisting·only·of·one·item.·More... 
26   
27 class· Dune::EnumRange<_TA,_from,_end_> 
28  ······A·set·representing·a·range·including·the·borders.·More... 
29   
30 class· Dune::NegateSet<_S_> 
31  ······The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if 
32 ········it·is·not·contained·in·the·negated·set.·More... 
33   
34 class· Dune::Combine<_TI1,_TI2,_TA_> 
35  ······A·set·combining·two·other·sets.·More... 
36   
37 ·Namespaces 
38 namespace· Dune 
39  ··········Dune·namespace. 
40   
41 ·Functions 
42 template<typename·TA·,·int·i> 
43 ·························std::ostream·& Dune::operator<<·(std::ostream·&os, 
44 ·········································const·EnumItem<·TA,·i·>·&) 
45   
46 template<typename·TA·,·int·from,·int·to> 
47 ·························std::ostream·& Dune::operator<<·(std::ostream·&os, 
48 ·········································const·EnumRange<·TA,·from,·to·>·&) 
49   
50 template<class·TI1·,·class·TI2·> 
51 Combine<·TI1,·TI2,·typename·TI1::Type·> Dune::combine·(const·TI1·&set1,·const 
52 ·········································TI2·&set2) 
53   
54 template<class·TI1·,·class·TI2·,·class·T·> 
55 ·························std::ostream·& Dune::operator<<·(std::ostream·&os, 
56 ·········································const·Combine<·TI1,·TI2,·T·>·&) 
57   
58 *****·Detailed·Description·***** 
59 Classes·for·building·sets·out·of·enumeration·values. 
60 ··Author 
61 ······Markus·Blatt 
  
62 ===============================================================================14 ===============================================================================
63 ·····Generated·by [doxygen]·1.9.815 ·····Generated·by [doxygen]·1.9.8
134 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 190 lines modifiedOffset 74, 490 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">enumset.hh</div></div>80 ··<div·class="headertitle"><div·class="title">quadmath.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ENUMSET_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_QUADMATH_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ENUMSET_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_QUADMATH_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_QUADMATH</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;quadmath.h&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 96 <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>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
92 <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>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
94 <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>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">namespace·</span>Impl</div>
95 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};"> 
96 <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> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
 109 <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">public</span>:</div>110 <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="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> 
100 <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<[·...·truncated·by·diffoscope;·len:·112,·SHA:·b6cd68faab5df84553ef3db96c2f841e78c663eda12ccff71bcab9a47384e117·...·]</div>111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·end·namespace·Impl</span></div>
 113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 114 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">using·</span>Impl::Float128;</div>
 115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 116 <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>
 117 <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>
 118 <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>119 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
102 </div>120 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">using·</span>float128_t·=·__float128;</div>
103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
104 <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>122 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>Float128</div>
105 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> 
106 <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>123 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····{</div>
 124 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······float128_t·value_·=·0.0q;</div>
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>125 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div>126 <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="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> 
110 <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<[·...·truncated·by·diffoscope;·len:·111,·SHA:·ad121ff139c1cb8d2c193457ce4014053cf8be1cb051fa91444727dd1b2f9faf·...·];</div>127 <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>
 128 <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>
 129 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·value_(value)</div>
111 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>130 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······{}</div>
112 </div> 
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>131 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 132 <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>
114 <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>133 <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>
115 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> 
116 <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>134 <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>
 135 <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>
 136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········:·value_(value)</div>
 137 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······{}</div>
 138 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 139 <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>
 140 <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>
 141 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········:·value_(strtoflt128(str,·NULL))</div>
117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>142 <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">public</span>:</div> 
119 <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> 
120 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>143 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
121 <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<[·...·truncated·by·diffoscope;·len:·112,·SHA:·11e36dfd45fc5ad00be53d7ec4abdb58ac08af0ead389b282a375b2692ac0dd4·...·]</div>144 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//·accessors</span></div>
 145 <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>
 146 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 147 <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>
 148 <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>
 149 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 150 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="comment">//·I/O</span></div>
 151 <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>
 152 <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>
 153 <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>
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··};</div>154 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······{</div>
123 </div>155 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········std::string·buf;</div>
 156 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········buf.reserve(128);</div>
 157 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········in·&gt;&gt;·buf;</div>
 158 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········x.value()·=·strtoflt128(buf.c_str(),·NULL);</div>
 159 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·in;</div>
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>160 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······}</div>
125 <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> 
126 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="};"> 
127 <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> 
128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div>161 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 162 <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>
 163 <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>
 164 <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>
 165 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······{</div>
129 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>:</div>166 <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>
 167 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········CharT·buf[128];</div>
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··};</div>168 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
133 </div>169 <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>
Max diff block lines reached; 79930/115058 bytes (69.47%) of diff not shown.
21.9 KB
html2text {}
    
Offset 7, 206 lines modifiedOffset 7, 534 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 enumset.hh12 quadmath.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_ENUMSET_HH19 ·5#ifndef·DUNE_QUADMATH_HH
20 ·6#define·DUNE_ENUMSET_HH20 ·6#define·DUNE_QUADMATH_HH
21 ·721 ·7
 22 ·8#if·HAVE_QUADMATH
 23 ·9#include·<quadmath.h>
 24 ·10
 25 ·11#include·<cmath>
 26 ·12#include·<cstddef>
 27 ·13#include·<cstdint>
 28 ·14#include·<cstdlib>·//·abs
22 ·8#include·<iostream>29 ·15#include·<istream>
 30 ·16#include·<ostream>
 31 ·17#include·<type_traits>
 32 ·18#include·<utility>
23 ·933 ·19
 34 ·20#include·<dune/common/exceptions.hh>
 35 ·21#include·<dune/common/typetraits.hh>
 36 ·22
24 ·10namespace·Dune37 ·23namespace·Dune
 38 ·24{
 39 ·25·namespace·Impl
25 ·11{ 
26 ·25·template<typename·TA> 
27 26·class·EmptySet 
28 ·27·{40 ·26·{
29 ·28·public: 
30 32·typedef·TA·Type; 
31 ·36·static·bool·contains(const·Type&·attribute); 
32 ·37·}; 
33 ·38 
34 ·42·template<typename·TA> 
35 43·class·AllSet41 ·27·//·forward·declaration
 42 ·28·class·Float128;
 43 ·29
 44 ·30·}·//·end·namespace·Impl
 45 ·31
 46 ·32·using·Impl::Float128;
 47 ·33
 48 ·34·//·The·purpose·of·this·namespace·is·to·move·the·`<cmath>`·function
 49 overloads
 50 ·35·//·out·of·namespace·`Dune`,·see·AlignedNumber·in·debugalign.hh.
 51 ·36·namespace·Impl
 52 ·37·{
 53 ·38·using·float128_t·=·__float128;
 54 ·39
 55 ·41·class·Float128
36 ·44·{56 ·42·{
 57 ·43·float128_t·value_·=·0.0q;
 58 ·44
37 ·45·public:59 ·45·public:
38 49·typedef·TA·Type; 
39 ·53·static·bool·contains(const·Type&·attribute); 
40 ·54·}; 
41 ·55 
42 ·59·template<typename·TA,·int·item> 
43 60·class·EnumItem60 ·46·constexpr·Float128()·=·default;
 61 ·47·constexpr·Float128(const·float128_t&·value)·noexcept
 62 ·48·:·value_(value)
 63 ·49·{}
 64 ·50
 65 ·51·//·constructor·from·any·floating-point·or·integer·type
 66 ·52·template·<class·T,
 67 ·53·std::enable_if_t<std::is_arithmetic<T>::value,·int>·=·0>
 68 ·54·constexpr·Float128(const·T&·value)·noexcept
 69 ·55·:·value_(value)
 70 ·56·{}
 71 ·57
 72 ·58·//·constructor·from·pointer·to·null-terminated·byte·string
 73 ·59·explicit·Float128(const·char*·str)·noexcept
 74 ·60·:·value_(strtoflt128(str,·NULL))
44 ·61·{75 ·61·{}
45 ·62·public: 
46 66·typedef·TA·Type; 
47 ·67 
48 ·72·static·bool·contains(const·Type&·attribute); 
49 ·73·}; 
50 ·74 
51 ·78·template<typename·TA,int·from,·int·end> 
52 79·class·EnumRange·//:·public·PODSet<EnumRange<T,from,end>,T>76 ·62
 77 ·63·//·accessors
 78 ·64·constexpr·operator·float128_t()·const·noexcept·{·return·value_;·}
 79 ·65
 80 ·66·constexpr·float128_t·const&·value()·const·noexcept·{·return·value_;·}
 81 ·67·constexpr·float128_t&·value()·noexcept·{·return·value_;·}
 82 ·68
 83 ·69·//·I/O
 84 ·70·template<class·CharT,·class·Traits>
 85 ·71·friend·std::basic_istream<CharT,·Traits>&
 86 ·72·operator>>(std::basic_istream<CharT,·Traits>&·in,·Float128&·x)
 87 ·73·{
 88 ·74·std::string·buf;
 89 ·75·buf.reserve(128);
 90 ·76·in·>>·buf;
 91 ·77·x.value()·=·strtoflt128(buf.c_str(),·NULL);
 92 ·78·return·in;
 93 ·79·}
 94 ·80
 95 ·81·template<class·CharT,·class·Traits>
 96 ·82·friend·std::basic_ostream<CharT,·Traits>&
 97 ·83·operator<<(std::basic_ostream<CharT,·Traits>&·out,·const·Float128&·x)
53 ·80·{98 ·84·{
54 ·81·public: 
55 85·typedef·TA·Type; 
56 ·86·static·bool·contains(const·Type&·item); 
57 ·87·}; 
58 ·88 
59 ·94·template<typename·S> 
60 95·class·NegateSet99 ·85·const·std::size_t·bufSize·=·128;
 100 ·86·CharT·buf[128];
 101 ·87
 102 ·88·std::string·format·=·"%."·+·std::to_string(out.precision())·+·"Q"·+
 103 ·89·((out.flags()·|·std::ios_base::scientific)·?·"e"·:·"f");
 104 ·90·const·int·numChars·=·quadmath_snprintf(buf,·bufSize,·format.c_str(),
Max diff block lines reached; 16876/22380 bytes (75.41%) of diff not shown.
26.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 55 lines modifiedOffset 70, 106 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
79 ··<div·class="headertitle"><div·class="title">transpose.hh·File·Reference</div></div>80 ··<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>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
 83 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.··
 84 <a·href="#details">More...</a></p>
82 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
 86 <code>#include·&lt;cstddef&gt;</code><br·/>
83 <code>#include·&lt;functional&gt;</code><br·/>87 <code>#include·&lt;iostream&gt;</code><br·/>
 88 <code>#include·&lt;algorithm&gt;</code><br·/>
 89 <code>#include·&lt;initializer_list&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>92 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>93 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/precision.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>95 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/referencehelper.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/dynmatrix.hh</a>&gt;</code><br·/>96 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>97 <code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>
 98 <code>#include·&quot;<a·class="el"·href="a00287_source.html">fmatrixev.hh</a>&quot;</code><br·/>
90 </div>99 </div>
91 <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p>100 <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">101 <table·class="memberdecls">
 102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 103 Classes</h2></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="a01732.html">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&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">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>
 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="a01408.html">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;</a></td></tr>
 109 <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>
 110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>112 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>113 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>114 <tr·class="memitem:a00425"·id="r_a00425"><td·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>115 <tr·class="memdesc: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>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:a00436"·id="r_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>
 118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">119 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
100 Functions</h2></td></tr>121 Functions</h2></td></tr>
101 <tr·class="memitem:ad090bea53c1598805a721f989ffea309"·id="r_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> 
102 <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> 
103 <tr·class="memdesc:ad090bea53c1598805a721f989ffea309"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·transposed·of·the·given·matrix.··<br·/></td></tr>122 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"·id="r_a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 123 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;inverse)</td></tr>
 124 <tr·class="memdesc:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<br·/></td></tr>
104 <tr·class="separator:ad090bea53c1598805a721f989ffea309"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:a15675202af9ce6f9282065c808f24a82"·id="r_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> 
106 <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> 
107 <tr·class="memdesc:a15675202af9ce6f9282065c808f24a82"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<br·/></td></tr>126 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"·id="r_a67155815b034773129d21bfe3992f0b6"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 127 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;inverse)</td></tr>
 128 <tr·class="memdesc:a67155815b034773129d21bfe3992f0b6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<br·/></td></tr>
108 <tr·class="separator:a15675202af9ce6f9282065c808f24a82"><td·class="memSeparator"·colspan="2">&#160;</td></tr>129 <tr·class="separator:a67155815b034773129d21bfe3992f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"·id="r_a27757ac69a505e206e82b5b184333f15"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 131 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr>
 132 <tr·class="memdesc:a27757ac69a505e206e82b5b184333f15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·2x2·Matrix·without·changing·the·original·matrix··<br·/></td></tr>
109 <tr·class="memitem:a7fd3975f961a390371400a55a41b6209"·id="r_a7fd3975f961a390371400a55a41b6209"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr> 
110 <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> 
111 <tr·class="memdesc:a7fd3975f961a390371400a55a41b6209"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<br·/></td></tr> 
112 <tr·class="separator:a7fd3975f961a390371400a55a41b6209"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:ae4a7b79043c218c135e2762d5874ce15"·id="r_ae4a7b79043c218c135e2762d5874ce15"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr> 
114 <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> 
115 <tr·class="memdesc:ae4a7b79043c218c135e2762d5874ce15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·view·modelling·the·transposed·matrix.··<br·/></td></tr> 
116 <tr·class="separator:ae4a7b79043c218c135e2762d5874ce15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>133 <tr·class="separator:a27757ac69a505e206e82b5b184333f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"·id="r_a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 135 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr>
 136 <tr·class="separator:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"·id="r_a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 138 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr>
 139 <tr·class="memdesc:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<br·/></td></tr>
 140 <tr·class="separator:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"·id="r_a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 142 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr>
 143 <tr·class="memdesc:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<br·/></td></tr>
 144 <tr·class="separator:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"·id="r_a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·m,·int·n,·int·p&gt;·</td></tr>
 146 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·m,·n·&gt;·&amp;A,·const·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·n,·p·&gt;·&amp;B,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·m,·p·&gt;·&amp;ret)</td></tr>
 147 <tr·class="memdesc:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·A·*·B··<br·/></td></tr>
 148 <tr·class="separator:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"·id="r_aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 150 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·cols,·cols·&gt;·&amp;ret)</td></tr>
 151 <tr·class="memdesc:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret=·A_t*A··<br·/></td></tr>
 152 <tr·class="separator:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:aef7fb29fd8ec4371bbca42d7aaa15ddc"·id="r_aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 154 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·rows·&gt;·&amp;x,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·cols·&gt;·&amp;ret)</td></tr>
 155 <tr·class="memdesc:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix^T·*·x··<br·/></td></tr>
 156 <tr·class="separator:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 157 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"·id="r_aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 158 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·rows·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#aec4fb9018af90beee9fac48f355a445b">Dune::FMatrixHelp::mult</a>·(const·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·cols·&gt;·&amp;x)</td></tr>
 159 <tr·class="memdesc:aec4fb9018af90beee9fac48f355a445b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<br·/></td></tr>
 160 <tr·class="separator:aec4fb9018af90beee9fac48f355a445b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 161 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"·id="r_a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 162 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·cols·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a659763bbed47d93b0a03d9dc2d49c6f0">Dune::FMatrixHelp::multTransposed</a>·(const·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·rows·&gt;·&amp;x)</td></tr>
 163 <tr·class="memdesc:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix^T·*·x··<br·/></td></tr>
 164 <tr·class="separator:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>165 </table>
 166 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 167 <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>
Max diff block lines reached; 243/20624 bytes (1.18%) of diff not shown.
5.88 KB
html2text {}
    
Offset 6, 44 lines modifiedOffset 6, 119 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions12 Classes·|·Namespaces·|·Functions
13 transpose.hh·File·Reference13 fmatrix.hh·File·Reference
 14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and
 16 compile-time·given·number·of·rows·and·columns.·More...
 17 #include·<cmath>
14 #include·<cstddef>18 #include·<cstddef>
15 #include·<functional>19 #include·<iostream>
 20 #include·<algorithm>
 21 #include·<initializer_list>
 22 #include·<dune/common/boundschecking.hh>
 23 #include·<dune/common/exceptions.hh>
16 #include·<dune/common/std/type_traits.hh>24 #include·<dune/common/fvector.hh>
17 #include·<dune/common/fmatrix.hh>25 #include·<dune/common/densematrix.hh>
 26 #include·<dune/common/precision.hh>
18 #include·<dune/common/promotiontraits.hh>27 #include·<dune/common/promotiontraits.hh>
19 #include·<dune/common/referencehelper.hh> 
20 #include·<dune/common/dynmatrix.hh>28 #include·<dune/common/typetraits.hh>
21 #include·<dune/common/matrixconcepts.hh>29 #include·<dune/common/matrixconcepts.hh>
 30 #include·"fmatrixev.hh"
22 Go_to_the_source_code_of_this_file.31 Go_to_the_source_code_of_this_file.
 32 ·Classes
 33 struct· Dune::DenseMatVecTraits<_FieldMatrix<_K,_ROWS,_COLS_>_>
 34  
 35 struct· Dune::FieldTraits<_FieldMatrix<_K,_ROWS,_COLS_>_>
 36  
 37 ·class· Dune::FieldMatrix<_K,_ROWS,_COLS_>
 38  ·······A·dense·n·x·m·matrix.·More...
 39  
23 ·Namespaces40 ·Namespaces
24 namespace· Dune41 namespace· Dune
25  ··········Dune·namespace.42  ··········Dune·namespace.
26  43  
 44 namespace· Dune::FMatrixHelp
 45  
27 ·Functions46 ·Functions
28 template<class·Matrix·,·std::enable_if_t<·Impl::HasMemberFunctionTransposed< 
29 Matrix·>::value,·int·>·=·0> 
30 auto Dune::transpose·(const·Matrix·&matrix) 
31  ····Return·the·transposed·of·the·given·matrix.47 template<typename·K·>
 48 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const
 49 ·······························FieldMatrix<·K,·1,·1·>·&matrix,·FieldMatrix<·K,
 50 ·······························1,·1·>·&inverse)
 51  ·····························invert·scalar·without·changing·the·original
 52 ·······························matrix
32  53  
33 template<class·Matrix·,·std::enable_if_t<·not·Impl:: 
34 HasMemberFunctionTransposed<·std::decay_t<·Matrix·>·>::value,·int·>·=·0> 
35 auto Dune::transpose·(Matrix·&&matrix) 
36  ····Create·a·wrapper·modelling·the·transposed·matrix.54 template<typename·K·>
 55 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed
 56 ·······························(const·FieldMatrix<·K,·1,·1·>·&matrix,
 57 ·······························FieldMatrix<·K,·1,·1·>·&inverse)
 58  ·····························invert·scalar·without·changing·the·original
 59 ·······························matrix
37  60  
38 template<class·Matrix·> 
39 auto Dune::transpose·(const·std::reference_wrapper<·Matrix·>·&matrix) 
40  ····Create·a·wrapper·modelling·the·transposed·matrix.61 template<typename·K·>
 62 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const
 63 ·······························FieldMatrix<·K,·2,·2·>·&matrix,·FieldMatrix<·K,
 64 ·······························2,·2·>·&inverse)
 65  ·····························invert·2x2·Matrix·without·changing·the·original
 66 ·······························matrix
41  67  
42 template<class·Matrix·> 
43 auto Dune::transposedView·(const·Matrix·&matrix) 
44  ····Create·a·view·modelling·the·transposed·matrix.68 template<typename·K·>
 69 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed
 70 ·······························(const·FieldMatrix<·K,·2,·2·>·&matrix,
 71 ·······························FieldMatrix<·K,·2,·2·>·&inverse)
 72  
 73 template<typename·K·>
 74 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const
 75 ·······························FieldMatrix<·K,·3,·3·>·&matrix,·FieldMatrix<·K,
 76 ·······························3,·3·>·&inverse)
 77  ·····························invert·3x3·Matrix·without·changing·the·original
 78 ·······························matrix
 79  
 80 template<typename·K·>
 81 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed
 82 ·······························(const·FieldMatrix<·K,·3,·3·>·&matrix,
 83 ·······························FieldMatrix<·K,·3,·3·>·&inverse)
 84  ·····························invert·3x3·Matrix·without·changing·the·original
 85 ·······························matrix
 86  
 87 template<class·K·,·int·m,·int·n,·int·p>
 88 ··················static·void Dune::FMatrixHelp::multMatrix·(const
 89 ·······························FieldMatrix<·K,·m,·n·>·&A,·const·FieldMatrix<·K,
 90 ·······························n,·p·>·&B,·FieldMatrix<·K,·m,·p·>·&ret)
 91  ·····························calculates·ret·=·A·*·B
 92  
 93 template<typename·K·,·int·rows,·int·cols>
 94 ··················static·void Dune::FMatrixHelp::multTransposedMatrix·(const
 95 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,
 96 ·······························FieldMatrix<·K,·cols,·cols·>·&ret)
 97  ·····························calculates·ret=·A_t*A
 98  
 99 template<typename·K·,·int·rows,·int·cols>
 100 ··················static·void Dune::FMatrixHelp::multAssignTransposed·(const
 101 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,·const
 102 ·······························FieldVector<·K,·rows·>·&x,·FieldVector<·K,·cols
 103 ·······························>·&ret)
 104  ·····························calculates·ret·=·matrix^T·*·x
 105  
 106 template<typename·K·,·int·rows,·int·cols>
 107 static·FieldVector<·K,·rows·> Dune::FMatrixHelp::mult·(const·FieldMatrix<·K,
 108 ·······························rows,·cols·>·&matrix,·const·FieldVector<·K,·cols
 109 ·······························>·&x)
 110  ·····························calculates·ret·=·matrix·*·x
 111  
 112 template<typename·K·,·int·rows,·int·cols>
 113 static·FieldVector<·K,·cols·> Dune::FMatrixHelp::multTransposed·(const
 114 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,·const
 115 ·······························FieldVector<·K,·rows·>·&x)
 116  ·····························calculates·ret·=·matrix^T·*·x
45  117  
 118 *****·Detailed·Description·*****
 119 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and
 120 compile-time·given·number·of·rows·and·columns.
Max diff block lines reached; 116/5994 bytes (1.94%) of diff not shown.
914 KB
./usr/share/doc/libdune-common-doc/doxygen/a00170_source.html
    
Offset 22, 2526 lines modifiedOffset 22, 10431 lines modified
00000150:·656e·743d·2244·6f78·7967·656e·2031·2e39··ent="Doxygen·1.900000150:·656e·743d·2244·6f78·7967·656e·2031·2e39··ent="Doxygen·1.9
00000160:·2e38·222f·3e0a·3c6d·6574·6120·6e61·6d65··.8"/>.<meta·name00000160:·2e38·222f·3e0a·3c6d·6574·6120·6e61·6d65··.8"/>.<meta·name
00000170:·3d22·7669·6577·706f·7274·2220·636f·6e74··="viewport"·cont00000170:·3d22·7669·6577·706f·7274·2220·636f·6e74··="viewport"·cont
00000180:·656e·743d·2277·6964·7468·3d64·6576·6963··ent="width=devic00000180:·656e·743d·2277·6964·7468·3d64·6576·6963··ent="width=devic
00000190:·652d·7769·6474·682c·2069·6e69·7469·616c··e-width,·initial00000190:·652d·7769·6474·682c·2069·6e69·7469·616c··e-width,·initial
000001a0:·2d73·6361·6c65·3d31·222f·3e0a·3c74·6974··-scale=1"/>.<tit000001a0:·2d73·6361·6c65·3d31·222f·3e0a·3c74·6974··-scale=1"/>.<tit
Diff chunk too large, falling back to line-by-line diff (10424 lines added, 2519 lines removed)
000001b0:·6c65·3e64·756e·652d·636f·6d6d·6f6e·3a20··le>dune-common:·000001b0:·6c65·3e64·756e·652d·636f·6d6d·6f6e·3a20··le>dune-common:·
000001c0:·7472·616e·7370·6f73·652e·6868·2053·6f75··transpose.hh·Sou000001c0:·666d·6174·7269·782e·6868·2053·6f75·7263··fmatrix.hh·Sourc
000001d0:·7263·6520·4669·6c65·3c2f·7469·746c·653e··rce·File</title>000001d0:·6520·4669·6c65·3c2f·7469·746c·653e·0a3c··e·File</title>.<
000001e0:·0a3c·6c69·6e6b·2068·7265·663d·2274·6162··.<link·href="tab000001e0:·6c69·6e6b·2068·7265·663d·2274·6162·732e··link·href="tabs.
000001f0:·732e·6373·7322·2072·656c·3d22·7374·796c··s.css"·rel="styl000001f0:·6373·7322·2072·656c·3d22·7374·796c·6573··css"·rel="styles
00000200:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te00000200:·6865·6574·2220·7479·7065·3d22·7465·7874··heet"·type="text
00000210:·7874·2f63·7373·222f·3e0a·3c73·6372·6970··xt/css"/>.<scrip00000210:·2f63·7373·222f·3e0a·3c73·6372·6970·7420··/css"/>.<script·
00000220:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav00000220:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000230:·6173·6372·6970·7422·2073·7263·3d22·6a71··ascript"·src="jq00000230:·6372·6970·7422·2073·7263·3d22·6a71·7565··cript"·src="jque
00000240:·7565·7279·2e6a·7322·3e3c·2f73·6372·6970··uery.js"></scrip00000240:·7279·2e6a·7322·3e3c·2f73·6372·6970·743e··ry.js"></script>
00000250:·743e·0a3c·7363·7269·7074·2074·7970·653d··t>.<script·type=00000250:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000260:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript00000260:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
00000270:·2220·7372·633d·2264·796e·7365·6374·696f··"·src="dynsectio00000270:·7372·633d·2264·796e·7365·6374·696f·6e73··src="dynsections
00000280:·6e73·2e6a·7322·3e3c·2f73·6372·6970·743e··ns.js"></script>00000280:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<
00000290:·0a3c·6c69·6e6b·2068·7265·663d·2273·6561··.<link·href="sea00000290:·6c69·6e6b·2068·7265·663d·2273·6561·7263··link·href="searc
000002a0:·7263·682f·7365·6172·6368·2e63·7373·2220··rch/search.css"·000002a0:·682f·7365·6172·6368·2e63·7373·2220·7265··h/search.css"·re
000002b0:·7265·6c3d·2273·7479·6c65·7368·6565·7422··rel="stylesheet"000002b0:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t
000002c0:·2074·7970·653d·2274·6578·742f·6373·7322···type="text/css"000002c0:·7970·653d·2274·6578·742f·6373·7322·2f3e··ype="text/css"/>
000002d0:·2f3e·0a3c·7363·7269·7074·2074·7970·653d··/>.<script·type=000002d0:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
000002e0:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript000002e0:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
000002f0:·2220·7372·633d·2273·6561·7263·682f·7365··"·src="search/se000002f0:·7372·633d·2273·6561·7263·682f·7365·6172··src="search/sear
00000300:·6172·6368·6461·7461·2e6a·7322·3e3c·2f73··archdata.js"></s00000300:·6368·6461·7461·2e6a·7322·3e3c·2f73·6372··chdata.js"></scr
00000310:·6372·6970·743e·0a3c·7363·7269·7074·2074··cript>.<script·t00000310:·6970·743e·0a3c·7363·7269·7074·2074·7970··ipt>.<script·typ
00000320:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc00000320:·653d·2274·6578·742f·6a61·7661·7363·7269··e="text/javascri
00000330:·7269·7074·2220·7372·633d·2273·6561·7263··ript"·src="searc00000330:·7074·2220·7372·633d·2273·6561·7263·682f··pt"·src="search/
00000340:·682f·7365·6172·6368·2e6a·7322·3e3c·2f73··h/search.js"></s00000340:·7365·6172·6368·2e6a·7322·3e3c·2f73·6372··search.js"></scr
00000350:·6372·6970·743e·0a3c·6c69·6e6b·2068·7265··cript>.<link·hre00000350:·6970·743e·0a3c·6c69·6e6b·2068·7265·663d··ipt>.<link·href=
00000360:·663d·2264·6f78·7967·656e·2e63·7373·2220··f="doxygen.css"·00000360:·2264·6f78·7967·656e·2e63·7373·2220·7265··"doxygen.css"·re
00000370:·7265·6c3d·2273·7479·6c65·7368·6565·7422··rel="stylesheet"00000370:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t
00000380:·2074·7970·653d·2274·6578·742f·6373·7322···type="text/css"00000380:·7970·653d·2274·6578·742f·6373·7322·202f··ype="text/css"·/
00000390:·202f·3e0a·3c2f·6865·6164·3e0a·3c62·6f64···/>.</head>.<bod00000390:·3e0a·3c2f·6865·6164·3e0a·3c62·6f64·793e··>.</head>.<body>
000003a0:·793e·0a3c·6469·7620·6964·3d22·746f·7022··y>.<div·id="top"000003a0:·0a3c·6469·7620·6964·3d22·746f·7022·3e3c··.<div·id="top"><
000003b0:·3e3c·212d·2d20·646f·206e·6f74·2072·656d··><!--·do·not·rem000003b0:·212d·2d20·646f·206e·6f74·2072·656d·6f76··!--·do·not·remov
000003c0:·6f76·6520·7468·6973·2064·6976·2c20·6974··ove·this·div,·it000003c0:·6520·7468·6973·2064·6976·2c20·6974·2069··e·this·div,·it·i
000003d0:·2069·7320·636c·6f73·6564·2062·7920·646f···is·closed·by·do000003d0:·7320·636c·6f73·6564·2062·7920·646f·7879··s·closed·by·doxy
000003e0:·7879·6765·6e21·202d·2d3e·0a3c·6469·7620··xygen!·-->.<div·000003e0:·6765·6e21·202d·2d3e·0a3c·6469·7620·6964··gen!·-->.<div·id
000003f0:·6964·3d22·7469·746c·6561·7265·6122·3e0a··id="titlearea">.000003f0:·3d22·7469·746c·6561·7265·6122·3e0a·3c74··="titlearea">.<t
00000400:·3c74·6162·6c65·2063·656c·6c73·7061·6369··<table·cellspaci00000400:·6162·6c65·2063·656c·6c73·7061·6369·6e67··able·cellspacing
00000410:·6e67·3d22·3022·2063·656c·6c70·6164·6469··ng="0"·cellpaddi00000410:·3d22·3022·2063·656c·6c70·6164·6469·6e67··="0"·cellpadding
00000420:·6e67·3d22·3022·3e0a·203c·7462·6f64·793e··ng="0">.·<tbody>00000420:·3d22·3022·3e0a·203c·7462·6f64·793e·0a20··="0">.·<tbody>.·
00000430:·0a20·3c74·7220·6964·3d22·7072·6f6a·6563··.·<tr·id="projec00000430:·3c74·7220·6964·3d22·7072·6f6a·6563·7472··<tr·id="projectr
00000440:·7472·6f77·223e·0a20·203c·7464·2069·643d··trow">.··<td·id=00000440:·6f77·223e·0a20·203c·7464·2069·643d·2270··ow">.··<td·id="p
00000450:·2270·726f·6a65·6374·616c·6967·6e22·3e0a··"projectalign">.00000450:·726f·6a65·6374·616c·6967·6e22·3e0a·2020··rojectalign">.··
00000460:·2020·203c·6469·7620·6964·3d22·7072·6f6a·····<div·id="proj00000460:·203c·6469·7620·6964·3d22·7072·6f6a·6563···<div·id="projec
00000470:·6563·746e·616d·6522·3e64·756e·652d·636f··ectname">dune-co00000470:·746e·616d·6522·3e64·756e·652d·636f·6d6d··tname">dune-comm
00000480:·6d6d·6f6e·3c73·7061·6e20·6964·3d22·7072··mmon<span·id="pr00000480:·6f6e·3c73·7061·6e20·6964·3d22·7072·6f6a··on<span·id="proj
00000490:·6f6a·6563·746e·756d·6265·7222·3e26·2331··ojectnumber">&#100000490:·6563·746e·756d·6265·7222·3e26·2331·3630··ectnumber">&#160
000004a0:·3630·3b32·2e39·2e30·3c2f·7370·616e·3e0a··60;2.9.0</span>.000004a0:·3b32·2e39·2e30·3c2f·7370·616e·3e0a·2020··;2.9.0</span>.··
000004b0:·2020·203c·2f64·6976·3e0a·2020·3c2f·7464·····</div>.··</td000004b0:·203c·2f64·6976·3e0a·2020·3c2f·7464·3e0a···</div>.··</td>.
000004c0:·3e0a·203c·2f74·723e·0a20·3c2f·7462·6f64··>.·</tr>.·</tbod000004c0:·203c·2f74·723e·0a20·3c2f·7462·6f64·793e···</tr>.·</tbody>
000004d0:·793e·0a3c·2f74·6162·6c65·3e0a·3c2f·6469··y>.</table>.</di000004d0:·0a3c·2f74·6162·6c65·3e0a·3c2f·6469·763e··.</table>.</div>
000004e0:·763e·0a3c·212d·2d20·656e·6420·6865·6164··v>.<!--·end·head000004e0:·0a3c·212d·2d20·656e·6420·6865·6164·6572··.<!--·end·header
000004f0:·6572·2070·6172·7420·2d2d·3e0a·3c21·2d2d··er·part·-->.<!--000004f0:·2070·6172·7420·2d2d·3e0a·3c21·2d2d·2047···part·-->.<!--·G
00000500:·2047·656e·6572·6174·6564·2062·7920·446f···Generated·by·Do00000500:·656e·6572·6174·6564·2062·7920·446f·7879··enerated·by·Doxy
00000510:·7879·6765·6e20·312e·392e·3820·2d2d·3e0a··xygen·1.9.8·-->.00000510:·6765·6e20·312e·392e·3820·2d2d·3e0a·3c73··gen·1.9.8·-->.<s
00000520:·3c73·6372·6970·7420·7479·7065·3d22·7465··<script·type="te00000520:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text
00000530:·7874·2f6a·6176·6173·6372·6970·7422·3e0a··xt/javascript">.00000530:·2f6a·6176·6173·6372·6970·7422·3e0a·2f2a··/javascript">./*
00000540:·2f2a·2040·6c69·6365·6e73·6520·6d61·676e··/*·@license·magn00000540:·2040·6c69·6365·6e73·6520·6d61·676e·6574···@license·magnet
00000550:·6574·3a3f·7874·3d75·726e·3a62·7469·683a··et:?xt=urn:btih:00000550:·3a3f·7874·3d75·726e·3a62·7469·683a·6433··:?xt=urn:btih:d3
00000560:·6433·6439·6139·6136·3539·3535·3231·6639··d3d9a9a6595521f900000560:·6439·6139·6136·3539·3535·3231·6639·3636··d9a9a6595521f966
00000570:·3636·3661·3565·3934·6363·3833·3064·6162··666a5e94cc830dab00000570:·3661·3565·3934·6363·3833·3064·6162·3833··6a5e94cc830dab83
00000580:·3833·6236·3536·3939·2661·6d70·3b64·6e3d··83b65699&amp;dn=00000580:·6236·3536·3939·2661·6d70·3b64·6e3d·6578··b65699&amp;dn=ex
00000590:·6578·7061·742e·7478·7420·4d49·5420·2a2f··expat.txt·MIT·*/00000590:·7061·742e·7478·7420·4d49·5420·2a2f·0a76··pat.txt·MIT·*/.v
000005a0:·0a76·6172·2073·6561·7263·6842·6f78·203d··.var·searchBox·=000005a0:·6172·2073·6561·7263·6842·6f78·203d·206e··ar·searchBox·=·n
000005b0:·206e·6577·2053·6561·7263·6842·6f78·2822···new·SearchBox("000005b0:·6577·2053·6561·7263·6842·6f78·2822·7365··ew·SearchBox("se
000005c0:·7365·6172·6368·426f·7822·2c20·2273·6561··searchBox",·"sea000005c0:·6172·6368·426f·7822·2c20·2273·6561·7263··archBox",·"searc
000005d0:·7263·682f·222c·272e·6874·6d6c·2729·3b0a··rch/",'.html');.000005d0:·682f·222c·272e·6874·6d6c·2729·3b0a·2f2a··h/",'.html');./*
000005e0:·2f2a·2040·6c69·6365·6e73·652d·656e·6420··/*·@license-end·000005e0:·2040·6c69·6365·6e73·652d·656e·6420·2a2f···@license-end·*/
000005f0:·2a2f·0a3c·2f73·6372·6970·743e·0a3c·7363··*/.</script>.<sc000005f0:·0a3c·2f73·6372·6970·743e·0a3c·7363·7269··.</script>.<scri
00000600:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/00000600:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja
00000610:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=00000610:·7661·7363·7269·7074·2220·7372·633d·226d··vascript"·src="m
00000620:·226d·656e·7564·6174·612e·6a73·223e·3c2f··"menudata.js"></00000620:·656e·7564·6174·612e·6a73·223e·3c2f·7363··enudata.js"></sc
00000630:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·00000630:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty
00000640:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000640:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr
00000650:·6372·6970·7422·2073·7263·3d22·6d65·6e75··cript"·src="menu00000650:·6970·7422·2073·7263·3d22·6d65·6e75·2e6a··ipt"·src="menu.j
00000660:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<00000660:·7322·3e3c·2f73·6372·6970·743e·0a3c·7363··s"></script>.<sc
00000670:·7363·7269·7074·2074·7970·653d·2274·6578··script·type="tex00000670:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
00000680:·742f·6a61·7661·7363·7269·7074·223e·0a2f··t/javascript">./00000680:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·
00000690:·2a20·406c·6963·656e·7365·206d·6167·6e65··*·@license·magne00000690:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:
000006a0:·743a·3f78·743d·7572·6e3a·6274·6968·3a64··t:?xt=urn:btih:d000006a0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d
000006b0:·3364·3961·3961·3635·3935·3532·3166·3936··3d9a9a6595521f96000006b0:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f9666
000006c0:·3636·6135·6539·3463·6338·3330·6461·6238··66a5e94cc830dab8000006c0:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b
000006d0:·3362·3635·3639·3926·616d·703b·646e·3d65··3b65699&amp;dn=e000006d0:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp
000006e0:·7870·6174·2e74·7874·204d·4954·202a·2f0a··xpat.txt·MIT·*/.000006e0:·6174·2e74·7874·204d·4954·202a·2f0a·2428··at.txt·MIT·*/.$(
000006f0:·2428·6675·6e63·7469·6f6e·2829·207b·0a20··$(function()·{.·000006f0:·6675·6e63·7469·6f6e·2829·207b·0a20·2069··function()·{.··i
00000700:·2069·6e69·744d·656e·7528·2727·2c74·7275···initMenu('',tru00000700:·6e69·744d·656e·7528·2727·2c74·7275·652c··nitMenu('',true,
00000710:·652c·6661·6c73·652c·2773·6561·7263·682e··e,false,'search.00000710:·6661·6c73·652c·2773·6561·7263·682e·7068··false,'search.ph
00000720:·7068·7027·2c27·5365·6172·6368·2729·3b0a··php','Search');.00000720:·7027·2c27·5365·6172·6368·2729·3b0a·2020··p','Search');.··
00000730:·2020·2428·646f·6375·6d65·6e74·292e·7265····$(document).re00000730:·2428·646f·6375·6d65·6e74·292e·7265·6164··$(document).read
00000740:·6164·7928·6675·6e63·7469·6f6e·2829·207b··ady(function()·{00000740:·7928·6675·6e63·7469·6f6e·2829·207b·2069··y(function()·{·i
00000750:·2069·6e69·745f·7365·6172·6368·2829·3b20···init_search();·00000750:·6e69·745f·7365·6172·6368·2829·3b20·7d29··nit_search();·})
00000760:·7d29·3b0a·7d29·3b0a·2f2a·2040·6c69·6365··});.});./*·@lice00000760:·3b0a·7d29·3b0a·2f2a·2040·6c69·6365·6e73··;.});./*·@licens
00000770:·6e73·652d·656e·6420·2a2f·0a3c·2f73·6372··nse-end·*/.</scr00000770:·652d·656e·6420·2a2f·0a3c·2f73·6372·6970··e-end·*/.</scrip
00000780:·6970·743e·0a3c·6469·7620·6964·3d22·6d61··ipt>.<div·id="ma00000780:·743e·0a3c·6469·7620·6964·3d22·6d61·696e··t>.<div·id="main
00000790:·696e·2d6e·6176·223e·3c2f·6469·763e·0a3c··in-nav"></div>.<00000790:·2d6e·6176·223e·3c2f·6469·763e·0a3c·7363··-nav"></div>.<sc
000007a0:·7363·7269·7074·2074·7970·653d·2274·6578··script·type="tex000007a0:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
000007b0:·742f·6a61·7661·7363·7269·7074·223e·0a2f··t/javascript">./000007b0:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·
000007c0:·2a20·406c·6963·656e·7365·206d·6167·6e65··*·@license·magne000007c0:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:
000007d0:·743a·3f78·743d·7572·6e3a·6274·6968·3a64··t:?xt=urn:btih:d000007d0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d
000007e0:·3364·3961·3961·3635·3935·3532·3166·3936··3d9a9a6595521f96000007e0:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f9666
000007f0:·3636·6135·6539·3463·6338·3330·6461·6238··66a5e94cc830dab8000007f0:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b
00000800:·3362·3635·3639·3926·616d·703b·646e·3d65··3b65699&amp;dn=e00000800:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp
00000810:·7870·6174·2e74·7874·204d·4954·202a·2f0a··xpat.txt·MIT·*/.00000810:·6174·2e74·7874·204d·4954·202a·2f0a·2428··at.txt·MIT·*/.$(
00000820:·2428·646f·6375·6d65·6e74·292e·7265·6164··$(document).read00000820:·646f·6375·6d65·6e74·292e·7265·6164·7928··document).ready(
00000830:·7928·6675·6e63·7469·6f6e·2829·207b·2069··y(function()·{·i00000830:·6675·6e63·7469·6f6e·2829·207b·2069·6e69··function()·{·ini
00000840:·6e69·745f·636f·6465·666f·6c64·2830·293b··nit_codefold(0);00000840:·745f·636f·6465·666f·6c64·2830·293b·207d··t_codefold(0);·}
00000850:·207d·293b·0a2f·2a20·406c·6963·656e·7365···});./*·@license00000850:·293b·0a2f·2a20·406c·6963·656e·7365·2d65··);./*·@license-e
00000860:·2d65·6e64·202a·2f0a·3c2f·7363·7269·7074··-end·*/.</script00000860:·6e64·202a·2f0a·3c2f·7363·7269·7074·3e0a··nd·*/.</script>.
00000870:·3e0a·3c21·2d2d·2077·696e·646f·7720·7368··>.<!--·window·sh00000870:·3c21·2d2d·2077·696e·646f·7720·7368·6f77··<!--·window·show
00000880:·6f77·696e·6720·7468·6520·6669·6c74·6572··owing·the·filter00000880:·696e·6720·7468·6520·6669·6c74·6572·206f··ing·the·filter·o
00000890:·206f·7074·696f·6e73·202d·2d3e·0a3c·6469···options·-->.<di00000890:·7074·696f·6e73·202d·2d3e·0a3c·6469·7620··ptions·-->.<div·
000008a0:·7620·6964·3d22·4d53·6561·7263·6853·656c··v·id="MSearchSel000008a0:·6964·3d22·4d53·6561·7263·6853·656c·6563··id="MSearchSelec
000008b0:·6563·7457·696e·646f·7722·0a20·2020·2020··ectWindow".·····000008b0:·7457·696e·646f·7722·0a20·2020·2020·6f6e··tWindow".·····on
000008c0:·6f6e·6d6f·7573·656f·7665·723d·2272·6574··onmouseover="ret000008c0:·6d6f·7573·656f·7665·723d·2272·6574·7572··mouseover="retur
000008d0:·7572·6e20·7365·6172·6368·426f·782e·4f6e··urn·searchBox.On000008d0:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe
000008e0:·5365·6172·6368·5365·6c65·6374·5368·6f77··SearchSelectShow000008e0:·6172·6368·5365·6c65·6374·5368·6f77·2829··archSelectShow()
000008f0:·2829·220a·2020·2020·206f·6e6d·6f75·7365··()".·····onmouse000008f0:·220a·2020·2020·206f·6e6d·6f75·7365·6f75··".·····onmouseou
00000900:·6f75·743d·2272·6574·7572·6e20·7365·6172··out="return·sear00000900:·743d·2272·6574·7572·6e20·7365·6172·6368··t="return·search
00000910:·6368·426f·782e·4f6e·5365·6172·6368·5365··chBox.OnSearchSe00000910:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele
00000920:·6c65·6374·4869·6465·2829·220a·2020·2020··lectHide()".····00000920:·6374·4869·6465·2829·220a·2020·2020·206f··ctHide()".·····o
Max diff block lines reached; -1/893554 bytes (-0.00%) of diff not shown.
41.0 KB
html2text {}
    
Offset 7, 280 lines modifiedOffset 7, 1064 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 transpose.hh12 fmatrix.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_TRANSPOSE_HH 
20 ·6#define·DUNE_COMMON_TRANSPOSE_HH19 ·5#ifndef·DUNE_FMATRIX_HH
 20 ·6#define·DUNE_FMATRIX_HH
21 ·721 ·7
 22 ·8#include·<cmath>
22 ·8#include·<cstddef>23 ·9#include·<cstddef>
23 ·9#include·<functional> 
24 ·1024 ·10#include·<iostream>
 25 ·11#include·<algorithm>
 26 ·12#include·<initializer_list>
 27 ·13
 28 ·14#include·<dune/common/boundschecking.hh>
 29 ·15#include·<dune/common/exceptions.hh>
25 ·11#include·<dune/common/std/type_traits.hh>30 ·16#include·<dune/common/fvector.hh>
26 ·12#include·<dune/common/fmatrix.hh>31 ·17#include·<dune/common/densematrix.hh>
 32 ·18#include·<dune/common/precision.hh>
27 ·13#include·<dune/common/promotiontraits.hh>33 ·19#include·<dune/common/promotiontraits.hh>
28 ·14#include·<dune/common/referencehelper.hh> 
29 ·15#include·<dune/common/dynmatrix.hh>34 ·20#include·<dune/common/typetraits.hh>
30 ·16#include·<dune/common/matrixconcepts.hh>35 ·21#include·<dune/common/matrixconcepts.hh>
31 ·17 
32 ·18namespace·Dune·{ 
33 ·19 
34 ·20namespace·Impl·{ 
35 ·21 
36 ·2236 ·22
37 ·23 
38 ·24·template<class·M,·bool·=·IsStaticSizeMatrix<M>::value> 
39 ·25·struct·TransposedDenseMatrixTraits37 ·23namespace·Dune
 38 ·24{
 39 ·25
 40 ·26·namespace·Impl
40 ·26·{41 ·27·{
 42 ·28
41 ·27·using·type·=·Dune::FieldMatrix<typename_FieldTraits<M>::field_type,·M:: 
42 cols,·M::rows>; 
43 ·28·}; 
44 ·29 
45 ·30·template<class·M>43 ·29·template<class·M>
46 ·31·struct·TransposedDenseMatrixTraits<M,·false>44 ·30·class·ColumnVectorView
47 ·32·{45 ·31·{
48 ·33·using·type·=·Dune::DynamicMatrix<typename_FieldTraits<M>::field_type>; 
49 ·34·}; 
50 ·35 
51 ·36·template<class·M> 
52 ·37·using·TransposedDenseMatrixTraits_t·=·typename 
53 TransposedDenseMatrixTraits<M>::type; 
54 ·38 
55 ·39 
56 ·40 
57 ·41·//·CRTP·mixin·class·to·provide·the·static·part·of·the·interface, 
58 ·42·//·namely·enums·rows·and·cols. 
59 ·43·template<class·WM,·bool·staticSize·=·IsStaticSizeMatrix<WM>::value> 
60 ·44·class·TransposedMatrixWrapperMixin·{};46 ·32·public:
 47 ·33
 48 ·34·using·value_type·=·typename·M::value_type;
 49 ·35·using·size_type·=·typename·M::size_type;
 50 ·36
 51 ·37·constexpr·ColumnVectorView(M&·matrix,·size_type·col)·:
 52 ·38·matrix_(matrix),
 53 ·39·col_(col)
 54 ·40·{}
 55 ·41
 56 ·42·constexpr·size_type·N·()·const·{
 57 ·43·return·matrix_.N();
 58 ·44·}
61 ·4559 ·45
62 ·46·template<class·WM>60 ·46·template<class·M_·=·M,
63 ·47·class·TransposedMatrixWrapperMixin<WM,·true> 
64 ·48·{ 
65 ·49·public:61 ·47·std::enable_if_t<std::is_same_v<M_,M>·and·not·std::is_const_v<M_>,·int>·=
 62 0>
 63 ·48·constexpr·value_type&·operator[]·(size_type·row)·{
 64 ·49·return·matrix_[row][col_];
66 ·5065 ·50·}
67 ·52·constexpr·static·int·rows·=·WM::cols; 
68 ·54·constexpr·static·int·cols·=·WM::rows;66 ·51
 67 ·52·constexpr·const·value_type&·operator[]·(size_type·row)·const·{
 68 ·53·return·matrix_[row][col_];
 69 ·54·}
 70 ·55
 71 ·56·protected:
 72 ·57·M&·matrix_;
 73 ·58·const·size_type·col_;
69 ·55·};74 ·59·};
 75 ·60
70 ·56 
71 ·57 
72 ·58 
73 ·59·template<class·M> 
74 ·60·class·TransposedMatrixWrapper; 
75 ·6176 ·61·}
 77 ·62
 78 ·63·template<typename·M>
 79 ·64·struct·FieldTraits<·Impl::ColumnVectorView<M>·>
 80 ·65·{
76 ·62}·//·namespace·Impl 
77 ·63 
78 ·64//·Specialization·of·FieldTraits·needs·to·be·in·namespace·Dune:: 
79 ·65template<class·M> 
80 ·66struct·FieldTraits<·Impl::TransposedMatrixWrapper<M>·> 
81 ·67{ 
82 ·68·using·field_type·=·typename·FieldTraits<ResolveRef_t<M>>::field_type;81 ·66·using·field_type·=·typename·FieldTraits<M>::field_type;
83 ·69·using·real_type·=·typename·FieldTraits<ResolveRef_t<M>>::real_type;82 ·67·using·real_type·=·typename·FieldTraits<M>::real_type;
 83 ·68·};
 84 ·69
 85 ·81·template<·class·K,·int·ROWS,·int·COLS·=·ROWS·>·class·FieldMatrix;
 86 ·82
 87 ·83
 88 ·84·template<·class·K,·int·ROWS,·int·COLS·>
 89 85·struct·DenseMatVecTraits<·FieldMatrix<K,ROWS,COLS>·>
84 ·70}; 
85 ·71 
Max diff block lines reached; 37039/41929 bytes (88.34%) of diff not shown.
12.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 77 lines modifiedOffset 71, 32 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
79 <a·href="#func-members">Functions</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">propertymap.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">iteratorrange.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/> 
84 <code>#include·&lt;iterator&gt;</code><br·/> 
85 <code>#include·&lt;type_traits&gt;</code><br·/> 
86 </div> 
87 <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">83 <table·class="memberdecls">
89 <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>
90 Classes</h2></td></tr>85 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="a02440.html">Dune::PropertyMapTraits&lt;·PM·&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="a02444.html">Dune::ReadablePropertyMapTag</a></td></tr> 
94 <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> 
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="a02448.html">Dune::WritablePropertyMapTag</a></td></tr> 
97 <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> 
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="a02452.html">Dune::ReadWritePropertyMapTag</a></td></tr> 
100 <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> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02456.html">Dune::LvaluePropertyMapTag</a></td></tr> 
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·lvalue·property·maps.··<a·href="a02456.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="a02460.html">Dune::PropertyMapTraits&lt;·T·*·&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="a02464.html">Dune::PropertyMapTraits&lt;·const·T·*·&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="a02468.html">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&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">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>86 <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>
112 <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>87 <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>
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="a02476.html">Dune::AssociativePropertyMap&lt;·T·&gt;</a></td></tr> 
115 <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> 
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <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> 
118 <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> 
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="a02484.html">Dune::IdentityMap</a></td></tr> 
121 <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> 
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="a02488.html">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;</a></td></tr> 
124 <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> 
125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
126 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
127 <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>
128 Namespaces</h2></td></tr>91 Namespaces</h2></td></tr>
129 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
130 <tr·class="memdesc: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>
131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
132 </table><table·class="memberdecls"> 
133 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
134 Functions</h2></td></tr> 
135 <tr·class="memitem:a422c8e50ed4f40b534187b8fb83fbf3d"·id="r_a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·&gt;·</td></tr> 
136 <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·<a·class="el"·href="a02468.html">RAPropertyMapHelper</a>&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key)</td></tr> 
137 <tr·class="separator:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:a2dc4d3a226776723750b848ae303a11a"·id="r_a2dc4d3a226776723750b848ae303a11a"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·&gt;·</td></tr> 
139 <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·<a·class="el"·href="a02468.html">RAPropertyMapHelper</a>&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key,·const·Value·&amp;value)</td></tr> 
140 <tr·class="separator:a2dc4d3a226776723750b848ae303a11a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 </table>95 </table>
142 </div><!--·contents·-->96 </div><!--·contents·-->
143 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
144 <hr·class="footer"/><address·class="footer"><small>98 <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.899 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
146 </small></address>100 </small></address>
147 </body>101 </body>
2.25 KB
html2text {}
    
Offset 6, 67 lines modifiedOffset 6, 21 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Classes·|·Namespaces
 13 iteratorrange.hh·File·Reference
13 propertymap.hh·File·Reference 
14 #include·<cstddef> 
15 #include·<iterator> 
16 #include·<type_traits> 
17 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
18 ·Classes15 ·Classes
 16 class· Dune::IteratorRange<_Iterator_>
 17  ······Simple·range·between·a·begin·and·an·end·iterator.·More...
19 struct· Dune::PropertyMapTraits<_PM_> 
20   
21 struct· Dune::ReadablePropertyMapTag 
22  ·······Tag·for·the·category·of·readable·property·maps.·More... 
23   
24 struct· Dune::WritablePropertyMapTag 
25  ·······Tag·for·the·category·of·writable·property·maps.·More... 
26   
27 struct· Dune::ReadWritePropertyMapTag 
28  ·······Tag·for·the·category·of·readable·and·writable·property·maps.·More... 
29   
30 struct· Dune::LvaluePropertyMapTag 
31  ·······Tag·for·the·category·of·lvalue·property·maps.·More... 
32   
33 struct· Dune::PropertyMapTraits<_T_*_> 
34   
35 struct· Dune::PropertyMapTraits<_const_T_*_> 
36   
37 struct· Dune::RAPropertyMapHelper<_Reference,_PropertyMap_> 
38   
39 ·class· Dune::IteratorPropertyMap<_RAI,_IM,_T,_R_> 
40  ·······Adapter·to·turn·a·random·access·iterator·into·a·property·map.·More... 
41   
42 ·class· Dune::AssociativePropertyMap<_T_> 
43  ·······An·adapter·to·turn·an·unique·associative·container·into·a·property 
44 ·········map.·More... 
45   
46 ·class· Dune::ConstAssociativePropertyMap<_T_> 
47  ·······An·adaptor·to·turn·an·unique·associative·container·into·a·property 
48 ·········map.·More... 
49   
50 struct· Dune::IdentityMap 
51  ·······A·property·map·that·applies·the·identity·function·to·integers.·More... 
52   
53 struct· Dune::PropertyMapTypeSelector<_T,_C_> 
54  ·······Selector·for·the·property·map·type.·More... 
55  18  
56 ·Namespaces19 ·Namespaces
57 namespace· Dune20 namespace· Dune
58  ··········Dune·namespace.21  ··········Dune·namespace.
59  22  
60 ·Functions 
61 template<class·Reference·,·class·PropertyMap·,·class·Key·> 
62 Reference Dune::get·(const·RAPropertyMapHelper<·Reference,·PropertyMap·> 
63 ···········&pmap,·const·Key·&key) 
64   
65 template<class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·> 
66 ·····void Dune::put·(const·RAPropertyMapHelper<·Reference,·PropertyMap·> 
67 ···········&pmap,·const·Key·&key,·const·Value·&value) 
68   
  
69 ===============================================================================23 ===============================================================================
70 ·····Generated·by [doxygen]·1.9.824 ·····Generated·by [doxygen]·1.9.8
74.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 307 lines modifiedOffset 74, 84 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">propertymap.hh</div></div>80 ··<div·class="headertitle"><div·class="title">iteratorrange.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROPERTYMAP_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ITERATORRANGE_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROPERTYMAP_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ITERATORRANGE_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>90 <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>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>92 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
94 <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="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <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>93 <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>
98 <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="};">94 <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="};">
99 <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>95 <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>
100 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>96 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··{</div>
101 <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> 
102 <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> 
103 <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> 
104 <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>97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 98 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">public</span>:</div>
 99 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 100 <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>
 101 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 102 <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"><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>
105 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 105 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}">
 106 <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>
 107 <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>
 108 <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>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{}</div>
106 </div>110 </div>
107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>111 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
108 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">112 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}">
109 <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>113 <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>
110 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{};</div>114 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{}</div>
111 </div>115 </div>
112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>116 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
113 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">117 <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="}">
114 <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>118 <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:·94,·SHA:·4f2bb14f0d39dbd150fa28819bbfc0cb4dc337c6ee12d390173f1b81c12e6a5f·...·]></div>
 119 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">····</span>{</div>
 120 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keywordflow">return</span>·_begin;</div>
115 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{};</div>121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div>
116 </div>122 </div>
117 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
118 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{};</div>123 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
122 </div> 
123 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
124 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">124 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">
125 <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> 
126 <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>125 <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[·...·truncated·by·diffoscope;·len:·92,·SHA:·4efd5ccacfcdc1113dd7435a53a582d1fca17725d547abe38f2e47084c8d0adc·...·]></div>
 126 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div>
 127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·_end;</div>
127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{};</div>128 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div>
128 </div>129 </div>
 130 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 131 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div>
129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>132 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 133 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····Iterator·_begin;</div>
 134 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····Iterator·_end;</div>
130 <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> 
131 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> 
132 <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> 
133 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>135 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
134 <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> 
135 <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> 
136 <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> 
137 <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> 
138 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div>136 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··};</div>
139 </div>137 </div>
140 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>138 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 139 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div>
141 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>140 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
142 <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> 
143 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="};"> 
144 <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> 
145 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> 
146 <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> 
147 <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> 
148 <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> 
149 <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> 
150 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··};</div> 
151 </div> 
152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
153 <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> 
154 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="};"> 
155 <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> 
156 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{};</div> 
157 </div> 
158 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
159 <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> 
160 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">inline</span>·Reference</div> 
161 <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> 
162 <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> 
163 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">const</span>·Key&amp;·key)</div> 
Max diff block lines reached; 16187/63375 bytes (25.54%) of diff not shown.
12.0 KB
html2text {}
    
Offset 7, 369 lines modifiedOffset 7, 92 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 propertymap.hh12 iteratorrange.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_PROPERTYMAP_HH 
20 ·6#define·DUNE_PROPERTYMAP_HH19 ·5#ifndef·DUNE_COMMON_ITERATORRANGE_HH
 20 ·6#define·DUNE_COMMON_ITERATORRANGE_HH
21 ·721 ·7
 22 ·8namespace·Dune·{
 23 ·9
22 ·8#include·<cstddef> 
23 ·9#include·<iterator> 
24 ·10#include·<type_traits> 
25 ·1124 ·11
26 ·12namespace·Dune 
27 ·13{ 
28 ·14 
29 ·15·template<class·PM> 
30 16·struct·PropertyMapTraits25 ·20·template<typename·Iterator>
 26 21·class·IteratorRange
 27 ·22·{
 28 ·23
 29 ·24·public:
 30 ·25
 31 27·typedef·Iterator·iterator;
 32 ·28
 33 ·30
 34 33·typedef·Iterator·const_iterator;
 35 ·34
 36 36·IteratorRange(const·Iterator&·begin,·const·Iterator&·end)
 37 ·37·:·_begin(begin)
 38 ·38·,·_end(end)
 39 ·39·{}
 40 ·40
 41 42·IteratorRange()
 42 ·43·{}
 43 ·44
 44 46·iterator·begin()·const
31 ·17·{45 ·47·{
 46 ·48·return·_begin;
 47 ·49·}
 48 ·50
 49 52·iterator·end()·const
 50 ·53·{
 51 ·54·return·_end;
 52 ·55·}
 53 ·56
 54 ·57·private:
32 21·typedef·typename·PM::KeyType·KeyType; 
33 25·typedef·typename·PM::ValueType·ValueType; 
34 29·typedef·typename·PM::Reference·Reference; 
35 33·typedef·typename·PM::Category·Category; 
36 ·34·}; 
37 ·35 
38 37·struct·ReadablePropertyMapTag 
39 ·38·{}; 
40 ·39 
41 41·struct·WritablePropertyMapTag 
42 ·42·{}; 
43 ·43 
44 48·struct·ReadWritePropertyMapTag 
45 ·49·:·public·ReadablePropertyMapTag,·public·WritablePropertyMapTag 
46 ·50·{}; 
47 ·51 
48 55·struct·LvaluePropertyMapTag 
49 ·56·:·public·ReadWritePropertyMapTag 
50 ·57·{}; 
51 ·5855 ·58
52 ·59·template<class·T> 
53 60·struct·PropertyMapTraits<T*>56 ·59·Iterator·_begin;
 57 ·60·Iterator·_end;
54 ·61·{58 ·61
55 62·typedef·T·ValueType; 
56 63·typedef·ValueType&·Reference; 
57 64·typedef·std::ptrdiff_t·KeyType; 
58 65·typedef·LvaluePropertyMapTag·Category; 
59 ·66·};59 ·62·};
 60 ·63
60 ·67 
61 ·68 
62 ·69·template<class·T> 
63 70·struct·PropertyMapTraits<const·T*> 
64 ·71·{ 
65 72·typedef·T·ValueType; 
66 73·typedef·const·ValueType&·Reference; 
67 74·typedef·std::ptrdiff_t·KeyType; 
68 75·typedef·LvaluePropertyMapTag·Category; 
69 ·76·}; 
70 ·77 
71 ·78·template<class·Reference,·class·PropertyMap> 
72 79·struct·RAPropertyMapHelper 
73 ·80·{}; 
74 ·81 
75 ·82·template<class·Reference,·class·PropertyMap,·class·Key> 
76 ·83·inline·Reference 
77 84·get(const·RAPropertyMapHelper<Reference,PropertyMap>&·pmap, 
78 ·85·const·Key&·key) 
79 ·86·{ 
80 ·87·return·static_cast<const·PropertyMap&>(pmap)[key]; 
81 ·88·} 
82 ·89 
83 ·90·template<class·Reference,·class·PropertyMap,·class·Key,·class·Value> 
84 ·91·inline·void 
85 92·put(const·RAPropertyMapHelper<Reference,PropertyMap>&·pmap, 
86 ·93·const·Key&·key,·const·Value&·value) 
87 ·94·{ 
88 ·95·static_assert(std::is_convertible<typename·PropertyMap:: 
89 Category,WritablePropertyMapTag>::value, 
90 ·96·"WritablePropertyMapTag·required!"); 
91 ·97·static_cast<const·PropertyMap&>(pmap)[key]·=·value; 
92 ·98·} 
93 ·99 
94 ·103·template<class·RAI,·class·IM, 
95 ·104·class·T·=·typename·std::iterator_traits<RAI>::value_type, 
96 ·105·class·R·=·typename·std::iterator_traits<RAI>::reference> 
97 106·class·IteratorPropertyMap 
98 ·107·:·public·RAPropertyMapHelper<R,IteratorPropertyMap<RAI,IM,T,R>·> 
Max diff block lines reached; 5915/12234 bytes (48.35%) of diff not shown.
7.41 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 41 lines modifiedOffset 70, 44 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
78 ··<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>78 <a·href="#typedef-members">Typedefs</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
 80 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh·File·Reference</div></div>
79 </div><!--header-->81 </div><!--header-->
80 <div·class="contents">82 <div·class="contents">
  
81 <p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
84 <code>#include·&lt;type_traits&gt;</code><br·/> 
85 <code>#include·&lt;ostream&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/> 
92 </div>84 </div>
93 <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">86 <table·class="memberdecls">
95 <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>
96 Namespaces</h2></td></tr>88 Namespaces</h2></td></tr>
97 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 </table><table·class="memberdecls">
 93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 94 Typedefs</h2></td></tr>
 95 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"·id="r_a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 96 <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>
 97 <tr·class="memdesc:a9bbde85cc655ad122680398fef8fa5cd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::unique_ptr</code>·introduced·as·transition·wrapper.··<br·/></td></tr>
 98 <tr·class="separator:a9bbde85cc655ad122680398fef8fa5cd"><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:a6eaf1fedf356f1f09c981cd6863fbb7b"·id="r_a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class...·Args&gt;·</td></tr>
 103 <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>
 104 <tr·class="memdesc:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::make_unique</code>·introduced·as·transition·wrapper.··<br·/></td></tr>
 105 <tr·class="separator:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table>106 </table>
101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
102 <div·class="textblock"><p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·</p> 
103 </div></div><!--·contents·-->107 </div><!--·contents·-->
104 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>109 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>111 </small></address>
108 </body>112 </body>
109 </html>113 </html>
1.34 KB
html2text {}
    
Offset 6, 30 lines modifiedOffset 6, 29 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Typedefs·|·Functions
 13 to_unique_ptr.hh·File·Reference
 14 #include·<memory>
12 Namespaces 
13 scalarmatrixview.hh·File·Reference 
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·More... 
16 #include·<cstddef> 
17 #include·<type_traits> 
18 #include·<ostream> 
19 #include·<dune/common/boundschecking.hh> 
20 #include·<dune/common/typetraits.hh> 
21 #include·<dune/common/matvectraits.hh> 
22 #include·<dune/common/densematrix.hh> 
23 #include·<dune/common/fmatrix.hh> 
24 #include·<dune/common/scalarvectorview.hh> 
25 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
26 ·Namespaces16 ·Namespaces
27 namespace· Dune17 namespace· Dune
28  ··········Dune·namespace.18  ··········Dune·namespace.
29  19  
30 *****·Detailed·Description·***** 
31 Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.20 ·Typedefs
 21 template<class·T·>
 22 using Dune::ToUniquePtr·=·std::unique_ptr<·T·>
 23  ·····Alias·for·std::unique_ptr·introduced·as·transition·wrapper.
 24  
 25 ·Functions
 26 template<class·T·,·class...·Args>
 27 std::unique_ptr<·T·> Dune::makeToUnique·(Args·&&...·args)
 28  ····················Alias·for·std::make_unique·introduced·as·transition
 29 ······················wrapper.
 30  
  
32 ===============================================================================31 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.832 ·····Generated·by [doxygen]·1.9.8
43.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 198 lines modifiedOffset 74, 48 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">scalarmatrixview.hh</div></div>80 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>88 <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>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>89 <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>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00236.html">dune/common/matvectraits.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/densematrix.hh</a>&gt;</span></div> 
98 <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/fmatrix.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00071.html">dune/common/scalarvectorview.hh</a>&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <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>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <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>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 97 <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="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>
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>99 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 100 <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>
 101 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="}">
 102 <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>
102 <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> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
106 <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> 
107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">class·</span>ScalarMatrixView·:</div> 
108 <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> 
109 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>103 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··{</div>
 104 <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>
110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····ScalarVectorView&lt;K&gt;·data_;</div> 
111 <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> 
112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
113 <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> 
114 <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> 
115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>:</div> 
116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
117 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div> 
118 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
119 <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> 
120 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
121 <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> 
122 <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> 
123 <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> 
124 <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> 
125 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>105 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··}</div>
 106 </div>
126 <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> 
127 <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> 
128 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>107 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
129 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//=====·constructors</span></div>108 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">constexpr</span>·ScalarMatrixView·()</div> 
131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·data_()</div> 
132 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····{}</div> 
133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
134 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····ScalarMatrixView·(K*·p)·:</div> 
135 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······data_(p)</div> 
136 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{}</div> 
137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>109 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
138 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····ScalarMatrixView·(<span·class="keyword">const</span>·ScalarMatrixView·&amp;other)·:</div> 
139 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······Base(),</div> 
140 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······data_(other.data_)</div> 
141 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{}</div> 
142 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
143 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ScalarMatrixView·(ScalarMatrixView·&amp;&amp;other)·:</div> 
144 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······Base(),</div> 
145 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······data_(·other.data_·)</div> 
146 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····{}</div> 
147 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
148 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····ScalarMatrixView&amp;·operator=·(<span·class="keyword">const</span>·ScalarMatrixView&amp;·other)</div> 
149 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div> 
150 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······data_·=·other.data_;</div> 
151 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> 
152 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> 
153 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
154 <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>·KK&gt;</div> 
155 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····ScalarMatrixView&amp;·operator=·(<span·class="keyword">const</span>·ScalarMatrixView&lt;KK&gt;&amp;·other)</div> 
156 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div> 
157 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······data_·=·other.data_;</div> 
158 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> 
159 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div> 
160 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
161 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,</div> 
162 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······std::enable_if_t&lt;std::is_convertible&lt;T,·K&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
163 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keyword">inline</span>·ScalarMatrixView&amp;·operator=·(<span·class="keyword">const</span>·T&amp;·k)</div> 
164 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····{</div> 
165 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>······data_·=·k;</div> 
166 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> 
167 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····}</div> 
168 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
169 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="comment">//·make·this·thing·a·matrix</span></div> 
170 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01400.html#ad86e41607482a02d21aa2ee8b7cdca0e">size_type</a>·mat_rows()·{·<span·class="keywordflow">return</span>·1;·}</div> 
Max diff block lines reached; 4417/36189 bytes (12.21%) of diff not shown.
7.53 KB
html2text {}
    
Offset 7, 234 lines modifiedOffset 7, 51 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 scalarmatrixview.hh12 to_unique_ptr.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5
 20 ·6#ifndef·DUNE_TO_UNIQUE_PTR_HH
 21 ·7#define·DUNE_TO_UNIQUE_PTR_HH
19 ·5#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH 
20 ·6#define·DUNE_COMMON_SCALARMATRIXVIEW_HH 
21 ·7 
22 ·8#include·<cstddef> 
23 ·9#include·<type_traits> 
24 ·10#include·<ostream> 
25 ·11 
26 ·12#include·<dune/common/boundschecking.hh> 
27 ·13#include·<dune/common/typetraits.hh> 
28 ·14#include·<dune/common/matvectraits.hh> 
29 ·15#include·<dune/common/densematrix.hh> 
30 ·16#include·<dune/common/fmatrix.hh> 
31 ·17#include·<dune/common/scalarvectorview.hh> 
32 ·1822 ·8
 23 ·9#warning·to_unique_ptr.hh·and·ToUniquePtr·are·deprecated.·Use·std::unique_ptr
 24 or·std::shared_ptr·instead.
 25 ·10
 26 ·11#include·<memory>
 27 ·12
 28 ·13namespace·Dune
 29 ·14{
 30 ·17·template·<class·T>
 31 18·using·ToUniquePtr·[[deprecated]]·=·std::unique_ptr<T>;
33 ·1932 ·19
 33 ·22·template·<class·T,·class...·Args>
 34 23·[[deprecated]]·std::unique_ptr<T>·makeToUnique·(Args&&...·args)
34 ·20namespace·Dune·{ 
35 ·21 
36 ·22namespace·Impl·{ 
37 ·23 
38 ·39·template<class·K> 
39 ·40·class·ScalarMatrixView·: 
40 ·41·public·DenseMatrix<ScalarMatrixView<K>> 
41 ·42·{35 ·24·{
 36 ·25·return·std::make_unique(std::forward<Args>(args)...);
 37 ·26·}
 38 ·27
42 ·43·ScalarVectorView<K>·data_; 
43 ·44·using·Base·=·DenseMatrix<ScalarMatrixView<K>>; 
44 ·45 
45 ·46·template·<class> 
46 ·47·friend·class·ScalarMatrixView; 
47 ·48·public: 
48 ·49 
49 ·50·//=====·type·definitions·and·constants 
50 ·51 
51 ·54·constexpr·static·int·blocklevel·=·1; 
52 ·55 
53 ·56·using·size_type·=·typename·Base::size_type; 
54 ·57·using·row_type·=·typename·Base::row_type; 
55 ·58·using·row_reference·=·typename·Base::row_reference; 
56 ·59·using·const_row_reference·=·typename·Base::const_row_reference; 
57 ·60 
58 ·63·constexpr·static·int·rows·=·1; 
59 ·66·constexpr·static·int·cols·=·1; 
60 ·67 
61 ·68·//=====·constructors 
62 ·71·constexpr·ScalarMatrixView·() 
63 ·72·:·data_() 
64 ·73·{} 
65 ·74 
66 ·76·ScalarMatrixView·(K*·p)·: 
67 ·77·data_(p) 
68 ·78·{} 
69 ·79 
70 ·81·ScalarMatrixView·(const·ScalarMatrixView·&other)·: 
71 ·82·Base(), 
72 ·83·data_(other.data_) 
73 ·84·{} 
74 ·85 
75 ·87·ScalarMatrixView·(ScalarMatrixView·&&other)·: 
76 ·88·Base(), 
77 ·89·data_(·other.data_·) 
78 ·90·{} 
79 ·91 
80 ·93·ScalarMatrixView&·operator=·(const·ScalarMatrixView&·other) 
81 ·94·{ 
82 ·95·data_·=·other.data_; 
83 ·96·return·*this; 
84 ·97·} 
85 ·98 
86 ·99·template<class·KK> 
87 ·100·ScalarMatrixView&·operator=·(const·ScalarMatrixView<KK>&·other) 
88 ·101·{ 
89 ·102·data_·=·other.data_; 
90 ·103·return·*this; 
91 ·104·} 
92 ·105 
93 ·107·template<typename·T, 
94 ·108·std::enable_if_t<std::is_convertible<T,·K>::value,·int>·=·0> 
95 ·109·inline·ScalarMatrixView&·operator=·(const·T&·k) 
96 ·110·{ 
97 ·111·data_·=·k; 
98 ·112·return·*this; 
99 ·113·} 
100 ·114 
101 ·115·//·make·this·thing·a·matrix 
102 ·116·static·constexpr·size_type·mat_rows()·{·return·1;·} 
103 ·117·static·constexpr·size_type·mat_cols()·{·return·1;·} 
104 ·118 
105 ·119·row_reference·mat_access·([[maybe_unused]]·size_type·i) 
106 ·120·{ 
107 ·121·DUNE_ASSERT_BOUNDS(i·==·0); 
108 ·122·return·data_; 
109 ·123·} 
110 ·124 
111 ·125·const_row_reference·mat_access·([[maybe_unused]]·size_type·i)·const 
112 ·126·{ 
113 ·127·DUNE_ASSERT_BOUNDS(i·==·0); 
114 ·128·return·data_; 
Max diff block lines reached; 1800/7689 bytes (23.41%) of diff not shown.
8.15 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 54 lines modifiedOffset 72, 46 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<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>79 ··<div·class="headertitle"><div·class="title">ftraits.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>This·file·implements·a·dense·vector·with·a·dynamic·size.··82 <p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>
85 <code>#include·&lt;cstddef&gt;</code><br·/> 
86 <code>#include·&lt;cstdlib&gt;</code><br·/> 
87 <code>#include·&lt;complex&gt;</code><br·/> 
88 <code>#include·&lt;cstring&gt;</code><br·/> 
89 <code>#include·&lt;initializer_list&gt;</code><br·/> 
90 <code>#include·&lt;limits&gt;</code><br·/> 
91 <code>#include·&lt;utility&gt;</code><br·/> 
92 <code>#include·&quot;<a·class="el"·href="a00191_source.html">boundschecking.hh</a>&quot;</code><br·/> 
93 <code>#include·&quot;<a·class="el"·href="a00221_source.html">exceptions.hh</a>&quot;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00227_source.html">genericiterator.hh</a>&quot;</code><br·/> 
95 <code>#include·&lt;vector&gt;</code><br·/>85 <code>#include·&lt;vector&gt;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00392_source.html">densevector.hh</a>&quot;</code><br·/> 
97 </div>86 </div>
98 <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">88 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>90 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="a01516.html">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&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="a01740.html">Dune::FieldTraits&lt;·T·&gt;</a></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <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>93 <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>
105 <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="a01748.html">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;</a></td></tr>
 96 <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="a01512.html">Dune::DynamicVector&lt;·K,·Allocator·&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="a01752.html">Dune::FieldTraits&lt;·T[N]·&gt;</a></td></tr>
107 <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>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="a01756.html">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;</a></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
110 <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>
111 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
112 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
113 <tr·class="memdesc: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>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>107 </table>
116 <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>
117 <div·class="textblock"><p>This·file·implements·a·dense·vector·with·a·dynamic·size.·</p>109 <div·class="textblock"><p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</p>
118 </div></div><!--·contents·-->110 </div></div><!--·contents·-->
119 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>112 <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.8113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>114 </small></address>
123 </body>115 </body>
124 </html>116 </html>
1.5 KB
html2text {}
    
Offset 7, 41 lines modifiedOffset 7, 33 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
13 dynvector.hh·File·Reference13 ftraits.hh·File·Reference
 14 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
 15 More...
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 This·file·implements·a·dense·vector·with·a·dynamic·size.·More... 
16 #include·<cmath> 
17 #include·<cstddef> 
18 #include·<cstdlib> 
19 #include·<complex>16 #include·<complex>
20 #include·<cstring> 
21 #include·<initializer_list> 
22 #include·<limits> 
23 #include·<utility> 
24 #include·"boundschecking.hh" 
25 #include·"exceptions.hh" 
26 #include·"genericiterator.hh" 
27 #include·<vector>17 #include·<vector>
28 #include·"densevector.hh" 
29 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
30 ·Classes19 ·Classes
31 struct· Dune::DenseMatVecTraits<_DynamicVector<_K,_Allocator_>_>20 struct· Dune::FieldTraits<_T_>
32  21  
33 struct· Dune::FieldTraits<_DynamicVector<_K,_Allocator_>_>22 struct· Dune::FieldTraits<_const_T_>
34  23  
35 ·class· Dune::DynamicVector<_K,_Allocator_> 
36  ·······Construct·a·vector·with·a·dynamic·size.·More...24 struct· Dune::FieldTraits<_std::complex<_T_>_>
 25  
 26 struct· Dune::FieldTraits<_T[N]_>
 27  
 28 struct· Dune::FieldTraits<_std::vector<_T_>_>
37  29  
38 ·Namespaces30 ·Namespaces
39 namespace· Dune31 namespace· Dune
40  ··········Dune·namespace.32  ··········Dune·namespace.
41  33  
42 *****·Detailed·Description·*****34 *****·Detailed·Description·*****
43 This·file·implements·a·dense·vector·with·a·dynamic·size.35 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
  
44 ===============================================================================36 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.837 ·····Generated·by [doxygen]·1.9.8
74.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 271 lines modifiedOffset 74, 90 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">dynvector.hh</div></div>80 ··<div·class="headertitle"><div·class="title">ftraits.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNVECTOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FTRAITS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNVECTOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FTRAITS_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>93 <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>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00191.html">boundschecking.hh</a>&quot;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00221.html">exceptions.hh</a>&quot;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00227.html">genericiterator.hh</a>&quot;</span></div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00392.html">densevector.hh</a>&quot;</span></div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
106 <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> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
108 <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> 
109 <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>95 <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>
110 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="};">96 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};">
 97 <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>
111 <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> 
112 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> 
113 <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> 
114 <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> 
115 <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> 
116 <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> 
117 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>98 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
 99 <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>
 100 <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>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div>
118 </div>102 </div>
119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>103 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
120 <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>104 <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>
121 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};">105 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
122 <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</[·...·truncated·by·diffoscope;·len:·25,·SHA:·ac2f2a07642d179e5b032a1a8cf715bf69d53615fb77a65edecb5d8b2dd27133·...·]&gt;</div>106 <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>
123 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div>107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
124 <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#aaaf[·...·truncated·by·diffoscope;·len:·148,·SHA:·e2b2860bd37ba280c1e8528597e7fa9a22f91157e6848343a3ad21617df4907a·...·]">field_type</a>;</div>108 <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#aaaf[·...·truncated·by·diffoscope;·len:·146,·SHA:·6b9d3ccb97ce3ce6cfa0464c5e49d95a26bffdfac48cc1451e565910faee8c95·...·]">field_type</a>;</div>
125 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c[·...·truncated·by·diffoscope;·len:·147,·SHA:·7c043f1a58152295b0f861055178d4530241befb87f76faf1d7d6a6694842b2f·...·]">real_type</a>;</div>109 <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#ab1c[·...·truncated·by·diffoscope;·len:·145,·SHA:·c1229b88f51d8261dfd15fabb3f7d9ccb7b133c5b0683ff19bbc8027df5d4b19·...·]">real_type</a>;</div>
126 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··};</div>110 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··};</div>
127 </div>111 </div>
128 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
129 <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>113 <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>
130 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};">114 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">
 115 <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>
131 <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> 
132 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··{</div> 
133 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····std::vector&lt;·K,·Allocator·&gt;·_data;</div> 
134 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
135 <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> 
136 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div> 
137 <div·class="line"><a·id="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> 
138 <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> 
139 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
140 <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> 
141 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
142 <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> 
143 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
144 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> 
145 <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> 
146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······_data(·a·)</div> 
147 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····{}</div>116 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
 117 <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>
 118 <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>
 119 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··};</div>
148 </div>120 </div>
149 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 122 <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>
150 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">123 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">
 124 <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>
151 <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> 
152 <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> 
153 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{}</div>125 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>
 126 <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>
 127 <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>
 128 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··};</div>
154 </div>129 </div>
155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>130 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 131 <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>
156 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}">132 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">
 133 <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>
157 <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> 
158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······_data(·n,·c,·a·)</div> 
159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{}</div>134 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div>
 135 <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>
 136 <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>
 137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··};</div>
160 </div>138 </div>
161 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
162 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> 
163 <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> 
164 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······_data(l)</div> 
165 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{}</div> 
Max diff block lines reached; 17151/63482 bytes (27.02%) of diff not shown.
11.9 KB
html2text {}
    
Offset 7, 343 lines modifiedOffset 7, 102 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 dynvector.hh12 ftraits.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DYNVECTOR_HH19 ·5#ifndef·DUNE_FTRAITS_HH
20 ·6#define·DUNE_DYNVECTOR_HH20 ·6#define·DUNE_FTRAITS_HH
21 ·721 ·7
22 ·8#include·<cmath> 
23 ·9#include·<cstddef> 
24 ·10#include·<cstdlib> 
25 ·11#include·<complex>22 ·12#include·<complex>
26 ·12#include·<cstring>23 ·13#include·<vector>
 24 ·14
 25 ·15namespace·Dune·{
27 ·13#include·<initializer_list> 
28 ·14#include·<limits> 
29 ·15#include·<utility> 
30 ·1626 ·16
 27 ·24·template<class·T>
 28 25·struct·FieldTraits
 29 ·26·{
 30 28·typedef·T·field_type;
31 ·17#include·"boundschecking.hh" 
32 ·18#include·"exceptions.hh" 
33 ·19#include·"genericiterator.hh" 
34 ·20 
35 ·21#include·<vector> 
36 ·22#include·"densevector.hh" 
37 ·23 
38 ·24namespace·Dune·{ 
39 ·25 
40 ·34·template<·class·K,·class·Allocator·>·class·DynamicVector; 
41 ·35·template<·class·K,·class·Allocator·> 
42 36·struct·DenseMatVecTraits<·DynamicVector<·K,·Allocator·>·> 
43 ·37·{ 
44 38·typedef·DynamicVector<_K,_Allocator_>·derived_type; 
45 39·typedef·std::vector<·K,·Allocator·>·container_type; 
46 40·typedef·K·value_type;31 30·typedef·T·real_type;
47 41·typedef·typename·container_type::size_type·size_type;32 ·31·};
 33 ·32
 34 ·33·template<class·T>
 35 34·struct·FieldTraits<const·T>
 36 ·35·{
 37 36·typedef·typename·FieldTraits<T>::field_type·field_type;
 38 37·typedef·typename·FieldTraits<T>::real_type·real_type;
 39 ·38·};
 40 ·39
 41 ·40·template<class·T>
 42 41·struct·FieldTraits<·std::complex<T>·>
 43 ·42·{
 44 43·typedef·std::complex<T>·field_type;
 45 44·typedef·T·real_type;
48 ·42·};46 ·45·};
49 ·43 
50 ·44·template<·class·K,·class·Allocator·> 
51 45·struct·FieldTraits<·DynamicVector<·K,·Allocator·>·>47 ·46
 48 ·47·template<class·T,·unsigned·int·N>
 49 48·struct·FieldTraits<·T[N]·>
52 ·46·{50 ·49·{
 51 50·typedef·typename·FieldTraits<T>::field_type·field_type;
 52 51·typedef·typename·FieldTraits<T>::real_type·real_type;
 53 ·52·};
 54 ·53
 55 ·54·template<class·T>
 56 55·struct·FieldTraits<·std::vector<T>·>
 57 ·56·{
53 47·typedef·typename·FieldTraits<_K_>::field_type·field_type;58 57·typedef·typename·FieldTraits<T>::field_type·field_type;
54 48·typedef·typename·FieldTraits<_K_>::real_type·real_type;59 58·typedef·typename·FieldTraits<T>::real_type·real_type;
55 ·49·};60 ·59·};
56 ·50 
57 ·57·template<·class·K,·class·Allocator·=·std::allocator<·K·>·> 
58 58·class·DynamicVector·:·public·DenseVector<·DynamicVector<·K,·Allocator·>·> 
59 ·59·{ 
60 ·60·std::vector<·K,·Allocator·>·_data; 
61 ·61 
62 ·62·typedef·DenseVector<_DynamicVector<_K,_Allocator_>·>·Base; 
63 ·63·public: 
64 64·typedef·typename·Base::size_type·size_type; 
65 65·typedef·typename·Base::value_type·value_type; 
66 ·66 
67 67·typedef·std::vector<·K,·Allocator·>·container_type; 
68 ·68 
69 69·typedef·Allocator·allocator_type; 
70 ·70 
71 72·explicit·DynamicVector(const·allocator_type·&a·=·allocator_type()·)·: 
72 ·73·_data(·a·) 
73 ·74·{} 
74 ·75 
75 76·explicit·DynamicVector(size_type·n,·const·allocator_type·&a·=·allocator_type 
76 ()·)·: 
77 ·77·_data(·n,·value_type(),·a·) 
78 ·78·{} 
79 ·79 
80 81·DynamicVector(·size_type·n,·value_type·c,·const·allocator_type·&a·= 
81 allocator_type()·)·: 
82 ·82·_data(·n,·c,·a·) 
83 ·83·{} 
84 ·84 
85 86·DynamicVector·(std::initializer_list<K>·const·&l)·: 
86 ·87·_data(l) 
87 ·88·{} 
88 ·89 
89 91·DynamicVector(const·DynamicVector·&·x)·: 
90 ·92·Base(),·_data(x._data) 
91 ·93·{} 
92 ·94 
93 96·DynamicVector(DynamicVector·&&·x)·: 
94 ·97·_data(std::move(x._data)) 
95 ·98·{} 
96 ·99 
97 ·100·template<·class·T·> 
98 101·DynamicVector(const·DynamicVector<_T,_Allocator_>·&·x)·: 
99 ·102·_data(x.begin(),·x.end(),·x.get_allocator()) 
100 ·103·{} 
101 ·104 
102 ·106·template<·class·X·> 
103 107·DynamicVector(const·DenseVector<_X_>·&·x,·const·allocator_type·&a·= 
Max diff block lines reached; 5887/12209 bytes (48.22%) of diff not shown.
29.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 47 lines modifiedOffset 65, 127 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#namespaces">Namespaces</a>·&#124;76 <a·href="#namespaces">Namespaces</a>··</div>
 77 ··<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>
77 <a·href="#func-members">Functions</a>··</div> 
78 ··<div·class="headertitle"><div·class="title">overloadset.hh·File·Reference</div></div> 
79 </div><!--header-->78 </div><!--header-->
80 <div·class="contents">79 <div·class="contents">
  
 80 <p>Default·implementations·for·SIMD·Implementations.··
 81 <a·href="#details">More...</a></p>
81 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>82 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 83 <code>#include·&lt;cstddef&gt;</code><br·/>
82 <code>#include·&lt;type_traits&gt;</code><br·/>84 <code>#include·&lt;type_traits&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
84 </div>90 </div>
85 <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">92 <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"·id="r_a00425"><td·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"·id="r_a00425"><td·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:a00429"·id="r_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>
 99 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:a00430"·id="r_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>
 102 <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>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
94 Functions</h2></td></tr>106 Functions</h2></td></tr>
95 <tr·class="memitem:gae007ebc02578de3fe994b28e4378fd80"·id="r_gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr> 
96 <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> 
97 <tr·class="memdesc:gae007ebc02578de3fe994b28e4378fd80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·overload·set.··<br·/></td></tr>107 <tr><td·colspan="2"><div·class="groupHeader">Overloadable·and·default·functions</div></td></tr>
 108 <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>
 109 </div></td></tr>
 110 <tr·class="memitem:ga172c6bee6a07fdaf412ca0771084d117"·id="r_ga172c6bee6a07fdaf412ca0771084d117"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 111 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·std::size_t·l,·V·v)=delete</td></tr>
 112 <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>··<br·/></td></tr>
 113 <tr·class="separator:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:ga2d92cc23bb0b95ca627fa2560c2f9006"·id="r_ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 115 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·<a·class="el"·href="a03028.html">MetaType</a>&lt;·V·&gt;,·const·V·&amp;u)</td></tr>
 116 <tr·class="memdesc:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(V)··<br·/></td></tr>
 117 <tr·class="separator:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:gaacc1dbc07ddc0fd6b237ca18e213c3be"·id="r_gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr>
 119 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·<a·class="el"·href="a03028.html">MetaType</a>&lt;·V·&gt;,·const·U·&amp;u)</td></tr>
 120 <tr·class="memdesc:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(U)··<br·/></td></tr>
98 <tr·class="separator:gae007ebc02578de3fe994b28e4378fd80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"·id="r_ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr> 
100 <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> 
101 <tr·class="memdesc:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·ordered·overload·set.··<br·/></td></tr>122 <tr·class="memitem:gac82cb295f767f7aece888fd9216db1b3"·id="r_gac82cb295f767f7aece888fd9216db1b3"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr>
 123 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·<a·class="el"·href="a03028.html">MetaType</a>&lt;·V·&gt;,·S·s)</td></tr>
 124 <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>··<br·/></td></tr>
 125 <tr·class="separator:gac82cb295f767f7aece888fd9216db1b3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:gacd3b3b8cae27c30aa73e855afbe904d7"·id="r_gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 127 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)=delete</td></tr>
 128 <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>··<br·/></td></tr>
 129 <tr·class="separator:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:gafb35651a7a1777d932462357552bb90c"·id="r_gafb35651a7a1777d932462357552bb90c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 131 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr>
 132 <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>··<br·/></td></tr>
 133 <tr·class="separator:gafb35651a7a1777d932462357552bb90c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:gab9dde84db30133b70a28c0b89399bc71"·id="r_gab9dde84db30133b70a28c0b89399bc71"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 135 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr>
 136 <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>··<br·/></td></tr>
 137 <tr·class="separator:gab9dde84db30133b70a28c0b89399bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:gae87036ad8322cb0064cdd3bfad16ca69"·id="r_gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 139 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)=delete</td></tr>
 140 <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>··<br·/></td></tr>
 141 <tr·class="separator:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:ga6850149b7bbe8eff67835ecfd8471f7d"·id="r_ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 143 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 144 <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>··<br·/></td></tr>
102 <tr·class="separator:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>145 <tr·class="separator:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:gaa272813526339482ae077b1a0e52a01e"·id="r_gaa272813526339482ae077b1a0e52a01e"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 147 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 148 <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>··<br·/></td></tr>
 149 <tr·class="separator:gaa272813526339482ae077b1a0e52a01e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:ga537e92d4cfd4637707852c7f93c73c74"·id="r_ga537e92d4cfd4637707852c7f93c73c74"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 151 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 152 <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>··<br·/></td></tr>
 153 <tr·class="separator:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ga6be36412c4ee50b1e5023f43e85a53ec"·id="r_ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 155 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v)</td></tr>
 156 <tr·class="memdesc:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::maxValue()··<br·/></td></tr>
 157 <tr·class="separator:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:ga45f575aad94606a1a2afa3698abcee72"·id="r_ga45f575aad94606a1a2afa3698abcee72"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 159 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0·&gt;,·const·V·&amp;v)</td></tr>
 160 <tr·class="memdesc:ga45f575aad94606a1a2afa3698abcee72"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::minValue()··<br·/></td></tr>
 161 <tr·class="separator:ga45f575aad94606a1a2afa3698abcee72"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:ga14422b30715ca6467ef7ad7553497e8f"·id="r_ga14422b30715ca6467ef7ad7553497e8f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 163 <tr·class="memitem:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">Dune::Simd::Overloads::mask</a>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0,·std::is_same&lt;·V,·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</td></tr>
 164 <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>··<br·/></td></tr>
 165 <tr·class="separator:ga14422b30715ca6467ef7ad7553497e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:gac968f40d2358486033fdc31464a2df7f"·id="r_gac968f40d2358486033fdc31464a2df7f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 167 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·0,·!std::is_same&lt;·V,·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</td></tr>
Max diff block lines reached; 871/24701 bytes (3.53%) of diff not shown.
4.72 KB
html2text {}
    
Offset 6, 29 lines modifiedOffset 6, 128 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions12 ····*·simd
 13 Namespaces
13 overloadset.hh·File·Reference14 defaults.hh·File·Reference
14 #include·<utility>15 Common·»·Vectorization·»·Abstraction_Developer's_Interface
 16 Default·implementations·for·SIMD·Implementations.·More...
 17 #include·<algorithm>
 18 #include·<cstddef>
15 #include·<type_traits>19 #include·<type_traits>
 20 #include·<dune/common/rangeutilities.hh>
 21 #include·<dune/common/simd/base.hh>
 22 #include·<dune/common/simd/interface.hh>
 23 #include·<dune/common/typelist.hh>
16 #include·<dune/common/typetraits.hh>24 #include·<dune/common/typetraits.hh>
17 Go_to_the_source_code_of_this_file.25 Go_to_the_source_code_of_this_file.
18 ·Namespaces26 ·Namespaces
19 namespace· Dune27 namespace· Dune
20  ··········Dune·namespace.28  ··········Dune·namespace.
21  29  
 30 namespace· Dune::Simd
 31  ··········Namespace·for·vectorization·interface·functions·used·by·library
 32 ············developers.
 33  
 34 namespace· Dune::Simd::Overloads
 35  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 36 ············implementation.
 37  
22 ·Functions38 ·Functions
 39 Overloadable·and·default·functions
 40 This·group·contains·functions·that·you,·as·an·abstraction·developer,·must
 41 implement.·All·functions·that·are·deleted·must·be·provided,·functions·that·have
 42 a·default·implementation·may·be·left·unimplemented·if·the·default·behaviour·is
 43 satisfactory.
23 template<class...·F>44 template<class·V·>
24 auto Dune::overload·(F·&&...·f) 
25  ····Create·an·overload·set.45 decltype(auto) Dune::Simd::Overloads::lane·(ADLTag<·0·>,·std::size_t·l,·V
 46 ················v)=delete
 47  ··············implements·Simd::lane()
26  48  
27 template<class...·F>49 template<class·V·>
28 auto Dune::orderedOverload·(F·&&...·f) 
29  ····Create·an·ordered·overload·set.50 ···constexpr·Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>,
 51 ················const·V·&u)
 52  ··············implements·Simd::implCast<V>(V)
 53  
 54 template<class·V·,·class·U·>
 55 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>,
 56 ················const·U·&u)
 57  ··············implements·Simd::implCast<V>(U)
 58  
 59 template<class·V·,·class·S·>
 60 ··········auto Dune::Simd::Overloads::broadcast·(ADLTag<·0·>,·MetaType<·V·>,·S
 61 ················s)
 62  ··············implements·Simd::broadcast<V>()
 63  
 64 template<class·V·>
 65 ·············V Dune::Simd::Overloads::cond·(ADLTag<·0·>,·const·Mask<·V·>
 66 ················&mask,·const·V·&ifTrue,·const·V·&ifFalse)=delete
 67  ··············implements·Simd::cond()
 68  
 69 template<class·V·>
 70 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v1,·const·V
 71 ················&v2)
 72  ··············implements·binary·Simd::max()
 73  
 74 template<class·V·>
 75 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v1,·const·V
 76 ················&v2)
 77  ··············implements·binary·Simd::min()
 78  
 79 template<class·Mask·>
 80 ··········bool Dune::Simd::Overloads::anyTrue·(ADLTag<·0·>,·const·Mask
 81 ················&mask)=delete
 82  ··············implements·Simd::anyTrue()
 83  
 84 template<class·Mask·>
 85 ··········bool Dune::Simd::Overloads::allTrue·(ADLTag<·0·>,·const·Mask·&mask)
 86  ··············implements·Simd::allTrue()
 87  
 88 template<class·Mask·>
 89 ··········bool Dune::Simd::Overloads::anyFalse·(ADLTag<·0·>,·const·Mask·&mask)
 90  ··············implements·Simd::anyFalse()
 91  
 92 template<class·Mask·>
 93 ··········bool Dune::Simd::Overloads::allFalse·(ADLTag<·0·>,·const·Mask·&mask)
 94  ··············implements·Simd::allFalse()
 95  
 96 template<class·V·>
 97 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v)
 98  ··············implements·Simd::maxValue()
 99  
 100 template<class·V·>
 101 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v)
 102  ··············implements·Simd::minValue()
 103  
 104 template<class·V·>
 105 ·····Mask<·V·> Dune::Simd::Overloads::mask·(ADLTag<·0,·std::is_same<·V,·Mask<
 106 ················V·>·>::value·>,·const·V·&v)
 107  ··············implements·Simd::mask()
 108  
 109 template<class·V·>
 110 ··········auto Dune::Simd::Overloads::mask·(ADLTag<·0,·!std::is_same<·V,·Mask<
 111 ················V·>·>::value·>,·const·V·&v)
 112  ··············implements·Simd::mask()
 113  
 114 template<class·V1·,·class·V2·>
 115 ··········auto Dune::Simd::Overloads::maskOr·(ADLTag<·0·>,·const·V1·&v1,·const
 116 ················V2·&v2)
 117  ··············implements·Simd::maskOr()
 118  
 119 template<class·V1·,·class·V2·>
 120 ··········auto Dune::Simd::Overloads::maskAnd·(ADLTag<·0·>,·const·V1·&v1,
 121 ················const·V2·&v2)
 122  ··············implements·Simd::maskAnd()
30  123  
 124 *****·Detailed·Description·*****
 125 Default·implementations·for·SIMD·Implementations.
 126 This·file·provides·default·overloads·for·SIMD·implementation·functions,·and
 127 deleted·placeholders·where·there·are·no·default·implementations.
 128 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include
 129 <dune/common/simd/simd.hh>·instead.
Max diff block lines reached; 116/4814 bytes (2.41%) of diff not shown.
67.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 143 lines modifiedOffset 70, 215 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">overloadset.hh</div></div>80 ··<div·class="headertitle"><div·class="title">defaults.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_OVERLOADSET_HH</span></div>85 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_OVERLOADSET_HH</span></div>86 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
94 <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="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Impl·{</div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
98 <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> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">class·</span>OverloadSet</div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····:·<span·class="keyword">public</span>·F...</div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··{</div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">public</span>:</div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
105 <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> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····OverloadSet(FF&amp;&amp;...·ff)</div> 
107 <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>92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/simd/base.hh</a>&gt;</span></div>
 94 <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>
 95 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/typelist.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····{}</div>97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>98 <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>
110 <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="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">namespace·</span>Simd·{</div>
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>100 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">namespace·</span>Overloads·{</div>
112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div>101 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 102 <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>
 103 <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="a02608.html">ADLTag&lt;0&gt;</a>,·std::size_t·l,·V·v)·=·<span·class="keyword">delete</span>;</div>
113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
114 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·end·namespace·Impl</span></div> 
115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
116 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
117 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
118 <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>105 <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>
119 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}">106 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">
120 <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:·18,·SHA:·327d1c33192986765a1b0d69dc613c3677c533db2d8bacab17a53a1f28d9c652·...·])</div>107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">···52</a></span>······<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006[·...·truncated·by·diffoscope;·len:·192,·SHA:·fafd83e3b83a91f2785fbec45751f17da595e4970ef421aa8064fd99d350472e·...·])</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="keywordflow">return</span>·u;</div>
 110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div>
 111 </div>
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div>112 <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="keywordflow">return</span>·Impl::OverloadSet&lt;std::decay_t&lt;F&gt;...&gt;(std::forward&lt;F&gt;(f)...);</div>113 <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>
 114 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}">
 115 <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="a02608.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>
 116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······{</div>
 117 <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>
 118 <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>
 119 <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="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·result;</div>
123 <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>······}</div>
124 </div>122 </div>
125 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
126 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>123 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</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>·V,·<span·class="keyword">class</span>·S&gt;</div>
127 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
128 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">namespace·</span>Impl·{</div> 
129 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div> 
133 <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> 
134 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</span>:</div> 
135 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
136 <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> 
137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····OrderedOverloadSet(FF0&amp;&amp;·f0,·FF&amp;&amp;...·ff)·:</div> 
138 <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> 
139 <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> 
140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div> 
141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
142 <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> 
143 <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> 
144 <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> 
145 <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> 
146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div> 
147 <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> 
148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//·Forward·to·operator()·of·base·class·if·F0·cannot·be·called·with·the·given</span></div> 
151 <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> 
152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//·of·all·F...·.</span></div> 
153 <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> 
154 <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> 
155 <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> 
156 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····{</div> 
157 <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> 
158 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····}</div> 
159 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
Max diff block lines reached; 16569/58046 bytes (28.54%) of diff not shown.
10.2 KB
html2text {}
    
Offset 7, 144 lines modifiedOffset 7, 252 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 overloadset.hh12 ····*·simd
 13 defaults.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_OVERLOADSET_HH 
20 ·6#define·DUNE_COMMON_OVERLOADSET_HH 
21 ·7 
22 ·8#include·<utility>18 ·3#ifndef·DUNE_COMMON_SIMD_DEFAULTS_HH
 19 ·4#define·DUNE_COMMON_SIMD_DEFAULTS_HH
 20 ·5
 21 ·17#include·<algorithm>
 22 ·18#include·<cstddef>
23 ·9#include·<type_traits>23 ·19#include·<type_traits>
24 ·10#include·<dune/common/typetraits.hh> 
25 ·11 
26 ·12namespace·Dune·{ 
27 ·13 
28 ·14namespace·Impl·{ 
29 ·15 
30 ·16·template<typename...·F> 
31 ·17·class·OverloadSet 
32 ·18·:·public·F... 
33 ·19·{ 
34 ·2024 ·20
 25 ·21#include·<dune/common/rangeutilities.hh>
 26 ·22#include·<dune/common/simd/base.hh>
 27 ·23#include·<dune/common/simd/interface.hh>
 28 ·24#include·<dune/common/typelist.hh>
 29 ·25#include·<dune/common/typetraits.hh>
 30 ·26
 31 ·27namespace·Dune·{
 32 ·28·namespace·Simd·{
 33 ·29·namespace·Overloads·{
 34 ·30
35 ·21·public: 
36 ·22 
37 ·23·template<typename...·FF> 
38 ·24·OverloadSet(FF&&...·ff) 
39 ·25·:·F(std::forward<FF>(ff))... 
40 ·26·{} 
41 ·27 
42 ·28·using·F::operator()...; 
43 ·29 
44 ·30·}; 
45 ·31 
46 ·32}·//·end·namespace·Impl 
47 ·33 
48 ·34 
49 ·35 
50 ·60template<class...·F>35 ·47·template<class·V>
51 61auto·overload(F&&...·f) 
52 ·62{ 
53 ·63·return·Impl::OverloadSet<std::decay_t<F>...>(std::forward<F>(f)...); 
54 ·64}36 48·decltype(auto)·lane(ADLTag<0>,·std::size_t·l,·V·v)·=·delete;
 37 ·49
 38 ·51·template<class·V>
 39 52·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·V·&u)
 40 ·53·{
 41 ·54·return·u;
 42 ·55·}
 43 ·56
 44 ·58·template<class·V,·class·U>
 45 59·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·U·&u)
 46 ·60·{
 47 ·61·V·result(Simd::Scalar<V>(0));
 48 ·62·for(auto·l·:·range(Simd::lanes(u)))
 49 ·63·Simd::lane(l,·result)·=·Simd::lane(l,·u);
 50 ·64·return·result;
55 ·6551 ·65·}
56 ·6652 ·66
57 ·67 
58 ·68namespace·Impl·{ 
59 ·69 
60 ·70·template<class·F0,·class...·F> 
61 ·71·class·OrderedOverloadSet:·public·OrderedOverloadSet<F...>,·F0 
62 ·72·{ 
63 ·73·using·Base·=·OrderedOverloadSet<F...>; 
64 ·74·public: 
65 ·75 
66 ·76·template<class·FF0,·class...·FF>53 ·68·template<class·V,·class·S>
67 ·77·OrderedOverloadSet(FF0&&·f0,·FF&&...·ff)·: 
68 ·78·Base(std::forward<FF>(ff)...), 
69 ·79·F0(std::forward<FF0>(f0)) 
70 ·80·{} 
71 ·81 
72 ·82·//·Forward·to·operator()·of·F0·if·it·can·be·called·with·the·given 
73 arguments.54 69·auto·broadcast(ADLTag<0>,·MetaType<V>,·S·s)
 55 ·70·{
 56 ·71·return·V(Simd::Scalar<V>(s));
 57 ·72·}
 58 ·73
 59 ·75·template<class·V>
 60 76·V·cond(ADLTag<0>,·const·Mask<V>·&mask,
 61 ·77·const·V·&ifTrue,·const·V·&ifFalse)·=·delete;
 62 ·78
74 ·83·template<class...·Args,63 ·80·template<class·V>
 64 81·auto·max(ADLTag<0>,·const·V·&v1,·const·V·&v2)
75 ·84·std::enable_if_t<IsCallable<F0(Args&&...)>::value,·int>·=·0> 
76 ·85·decltype(auto)·operator()(Args&&...·args) 
77 ·86·{65 ·82·{
78 ·87·return·F0::operator()(std::forward<Args>(args)...);66 ·83·using·std::max;
 67 ·84·return·max(v1,·v2);
79 ·88·}68 ·85·}
 69 ·86
 70 ·88·template<class·V>
 71 89·auto·min(ADLTag<0>,·const·V·&v1,·const·V·&v2)
80 ·89 
81 ·90·//·Forward·to·operator()·of·base·class·if·F0·cannot·be·called·with·the 
82 given 
83 ·91·//·arguments.·In·this·case·the·base·class·will·successively·try·operator() 
84 ·92·//·of·all·F...·. 
85 ·93·template<class...·Args, 
86 ·94·std::enable_if_t<not·IsCallable<F0(Args&&...)>::value,·int>·=·0> 
87 ·95·decltype(auto)·operator()(Args&&...·args) 
88 ·96·{72 ·90·{
89 ·97·return·Base::operator()(std::forward<Args>(args)...);73 ·91·using·std::min;
Max diff block lines reached; 4615/10458 bytes (44.13%) of diff not shown.
16.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 80 lines modifiedOffset 65, 76 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
78 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh·File·Reference</div></div>78 <a·href="#func-members">Functions</a>··</div>
 79 ··<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>
79 </div><!--header-->80 </div><!--header-->
80 <div·class="contents">81 <div·class="contents">
  
81 <p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.··82 <p>IO·interface·of·the·SIMD·abstraction.··
82 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
83 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>
84 <code>#include·&lt;cassert&gt;</code><br·/> 
85 <code>#include·&lt;cmath&gt;</code><br·/>85 <code>#include·&lt;type_traits&gt;</code><br·/>
86 <code>#include·&lt;complex&gt;</code><br·/> 
87 <code>#include·&lt;cstddef&gt;</code><br·/> 
88 <code>#include·&lt;initializer_list&gt;</code><br·/> 
89 <code>#include·&lt;iostream&gt;</code><br·/> 
90 <code>#include·&lt;memory&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
94 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
95 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
96 <code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/> 
97 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
98 </div>89 </div>
99 <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p>
100 <table·class="memberdecls">91 <table·class="memberdecls">
101 <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>
102 Classes</h2></td></tr>93 Classes</h2></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="a01460.html">Dune::DiagonalMatrix&lt;·K,·n·&gt;</a></td></tr>94 <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>
104 <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> 
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="a01464.html">Dune::FieldTraits&lt;·DiagonalMatrix&lt;·K,·n·&gt;·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01452.html">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&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="a01444.html">Dune::DiagonalRowVectorConst&lt;·K,·n·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01448.html">Dune::DiagonalRowVector&lt;·K,·n·&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="a01468.html">Dune::const_reference&lt;·DiagonalRowVector&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">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> 
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="a01476.html">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;</a></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="a01480.html">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01456.html">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;</a></td></tr> 
123 <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> 
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <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> 
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
128 <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>
129 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
130 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
131 <tr·class="memdesc: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>
132 <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:a00447"·id="r_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>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:a00429"·id="r_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: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>
 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:ae447d4ba0de956891f38d9ae1ab14271"·id="r_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>
 111 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a02632.html">Inserter</a>&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>
 112 <tr·class="separator:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"·id="r_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>
 114 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar</a>&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>
 115 <tr·class="separator:a30f9b97082aee4177ff947a63ae6deea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr><td·colspan="2"><div·class="groupHeader">IO·interface</div></td></tr>
 117 <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>
 118 </div></td></tr>
 119 <tr·class="memitem:ga5f024733517533308b22bd0b9a5e0820"·id="r_ga5f024733517533308b22bd0b9a5e0820"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 120 <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>
 121 <tr·class="memdesc:ga5f024733517533308b22bd0b9a5e0820"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">construct·a·stream·inserter··<br·/></td></tr>
 122 <tr·class="separator:ga5f024733517533308b22bd0b9a5e0820"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:ga47000d8c79bf7ab0548867bc01a56cac"·id="r_ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 124 <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>
 125 <tr·class="memdesc:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">construct·a·stream·inserter··<br·/></td></tr>
 126 <tr·class="separator:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
133 </table>127 </table>
134 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>128 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
135 <div·class="textblock"><p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·</p>129 <div·class="textblock"><p>IO·interface·of·the·SIMD·abstraction.·</p>
 130 <p>This·file·provides·IO·interface·functions·of·the·SIMD·abstraction·layer.</p>
 131 <p>This·file·is·intended·for·direct·inclusion·by·header·making·use·of·the·IO·interface.·</p>
136 </div></div><!--·contents·-->132 </div></div><!--·contents·-->
137 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
138 <hr·class="footer"/><address·class="footer"><small>134 <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.8135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
140 </small></address>136 </small></address>
141 </body>137 </body>
142 </html>138 </html>
3.1 KB
html2text {}
    
Offset 6, 60 lines modifiedOffset 6, 58 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 ····*·simd
12 Classes·|·Namespaces13 Classes·|·Namespaces·|·Functions
13 diagonalmatrix.hh·File·Reference14 io.hh·File·Reference
 15 Common·»·Vectorization·»·Library_Developer's_Interface
 16 IO·interface·of·the·SIMD·abstraction.·More...
14 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·More... 
15 #include·<algorithm> 
16 #include·<cassert> 
17 #include·<cmath> 
18 #include·<complex> 
19 #include·<cstddef> 
20 #include·<initializer_list> 
21 #include·<iostream>17 #include·<ios>
 18 #include·<type_traits>
22 #include·<memory> 
23 #include·<dune/common/boundschecking.hh> 
24 #include·<dune/common/densematrix.hh> 
25 #include·<dune/common/exceptions.hh>19 #include·<dune/common/rangeutilities.hh>
26 #include·<dune/common/fmatrix.hh>20 #include·<dune/common/simd/simd.hh>
27 #include·<dune/common/fvector.hh> 
28 #include·<dune/common/genericiterator.hh> 
29 #include·<dune/common/typetraits.hh>21 #include·<dune/common/typetraits.hh>
30 Go_to_the_source_code_of_this_file.22 Go_to_the_source_code_of_this_file.
31 ·Classes23 ·Classes
 24 class· Dune::SimdImpl::Inserter<_T_>
32 ·class· Dune::DiagonalMatrix<_K,_n_> 
33  ·······A·diagonal·matrix·of·static·size.·More... 
34   
35 struct· Dune::FieldTraits<_DiagonalMatrix<_K,_n_>_> 
36   
37 ·class· Dune::DiagonalMatrixWrapper<_DiagonalMatrixType_> 
38   
39 ·class· Dune::DiagonalRowVectorConst<_K,_n_> 
40   
41 ·class· Dune::DiagonalRowVector<_K,_n_> 
42   
43 struct· Dune::const_reference<_DiagonalRowVector<_K,_n_>_> 
44   
45 struct· Dune::const_reference<_DiagonalRowVectorConst<_K,_n_>_> 
46   
47 struct· Dune::mutable_reference<_DiagonalRowVector<_K,_n_>_> 
48   
49 struct· Dune::mutable_reference<_DiagonalRowVectorConst<_K,_n_>_> 
50   
51 ·class· Dune::ContainerWrapperIterator<_CW,_T,_R_> 
52  ·······Iterator·class·for·sparse·vector-like·containers.·More... 
53   
54 struct· Dune::DenseMatrixAssigner<_DenseMatrix,_DiagonalMatrix<_field,_N_>_> 
55  25  
56 ·Namespaces26 ·Namespaces
57 namespace· Dune27 namespace· Dune
58  ··········Dune·namespace.28  ··········Dune·namespace.
59  29  
 30 namespace· Dune::SimdImpl
 31  
 32 namespace· Dune::Simd
 33  ··········Namespace·for·vectorization·interface·functions·used·by·library
 34 ············developers.
 35  
 36 ·Functions
 37 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>>
 38 ····Inserter<·V·> Dune::SimdImpl::io·(const·V·&v)
 39  
 40 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>>
 41 Simd::Scalar<·V·> Dune::SimdImpl::io·(const·V·&v)
 42  
 43 IO·interface
 44 Templates·and·functions·in·this·group·provide·syntactic·sugar·for·IO.·They·are
 45 implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not
 46 customizable·by·implementations.
 47 template<class·V·>
 48 ·············auto Dune::Simd::vio·(const·V·&v)
 49  ·················construct·a·stream·inserter
 50  
 51 template<class·V·>
 52 ·············auto Dune::Simd::io·(const·V·&v)
 53  ·················construct·a·stream·inserter
 54  
60 *****·Detailed·Description·*****55 *****·Detailed·Description·*****
61 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.56 IO·interface·of·the·SIMD·abstraction.
 57 This·file·provides·IO·interface·functions·of·the·SIMD·abstraction·layer.
 58 This·file·is·intended·for·direct·inclusion·by·header·making·use·of·the·IO
 59 interface.
  
62 ===============================================================================60 ===============================================================================
63 ·····Generated·by [doxygen]·1.9.861 ·····Generated·by [doxygen]·1.9.8
310 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·diagonalmatrix.hh·Source·File</title>8 <title>dune-common:·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 70, 1357 lines modifiedOffset 70, 125 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh</div></div>80 ··<div·class="headertitle"><div·class="title">io.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DIAGONAL_MATRIX_HH</span></div>85 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DIAGONAL_MATRIX_HH</span></div>86 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>88 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>89 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>90 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 91 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/densematrix.hh</a>&gt;</span></div> 
101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/fmatrix.hh</a>&gt;</span></div>92 <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>
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div> 
104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00227.html">dune/common/genericiterator.hh</a>&gt;</span></div> 
105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div>93 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
106 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>94 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>95 <div·class="line"><a·id="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>
109 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 97 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}">
 98 <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>
110 <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> 
111 <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> 
112 <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> 
113 <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> 
114 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>99 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</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>·K,·<span·class="keywordtype">int</span>·n&gt;</div>100 <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>
116 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};">101 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};">
117 <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>102 <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>
 103 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······T·value_;</div>
118 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>104 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
119 <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> 
120 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
121 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>105 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div>
122 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div>106 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a02632.html#a232e95fd4c68d29088364920b6049269">···32</a></span>······<a·class="code·hl_function"·href="a02632.html#a232e95fd4c68d29088364920b6049269">Inserter</a>(<span·class="keyword">const<[·...·truncated·by·diffoscope;·len:·39,·SHA:·bfd4b4a03edb5e746acd570b24b97c9dbd0a7174cd6a5d5d0ffc077442a26111·...·]</div>
123 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>107 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 108 <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>
 109 <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>
 110 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>························································Stream&gt;::value&gt;·&gt;</div>
124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">···60</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>;</div> 
125 <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> 
126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
127 <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> 
128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
129 <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> 
130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
131 <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> 
132 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">···73</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">DiagonalRowVector&lt;K,n&gt;</a>·<a·class="code·hl_typedef"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">row_type</a>;</div> 
134 <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> 
135 <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> 
136 <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> 
137 <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> 
138 <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> 
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
143 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//====·size</span></div> 
144 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
145 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}">111 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
146 <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#ga0[·...·truncated·by·diffoscope;·len:·139,·SHA:·8a6b2d9d381dd9ab6ecad6d3a385be53ab170f0a5ca2aea3cf887b8cda8ebdd1·...·])</div>112 <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#aa6b65b59351d83c3fb4a8dc175e11[·...·truncated·by·diffoscope;·len:·143,·SHA:·7de6688c18f0b259c8381daf5fc781f57c15c54cbd9b3362689bbb1267dfb3ec·...·])</div>
147 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div>113 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······{</div>
148 <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>114 <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>
 115 <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>
 116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········{</div>
 117 <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>
 118 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········sep·=·<span·class="stringliteral">&quot;,·&quot;</span>;</div>
 119 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········}</div>
 120 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········out·&lt;&lt;·<span·class="charliteral">&#39;&gt;&#39;</span>;</div>
 121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">return</span>·out;</div>
149 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div>122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······}</div>
150 </div>123 </div>
151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//=====·constructors</span></div> 
153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaa7102faf22aad2b37cc47d75057202cd">···95</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a00411.html#gaa7102faf22aad2b37cc47d75057202cd">DiagonalMatrix</a>()·=·<span·class="keywordflow">default</span>;</div> 
155 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
156 <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="}"> 
157 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga56a7618c84b30f163c77fd553be9e054">···98</a></span>····<a·class="code·hl_function"·href="a00411.html#ga56a7618c84b30f163c77fd553be9e054">DiagonalMatrix</a>·(<span·class="keyword">const</span>·K&amp;·k)</div> 
158 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······:·diag_(k)</div> 
159 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····{}</div>124 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····};</div>
160 </div>125 </div>
161 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
162 <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> 
163 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a00411.html#gac2bf1d100df6d7f3d03f0998efc2bcb0">··103</a></span>····<a·class="code·hl_function"·href="a00411.html#gac2bf1d100df6d7f3d03f0998efc2bcb0">DiagonalMatrix</a>·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01412.html">FieldVector&lt;K,n&gt;</a>&amp;·diag)</div> 
164 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······:·diag_(diag)</div> 
Max diff block lines reached; 162145/267633 bytes (60.58%) of diff not shown.
48.8 KB
html2text {}
    
Offset 7, 1604 lines modifiedOffset 7, 137 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 diagonalmatrix.hh12 ····*·simd
 13 io.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 18 ·3#ifndef·DUNE_COMMON_SIMD_IO_HH
 19 ·4#define·DUNE_COMMON_SIMD_IO_HH
 20 ·5
19 ·5#ifndef·DUNE_DIAGONAL_MATRIX_HH 
20 ·6#define·DUNE_DIAGONAL_MATRIX_HH 
21 ·7 
22 ·12#include·<algorithm> 
23 ·13#include·<cassert> 
24 ·14#include·<cmath> 
25 ·15#include·<complex> 
26 ·16#include·<cstddef> 
27 ·17#include·<initializer_list> 
28 ·18#include·<iostream>21 ·16#include·<ios>
 22 ·17#include·<type_traits>
 23 ·18
29 ·19#include·<memory> 
30 ·20 
31 ·21#include·<dune/common/boundschecking.hh> 
32 ·22#include·<dune/common/densematrix.hh> 
33 ·23#include·<dune/common/exceptions.hh>24 ·19#include·<dune/common/rangeutilities.hh>
34 ·24#include·<dune/common/fmatrix.hh>25 ·20#include·<dune/common/simd/simd.hh>
35 ·25#include·<dune/common/fvector.hh> 
36 ·26#include·<dune/common/genericiterator.hh> 
37 ·27#include·<dune/common/typetraits.hh>26 ·21#include·<dune/common/typetraits.hh>
 27 ·22
38 ·28 
39 ·29 
40 ·30namespace·Dune·{28 ·23namespace·Dune·{
41 ·31 
42 ·32·template<·class·K,·int·n·>·class·DiagonalRowVectorConst; 
43 ·33·template<·class·K,·int·n·>·class·DiagonalRowVector; 
44 ·34·template<·class·DiagonalMatrixType·>·class·DiagonalMatrixWrapper; 
45 ·35·template<·class·C,·class·T,·class·R>·class·ContainerWrapperIterator; 
46 ·36 
47 ·51·template<class·K,·int·n> 
48 52·class·DiagonalMatrix29 ·24
 30 25·namespace·SimdImpl·{
 31 ·26
 32 ·27·template<class·T>
 33 28·class·Inserter·{
 34 ·29·T·value_;
 35 ·30
 36 ·31·public:
 37 32·Inserter(const·T·&value)·:·value_(value)·{}
 38 ·33
 39 ·34·template<class·Stream,
 40 ·35·class·=·std::enable_if_t<std::is_base_of<std::ios_base,
 41 ·36·Stream>::value>·>
 42 37·friend·Stream&·operator<<(Stream·&out,·const·Inserter·&ins)
49 ·53·{43 ·38·{
50 ·54·typedef·DiagonalMatrixWrapper<_DiagonalMatrix<K,n>·>·WrapperType;44 ·39·const·char·*sep·=·"<";
 45 ·40·for(auto·l·:·range(Simd::lanes(ins.value_)))
 46 ·41·{
 47 ·42·out·<<·sep·<<·autoCopy(Simd::lane(l,·ins.value_));
 48 ·43·sep·=·",·";
 49 ·44·}
 50 ·45·out·<<·'>';
 51 ·46·return·out;
 52 ·47·}
 53 ·48·};
 54 ·49
 55 ·50·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>·>
 56 51·Inserter<V>·io(const·V·&v)
 57 ·52·{
 58 ·53·return·{·v·};
 59 ·54·}
51 ·5560 ·55
52 ·56·public: 
53 ·57·//=====·type·definitions·and·constants61 ·56·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>·>
 62 57·Simd::Scalar<V>·io(const·V·&v)
54 ·5863 ·58·{
55 60·typedef·K·value_type; 
56 61·typedef·value_type·field_type;64 ·59·return·Simd::lane(0,·v);
 65 ·60·}
 66 ·61
57 ·6267 ·62·}
58 64·typedef·K·block_type;68 ·63
 69 ·64·namespace·Simd·{
59 ·6570 ·65
 71 ·82
 72 ·89·template<class·V>
 73 90·auto·vio(const·V·&v)
 74 ·91·{
 75 ·92·return·SimdImpl::Inserter<V>{·v·};
60 67·typedef·std::size_t·size_type; 
61 ·68 
62 70·constexpr·static·int·blocklevel·=·1; 
63 ·71 
64 73·typedef·DiagonalRowVector<K,n>·row_type; 
65 74·typedef·row_type·reference; 
66 75·typedef·row_type·row_reference; 
67 76·typedef·DiagonalRowVectorConst<K,n>·const_row_type; 
68 77·typedef·const_row_type·const_reference; 
69 78·typedef·const_row_type·const_row_reference; 
70 ·79 
71 81·constexpr·static·int·rows·=·n; 
72 83·constexpr·static·int·cols·=·n; 
73 ·84 
74 ·85·//====·size 
75 ·86 
76 87·static·constexpr·size_type·size·() 
77 ·88·{ 
78 ·89·return·rows; 
79 ·90·}76 ·93·}
 77 ·94
80 ·91 
81 ·92·//=====·constructors 
82 ·93 
83 95·constexpr·DiagonalMatrix()·=·default; 
Diff chunk too large, falling back to line-by-line diff (12 lines added, 893 lines removed)
84 ·9678 ·96
85 98·DiagonalMatrix·(const·K&·k)79 ·105·template<class·V>
Max diff block lines reached; 23607/49959 bytes (47.25%) of diff not shown.
8.05 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 38 lines modifiedOffset 65, 53 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#define-members">Macros</a>··</div> 
77 ··<div·class="headertitle"><div·class="title">boundschecking.hh·File·Reference</div></div>76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>··</div>
 78 ··<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>
78 </div><!--header-->79 </div><!--header-->
79 <div·class="contents">80 <div·class="contents">
  
80 <p>Macro·for·wrapping·boundary·checks.··81 <p>Basic·definitions·for·SIMD·Implementations.··
81 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
  
82 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
83 </div> 
84 <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <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="a02612.html">Dune::Simd::Overloads::ADLTag&lt;·i·&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="a02616.html">Dune::Simd::Overloads::ADLTag&lt;·0·&gt;</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 </table><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Macros</h2></td></tr>93 Namespaces</h2></td></tr>
88 <tr·class="memitem:ga75d4ba5883cb39e7ec7927891a12615e"·id="r_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> 
89 <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.··<br·/></td></tr>94 <tr·class="memitem:a00425"·id="r_a00425"><td·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>
90 <tr·class="separator:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:a00429"·id="r_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 <tr·class="memitem:a00430"·id="r_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>
 101 <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>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>103 </table>
92 <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>
93 <div·class="textblock"><p>Macro·for·wrapping·boundary·checks.·</p>105 <div·class="textblock"><p>Basic·definitions·for·SIMD·Implementations.·</p>
 106 <p>This·file·provides·basic·definitions·and·template·declarations·that·are·used·to·write·SIMD·abstraction·layers.</p>
 107 <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>
94 </div></div><!--·contents·-->108 </div></div><!--·contents·-->
95 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>110 <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.8111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
98 </small></address>112 </small></address>
99 </body>113 </body>
100 </html>114 </html>
1.47 KB
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 39 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros12 ····*·simd
 13 Classes·|·Namespaces
13 boundschecking.hh·File·Reference14 base.hh·File·Reference
14 Macro·for·wrapping·boundary·checks.·More... 
15 #include·<dune/common/exceptions.hh>15 Common·»·Vectorization·»·Abstraction_Developer's_Interface
 16 Basic·definitions·for·SIMD·Implementations.·More...
16 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
17 ·Macros 
18 #define DUNE_ASSERT_BOUNDS(cond) 
19  ·······If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds; 
20 ·········otherwise,·do·nothing.18 ·Classes
 19 struct· Dune::Simd::Overloads::ADLTag<_i_>
 20  
 21 struct· Dune::Simd::Overloads::ADLTag<_0_>
 22  
 23 ·Namespaces
 24 namespace· Dune
 25  ··········Dune·namespace.
 26  
 27 namespace· Dune::Simd
 28  ··········Namespace·for·vectorization·interface·functions·used·by·library
 29 ············developers.
 30  
 31 namespace· Dune::Simd::Overloads
 32  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 33 ············implementation.
21  34  
22 *****·Detailed·Description·*****35 *****·Detailed·Description·*****
23 Macro·for·wrapping·boundary·checks.36 Basic·definitions·for·SIMD·Implementations.
 37 This·file·provides·basic·definitions·and·template·declarations·that·are·used·to
 38 write·SIMD·abstraction·layers.
 39 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include
 40 <dune/common/simd/simd.hh>·instead.
  
24 ===============================================================================41 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.842 ·····Generated·by [doxygen]·1.9.8
15.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 48 lines modifiedOffset 70, 66 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">boundschecking.hh</div></div>80 ··<div·class="headertitle"><div·class="title">base.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>84 <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>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_BOUNDSCHECKING_HH</span></div>85 <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>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_BOUNDSCHECKING_HH</span></div>86 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifndef·DUNE_ASSERT_BOUNDS</span></div> 
91 <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> 
92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
93 <div·class="foldopen"·id="foldopen00030"·data-start=""·data-end=""> 
94 <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> 
95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">··do·{······················································\</span></div> 
96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">····if·(!(cond))············································\</span></div> 
97 <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> 
98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">··}·while·(false)</span></div> 
99 </div> 
100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div>89 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">namespace·</span>Simd·{</div>
102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#define·DUNE_ASSERT_BOUNDS(cond)</span></div> 
103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#endif</span></div> 
104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#endif</span></div> 
105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>90 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
106 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">/*·@}·*/</span></div> 
107 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>91 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 92 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keyword">namespace·</span>Overloads·{</div>
 93 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 94 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 95 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 96 <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>
 97 <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>
 98 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>
 99 <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>
 100 <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>
 101 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div>
 102 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>······<span·class="keyword">template</span>&lt;&gt;</div>
 103 <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>
 104 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>·</div>
 105 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div>
 106 <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>
 107 <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>
 108 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>·</div>
 109 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>·</div>
 113 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>·</div>
 114 <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>
 115 <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>
 116 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div>
 117 <div·class="line"><a·id="l00215"·name="l00215"></a><span·class="lineno">··215</span>·</div>
 118 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno">··216</span>····}·<span·class="comment">//·namespace·Overloads</span></div>
 119 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>··}·<span·class="comment">//·namespace·Simd</span></div>
 120 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>}·<span·class="comment">//·namespace·Dune</span></div>
 121 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>·</div>
108 <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>122 <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>
109 <div·class="ttc"·id="aa00221_html"><div·class="ttname"><a·href="a00221.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>123 <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="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>
 125 <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>
 126 <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>
 127 <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>
110 </div><!--·fragment·--></div><!--·contents·-->128 </div><!--·fragment·--></div><!--·contents·-->
111 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>130 <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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
114 </small></address>132 </small></address>
115 </body>133 </body>
116 </html>134 </html>
2.21 KB
html2text {}
    
Offset 7, 39 lines modifiedOffset 7, 69 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 boundschecking.hh12 ····*·simd
 13 base.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
15 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
17 ·3#ifndef·DUNE_BOUNDSCHECKING_HH 
18 ·4#define·DUNE_BOUNDSCHECKING_HH18 ·3#ifndef·DUNE_COMMON_SIMD_BASE_HH
 19 ·4#define·DUNE_COMMON_SIMD_BASE_HH
19 ·520 ·5
20 ·6#include·<dune/common/exceptions.hh>21 ·92namespace·Dune·{
 22 ·93·namespace·Simd·{
 23 ·94
21 ·724 ·97
22 ·19#ifndef·DUNE_ASSERT_BOUNDS 
23 ·20#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)25 ·112·namespace·Overloads·{
 26 ·113
 27 ·116
 28 ·118
 29 ·181·template<unsigned·i,·bool·=·true>
 30 182·struct·ADLTag;
 31 ·183
 32 ·184·template<unsigned·i>
 33 185·struct·ADLTag<i>·:·ADLTag<i-1>·{};
 34 ·186
 35 ·187·template<>
 36 188·struct·ADLTag<0>·{};
 37 ·189
 38 ·191
 39 ·195·template<class·V,·class·SFINAETag·=·void>
 40 ·196·struct·ScalarType;
 41 ·197
 42 ·199
 43 ·203·template<class·S,·class·V,·class·SFINAETag·=·void>
 44 ·204·struct·RebindType;
 45 ·205
 46 ·207
 47 ·211·template<class·V,·class·SFINAETag·=·void>
 48 ·212·struct·LaneCount;
24 ·2149 ·213
25 30#define·DUNE_ASSERT_BOUNDS(cond)·\ 
26 ·31·do·{·\ 
27 ·32·if·(!(cond))·\ 
28 ·33·DUNE_THROW(Dune::RangeError,·"Index·out·of·bounds.");·\ 
29 ·34·}·while·(false) 
30 ·35 
31 ·36#else 
32 ·37#define·DUNE_ASSERT_BOUNDS(cond) 
33 ·38#endif 
34 ·39#endif 
35 ·40 
36 ·41/*·@}·*/ 
37 ·42 
38 ·43#endif·//·DUNE_BOUNDSCHECKING_HH 
39 exceptions.hh 
40 A·few·common·exception·classes.50 ·215
 51 ·216·}·//·namespace·Overloads
 52 ·217·}·//·namespace·Simd
 53 ·218}·//·namespace·Dune
 54 ·219
 55 ·220#endif·//·DUNE_COMMON_SIMD_BASE_HH
 56 Dune
 57 Dune·namespace.
 58 Definition·alignedallocator.hh:13
 59 Dune::Simd::Overloads::ADLTag
 60 Tag·used·to·force·late-binding·lookup·in·Dune::Simd::Overloads.
 61 Definition·base.hh:182
 62 Dune::Simd::Overloads::ScalarType
 63 should·have·a·member·type·type
 64 Definition·standard.hh:60
 65 Dune::Simd::Overloads::RebindType
 66 should·have·a·member·type·type
 67 Definition·standard.hh:67
 68 Dune::Simd::Overloads::LaneCount
 69 should·be·derived·from·a·Dune::index_constant
 70 Definition·standard.hh:74
  
41 ===============================================================================71 ===============================================================================
42 ·····Generated·by [doxygen]·1.9.872 ·····Generated·by [doxygen]·1.9.8
16.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00194.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 36 lines modifiedOffset 65, 101 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
76 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#typedef-members">Typedefs</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
77 ··<div·class="headertitle"><div·class="title">apply.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>
78 </div><!--header-->81 </div><!--header-->
79 <div·class="contents">82 <div·class="contents">
  
 83 <p>Abstractions·for·support·of·dedicated·SIMD·data·types.··
 84 <a·href="#details">More...</a></p>
80 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 86 <code>#include·&lt;cstddef&gt;</code><br·/>
 87 <code>#include·&lt;type_traits&gt;</code><br·/>
 88 <code>#include·&lt;utility&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/conditional.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00200_source.html">dune/common/vc.hh</a>&gt;</code><br·/>
81 </div>94 </div>
82 <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">96 <table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 98 Classes</h2></td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02592.html">Dune::SimdScalarTypeTraits&lt;·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="a02596.html">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
 102 <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>
 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="a02600.html">Dune::SimdIndexTypeTraits&lt;·V,·typename·&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="a02604.html">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;</a></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table><table·class="memberdecls">
84 <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>
85 Namespaces</h2></td></tr>110 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a00450"·id="r_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>114 </table><table·class="memberdecls">
 115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 116 Typedefs</h2></td></tr>
 117 <tr·class="memitem:a7cab87dc8a3eff4191a99a1084d7b28e"·id="r_a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 118 <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·<a·class="el"·href="a02592.html">SimdScalarTypeTraits</a>&lt;·T·&gt;::type</td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:a3c668a396cf5cd88bb7da3225787959a"·id="r_a3c668a396cf5cd88bb7da3225787959a"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr>
 121 <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·<a·class="el"·href="a02600.html">SimdIndexTypeTraits</a>&lt;·V·&gt;::type</td></tr>
 122 <tr·class="memdesc:a3c668a396cf5cd88bb7da3225787959a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.··<br·/></td></tr>
 123 <tr·class="separator:a3c668a396cf5cd88bb7da3225787959a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:a846fa7e0d4cf9e70b148592224eb360f"·id="r_a846fa7e0d4cf9e70b148592224eb360f"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr>
 125 <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·<a·class="el"·href="a02604.html">SimdMaskTypeTraits</a>&lt;·V·&gt;::type</td></tr>
 126 <tr·class="memdesc:a846fa7e0d4cf9e70b148592224eb360f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.··<br·/></td></tr>
 127 <tr·class="separator:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 </table><table·class="memberdecls">
 129 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 130 Functions</h2></td></tr>
 131 <tr·class="memitem:afc2c37fe2704917536f5263272d0a7e2"·id="r_afc2c37fe2704917536f5263272d0a7e2"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 132 <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>
 133 <tr·class="memdesc:afc2c37fe2704917536f5263272d0a7e2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·number·of·lanes·of·a·simd·vector·(scalar·version)··<br·/></td></tr>
 134 <tr·class="separator:afc2c37fe2704917536f5263272d0a7e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a87be73bb4b219361645afcce2eb5b7a4"·id="r_a87be73bb4b219361645afcce2eb5b7a4"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 136 <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>
 137 <tr·class="memdesc:a87be73bb4b219361645afcce2eb5b7a4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<br·/></td></tr>
 138 <tr·class="separator:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"·id="r_ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 140 <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>
 141 <tr·class="memdesc:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<br·/></td></tr>
 142 <tr·class="separator:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:a90c073df341c13a4da1c1522c60af0c3"·id="r_a90c073df341c13a4da1c1522c60af0c3"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 144 <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>
 145 <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)··<br·/></td></tr>
 146 <tr·class="separator:a90c073df341c13a4da1c1522c60af0c3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:a8cc9a46e5ec32e3b68c3071cf1a25361"·id="r_a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 148 <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>
 149 <tr·class="separator:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>150 </table>
 151 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 152 <div·class="textblock"><p>Abstractions·for·support·of·dedicated·SIMD·data·types.·</p>
 153 <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>
 154 <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>
 155 <p>See·also·the·<a·class="el"·href="a00086.html">conditional.hh</a>·and·range_utils.hh·headers.</p>
 156 <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>
93 </div><!--·contents·-->157 </div></div><!--·contents·-->
94 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>159 <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.8160 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>161 </small></address>
98 </body>162 </body>
99 </html>163 </html>
2.86 KB
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 81 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Classes·|·Namespaces·|·Typedefs·|·Functions
12 ····*·std 
13 Namespaces 
14 apply.hh·File·Reference13 simd.hh·File·Reference
 14 Abstractions·for·support·of·dedicated·SIMD·data·types.·More...
 15 #include·<cassert>
15 #include·<tuple>16 #include·<cstddef>
 17 #include·<type_traits>
 18 #include·<utility>
 19 #include·<dune/common/conditional.hh>
 20 #include·<dune/common/debugalign.hh>
 21 #include·<dune/common/rangeutilities.hh>
 22 #include·<dune/common/typetraits.hh>
 23 #include·<dune/common/vc.hh>
16 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
 25 ·Classes
 26 struct· Dune::SimdScalarTypeTraits<_T_>
 27  
 28 struct· Dune::SimdScalarTypeTraits<_AlignedNumber<_T,_align_>_>
 29  ·······deduce·the·underlying·scalar·data·type·of·an·AlignedNumber·More...
 30  
 31 struct· Dune::SimdIndexTypeTraits<_V,_typename_>
 32  
 33 struct· Dune::SimdMaskTypeTraits<_V,_typename_>
 34  
17 ·Namespaces35 ·Namespaces
18 namespace· Dune36 namespace· Dune
19  ··········Dune·namespace.37  ··········Dune·namespace.
20  38  
21 namespace· Dune::Std 
22  ··········Namespace·for·features·backported·from·new·C++·standards.39 ·Typedefs
 40 template<typename·T·>
 41 using Dune::SimdScalar·=·typename·SimdScalarTypeTraits<·T·>::type
 42  
 43 template<typename·V·>
 44 using Dune::SimdIndex·=·typename·SimdIndexTypeTraits<·V·>::type
 45  ·····An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.
 46  
 47 template<typename·V·>
 48 using Dune::SimdMask·=·typename·SimdMaskTypeTraits<·V·>::type
 49  ·····A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.
 50  
 51 ·Functions
 52 template<class·T·>
 53 std::size_t Dune::lanes·(const·T·&)
 54  ···········get·the·number·of·lanes·of·a·simd·vector·(scalar·version)
 55  
 56 template<class·T·>
 57 ··········T Dune::lane·(std::size_t·l,·const·T·&v)
 58  ···········access·a·lane·of·a·simd·vector·(scalar·version)
 59  
 60 template<class·T·>
 61 ········T·& Dune::lane·(std::size_t·l,·T·&v)
 62  ···········access·a·lane·of·a·simd·vector·(scalar·version)
 63  
 64 template<class·T·>
 65 ·······void Dune::assign·(T·&dst,·const·T·&src,·bool·mask)
 66  ···········masked·Simd·assignment·(scalar·version)
 67  
 68 template<class·T·>
 69 ·······void Dune::swap·(T·&v1,·T·&v2,·bool·mask)
23  70  
 71 *****·Detailed·Description·*****
 72 Abstractions·for·support·of·dedicated·SIMD·data·types.
 73 Libraries·like·Vc·(https://github.com/VcDevel/Vc)·add·high-level·data·types·for
 74 SIMD·(or·vectorization)·support·in·C++.·Most·of·these·operations·mimic·the
 75 behavior·of·a·numerical·data·type.·Some·boolean·operations·can·not·be
 76 implemented·in·a·compatible·way·to·trivial·data·types.
 77 This·header·contains·additional·abstractions·to·help·writing·code·that·works
 78 with·trivial·numerical·data·types·(like·double)·and·Vc·vectorization·data
 79 types.
 80 See·also·the·conditional.hh·and·range_utils.hh·headers.
 81 ··Deprecated:
 82 ······Use·the·newer·simd·architecture·from·dune/common/simd/simd.hh·instead.
  
24 ===============================================================================83 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.884 ·····Generated·by [doxygen]·1.9.8
102 KB
./usr/share/doc/libdune-common-doc/doxygen/a00194_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 44 lines modifiedOffset 70, 522 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">apply.hh</div></div>80 ··<div·class="headertitle"><div·class="title">simd.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <a·href="a00194.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <a·href="a00194.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <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>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_HH</span></div>
88 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>88 <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>
 89 <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>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 94 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00086.html">dune/common/conditional.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00125.html">dune/common/debugalign.hh</a>&gt;</span></div>
 98 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
 99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#if·HAVE_VC</span></div>
 100 <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>
 101 <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>
 102 <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>
 103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#endif</span></div>
 104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00200.html">dune/common/vc.hh</a>&gt;</span></div>
 106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
92 <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>107 <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>
 108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>
 109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·HAVE_VC</span></div>
 111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">namespace·</span>VcImpl·{</div>
 112 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 113 <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>
 114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">class·</span>Proxy</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>······<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>
 117 <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>
 118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">public</span>:</div>
 119 <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>
 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">private</span>:</div>
 122 <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>
 123 <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>
 124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······V·&amp;vec_;</div>
 125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······std::size_t·idx_;</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">public</span>:</div>
 128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······Proxy(std::size_t·idx,·V·&amp;vec)</div>
 129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·vec_(vec),·idx_(idx)</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">operator</span>·value_type()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·vec_[idx_];·}</div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</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>······<span·class="comment">//·postfix·operators</span></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">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div>
 137 <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>
 138 <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>
 139 <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>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="comment">//·unary·(prefix)·operators</span></div>
 144 <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>
 145 <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>
 146 <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>
 147 <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>
 148 <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>
 149 <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>
 150 <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>
 151 <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>
 152 <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>
 153 <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>
 154 <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>
 155 <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>
 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>······<span·class="comment">//·binary·operators</span></div>
 158 <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>
 159 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">······template&lt;class·T&gt;·················································\</span></div>
 160 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">······auto·operator·OP(T·&amp;&amp;o)·const·····································\</span></div>
 161 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="preprocessor">········-&gt;·decltype(vec_[idx_]·OP·valueCast(std::forward&lt;T&gt;(o)))········\</span></div>
 162 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="preprocessor">······{·································································\</span></div>
 163 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="preprocessor">········return·vec_[idx_]·OP·valueCast(std::forward&lt;T&gt;(o));·············\</span></div>
 164 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">······}·································································\</span></div>
 165 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="preprocessor">······static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;)</span></div>
 166 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 167 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······DUNE_SIMD_VC_BINARY_OP(*);</div>
 168 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······DUNE_SIMD_VC_BINARY_OP(/);</div>
 169 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······DUNE_SIMD_VC_BINARY_OP(%);</div>
 170 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 171 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······DUNE_SIMD_VC_BINARY_OP(+);</div>
 172 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······DUNE_SIMD_VC_BINARY_OP(-);</div>
 173 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 174 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······DUNE_SIMD_VC_BINARY_OP(&lt;&lt;);</div>
 175 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······DUNE_SIMD_VC_BINARY_OP(&gt;&gt;);</div>
 176 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
Max diff block lines reached; 6893/88310 bytes (7.81%) of diff not shown.
15.6 KB
html2text {}
    
Offset 7, 37 lines modifiedOffset 7, 552 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 simd.hh
12 ····*·std 
13 apply.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root15 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
20 ·5#ifndef·DUNE_COMMON_STD_APPLY_HH17 ·3#ifndef·DUNE_COMMON_SIMD_HH
21 ·6#define·DUNE_COMMON_STD_APPLY_HH18 ·4#define·DUNE_COMMON_SIMD_HH
22 ·7 
23 ·8#include·<tuple> 
24 ·919 ·5
 20 ·6#warning·dune/common/simd.hh·is·deprecated.
 21 ·7#warning·Use·the·new·infrastructure·from·dune/common/simd/simd.h·instead.
 22 ·8
 23 ·30#include·<cassert>
 24 ·31#include·<cstddef>
 25 ·32#include·<type_traits>
 26 ·33#include·<utility>
 27 ·34
 28 ·35#include·<dune/common/conditional.hh>
 29 ·36#include·<dune/common/debugalign.hh>
 30 ·37#include·<dune/common/rangeutilities.hh>
 31 ·38#if·HAVE_VC
 32 ·39//·include·Vc·part·of·new·simd·interface·to·provide·compatibility·for
 33 ·40//·functionality·that·has·been·switched·over.
 34 ·41#include·<dune/common/simd/vc.hh>
 35 ·42#endif
 36 ·43#include·<dune/common/typetraits.hh>
 37 ·44#include·<dune/common/vc.hh>
 38 ·45
25 ·10namespace·Dune39 ·46namespace·Dune
 40 ·47{
 41 ·48
 42 ·49#if·HAVE_VC
 43 ·50·namespace·VcImpl·{
 44 ·52
 45 ·61·template<class·V>
 46 ·62·class·Proxy
 47 ·63·{
 48 ·64·static_assert(std::is_same<V,·std::decay_t<V>·>::value,·"Class·Proxy·"
 49 ·65·"may·only·be·instantiated·with·unqualified·types");
 50 ·66·public:
 51 ·67·using·value_type·=·typename·V::value_type;
 52 ·68
 53 ·69·private:
 54 ·70·static_assert(std::is_arithmetic<value_type>::value,
 55 ·71·"Only·arithmetic·types·are·supported");
 56 ·72·V·&vec_;
 57 ·73·std::size_t·idx_;
 58 ·74
 59 ·75·public:
 60 ·76·Proxy(std::size_t·idx,·V·&vec)
 61 ·77·:·vec_(vec),·idx_(idx)
 62 ·78·{·}
 63 ·79
 64 ·80·operator·value_type()·const·{·return·vec_[idx_];·}
 65 ·81
 66 ·82·//·postfix·operators
 67 ·83
 68 ·84·template<class·T·=·value_type,
 69 ·85·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·>
 70 ·86·value_type·operator++(int)·{·return·vec_[idx_]++;·}
 71 ·87·template<class·T·=·value_type,
 72 ·88·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·>
 73 ·89·value_type·operator--(int)·{·return·vec_[idx_]--;·}
 74 ·90
 75 ·91·//·unary·(prefix)·operators
 76 ·92·template<class·T·=·value_type,
 77 ·93·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·>
 78 ·94·Proxy·&operator++()·{·++(vec_[idx_]);·return·*this;·}
 79 ·95·template<class·T·=·value_type,
 80 ·96·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·>
 81 ·97·Proxy·&operator--()·{·--(vec_[idx_]);·return·*this;·}
 82 ·98·decltype(auto)·operator!()·const·{·return·!(vec_[idx_]);·}
 83 ·99·decltype(auto)·operator+()·const·{·return·+(vec_[idx_]);·}
 84 ·100·decltype(auto)·operator-()·const·{·return·-(vec_[idx_]);·}
 85 ·101·template<class·T·=·value_type,
 86 ·102·class·=·std::enable_if_t<std::is_integral<T>::value>·>
 87 ·103·decltype(auto)·operator~()·const·{·return·~(vec_[idx_]);·}
 88 ·104
 89 ·105·//·binary·operators
 90 ·106#define·DUNE_SIMD_VC_BINARY_OP(OP)·\
 91 ·107·template<class·T>·\
 92 ·108·auto·operator·OP(T·&&o)·const·\
 93 ·109·->·decltype(vec_[idx_]·OP·valueCast(std::forward<T>(o)))·\
 94 ·110·{·\
 95 ·111·return·vec_[idx_]·OP·valueCast(std::forward<T>(o));·\
 96 ·112·}·\
 97 ·113·static_assert(true,·"Require·semicolon·to·unconfuse·editors")
26 ·11{98 ·114
27 12·namespace·Std99 ·115·DUNE_SIMD_VC_BINARY_OP(*);
 100 ·116·DUNE_SIMD_VC_BINARY_OP(/);
 101 ·117·DUNE_SIMD_VC_BINARY_OP(%);
 102 ·118
 103 ·119·DUNE_SIMD_VC_BINARY_OP(+);
 104 ·120·DUNE_SIMD_VC_BINARY_OP(-);
 105 ·121
 106 ·122·DUNE_SIMD_VC_BINARY_OP(<<);
 107 ·123·DUNE_SIMD_VC_BINARY_OP(>>);
 108 ·124
 109 ·125·DUNE_SIMD_VC_BINARY_OP(<);
 110 ·126·DUNE_SIMD_VC_BINARY_OP(>);
 111 ·127·DUNE_SIMD_VC_BINARY_OP(<=);
 112 ·128·DUNE_SIMD_VC_BINARY_OP(>=);
 113 ·129
 114 ·130·DUNE_SIMD_VC_BINARY_OP(==);
 115 ·131·DUNE_SIMD_VC_BINARY_OP(!=);
 116 ·132
 117 ·133·DUNE_SIMD_VC_BINARY_OP(&);
 118 ·134·DUNE_SIMD_VC_BINARY_OP(^);
 119 ·135·DUNE_SIMD_VC_BINARY_OP(|);
 120 ·136
 121 ·137·DUNE_SIMD_VC_BINARY_OP(&&);
 122 ·138·DUNE_SIMD_VC_BINARY_OP(||);
 123 ·139#undef·DUNE_SIMD_VC_BINARY_OP
 124 ·140
 125 ·141#define·DUNE_SIMD_VC_ASSIGNMENT(OP)·\
Max diff block lines reached; 2218/15960 bytes (13.90%) of diff not shown.
96.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 43 lines modifiedOffset 65, 681 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#define-members">Macros</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
78 ··<div·class="headertitle"><div·class="title">functional.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">loop.hh·File·Reference</div></div>
79 </div><!--header-->81 </div><!--header-->
80 <div·class="contents">82 <div·class="contents">
81 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 84 <code>#include·&lt;cmath&gt;</code><br·/>
 85 <code>#include·&lt;cstddef&gt;</code><br·/>
 86 <code>#include·&lt;cstdlib&gt;</code><br·/>
 87 <code>#include·&lt;cstdint&gt;</code><br·/>
 88 <code>#include·&lt;ostream&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
82 </div>92 </div>
83 <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">94 <table·class="memberdecls">
85 <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>
86 Classes</h2></td></tr>96 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="a02864.html">Dune::Std::identity</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02636.html">Dune::LoopSIMD&lt;·T,·S,·A·&gt;</a></td></tr>
88 <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>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="a02640.html">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&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="a02644.html">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·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">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>
 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="a02652.html">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
91 <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>
92 Namespaces</h2></td></tr>109 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:a00450"·id="r_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>113 <tr·class="memitem:a00429"·id="r_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>
97 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></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 <tr·class="memitem:a00430"·id="r_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>
 117 <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>
 118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:a00438"·id="r_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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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="define-members"·name="define-members"></a>
 124 Macros</h2></td></tr>
 125 <tr·class="memitem:acb2192556fb08c1550c78d0db36245d5"·id="r_acb2192556fb08c1550c78d0db36245d5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#acb2192556fb08c1550c78d0db36245d5">DUNE_PRAGMA_OMP_SIMD</a></td></tr>
 126 <tr·class="separator:acb2192556fb08c1550c78d0db36245d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:ab2eb0e852e28f54bf511377690ba664a"·id="r_ab2eb0e852e28f54bf511377690ba664a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#ab2eb0e852e28f54bf511377690ba664a">DUNE_SIMD_LOOP_PREFIX_OP</a>(SYMBOL)</td></tr>
 128 <tr·class="separator:ab2eb0e852e28f54bf511377690ba664a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:ad0a3db4ac4d313e5df2f650176a7f47a"·id="r_ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#ad0a3db4ac4d313e5df2f650176a7f47a">DUNE_SIMD_LOOP_UNARY_OP</a>(SYMBOL)</td></tr>
 130 <tr·class="separator:ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:a5d85dc28387ccfb44c53064ad236c22c"·id="r_a5d85dc28387ccfb44c53064ad236c22c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#a5d85dc28387ccfb44c53064ad236c22c">DUNE_SIMD_LOOP_POSTFIX_OP</a>(SYMBOL)</td></tr>
 132 <tr·class="separator:a5d85dc28387ccfb44c53064ad236c22c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:ad721241fb510adc8e57604f6b9d6db18"·id="r_ad721241fb510adc8e57604f6b9d6db18"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#ad721241fb510adc8e57604f6b9d6db18">DUNE_SIMD_LOOP_ASSIGNMENT_OP</a>(SYMBOL)</td></tr>
 134 <tr·class="separator:ad721241fb510adc8e57604f6b9d6db18"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a0302b46e03078ba45bebdde05a538fa1"·id="r_a0302b46e03078ba45bebdde05a538fa1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#a0302b46e03078ba45bebdde05a538fa1">DUNE_SIMD_LOOP_BINARY_OP</a>(SYMBOL)</td></tr>
 136 <tr·class="separator:a0302b46e03078ba45bebdde05a538fa1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:aa267e22530058c5e240294d1fe9b72c5"·id="r_aa267e22530058c5e240294d1fe9b72c5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#aa267e22530058c5e240294d1fe9b72c5">DUNE_SIMD_LOOP_BITSHIFT_OP</a>(SYMBOL)</td></tr>
 138 <tr·class="separator:aa267e22530058c5e240294d1fe9b72c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:a8b0fe90d07a9419c0c5fa7edf441cc98"·id="r_a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#a8b0fe90d07a9419c0c5fa7edf441cc98">DUNE_SIMD_LOOP_COMPARISON_OP</a>(SYMBOL)</td></tr>
 140 <tr·class="separator:a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a4edb401d8c39ee4047c4157062238926"·id="r_a4edb401d8c39ee4047c4157062238926"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#a4edb401d8c39ee4047c4157062238926">DUNE_SIMD_LOOP_BOOLEAN_OP</a>(SYMBOL)</td></tr>
 142 <tr·class="separator:a4edb401d8c39ee4047c4157062238926"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:ab733fd44275677e226938c6366d0e1dc"·id="r_ab733fd44275677e226938c6366d0e1dc"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#ab733fd44275677e226938c6366d0e1dc">DUNE_SIMD_LOOP_CMATH_UNARY_OP</a>(expr)</td></tr>
 144 <tr·class="separator:ab733fd44275677e226938c6366d0e1dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:acd61d806a793ead4a570ab5edf47857a"·id="r_acd61d806a793ead4a570ab5edf47857a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#acd61d806a793ead4a570ab5edf47857a">DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN</a>(expr,··returnType)</td></tr>
 146 <tr·class="separator:acd61d806a793ead4a570ab5edf47857a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:a811ee59270233c3c40d1e4c52d3ee310"·id="r_a811ee59270233c3c40d1e4c52d3ee310"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#a811ee59270233c3c40d1e4c52d3ee310">DUNE_SIMD_LOOP_STD_UNARY_OP</a>(expr)</td></tr>
 148 <tr·class="separator:a811ee59270233c3c40d1e4c52d3ee310"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:a7f745d4f9480ed07bfe69af914816b22"·id="r_a7f745d4f9480ed07bfe69af914816b22"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html#a7f745d4f9480ed07bfe69af914816b22">DUNE_SIMD_LOOP_STD_BINARY_OP</a>(expr)</td></tr>
 150 <tr·class="separator:a7f745d4f9480ed07bfe69af914816b22"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 151 </table><table·class="memberdecls">
 152 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 153 Functions</h2></td></tr>
 154 <tr·class="memitem:a87b977cae5e0e694b4b108bc1cab9434"·id="r_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>
 155 <tr·class="separator:a87b977cae5e0e694b4b108bc1cab9434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:aa97415d63ec08e63ea87832efe86ddb4"·id="r_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>
 157 <tr·class="separator:aa97415d63ec08e63ea87832efe86ddb4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:a971fdb1c4fc3a2045834643c0b3ac41d"·id="r_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>
 159 <tr·class="separator:a971fdb1c4fc3a2045834643c0b3ac41d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:affe0a8a108f83afdc111db9843ac6e66"·id="r_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>
 161 <tr·class="separator:affe0a8a108f83afdc111db9843ac6e66"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:ab1786e12e4c3efe8a6117ddd99a8724a"·id="r_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>
 163 <tr·class="separator:ab1786e12e4c3efe8a6117ddd99a8724a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:a5146d4e5a65562d14d000c78019ec6dd"·id="r_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>
 165 <tr·class="separator:a5146d4e5a65562d14d000c78019ec6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:aae72f618cfe280b17a988b83395f8927"·id="r_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>
 167 <tr·class="separator:aae72f618cfe280b17a988b83395f8927"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:a86b3da3ac3b884cf28ba5dc3dfee5652"·id="r_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>
 169 <tr·class="separator:a86b3da3ac3b884cf28ba5dc3dfee5652"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 170 <tr·class="memitem:a16bec43001a47bb4b3d6a78aec88476b"·id="r_a16bec43001a47bb4b3d6a78aec88476b"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a16bec43001a47bb4b3d6a78aec88476b">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&gt;=)</td></tr>
 171 <tr·class="separator:a16bec43001a47bb4b3d6a78aec88476b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 172 <tr·class="memitem:aafcd80f1669dd6eee03a6ff6bbf85150"·id="r_aafcd80f1669dd6eee03a6ff6bbf85150"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aafcd80f1669dd6eee03a6ff6bbf85150">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(!=)</td></tr>
 173 <tr·class="separator:aafcd80f1669dd6eee03a6ff6bbf85150"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 174 <tr·class="memitem:a21591c57055642e5f2efa98a3fd6e9f0"·id="r_a21591c57055642e5f2efa98a3fd6e9f0"><td·class="memItemLeft"·align="right"·valign="top">DUNE_SIMD_LOOP_BOOLEAN_OP·&amp;&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a21591c57055642e5f2efa98a3fd6e9f0">Dune::DUNE_SIMD_LOOP_BOOLEAN_OP</a>·(||);template&lt;·class·T,·std::size_t·S,·std::size_t·A·&gt;·std::ostream·&amp;operator&lt;&lt;(std::ostream·&amp;os,·const·<a·class="el"·href="a02636.html">LoopSIMD</a>&lt;·T,·S,·A·&gt;·&amp;v</td></tr>
Max diff block lines reached; 33637/81736 bytes (41.15%) of diff not shown.
16.5 KB
html2text {}
    
Offset 6, 27 lines modifiedOffset 6, 491 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
13 Classes·|·Namespaces13 Classes·|·Namespaces·|·Macros·|·Functions
14 functional.hh·File·Reference14 loop.hh·File·Reference
15 #include·<functional>15 #include·<array>
 16 #include·<cmath>
 17 #include·<cstddef>
 18 #include·<cstdlib>
 19 #include·<cstdint>
 20 #include·<ostream>
 21 #include·<dune/common/math.hh>
 22 #include·<dune/common/simd/simd.hh>
 23 #include·<dune/common/typetraits.hh>
16 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
17 ·Classes25 ·Classes
18 struct· Dune::Std::identity 
19  ·······A·function·object·type·whose·operator()·returns·its·argument 
20 ·········unchanged.·More...26 ·class· Dune::LoopSIMD<_T,_S,_A_>
 27  
 28 struct· Dune::Simd::Overloads::ScalarType<_LoopSIMD<_T,_S,_A_>_>
 29  
 30 struct· Dune::Simd::Overloads::RebindType<_U,_LoopSIMD<_T,_S,_A_>_>
 31  
 32 struct· Dune::Simd::Overloads::LaneCount<_LoopSIMD<_T,_S,_A_>_>
 33  
 34 struct· Dune::IsNumber<_LoopSIMD<_T,_S,_A_>_>
21  35  
22 ·Namespaces36 ·Namespaces
23 namespace· Dune37 namespace· Dune
24  ··········Dune·namespace.38  ··········Dune·namespace.
25  39  
26 namespace· Dune::Std40 namespace· Dune::Simd
27  ··········Namespace·for·features·backported·from·new·C++·standards.41  ··········Namespace·for·vectorization·interface·functions·used·by·library
 42 ············developers.
 43  
 44 namespace· Dune::Simd::Overloads
 45  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 46 ············implementation.
 47  
 48 namespace· Dune::MathOverloads
 49  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
 50  
 51 ·Macros
 52 #define DUNE_PRAGMA_OMP_SIMD
 53  
 54 #define DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)
 55  
 56 #define DUNE_SIMD_LOOP_UNARY_OP(SYMBOL)
 57  
 58 #define DUNE_SIMD_LOOP_POSTFIX_OP(SYMBOL)
 59  
 60 #define DUNE_SIMD_LOOP_ASSIGNMENT_OP(SYMBOL)
 61  
 62 #define DUNE_SIMD_LOOP_BINARY_OP(SYMBOL)
 63  
 64 #define DUNE_SIMD_LOOP_BITSHIFT_OP(SYMBOL)
 65  
 66 #define DUNE_SIMD_LOOP_COMPARISON_OP(SYMBOL)
 67  
 68 #define DUNE_SIMD_LOOP_BOOLEAN_OP(SYMBOL)
 69  
 70 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP(expr)
 71  
 72 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN(expr,·returnType)
 73  
 74 #define DUNE_SIMD_LOOP_STD_UNARY_OP(expr)
 75  
 76 #define DUNE_SIMD_LOOP_STD_BINARY_OP(expr)
 77  
 78 ·Functions
 79 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(+)
 80  
 81 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(-)
 82  
 83 ··DUNE_SIMD_LOOP_BINARY_OP·* Dune::DUNE_SIMD_LOOP_BINARY_OP·(/
 84 ······························);DUNE_SIMD_LOOP_BINARY_OP(%
 85  
 86 ··DUNE_SIMD_LOOP_BINARY_OP·& Dune::DUNE_SIMD_LOOP_BINARY_OP
 87 ······························(|);DUNE_SIMD_LOOP_BINARY_OP(^
 88  
 89 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(<<)
 90  
 91 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(>·>)
 92  
 93 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<)
 94  
 95 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<=)
 96  
 97 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(>=)
 98  
 99 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(!=)
 100  
 101 DUNE_SIMD_LOOP_BOOLEAN_OP·&& Dune::DUNE_SIMD_LOOP_BOOLEAN_OP·(||);template<
 102 ······························class·T,·std::size_t·S,·std::size_t·A·>·std::
 103 ······························ostream·&operator<<(std::ostream·&os,·const
 104 ······························LoopSIMD<·T,·S,·A·>·&v
 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,·LoopSIMD<·T,·S,·A·>·&&v)·->·decltype
 109 ······························(std::move(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,·const·LoopSIMD<·T,·S,·A·>·&v)·-
 115 ······························>·decltype(Simd::lane(l%lanes<·T·>(),·v[l/lanes<
 116 ······························T·>()]))
 117  
 118 template<class·T·,·std::size_t·S,·std::size_t·A>
 119 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std::
 120 ······························size_t·l,·LoopSIMD<·T,·S,·A·>·&v)·->·decltype
 121 ······························(Simd::lane(l%lanes<·T·>(),·v[l/lanes<·T·>()]))
 122  
 123 template<class·T·,·std::size_t·S,·std::size_t·AM,·std::size_t·AD>
 124 ························auto Dune::Simd::Overloads::cond·(ADLTag<·5·>,·Simd::
 125 ······························Mask<·LoopSIMD<·T,·S,·AM·>·>·mask,·LoopSIMD<·T,
 126 ······························S,·AD·>·ifTrue,·LoopSIMD<·T,·S,·AD·>·ifFalse)
 127  
 128 template<class·M·,·class·T·,·std::size_t·S,·std::size_t·A>
 129 ························auto Dune::Simd::Overloads::cond·(ADLTag<·5,·std::
Max diff block lines reached; 7067/16867 bytes (41.90%) of diff not shown.
173 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 54 lines modifiedOffset 70, 766 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">functional.hh</div></div>80 ··<div·class="headertitle"><div·class="title">loop.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
84 <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> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <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>85 <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>
88 <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>86 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
92 <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>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keyword">namespace·</span>Std</div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··{</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00101.html">dune/common/math.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div>
 97 <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/typetraits.hh</a>&gt;</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
98 <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> 
99 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">using·</span>std::identity;</div> 
100 <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> 
101 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> 
102 <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>99 <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>
103 <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> 
104 <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> 
105 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····};</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
106 </div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">/*</span></div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*·(when·instantiated·for·T=bool)</span></div>
 105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*/</span></div>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·__GNUC__·&gt;=·7</span></div>
 107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#··pragma·GCC·diagnostic·push</span></div>
 108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wbool-operation&quot;</span></div>
 109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wint-in-bool-context&quot;</span></div>
 110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#··define·GCC_WARNING_DISABLED</span></div>
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>
108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·namespace·Std</span></div> 
109 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
110 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·namespace·Dune</span></div>113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">/*</span></div>
 114 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·silence·warnings·from·Clang·about·using·bitwise·operands·on</span></div>
 115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*·a·bool·(when·instantiated·for·T=bool)</span></div>
 116 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">·*/</span></div>
 117 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#ifdef·__clang__</span></div>
 118 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#if·__has_warning(&quot;-Wbitwise-instead-of-logical&quot;)</span></div>
 119 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#··pragma·clang·diagnostic·push</span></div>
 120 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#··pragma·clang·diagnostic·ignored·&quot;-Wbitwise-instead-of-logical&quot;</span></div>
 121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#··define·CLANG_WARNING_DISABLED</span></div>
 122 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#endif</span></div>
 123 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div>
 124 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 125 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">/*</span></div>
 126 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·&gt;=·4</span></div>
 127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">·*/</span></div>
 128 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#if·_OPENMP·&gt;=·201307</span></div>
 129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD·_Pragma(&quot;omp·simd&quot;)</span></div>
 130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#else</span></div>
 131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00197.html#acb2192556fb08c1550c78d0db36245d5">···49</a></span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD</span></div>
 132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#endif</span></div>
 133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 135 <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>·T,·std::<span·class="keywordtype">size_t</span>·S,·std::<span·class="keywordtype">size_t</span>·A·=·0&gt;</div>
 136 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};">
 137 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02636.html">···65</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>
 138 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 139 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">public</span>:</div>
 140 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 141 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//default·constructor</span></div>
 142 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}">
 143 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">···70</a></span>····<a·class="code·hl_function"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">LoopSIMD</a>()·{</div>
 144 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·std::min(<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>
 145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
 146 </div>
111 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>147 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 148 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="comment">//·broadcast·constructor·initializing·the·content·with·a·given·value</span></div>
 149 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}">
 150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02636.html#a072ca848e458658de03c506a9d2408b1">···75</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>
 151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······this-&gt;fill(i);</div>
 152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
 153 </div>
 154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·OA&gt;</div>
 156 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}">
 157 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa66bb88d1bb61a611d0ebe555e9e6f07">···80</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>
 158 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······:·<a·class="code·hl_namespace"·href="a00424.html">std</a>::array&lt;T,S&gt;(other)</div>
 159 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{</div>
 160 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·std::min(<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>
 161 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>
 162 </div>
 163 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 164 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">/*</span></div>
 165 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·····*··Definition·of·basic·operators</span></div>
 166 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">·····*/</span></div>
 167 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 168 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//Prefix·operators</span></div>
Max diff block lines reached; 10665/149675 bytes (7.13%) of diff not shown.
26.7 KB
html2text {}
    
Offset 7, 51 lines modifiedOffset 7, 827 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
13 functional.hh13 loop.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
16 ·2//·vi:·set·ts=8·sw=2·et·sts=2: 
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
20 ·5#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH18 ·3#ifndef·DUNE_COMMON_SIMD_LOOP_HH
21 ·6#define·DUNE_COMMON_STD_FUNCTIONAL_HH19 ·4#define·DUNE_COMMON_SIMD_LOOP_HH
22 ·7 
23 ·8#include·<functional> 
24 ·9 
25 ·10namespace·Dune 
26 ·11{20 ·5
 21 ·6#include·<array>
 22 ·7#include·<cmath>
 23 ·8#include·<cstddef>
 24 ·9#include·<cstdlib>
 25 ·10#include·<cstdint>
 26 ·11#include·<ostream>
27 ·1227 ·12
28 ·13·namespace·Std 
29 ·14·{ 
30 ·15 
31 ·22#if·DUNE_HAVE_CXX_STD_IDENTITY 
32 ·23·using·std::identity; 
33 ·24#else·//DUNE_HAVE_CXX_STD_IDENTITY 
34 25·struct·identity·{ 
35 ·26·template<class·T> 
36 27·constexpr·T&&·operator()(T&&·t·)·const·noexcept·{return·std::forward<T>(t);} 
37 ·28·};28 ·13#include·<dune/common/math.hh>
 29 ·14#include·<dune/common/simd/simd.hh>
 30 ·15#include·<dune/common/typetraits.hh>
 31 ·16
 32 ·17namespace·Dune·{
 33 ·18
 34 ·19
 35 ·20/*
 36 ·21·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool
 37 ·22·*·(when·instantiated·for·T=bool)
 38 ·23·*/
 39 ·24#if·__GNUC__·>=·7
 40 ·25#·pragma·GCC·diagnostic·push
 41 ·26#·pragma·GCC·diagnostic·ignored·"-Wbool-operation"
 42 ·27#·pragma·GCC·diagnostic·ignored·"-Wint-in-bool-context"
 43 ·28#·define·GCC_WARNING_DISABLED
38 ·29#endif44 ·29#endif
39 ·30·}·//·namespace·Std45 ·30
 46 ·31/*
 47 ·32·*·silence·warnings·from·Clang·about·using·bitwise·operands·on
 48 ·33·*·a·bool·(when·instantiated·for·T=bool)
 49 ·34·*/
 50 ·35#ifdef·__clang__
 51 ·36#if·__has_warning("-Wbitwise-instead-of-logical")
 52 ·37#·pragma·clang·diagnostic·push
 53 ·38#·pragma·clang·diagnostic·ignored·"-Wbitwise-instead-of-logical"
 54 ·39#·define·CLANG_WARNING_DISABLED
 55 ·40#endif
 56 ·41#endif
 57 ·42
 58 ·43/*
 59 ·44·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·>=·4
 60 ·45·*/
 61 ·46#if·_OPENMP·>=·201307
 62 ·47·#define·DUNE_PRAGMA_OMP_SIMD·_Pragma("omp·simd")
 63 ·48#else
 64 49·#define·DUNE_PRAGMA_OMP_SIMD
 65 ·50#endif
 66 ·51
 67 ·52
 68 ·64·template<class·T,·std::size_t·S,·std::size_t·A·=·0>
 69 65·class·alignas(A==0?alignof(T):A)·LoopSIMD·:·public·std::array<T,S>·{
 70 ·66
 71 ·67·public:
 72 ·68
 73 ·69·//default·constructor
 74 70·LoopSIMD()·{
 75 ·71·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof
 76 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0);
 77 ·72·}
 78 ·73
 79 ·74·//·broadcast·constructor·initializing·the·content·with·a·given·value
 80 75·LoopSIMD(Simd::Scalar<T>·i)·:·LoopSIMD()·{
 81 ·76·this->fill(i);
 82 ·77·}
 83 ·78
 84 ·79·template<std::size_t·OA>
 85 80·explicit·LoopSIMD(const·LoopSIMD<T,S,OA>&·other)
 86 ·81·:·std::array<T,S>(other)
 87 ·82·{
 88 ·83·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof
 89 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0);
 90 ·84·}
 91 ·85
 92 ·86·/*
 93 ·87·*·Definition·of·basic·operators
 94 ·88·*/
 95 ·89
 96 ·90·//Prefix·operators
 97 91#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·\
 98 ·92·auto·operator·SYMBOL()·{·\
 99 ·93·DUNE_PRAGMA_OMP_SIMD·\
 100 ·94·for(std::size_t·i=0;·i<S;·i++){·\
 101 ·95·SYMBOL(*this)[i];·\
 102 ·96·}·\
 103 ·97·return·*this;·\
 104 ·98·}·\
 105 ·99·static_assert(true,·"expecting·;")
 106 ·100
 107 101·DUNE_SIMD_LOOP_PREFIX_OP(++);
 108 102·DUNE_SIMD_LOOP_PREFIX_OP(--);
 109 ·103#undef·DUNE_SIMD_LOOP_PREFIX_OP
 110 ·104
 111 ·105·//Unary·operators
 112 106#define·DUNE_SIMD_LOOP_UNARY_OP(SYMBOL)·\
 113 ·107·auto·operator·SYMBOL()·const·{·\
 114 ·108·LoopSIMD<T,S,A>·out;·\
 115 ·109·DUNE_PRAGMA_OMP_SIMD·\
 116 ·110·for(std::size_t·i=0;·i<S;·i++){·\
Max diff block lines reached; 3751/27271 bytes (13.75%) of diff not shown.
4.75 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 36 lines modifiedOffset 65, 29 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#namespaces">Namespaces</a>··</div> 
77 ··<div·class="headertitle"><div·class="title">variant.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">vc.hh·File·Reference</div></div>
78 </div><!--header-->76 </div><!--header-->
79 <div·class="contents">77 <div·class="contents">
80 <div·class="textblock"><code>#include·&lt;variant&gt;</code><br·/> 
81 </div> 
 78 <p>Compatibility·header·for·including·&lt;Vc/Vc&gt;··
 79 <a·href="#details">More...</a></p>
  
82 <p><a·href="a00200_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00200_source.html">Go·to·the·source·code·of·this·file.</a></p>
 81 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 82 <div·class="textblock"><p>Compatibility·header·for·including·&lt;Vc/Vc&gt;·</p>
 83 <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>
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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:a00450"·id="r_a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr> 
90 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 </table> 
93 </div><!--·contents·-->84 </div></div><!--·contents·-->
94 <!--·start·footer·part·-->85 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>86 <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.887 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>88 </small></address>
98 </body>89 </body>
99 </html>90 </html>
807 B
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 17 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std 
13 Namespaces 
14 variant.hh·File·Reference12 vc.hh·File·Reference
15 #include·<variant>13 Compatibility·header·for·including·<Vc/Vc>·More...
16 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
 15 *****·Detailed·Description·*****
 16 Compatibility·header·for·including·<Vc/Vc>
 17 Certain·versions·(1.3.2)·of·Vc·(https://github.com/VcDevel/Vc)·have·a·problem
 18 with·certain·compiler·versions·(g++·7.2.0)·in·c++17·mode,·see·#88.
17 ·Namespaces 
18 namespace· Dune 
19  ··········Dune·namespace. 
20   
21 namespace· Dune::Std 
22  ··········Namespace·for·features·backported·from·new·C++·standards. 
23   
  
24 ===============================================================================19 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.820 ·····Generated·by [doxygen]·1.9.8
10.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 48 lines modifiedOffset 70, 42 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">variant.hh</div></div>80 ··<div·class="headertitle"><div·class="title">vc.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <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>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VC_HH</span></div>
88 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_VC_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <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> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;variant&gt;·instead</span></div>88 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·HAVE_VC</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>89 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 90 <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>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div>91 <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>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>92 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
95 <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>93 <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>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Std·{</div>94 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·Vc_CXX17</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">using·</span>std::variant;</div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">using·</span>std::visit;</div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">using·</span>std::variant_size;</div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">using·</span>std::variant_size_v;</div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">using·</span>std::get;</div>95 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#undef·Vc_CXX17</span></div>
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">using·</span>std::get_if;</div>96 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">using·</span>std::holds_alternative;</div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span>std::monostate;</div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>}</div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div>97 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 98 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·include·the·rest·of·Vc</span></div>
 99 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;Vc/Vc&gt;</span></div>
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>100 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>101 <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>
109 <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>102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 103 <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>
110 </div><!--·fragment·--></div><!--·contents·-->104 </div><!--·fragment·--></div><!--·contents·-->
111 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>106 <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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
114 </small></address>108 </small></address>
115 </body>109 </body>
116 </html>110 </html>
1.66 KB
html2text {}
    
Offset 7, 44 lines modifiedOffset 7, 34 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 vc.hh
12 ····*·std 
13 variant.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root15 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
20 ·5#ifndef·DUNE_COMMON_STD_VARIANT_HH17 ·3#ifndef·DUNE_COMMON_VC_HH
21 ·6#define·DUNE_COMMON_STD_VARIANT_HH18 ·4#define·DUNE_COMMON_VC_HH
22 ·7 
23 ·8#warning·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after 
24 Dune·2.8.\ 
25 ·9·Include·<variant>·instead 
26 ·10 
27 ·11#include·<variant> 
28 ·12 
29 ·13namespace·Dune·{ 
30 ·14namespace·Std·{ 
31 ·15·using·std::variant; 
32 ·16·using·std::visit; 
33 ·17·using·std::variant_size; 
34 ·18·using·std::variant_size_v; 
35 ·19·using·std::get; 
36 ·20·using·std::get_if; 
37 ·21·using·std::holds_alternative; 
38 ·22·using·std::monostate; 
39 ·23} 
40 ·24} 
41 ·2519 ·5
 20 ·15#if·HAVE_VC
 21 ·16
 22 ·17//·include·Vc's·macro·definitions
 23 ·18#include·<Vc/global.h>
 24 ·19
 25 ·20//·undefine·the·macro·that·signals·C++17·support,·if·set
 26 ·21#ifdef·Vc_CXX17
 27 ·22#undef·Vc_CXX17
42 ·26#endif28 ·23#endif
43 Dune 
44 Dune·namespace. 
45 Definition·alignedallocator.hh:1329 ·24
 30 ·25//·include·the·rest·of·Vc
 31 ·26#include·<Vc/Vc>
 32 ·27
 33 ·28#endif·//·HAVE_VC
 34 ·29
 35 ·30#endif·//·DUNE_COMMON_VC_HH
  
46 ===============================================================================36 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.837 ·····Generated·by [doxygen]·1.9.8
15.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 36 lines modifiedOffset 65, 86 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
76 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>··</div>
77 ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div>78 ··<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>
78 </div><!--header-->79 </div><!--header-->
79 <div·class="contents">80 <div·class="contents">
  
 81 <p>SIMD·abstractions·for·the·standard·built-in·types.··
 82 <a·href="#details">More...</a></p>
80 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;type_traits&gt;</code><br·/>
 85 <code>#include·&lt;utility&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
81 </div>89 </div>
82 <p><a·href="a00203_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00203_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <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="a02620.html">Dune::Simd::Overloads::ScalarType&lt;·V,·class·&gt;</a></td></tr>
 95 <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>
 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="a02624.html">Dune::Simd::Overloads::RebindType&lt;·S,·class,·class·&gt;</a></td></tr>
 98 <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>
 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="a02628.html">Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;</a></td></tr>
 101 <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>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 </table><table·class="memberdecls">
84 <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>
85 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a00450"·id="r_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>109 <tr·class="memitem:a00429"·id="r_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:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>110 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:a00430"·id="r_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>
 113 <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>
91 <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">
 116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 117 Functions</h2></td></tr>
 118 <tr><td·colspan="2"><div·class="groupHeader">Specialized·classes·and·overloaded·functions</div></td></tr>
 119 <tr·class="memitem:ad329da4d6c881c0c53b63c01f576e6df"·id="r_ad329da4d6c881c0c53b63c01f576e6df"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 120 <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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·std::size_t,·V·v)</td></tr>
 121 <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>··<br·/></td></tr>
 122 <tr·class="separator:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"·id="r_a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 124 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplItemLeft"·align="right"·valign="top">V·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a3d3cefa72e95b1abb7a235b4511d9794">Dune::Simd::Overloads::lane</a>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·3·&gt;,·std::size_t,·V·&amp;v)</td></tr>
 125 <tr·class="separator:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:a4da440a9db2b315f531d5412174982af"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 127 <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>··<br·/></td></tr>
 128 <tr·class="separator:a4da440a9db2b315f531d5412174982af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:aef12678a4fbb543b66e9a92eb85d9877"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 130 <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>··<br·/></td></tr>
 131 <tr·class="separator:aef12678a4fbb543b66e9a92eb85d9877"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:a8d635dd0e81111cb047adf5c28dfb781"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 133 <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>··<br·/></td></tr>
 134 <tr·class="separator:a8d635dd0e81111cb047adf5c28dfb781"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ab3e2ff7938d3f9d0a691ee30924caee0"·id="r_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>·(<a·class="el"·href="a02608.html">ADLTag</a>&lt;·2·&gt;,·bool·<a·class="el"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</td></tr>
 136 <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>··<br·/></td></tr>
 137 <tr·class="separator:ab3e2ff7938d3f9d0a691ee30924caee0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>138 </table>
 139 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 140 <div·class="textblock"><p>SIMD·abstractions·for·the·standard·built-in·types.·</p>
 141 <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>
93 </div><!--·contents·-->142 </div></div><!--·contents·-->
94 <!--·start·footer·part·-->143 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>144 <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.8145 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>146 </small></address>
98 </body>147 </body>
99 </html>148 </html>
2.74 KB
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 75 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
13 Namespaces 
14 utility.hh·File·Reference13 Classes·|·Namespaces
 14 standard.hh·File·Reference
 15 Common·»·Vectorization·»·Application_Developer's_Interface·»·SIMD_Abstraction
 16 Implementation_for_standard_types
 17 SIMD·abstractions·for·the·standard·built-in·types.·More...
 18 #include·<cstddef>
 19 #include·<type_traits>
15 #include·<utility>20 #include·<utility>
 21 #include·<dune/common/indices.hh>
 22 #include·<dune/common/simd/base.hh>
 23 #include·<dune/common/simd/defaults.hh>
16 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
 25 ·Classes
 26 struct· Dune::Simd::Overloads::ScalarType<_V,_class_>
 27  ·······should·have·a·member·type·type·More...
 28  
 29 struct· Dune::Simd::Overloads::RebindType<_S,_class,_class_>
 30  ·······should·have·a·member·type·type·More...
 31  
 32 struct· Dune::Simd::Overloads::LaneCount<_class,_class_>
 33  ·······should·be·derived·from·a·Dune::index_constant·More...
 34  
17 ·Namespaces35 ·Namespaces
18 namespace· Dune36 namespace· Dune
19  ··········Dune·namespace.37  ··········Dune·namespace.
20  38  
21 namespace· Dune::Std39 namespace· Dune::Simd
22  ··········Namespace·for·features·backported·from·new·C++·standards.40  ··········Namespace·for·vectorization·interface·functions·used·by·library
 41 ············developers.
 42  
 43 namespace· Dune::Simd::Overloads
 44  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 45 ············implementation.
 46  
 47 ·Functions
 48 Specialized·classes·and·overloaded·functions
 49 template<class·V·>
 50 ···V Dune::Simd::Overloads::lane·(ADLTag<·2·>,·std::size_t,·V·v)
 51  ····implements·Simd::lane()
 52  
 53 template<class·V·>
 54 ·V·& Dune::Simd::Overloads::lane·(ADLTag<·3·>,·std::size_t,·V·&v)
 55  
 56 bool Dune::Simd::Overloads::anyTrue·(ADLTag<·2·>,·bool·mask)
 57  ····implements·Simd::anyTrue()
 58  
 59 bool Dune::Simd::Overloads::allTrue·(ADLTag<·2·>,·bool·mask)
 60  ····implements·Simd::allTrue()
 61  
 62 bool Dune::Simd::Overloads::anyFalse·(ADLTag<·2·>,·bool·mask)
 63  ····implements·Simd::anyFalse()
 64  
 65 bool Dune::Simd::Overloads::allFalse·(ADLTag<·2·>,·bool·mask)
 66  ····implements·Simd::allFalse()
23  67  
 68 *****·Detailed·Description·*****
 69 SIMD·abstractions·for·the·standard·built-in·types.
 70 This·file·should·not·normally·be·included·by·users·of·the·SIMD·abstraction
 71 (i.e.·other·Dune·headers).·Neither·should·it·be·included·by·the·translation
 72 units·passing·built-in·types·to·Dune·headers·that·in·turn·support·SIMD·types
 73 through·the·SIMD·abstraction.·Dune-functionality·always·supports·built-in
 74 types.·Either·because·that·functionality·does·not·support·SIMD·types·and·so
 75 only·supports·built-in·types,·or·if·it·does·support·SIMD·types·it·must·include
 76 <dune/common/simd/simd.hh>,·which·in·turn·includes·this·header.
  
24 ===============================================================================77 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.878 ·····Generated·by [doxygen]·1.9.8
25.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 49 lines modifiedOffset 70, 102 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">utility.hh</div></div>80 ··<div·class="headertitle"><div·class="title">standard.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>84 <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>
85 <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>85 <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>
86 <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>86 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 89 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>90 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
90 <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> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;utility&gt;·instead</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
93 <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> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>91 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 92 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00305.html">dune/common/indices.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/simd/base.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.html">dune/common/simd/defaults.hh</a>&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">namespace·</span>Std</div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··{</div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::integer_sequence;</div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">using·</span>std::index_sequence;</div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="keyword">using·</span>std::make_integer_sequence;</div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····<span·class="keyword">using·</span>std::make_index_sequence;</div> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">using·</span>std::index_sequence_for;</div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 96 <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>
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}·<span·class="comment">//·namespace·Std</span></div>97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>Simd·{</div>
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}·<span·class="comment">//·namespace·Dune</span></div>99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">namespace·</span>Overloads·{</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>101 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 102 <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>
 103 <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>
 104 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 105 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 106 <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>
 107 <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>
 108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 109 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 113 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 114 <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>
 115 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}">
 116 <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>
 117 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······{</div>
 118 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">return</span>·v;</div>
 119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div>
 120 </div>
 121 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 122 <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>
 123 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}">
 124 <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>
 125 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······{</div>
 126 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·v;</div>
 127 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div>
 128 </div>
 129 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 130 <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>
 131 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="comment">//·interface·is·sufficient</span></div>
 132 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 133 <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>
 134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 135 <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>
 136 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 137 <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>
 138 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 139 <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>
 140 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 141 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 142 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}·<span·class="comment">//·namespace·Overloads</span></div>
 143 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}·<span·class="comment">//·namespace·Simd</span></div>
 144 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}·<span·class="comment">//·namespace·Dune</span></div>
 145 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
109 <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>146 <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>
 147 <div·class="ttc"·id="aa00182_html"><div·class="ttname"><a·href="a00182.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div>
 148 <div·class="ttc"·id="aa00191_html"><div·class="ttname"><a·href="a00191.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div>
 149 <div·class="ttc"·id="aa00305_html"><div·class="ttname"><a·href="a00305.html">indices.hh</a></div></div>
 150 <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>
 151 <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>
 152 <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>
 153 <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>
 154 <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>
110 <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"><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>
 156 <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>
 157 <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>
 158 <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>
 159 <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>
 160 <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>
 161 <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>
 162 <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>
 163 <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>
111 </div><!--·fragment·--></div><!--·contents·-->164 </div><!--·fragment·--></div><!--·contents·-->
112 <!--·start·footer·part·-->165 <!--·start·footer·part·-->
Max diff block lines reached; 190/22180 bytes (0.86%) of diff not shown.
4.07 KB
html2text {}
    
Offset 7, 45 lines modifiedOffset 7, 126 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
13 utility.hh13 standard.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_STD_UTILITY_HH18 ·3#ifndef·DUNE_COMMON_SIMD_STANDARD_HH
19 ·4#define·DUNE_COMMON_STD_UTILITY_HH19 ·4#define·DUNE_COMMON_SIMD_STANDARD_HH
20 ·520 ·5
 21 ·20#include·<cstddef>
 22 ·21#include·<type_traits>
21 ·6#include·<utility>23 ·22#include·<utility>
 24 ·23
 25 ·24#include·<dune/common/indices.hh>
 26 ·25#include·<dune/common/simd/base.hh>
 27 ·26#include·<dune/common/simd/defaults.hh>
22 ·728 ·27
23 ·8#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after 
24 Dune·2.8.\ 
25 ·9·Include·<utility>·instead29 ·45namespace·Dune·{
 30 ·46·namespace·Simd·{
 31 ·47
 32 ·48·namespace·Overloads·{
 33 ·49
 34 ·56
 35 ·59·template<class·V,·class>
 36 60·struct·ScalarType·{·using·type·=·V;·};
 37 ·61
 38 ·63
 39 ·66·template<class·S,·class,·class>
 40 67·struct·RebindType·{·using·type·=·S;·};
 41 ·68
 42 ·70
 43 ·73·template<class,·class>
 44 74·struct·LaneCount·:·public·index_constant<1>·{·};
 45 ·75
 46 ·77
 47 ·86·template<class·V>
 48 87·V·lane(ADLTag<2>,·std::size_t,·V·v)
 49 ·88·{
 50 ·89·return·v;
 51 ·90·}
 52 ·91
 53 ·92·template<class·V>
 54 93·V·&lane(ADLTag<3>,·std::size_t,·V·&v)
 55 ·94·{
 56 ·95·return·v;
 57 ·96·}
 58 ·97
 59 ·98·//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the
 60 ·99·//·interface·is·sufficient
26 ·1061 ·100
 62 102·inline·bool·anyTrue(ADLTag<2>,·bool·mask)·{·return·mask;·}
27 ·11namespace·Dune 
28 ·12{ 
29 ·1363 ·103
 64 105·inline·bool·allTrue(ADLTag<2>,·bool·mask)·{·return·mask;·}
30 ·14·namespace·Std 
31 ·15·{ 
32 ·1665 ·106
33 ·17·using·std::integer_sequence; 
34 ·18·using·std::index_sequence; 
35 ·19·using·std::make_integer_sequence; 
36 ·20·using·std::make_index_sequence; 
37 ·21·using·std::index_sequence_for; 
38 ·2266 108·inline·bool·anyFalse(ADLTag<2>,·bool·mask)·{·return·!mask;·}
 67 ·109
 68 111·inline·bool·allFalse(ADLTag<2>,·bool·mask)·{·return·!mask;·}
 69 ·112
 70 ·114
 71 ·115·}·//·namespace·Overloads
39 ·23·}·//·namespace·Std72 ·116·}·//·namespace·Simd
40 ·24 
41 ·25}·//·namespace·Dune73 ·117}·//·namespace·Dune
42 ·26 
43 ·27#endif·//·#ifndef·DUNE_COMMON_STD_UTILITY_HH74 ·118
 75 ·119#endif·//·DUNE_COMMON_SIMD_STANDARD_HH
 76 defaults.hh
 77 Default·implementations·for·SIMD·Implementations.
 78 base.hh
 79 Basic·definitions·for·SIMD·Implementations.
 80 indices.hh
 81 Dune::index_constant
 82 std::integral_constant<·std::size_t,·i·>·index_constant
 83 An·index·constant·with·value·i.
 84 Definition·indices.hh:30
 85 Dune::Simd::Overloads::mask
 86 Mask<·V·>·mask(ADLTag<·0,·std::is_same<·V,·Mask<·V·>·>::value·>,·const·V·&v)
 87 implements·Simd::mask()
 88 Definition·defaults.hh:153
 89 Dune::Simd::Overloads::allFalse
 90 bool·allFalse(ADLTag<·0·>,·const·Mask·&mask)
 91 implements·Simd::allFalse()
 92 Definition·defaults.hh:124
 93 Dune::Simd::Overloads::allTrue
 94 bool·allTrue(ADLTag<·0·>,·const·Mask·&mask)
 95 implements·Simd::allTrue()
 96 Definition·defaults.hh:104
 97 Dune::Simd::Overloads::anyFalse
 98 bool·anyFalse(ADLTag<·0·>,·const·Mask·&mask)
 99 implements·Simd::anyFalse()
 100 Definition·defaults.hh:114
44 Dune101 Dune
45 Dune·namespace.102 Dune·namespace.
46 Definition·alignedallocator.hh:13103 Definition·alignedallocator.hh:13
 104 Dune::Simd::Overloads::anyTrue
 105 bool·anyTrue(ADLTag<·5·>,·const·AlignedNumber<·bool,·align·>·&mask)
 106 Definition·debugalign.hh:543
 107 Dune::Simd::Overloads::lane
 108 T·&·lane(ADLTag<·5·>,·std::size_t·l,·AlignedNumber<·T,·align·>·&v)
 109 Definition·debugalign.hh:520
 110 Dune::Simd::Overloads::ADLTag
 111 Tag·used·to·force·late-binding·lookup·in·Dune::Simd::Overloads.
 112 Definition·base.hh:182
 113 Dune::Simd::Overloads::ScalarType
 114 should·have·a·member·type·type
 115 Definition·standard.hh:60
 116 Dune::Simd::Overloads::ScalarType::type
 117 V·type
 118 Definition·standard.hh:60
Max diff block lines reached; 116/4139 bytes (2.80%) of diff not shown.
54.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 102 lines modifiedOffset 65, 496 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#define-members">Macros</a>·&#124;
78 <a·href="#typedef-members">Typedefs</a>·&#124;79 <a·href="#typedef-members">Typedefs</a>··</div>
79 <a·href="#var-members">Variables</a>··</div> 
80 ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">test.hh·File·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
 83 <p>Common·tests·for·simd·abstraction·implementations.··
 84 <a·href="#details">More...</a></p>
83 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 86 <code>#include·&lt;cstddef&gt;</code><br·/>
 87 <code>#include·&lt;iostream&gt;</code><br·/>
 88 <code>#include·&lt;sstream&gt;</code><br·/>
 89 <code>#include·&lt;string&gt;</code><br·/>
 90 <code>#include·&lt;type_traits&gt;</code><br·/>
 91 <code>#include·&lt;typeindex&gt;</code><br·/>
 92 <code>#include·&lt;typeinfo&gt;</code><br·/>
 93 <code>#include·&lt;unordered_set&gt;</code><br·/>
 94 <code>#include·&lt;utility&gt;</code><br·/>
 95 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 96 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
 97 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 98 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/simd/io.hh</a>&gt;</code><br·/>
 99 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>
 100 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
 101 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 102 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>103 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
86 </div>104 </div>
87 <p><a·href="a00206_source.html">Go·to·the·source·code·of·this·file.</a></p>105 <p><a·href="a00206_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">106 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
90 Classes</h2></td></tr>108 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="a02868.html">Dune::Std::nonesuch</a></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="a02724.html">Dune::Simd::EndMark</a></td></tr>
92 <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> 
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="a02872.html">Dune::Std::conjunction&lt;·B·&gt;</a></td></tr> 
95 <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>110 <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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <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="a02876.html">Dune::Std::disjunction&lt;·B·&gt;</a></td></tr> 
98 <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> 
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="a02880.html">Dune::Std::negation&lt;·B·&gt;</a></td></tr>112 <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>
101 <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> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">114 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>116 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00450"·id="r_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>120 <tr·class="memitem:a00429"·id="r_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>
110 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>121 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">123 </table><table·class="memberdecls">
 124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 125 Macros</h2></td></tr>
 126 <tr·class="memitem:a597f9d11a82f392a91b8bc12bd49a595"·id="r_a597f9d11a82f392a91b8bc12bd49a595"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a597f9d11a82f392a91b8bc12bd49a595">DUNE_SIMD_CHECK</a>(expr)&#160;&#160;&#160;······((expr)·?·void()·:·complain(__FILE__,·__LINE__,·__func__,·#expr))</td></tr>
 127 <tr·class="separator:a597f9d11a82f392a91b8bc12bd49a595"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:a48b2df30d98156457f001562d4bd5270"·id="r_a48b2df30d98156457f001562d4bd5270"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a48b2df30d98156457f001562d4bd5270">DUNE_SIMD_CHECK_OP</a>(expr)</td></tr>
 129 <tr·class="separator:a48b2df30d98156457f001562d4bd5270"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:a09facb8a8a5240120cca8ec1d1605959"·id="r_a09facb8a8a5240120cca8ec1d1605959"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a09facb8a8a5240120cca8ec1d1605959">DUNE_SIMD_POSTFIX_OP</a>(NAME,··SYMBOL)</td></tr>
 131 <tr·class="separator:a09facb8a8a5240120cca8ec1d1605959"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:aeb2257e86dd590d0f724653136732d17"·id="r_aeb2257e86dd590d0f724653136732d17"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#aeb2257e86dd590d0f724653136732d17">DUNE_SIMD_PREFIX_OP</a>(NAME,··SYMBOL)</td></tr>
 133 <tr·class="separator:aeb2257e86dd590d0f724653136732d17"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V)&gt;())</td></tr>
 135 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:a20f7280cead2264697f74b1deebc17e5"·id="r_a20f7280cead2264697f74b1deebc17e5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a20f7280cead2264697f74b1deebc17e5">DUNE_SIMD_INFIX_OP</a>(NAME,··SYMBOL)</td></tr>
 137 <tr·class="separator:a20f7280cead2264697f74b1deebc17e5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:ad379032c70061c8e4d7d292356c9381c"·id="r_ad379032c70061c8e4d7d292356c9381c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#ad379032c70061c8e4d7d292356c9381c">DUNE_SIMD_ASSIGN_OP</a>(NAME,··SYMBOL)</td></tr>
 139 <tr·class="separator:ad379032c70061c8e4d7d292356c9381c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:acf66af48cb08cc1bc5334b44dfd6e016"·id="r_acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#acf66af48cb08cc1bc5334b44dfd6e016">DUNE_SIMD_REPL_OP</a>(NAME,··REPLFN,··SYMBOL)</td></tr>
 141 <tr·class="separator:acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;OpInfixComma(T1,·T2)&gt;())</td></tr>
 143 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·V2)&gt;())</td></tr>
 145 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·T2)&gt;())</td></tr>
 147 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 148 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·T2)&gt;())</td></tr>
 149 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"·id="r_a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·P2)&gt;())</td></tr>
 151 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:afc92f199d5b487cb38c2befd03eed5de"·id="r_afc92f199d5b487cb38c2befd03eed5de"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#afc92f199d5b487cb38c2befd03eed5de">DUNE_SIMD_DO</a>(M1,··M2,··M3,··V1,··V2,··V3,··NAME)</td></tr>
 153 <tr·class="separator:afc92f199d5b487cb38c2befd03eed5de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 </table><table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>155 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
114 Typedefs</h2></td></tr>156 Typedefs</h2></td></tr>
 157 <tr·class="memitem:a320566db6148b3a25631f0620601b881"·id="r_a320566db6148b3a25631f0620601b881"><td·class="memTemplParams"·colspan="2">template&lt;class...·Types&gt;·</td></tr>
 158 <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;·<a·class="el"·href="a02724.html">EndMark</a>,·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·Types...·&gt;·&gt;::type</td></tr>
 159 <tr·class="memdesc:a320566db6148b3a25631f0620601b881"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·list·of·types·with·the·final·element·removed.··<br·/></td></tr>
115 <tr·class="memitem:gadb4713b99082ef169f74666e0ec7a46e"·id="r_gadb4713b99082ef169f74666e0ec7a46e"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
116 <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> 
117 <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.··<br·/></td></tr> 
118 <tr·class="separator:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:gaccaa5104ef0c27be164435f42ef81fd5"·id="r_gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
Max diff block lines reached; 18587/45764 bytes (40.61%) of diff not shown.
9.41 KB
html2text {}
    
Offset 6, 99 lines modifiedOffset 6, 205 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
13 Classes·|·Namespaces·|·Typedefs·|·Variables13 Classes·|·Namespaces·|·Macros·|·Typedefs
14 type_traits.hh·File·Reference14 test.hh·File·Reference
 15 Common·tests·for·simd·abstraction·implementations.·More...
 16 #include·<algorithm>
 17 #include·<cstddef>
 18 #include·<iostream>
 19 #include·<sstream>
 20 #include·<string>
15 #include·<type_traits>21 #include·<type_traits>
 22 #include·<typeindex>
 23 #include·<typeinfo>
 24 #include·<unordered_set>
 25 #include·<utility>
 26 #include·<dune/common/classname.hh>
 27 #include·<dune/common/hybridutilities.hh>
 28 #include·<dune/common/rangeutilities.hh>
 29 #include·<dune/common/simd/io.hh>
 30 #include·<dune/common/simd/loop.hh>
 31 #include·<dune/common/simd/simd.hh>
 32 #include·<dune/common/std/type_traits.hh>
 33 #include·<dune/common/typelist.hh>
16 #include·<dune/common/typetraits.hh>34 #include·<dune/common/typetraits.hh>
17 #include·<dune/common/typeutilities.hh> 
18 Go_to_the_source_code_of_this_file.35 Go_to_the_source_code_of_this_file.
19 ·Classes36 ·Classes
 37 struct· Dune::Simd::EndMark
 38  ·······final·element·marker·for·RebindList·More...
20 struct· Dune::Std::nonesuch 
21  ·······Type·representing·a·lookup·failure·by·std::detected_or·and·friends. 
22 ·········More... 
23  39  
 40 ·class· Dune::Simd::UnitTest
24 struct· Dune::Std::conjunction<_B_> 
25  ·······forms·the·logical·conjunction·of·the·type·traits·B...·More... 
26   
27 struct· Dune::Std::disjunction<_B_> 
28  ·······forms·the·logical·disjunction·of·the·type·traits·B...·More... 
29   
30 struct· Dune::Std::negation<_B_> 
31  ·······forms·the·logical·negation·of·the·type·traits·B...·More... 
32  41  
33 ·Namespaces42 ·Namespaces
34 namespace· Dune43 namespace· Dune
35  ··········Dune·namespace.44  ··········Dune·namespace.
36  45  
37 namespace· Dune::Std46 namespace· Dune::Simd
38  ··········Namespace·for·features·backported·from·new·C++·standards.47  ··········Namespace·for·vectorization·interface·functions·used·by·library
 48 ············developers.
39  49  
 50 ·Macros
 51 #define DUNE_SIMD_CHECK(expr)   ·((expr)·?·void()·:·complain(__FILE__,·__LINE__,
 52 ·········__func__,·#expr))
40 ·Typedefs 
41 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args> 
42 using Dune::Std::detected_or·=·Impl::detector<·Default,·void,·Op,·Args...·> 
43  ·····Detects·whether·Op<Args...>·is·valid·and·makes·the·result·available. 
44  53  
 54 #define DUNE_SIMD_CHECK_OP(expr)
45 template<template<·typename...·>·class·Op,·typename...·Args> 
46 using Dune::Std::is_detected·=·typename·detected_or<·nonesuch,·Op,·Args...·>:: 
47 ·······value_t 
48  ·····Detects·whether·Op<Args...>·is·valid. 
49  55  
 56 #define DUNE_SIMD_POSTFIX_OP(NAME,·SYMBOL)
50 template<template<·typename...·>·class·Op,·typename...·Args> 
51 using Dune::Std::detected_t·=·typename·detected_or<·nonesuch,·Op,·Args...·>:: 
52 ·······type 
53  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·nonesuch. 
54  57  
 58 #define DUNE_SIMD_PREFIX_OP(NAME,·SYMBOL)
55 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args> 
56 using Dune::Std::detected_or_t·=·typename·detected_or<·Default,·Op,·Args... 
57 ·······>::type 
58  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·the·fallback 
59 ·······type·Default. 
60  59  
 60 #define DUNE_SIMD_OPNAME   (className<Op(V)>())
61 template<typename·Expected·,·template<·typename...·>·class·Op,·typename... 
62 Args> 
63 using Dune::Std::is_detected_exact·=·std::is_same<·Expected,·detected_t<·Op, 
64 ·······Args...·>·> 
65  ·····Checks·whether·Op<Args...>·is·Expected·without·causing·an·error·if 
66 ·······Op<Args...>·is·invalid. 
67  61  
 62 #define DUNE_SIMD_INFIX_OP(NAME,·SYMBOL)
68 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args> 
69 using Dune::Std::is_detected_convertible·=·std::is_convertible<·Target, 
70 ·······detected_t<·Op,·Args...·>·> 
71  ·····Checks·whether·Op<Args...>·is·convertible·to·Target·without·causing·an 
72 ·······error·if·Op<Args...>·is·invalid. 
73  63  
 64 #define DUNE_SIMD_ASSIGN_OP(NAME,·SYMBOL)
74 template<template<·typename...·>·class·Fallback,·template<·typename...·>·class 
75 TargetType,·typename...·Args> 
76 using Dune::detected_or_fallback_t·=·Std::detected_or_t<·decltype(detail:: 
77 ·······warningIfNotDefined<·Std::detected_t<·Fallback,·Args...·>·>(std:: 
78 ·······declval<·const·Std::detected_t<·TargetType,·Args...·>·*·>())), 
79 ·······TargetType,·Args...·> 
80  ·····This·type·will·be·either·TargetType<Args...>·if·it·exists,·or·the 
81 ·······Fallback<Args...>·type. 
82   
83 ·Variables 
84 template<template<·typename...·>·class·Op,·typename...·Args> 
85 constexpr·bool Dune::Std::is_detected_v·=·is_detected<Op,Args...>::value 
86  ··············Detects·whether·Op<Args...>·is·valid·and·makes·the·result 
87 ················available·as·a·value. 
88   
89 template<typename·Expected·,·template<·typename...·>·class·Op,·typename... 
90 Args> 
91 constexpr·bool Dune::Std::is_detected_exact_v·= 
92 ················is_detected_exact<Expected,Op,Args...>::value 
93  ··············Convenient·access·to·the·result·value·of·is_detected_exact. 
94   
95 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args> 
96 constexpr·bool Dune::Std::is_detected_convertible_v·= 
97 ················is_detected_convertible<Target,Op,Args...>::value 
98  ··············Convenient·access·to·the·result·value·of 
99 ················is_detected_convertible. 
100  65  
Max diff block lines reached; 116/9611 bytes (1.21%) of diff not shown.
466 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 223 lines modifiedOffset 70, 2026 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">type_traits.hh</div></div>80 ··<div·class="headertitle"><div·class="title">test.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <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>85 <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>
88 <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>86 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 89 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 90 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 91 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
 92 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>93 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00215.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
94 <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>94 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;typeindex&gt;</span></div>
95 <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>95 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
 96 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;unordered_set&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>97 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
98 <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> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
101 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>98 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Std</div> 
103 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>99 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/classname.hh</a>&gt;</span></div>
 100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/hybridutilities.hh</a>&gt;</span></div>
 101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
 102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/simd/io.hh</a>&gt;</span></div>
 103 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00197.html">dune/common/simd/loop.hh</a>&gt;</span></div>
 104 <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>
 105 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 106 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/typelist.hh</a>&gt;</span></div>
 107 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
104 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>108 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 109 <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>
105 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">using·</span>std::bool_constant;</div>110 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">namespace·</span>Simd·{</div>
106 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>111 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
107 <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>112 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">namespace·</span>Impl·{</div>
108 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>113 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
109 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">using·</span>std::experimental::nonesuch;</div>114 <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>
110 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>std::experimental::detected_or;</div>115 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">struct·</span>LessThenComparable·:·std::false_type·{};</div>
111 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span>std::experimental::is_detected;</div>116 <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>
 117 <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>
 118 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···················································&lt;·std::declval&lt;T&gt;())&gt;·&gt;·:</div>
 119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········std::true_type</div>
 120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······{};</div>
 121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 122 <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>
112 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>std::experimental::detected_t;</div>123 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">struct·</span>CopyConstHelper</div>
113 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>std::experimental::is_detected_v;</div> 
114 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>std::experimental::detected_or_t;</div> 
115 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span>std::experimental::is_detected_exact;</div> 
116 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>std::experimental::is_detected_exact_v;</div> 
117 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>std::experimental::is_detected_convertible;</div> 
118 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>std::experimental::is_detected_convertible_v;</div> 
119 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>124 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{</div>
120 <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>125 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>126 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······};</div>
122 <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> 
123 <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>127 <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>
 128 <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>
124 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>129 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div>
125 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>130 <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>
 131 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······};</div>
126 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>132 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 133 <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>
127 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">namespace·</span>Impl·{</div>134 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keyword">struct·</span>CopyVolatileHelper</div>
128 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>135 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</div>
129 <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> 
130 <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> 
131 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">struct·</span>detector</div>136 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
132 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····{</div>137 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div>
133 <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>138 <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>
134 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">using·</span>type·=·Default;</div>139 <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>
135 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····};</div>140 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{</div>
 141 <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>
 142 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div>
136 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>143 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 144 <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>
 145 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">struct·</span>CopyReferenceHelper</div>
137 <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> 
138 <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> 
139 <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> 
140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div>146 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div>
141 <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> 
142 <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>147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
143 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····};</div>148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······};</div>
144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
145 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div>149 <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>
 150 <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>
146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>151 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······{</div>
147 <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>152 <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>
 153 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······};</div>
148 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>154 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
Max diff block lines reached; 367116/394936 bytes (92.96%) of diff not shown.
80.5 KB
html2text {}
    
Offset 7, 284 lines modifiedOffset 7, 2098 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
13 type_traits.hh13 test.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
20 ·5#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH18 ·3#ifndef·DUNE_COMMON_SIMD_TEST_HH
21 ·6#define·DUNE_COMMON_STD_TYPE_TRAITS_HH19 ·4#define·DUNE_COMMON_SIMD_TEST_HH
22 ·720 ·5
 21 ·12#include·<algorithm>
 22 ·13#include·<cstddef>
 23 ·14#include·<iostream>
 24 ·15#include·<sstream>
 25 ·16#include·<string>
23 ·8#include·<type_traits>26 ·17#include·<type_traits>
 27 ·18#include·<typeindex>
 28 ·19#include·<typeinfo>
 29 ·20#include·<unordered_set>
 30 ·21#include·<utility>
 31 ·22
 32 ·23#include·<dune/common/classname.hh>
 33 ·24#include·<dune/common/hybridutilities.hh>
 34 ·25#include·<dune/common/rangeutilities.hh>
 35 ·26#include·<dune/common/simd/io.hh>
 36 ·27#include·<dune/common/simd/loop.hh>
 37 ·28#include·<dune/common/simd/simd.hh>
 38 ·29#include·<dune/common/std/type_traits.hh>
 39 ·30#include·<dune/common/typelist.hh>
24 ·9#include·<dune/common/typetraits.hh>40 ·31#include·<dune/common/typetraits.hh>
 41 ·32
25 ·10#include·<dune/common/typeutilities.hh> 
26 ·11 
27 ·12#if·__has_include(<experimental/type_traits>) 
28 ·13#include·<experimental/type_traits> 
29 ·14#endif 
30 ·15 
31 ·16namespace·Dune42 ·33namespace·Dune·{
 43 ·34·namespace·Simd·{
32 ·17{ 
33 ·18 
34 ·20 
35 ·29namespace·Std 
36 ·30{ 
37 ·31 
38 ·34·using·std::bool_constant; 
39 ·3544 ·35
40 ·36#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED45 ·36·namespace·Impl·{
41 ·3746 ·37
42 ·38·using·std::experimental::nonesuch; 
43 ·39·using·std::experimental::detected_or; 
44 ·40·using·std::experimental::is_detected; 
45 ·41·using·std::experimental::detected_t; 
46 ·42·using·std::experimental::is_detected_v; 
47 ·43·using·std::experimental::detected_or_t; 
48 ·44·using·std::experimental::is_detected_exact; 
49 ·45·using·std::experimental::is_detected_exact_v; 
50 ·46·using·std::experimental::is_detected_convertible; 
51 ·47·using·std::experimental::is_detected_convertible_v;47 ·38·template<class·T,·class·SFINAE·=·void>
 48 ·39·struct·LessThenComparable·:·std::false_type·{};
 49 ·40·template<class·T>
 50 ·41·struct·LessThenComparable<T,·std::void_t<decltype(std::declval<T>()
 51 ·42·<·std::declval<T>())>·>·:
 52 ·43·std::true_type
 53 ·44·{};
 54 ·45
 55 ·46·template<class·Dst,·class·Src>
 56 ·47·struct·CopyConstHelper
52 ·4857 ·48·{
 58 ·49·using·type·=·Dst;
 59 ·50·};
 60 ·51·template<class·Dst,·class·Src>
 61 ·52·struct·CopyConstHelper<Dst,·const·Src>
53 ·49#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED 
54 ·50 
55 ·51·//·fallback·version·of·std::experimental::is_detected·et·al.,·heavily 
56 scribbled 
57 ·52·//·from·cppreference.com·(but·there·is·actually·not·much·implementation·to 
58 the·thing) 
59 ·5362 ·53·{
 63 ·54·using·type·=·std::add_const_t<Dst>;
 64 ·55·};
 65 ·56
 66 ·57·template<class·Dst,·class·Src>
 67 ·58·struct·CopyVolatileHelper
 68 ·59·{
60 ·54#ifndef·DOXYGEN 
61 ·55 
62 ·56·namespace·Impl·{ 
63 ·57 
64 ·58·//·default·version·of·detector,·this·gets·matched·on·failure 
65 ·59·template<typename·Default,·typename·Void,·template<typename...>·class·Op, 
66 typename...·Args> 
67 ·60·struct·detector 
68 ·61·{ 
69 ·62·using·value_t·=·std::false_type; 
70 ·63·using·type·=·Default;69 ·60·using·type·=·Dst;
71 ·64·};70 ·61·};
 71 ·62·template<class·Dst,·class·Src>
 72 ·63·struct·CopyVolatileHelper<Dst,·volatile·Src>
72 ·65 
73 ·66·//·specialization·of·detector·that·matches·if·Op<Args...>·can·be 
74 instantiated 
75 ·67·template<typename·Default,·template<typename...>·class·Op,·typename... 
76 Args> 
77 ·68·struct·detector<Default,·std::void_t<Op<Args...>>,·Op,·Args...> 
78 ·69·{73 ·64·{
79 ·70·using·value_t·=·std::true_type;74 ·65·using·type·=·std::add_volatile_t<Dst>;
 75 ·66·};
 76 ·67
 77 ·68·template<class·Dst,·class·Src>
 78 ·69·struct·CopyReferenceHelper
 79 ·70·{
80 ·71·using·type·=·Op<Args...>;80 ·71·using·type·=·Dst;
81 ·72·};81 ·72·};
82 ·73 
83 ·74·}82 ·73·template<class·Dst,·class·Src>
 83 ·74·struct·CopyReferenceHelper<Dst,·Src&>
84 ·7584 ·75·{
Max diff block lines reached; 77563/82454 bytes (94.07%) of diff not shown.
5.85 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 45 lines modifiedOffset 65, 25 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#namespaces">Namespaces</a>·&#124; 
77 <a·href="#func-members">Functions</a>··</div> 
78 ··<div·class="headertitle"><div·class="title">make_array.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">test.cc·File·Reference</div></div>
79 </div><!--header-->76 </div><!--header-->
80 <div·class="contents">77 <div·class="contents">
81 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
 79 <code>#include·&lt;ostream&gt;</code><br·/>
82 <code>#include·&lt;type_traits&gt;</code><br·/>80 <code>#include·&lt;string&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/simd/test.hh</a>&gt;</code><br·/>
83 </div> 
84 <p><a·href="a00209_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"·id="r_a00425"><td·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:a00450"·id="r_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> 
92 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<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="func-members"·name="func-members"></a> 
96 Functions</h2></td></tr> 
97 <tr·class="memitem:ga7c124024a54a49656588ff974ee67996"·id="r_ga7c124024a54a49656588ff974ee67996"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Args&gt;·</td></tr> 
98 <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> 
99 <tr·class="memdesc:ga7c124024a54a49656588ff974ee67996"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·and·initialize·an·array.··<br·/></td></tr> 
100 <tr·class="separator:ga7c124024a54a49656588ff974ee67996"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 </table> 
102 </div><!--·contents·-->82 </div></div><!--·contents·-->
103 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>84 <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.885 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
106 </small></address>86 </small></address>
107 </body>87 </body>
108 </html>88 </html>
916 B
html2text {}
    
Offset 6, 29 lines modifiedOffset 6, 16 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·std12 ····*·simd
 13 test.cc·File·Reference
 14 #include·<config.h>
 15 #include·<ostream>
 16 #include·<string>
 17 #include·<dune/common/simd/test.hh>
13 Namespaces·|·Functions 
14 make_array.hh·File·Reference 
15 #include·<array> 
16 #include·<type_traits> 
17 Go_to_the_source_code_of_this_file. 
18 ·Namespaces 
19 namespace· Dune 
20  ··········Dune·namespace. 
21   
22 namespace· Dune::Std 
23  ··········Namespace·for·features·backported·from·new·C++·standards. 
24   
25 ·Functions 
26 template<typename...·Args> 
27 std::array<·typename·std::common_type<·Dune::Std::make_array·(const·Args·&... 
28 ····Args...·>::type,·sizeof...(Args)> args) 
29  ·····································Create·and·initialize·an·array. 
30   
  
31 ===============================================================================18 ===============================================================================
32 ·····Generated·by [doxygen]·1.9.819 ·····Generated·by [doxygen]·1.9.8
8.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 42 lines modifiedOffset 71, 53 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#typedef-members">Typedefs</a>··</div>
79 ··<div·class="headertitle"><div·class="title">promotiontraits.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">typeutilities.hh·File·Reference</div></div>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··83 <p>Utilities·for·type·computations,·constraining·overloads,·...··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 86 <code>#include·&lt;type_traits&gt;</code><br·/>
 87 <code>#include·&lt;tuple&gt;</code><br·/>
85 </div>88 </div>
86 <p><a·href="a00212_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00212_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">90 <table·class="memberdecls">
88 <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>
89 Classes</h2></td></tr>92 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="a02432.html">Dune::PromotionTraits&lt;·T1,·T2·&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="a03180.html">Dune::PriorityTag&lt;·priority·&gt;</a></td></tr>
91 <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>94 <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>
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 <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>96 <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>
 97 <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>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
96 <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>
97 Namespaces</h2></td></tr>101 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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="separator:"><td·class="memSeparator"·colspan="2">&#160;</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:ga5cf0dfc6fe8998b21503cd81c6681afc"·id="r_ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memTemplParams"·colspan="2">template&lt;class·This·,·class...·T&gt;·</td></tr>
 109 <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>
 110 <tr·class="memdesc:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·disable·constructor·as·copy·and·move·constructor.··<br·/></td></tr>
 111 <tr·class="separator:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>112 </table>
102 <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>
103 <div·class="textblock"><p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.·</p>114 <div·class="textblock"><p>Utilities·for·type·computations,·constraining·overloads,·...·</p>
104 <dl·class="section·author"><dt>Author</dt><dd>Matthias·Wohlmuth·</dd></dl>115 <dl·class="section·author"><dt>Author</dt><dd>Carsten·Gräser·</dd></dl>
105 </div></div><!--·contents·-->116 </div></div><!--·contents·-->
106 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>118 <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.8119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
109 </small></address>120 </small></address>
110 </body>121 </body>
111 </html>122 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.56 KB
html2text {}
    
Offset 6, 32 lines modifiedOffset 6, 38 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Typedefs
13 promotiontraits.hh·File·Reference13 typeutilities.hh·File·Reference
14 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
15 number·types.·More...14 Utilities·for·type·computations,·constraining·overloads,·...·More...
 15 #include·<cstddef>
 16 #include·<type_traits>
16 #include·<utility>17 #include·<tuple>
17 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
18 ·Classes19 ·Classes
 20 struct· Dune::PriorityTag<_priority_>
 21  ·······Helper·class·for·tagging·priorities.·More...
19 struct· Dune::PromotionTraits<_T1,_T2_> 
20  ·······Compute·type·of·the·result·of·an·arithmetic·operation·involving·two 
21 ·········different·number·types.·More... 
22  22  
23 struct· Dune::PromotionTraits<_T1,_T1_>23 struct· Dune::PriorityTag<_0_>
 24  ·······Helper·class·for·tagging·priorities.·More...
24  25  
25 ·Namespaces26 ·Namespaces
26 namespace· Dune27 namespace· Dune
27  ··········Dune·namespace.28  ··········Dune·namespace.
28  29  
 30 ·Typedefs
 31 template<class·This·,·class...·T>
 32 using Dune::disableCopyMove·=·std::enable_if_t<·not·Impl::
 33 ·······disableCopyMoveHelper<·This,·T...·>::value,·int·>
 34  ·····Helper·to·disable·constructor·as·copy·and·move·constructor.
 35  
29 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
 37 Utilities·for·type·computations,·constraining·overloads,·...
30 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
31 number·types. 
32 ··Author38 ··Author
33 ······Matthias·Wohlmuth39 ······Carsten·Gräser
  
34 ===============================================================================40 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.841 ·····Generated·by [doxygen]·1.9.8
18.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 49 lines modifiedOffset 74, 77 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">promotiontraits.hh</div></div>80 ··<div·class="headertitle"><div·class="title">typeutilities.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROMOTIONTRAITS_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPEUTILITIES_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROMOTIONTRAITS_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPEUTILITIES_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
92 <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>95 <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>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl</div>
 98 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div>
 99 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
93 <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>100 <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>
 101 <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>
 102 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····{};</div>
 103 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 104 <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>
 105 <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>
 106 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····{};</div>
 107 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 108 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··}·<span·class="comment">//·namespace·Impl</span></div>
 109 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 110 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 111 <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>
 112 <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>
 113 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 116 <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>
94 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};">117 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};">
95 <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>118 <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"[·...·truncated·by·diffoscope;·len:·53,·SHA:·2073ef0595f1fc61a9473d5494ec6a5672ad0ef046ad9a82c78dd86ad3e763cd·...·]</div>
96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>119 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">···28</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">decltype</span>(std::declval&lt;T1&gt;()+std::declval&lt;T2&gt;()[·...·truncated·by·diffoscope;·len:·98,·SHA:·678cef972f53e0a733dee869056f158778c19d6fd39c3e67da36ac47f4280175·...·];</div>120 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">···74</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_variable"·href="a03[·...·truncated·by·diffoscope;·len:·64,·SHA:·b68499d84396c9541c549e779352a1d8f5ce4a32d1dbcdc7746af19d91cbfa1e·...·];</div>
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>121 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div>
99 </div>122 </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>··<span·class="comment">//·Specialization·for·the·case·of·two·equal·types</span></div> 
102 <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> 
103 <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> 
104 <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> 
105 <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> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}·<span·class="comment">//·end·namespace</span></div>124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;&gt;</div>
 125 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="};">
 126 <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>
 127 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
 128 <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>
 129 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
 130 </div>
108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</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>·</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="comment">//·namespace·Dune</span></div>
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</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>·</div>
 137 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
110 <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>138 <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>
 139 <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>
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>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="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>
 142 <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>
112 <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> 
113 <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> 
114 <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> 
115 </div><!--·fragment·--></div><!--·contents·-->143 </div><!--·fragment·--></div><!--·contents·-->
116 <!--·start·footer·part·-->144 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>145 <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.8146 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
119 </small></address>147 </small></address>
120 </body>148 </body>
121 </html>149 </html>
3.08 KB
html2text {}
    
Offset 7, 54 lines modifiedOffset 7, 81 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 promotiontraits.hh12 typeutilities.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_PROMOTIONTRAITS_HH 
20 ·6#define·DUNE_PROMOTIONTRAITS_HH19 ·5#ifndef·DUNE_COMMON_TYPEUTILITIES_HH
 20 ·6#define·DUNE_COMMON_TYPEUTILITIES_HH
21 ·721 ·7
22 ·8#include·<utility> 
23 ·922 ·8#include·<cstddef>
 23 ·9#include·<type_traits>
 24 ·10#include·<tuple>
 25 ·11
 26 ·12
24 ·10namespace·Dune·{27 ·13namespace·Dune·{
25 ·25·template·<typename·T1,·typename·T2> 
26 26·struct·PromotionTraits28 ·14
 29 ·22·namespace·Impl
 30 ·23·{
 31 ·24
 32 ·25·template<class·This,·class...·T>
 33 ·26·struct·disableCopyMoveHelper·:·public·std::is_base_of<This,·std::
 34 tuple_element_t<0,·std::tuple<std::decay_t<T>...>>>
27 ·27·{35 ·27·{};
28 28·typedef·decltype(std::declval<T1>()+std::declval<T2>())·PromotedType;36 ·28
 37 ·29·template<class·This>
 38 ·30·struct·disableCopyMoveHelper<This>·:·public·std::false_type
 39 ·31·{};
 40 ·32
 41 ·33·}·//·namespace·Impl
 42 ·34
 43 ·35
 44 ·44·template<class·This,·class...·T>
 45 45·using·disableCopyMove·=·std::enable_if_t<·not·Impl::
 46 disableCopyMoveHelper<This,·T...>::value,·int>;
 47 ·46
 48 ·47
 49 ·48
 50 ·71·template<std::size_t·priority>
 51 72·struct·PriorityTag·:·public·PriorityTag<priority-1>
 52 ·73·{
 53 74·static·constexpr·std::size_t·value·=·priority;
 54 ·75·};
 55 ·76
 56 ·85·template<>
 57 86·struct·PriorityTag<0>
 58 ·87·{
 59 88·static·constexpr·std::size_t·value·=·0;
29 ·29·};60 ·89·};
30 ·30 
31 ·31·//·Specialization·for·the·case·of·two·equal·types 
32 ·32·//·One·should·think·that·the·generic·template·should·handle·this·case·as 
33 well. 
34 ·33·//·However,·the·fvectortest.cc·unit·test·fails·without·it·if·ENABLE_GMP·is 
35 set. 
36 ·34·template·<typename·T1> 
37 35·struct·PromotionTraits<T1,T1>·{·typedef·T1·PromotedType;·}; 
38 ·36 
39 ·38}·//·end·namespace 
40 ·39 
41 ·40 
42 ·41#endif·//·DUNE_PROMOTIONTRAITS_HH61 ·90
 62 ·91
 63 ·92
 64 ·93}·//·namespace·Dune
 65 ·94
 66 ·95
 67 ·96
 68 ·97#endif·//·DUNE_COMMON_TYPEUTILITIES_HH
 69 Dune::disableCopyMove
 70 std::enable_if_t<·not·Impl::disableCopyMoveHelper<·This,·T...·>::value,·int·>
 71 disableCopyMove
 72 Helper·to·disable·constructor·as·copy·and·move·constructor.
 73 Definition·typeutilities.hh:45
43 Dune74 Dune
44 Dune·namespace.75 Dune·namespace.
45 Definition·alignedallocator.hh:1376 Definition·alignedallocator.hh:13
 77 Dune::PriorityTag
 78 Helper·class·for·tagging·priorities.
 79 Definition·typeutilities.hh:73
 80 Dune::PriorityTag::value
 81 static·constexpr·std::size_t·value
 82 Definition·typeutilities.hh:74
46 Dune::PromotionTraits 
47 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
48 number·types. 
49 Definition·promotiontraits.hh:27 
50 Dune::PromotionTraits::PromotedType 
51 decltype(std::declval<·T1·>()+std::declval<·T2·>())·PromotedType 
52 Definition·promotiontraits.hh:28 
53 Dune::PromotionTraits<_T1,_T1_>::PromotedType 
54 T1·PromotedType 
55 Definition·promotiontraits.hh:35 
  
56 ===============================================================================83 ===============================================================================
57 ·····Generated·by [doxygen]·1.9.884 ·····Generated·by [doxygen]·1.9.8
23.6 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 52 lines modifiedOffset 72, 178 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#typedef-members">Typedefs</a>··</div>79 <a·href="#define-members">Macros</a>·&#124;
 80 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">typeutilities.hh·File·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">hash.hh·File·Reference</div></div>
81 </div><!--header-->82 </div><!--header-->
82 <div·class="contents">83 <div·class="contents">
  
83 <p>Utilities·for·type·computations,·constraining·overloads,·...··84 <p>Support·for·calculating·hash·values·of·objects.··
84 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>86 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;type_traits&gt;</code><br·/> 
87 <code>#include·&lt;tuple&gt;</code><br·/> 
88 </div>88 </div>
89 <p><a·href="a00215_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00215_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <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>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>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="a03180.html">Dune::PriorityTag&lt;·priority·&gt;</a></td></tr> 
94 <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> 
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="a03184.html">Dune::PriorityTag&lt;·0·&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="a01856.html">Dune::hash&lt;·T·&gt;</a></td></tr>
97 <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>94 <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>
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"·id="r_a00425"><td·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"·id="r_a00425"><td·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 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
107 Typedefs</h2></td></tr> 
108 <tr·class="memitem:ga5cf0dfc6fe8998b21503cd81c6681afc"·id="r_ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memTemplParams"·colspan="2">template&lt;class·This·,·class...·T&gt;·</td></tr> 
109 <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> 
110 <tr·class="memdesc:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·disable·constructor·as·copy·and·move·constructor.··<br·/></td></tr>104 Macros</h2></td></tr>
 105 <tr·class="memitem:a19447db8894b6d86b6b7ef0218694820"·id="r_a19447db8894b6d86b6b7ef0218694820"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00215.html#a19447db8894b6d86b6b7ef0218694820">DUNE_DEFINE_HASH</a>(template_args,··type)</td></tr>
 106 <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>.··<br·/></td></tr>
 107 <tr·class="separator:a19447db8894b6d86b6b7ef0218694820"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:ad88c05071e8aafc3796b6d6238900697"·id="r_ad88c05071e8aafc3796b6d6238900697"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ad88c05071e8aafc3796b6d6238900697">DUNE_HASH_TEMPLATE_ARGS</a>(...)</td></tr>
 109 <tr·class="memdesc:ad88c05071e8aafc3796b6d6238900697"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.··<br·/></td></tr>
 110 <tr·class="separator:ad88c05071e8aafc3796b6d6238900697"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a48ea57ba3831fb7e8bbea1d8e1d27f4f"·id="r_a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00215.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">DUNE_HASH_TYPE</a>(...)</td></tr>
 112 <tr·class="memdesc:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.··<br·/></td></tr>
 113 <tr·class="separator:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><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="func-members"·name="func-members"></a>
 116 Functions</h2></td></tr>
 117 <tr·class="memitem:aa4f0199c109bde1698fb5279a414d01a"·id="r_aa4f0199c109bde1698fb5279a414d01a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 118 <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>
 119 <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.··<br·/></td></tr>
111 <tr·class="separator:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:aa4f0199c109bde1698fb5279a414d01a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a6e45658b7c63f546c3c0897608d9d23d"·id="r_a6e45658b7c63f546c3c0897608d9d23d"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</td></tr>
 122 <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>
 123 <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.··<br·/></td></tr>
 124 <tr·class="separator:a6e45658b7c63f546c3c0897608d9d23d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ab09a051cb1381c71f6c91032cd2ba754"·id="r_ab09a051cb1381c71f6c91032cd2ba754"><td·class="memTemplParams"·colspan="2">template&lt;typename·It·&gt;·</td></tr>
 126 <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>
 127 <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.··<br·/></td></tr>
 128 <tr·class="separator:ab09a051cb1381c71f6c91032cd2ba754"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>129 </table>
113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>130 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
114 <div·class="textblock"><p>Utilities·for·type·computations,·constraining·overloads,·...·</p> 
115 <dl·class="section·author"><dt>Author</dt><dd>Carsten·Gräser·</dd></dl>131 <div·class="textblock"><p>Support·for·calculating·hash·values·of·objects.·</p>
 132 <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>
 133 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 134 <a·id="a19447db8894b6d86b6b7ef0218694820"·name="a19447db8894b6d86b6b7ef0218694820"></a>
 135 <h2·class="memtitle"><span·class="permalink"><a·href="#a19447db8894b6d86b6b7ef0218694820">&#9670;&#160;</a></span>DUNE_DEFINE_HASH</h2>
  
 136 <div·class="memitem">
 137 <div·class="memproto">
 138 ······<table·class="memname">
 139 ········<tr>
 140 ··········<td·class="memname">#define·DUNE_DEFINE_HASH</td>
 141 ··········<td>(</td>
 142 ··········<td·class="paramtype">&#160;</td>
 143 ··········<td·class="paramname">template_args,·</td>
 144 ········</tr>
 145 ········<tr>
 146 ··········<td·class="paramkey"></td>
 147 ··········<td></td>
 148 ··········<td·class="paramtype">&#160;</td>
 149 ··········<td·class="paramname">type&#160;</td>
 150 ········</tr>
 151 ········<tr>
 152 ··········<td></td>
 153 ··········<td>)</td>
 154 ··········<td></td><td></td>
 155 ········</tr>
 156 ······</table>
 157 </div><div·class="memdoc">
  
 158 <p>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>.·</p>
 159 <p>In·order·to·calculate·the·hash,·operator()·of·the·generated·specialization·will·return·the·result·of·an·unqualified·call·to·the·global·function·<code>hash_value(const·type&amp;)</code>.·As·the·call·is·not·qualified,·the·function·will·be·found·using·argument-dependent·lookup,·allowing·implementors·to·conveniently·place·it·inside·the·class·body.</p>
 160 <p>Consider·the·following·type:</p>
 161 <div·class="fragment"><div·class="line"><span·class="keyword">namespace·</span>ns·{</div>
 162 <div·class="line">··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·A,·<span·class="keywordtype">int</span>·i&gt;</div>
 163 <div·class="line">··<span·class="keyword">class·</span>Foo</div>
 164 <div·class="line">··{</div>
 165 <div·class="line">····...</div>
 166 <div·class="line">··};</div>
 167 <div·class="line">}</div>
 168 </div><!--·fragment·--><p>In·order·to·add·support·for·<code><a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a></code>,·you·need·to·extend·the·definition·like·this:</p>
 169 <div·class="fragment"><div·class="line"><span·class="keyword">namespace·</span>ns·{</div>
 170 <div·class="line">··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·A,·<span·class="keywordtype">int</span>·i&gt;</div>
Max diff block lines reached; 243/18509 bytes (1.31%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
5.36 KB
html2text {}
    
Offset 6, 38 lines modifiedOffset 6, 131 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Classes·|·Namespaces·|·Macros·|·Functions
 13 hash.hh·File·Reference
 14 Support·for·calculating·hash·values·of·objects.·More...
 15 #include·<functional>
 16 #include·<dune/common/typetraits.hh>
12 Classes·|·Namespaces·|·Typedefs 
13 typeutilities.hh·File·Reference 
14 Utilities·for·type·computations,·constraining·overloads,·...·More... 
15 #include·<cstddef> 
16 #include·<type_traits> 
17 #include·<tuple> 
18 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
19 ·Classes18 ·Classes
 19 struct· Dune::hash<_T_>
 20  ·······Functor·for·hashing·objects·of·type·T.·More...
20 struct· Dune::PriorityTag<_priority_> 
21  ·······Helper·class·for·tagging·priorities.·More... 
22   
23 struct· Dune::PriorityTag<_0_> 
24  ·······Helper·class·for·tagging·priorities.·More... 
25  21  
26 ·Namespaces22 ·Namespaces
27 namespace· Dune23 namespace· Dune
28  ··········Dune·namespace.24  ··········Dune·namespace.
29  25  
30 ·Typedefs 
31 template<class·This·,·class...·T> 
32 using Dune::disableCopyMove·=·std::enable_if_t<·not·Impl:: 
33 ·······disableCopyMoveHelper<·This,·T...·>::value,·int·> 
34  ·····Helper·to·disable·constructor·as·copy·and·move·constructor.26 ·Macros
 27 #define DUNE_DEFINE_HASH(template_args,·type)
 28  ·······Defines·the·required·struct·specialization·to·make·type·hashable·via
 29 ·········Dune::hash.
 30  
 31 #define DUNE_HASH_TEMPLATE_ARGS(...)
 32  ·······Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.
 33  
 34 #define DUNE_HASH_TYPE(...)
 35  ·······Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.
 36  
 37 ·Functions
 38 template<typename·T·>
 39 ·······void Dune::hash_combine·(std::size_t·&seed,·const·T·&arg)
 40  ···········Calculates·the·hash·value·of·arg·and·combines·it·in-place·with
 41 ·············seed.
 42  
 43 template<typename·It·>
 44 std::size_t Dune::hash_range·(It·first,·It·last)
 45  ···········Hashes·all·elements·in·the·range·[first,last)·and·returns·the
 46 ·············combined·hash.
 47  
 48 template<typename·It·>
 49 ·······void Dune::hash_range·(std::size_t·&seed,·It·first,·It·last)
 50  ···········Hashes·all·elements·in·the·range·[first,last)·and·combines·the
 51 ·············hashes·in-place·with·seed.
35  52  
36 *****·Detailed·Description·*****53 *****·Detailed·Description·*****
37 Utilities·for·type·computations,·constraining·overloads,·... 
38 ··Author 
39 ······Carsten·Gräser54 Support·for·calculating·hash·values·of·objects.
 55 This·file·provides·the·functor·Dune::hash·to·calculate·hash·values·and·some
 56 infrastructure·to·simplify·extending·Dune::hash·for·user-defined·types,
 57 independent·of·the·actual·underlying·implementation.
 58 *****·Macro·Definition·Documentation·*****
 59 *****·◆ DUNE_DEFINE_HASH·*****
 60 #define·DUNE_DEFINE_HASH·(· template_args,
 61 ··························· type 
 62 ·························)
 63 Defines·the·required·struct·specialization·to·make·type·hashable·via·Dune::
 64 hash.
 65 In·order·to·calculate·the·hash,·operator()·of·the·generated·specialization·will
 66 return·the·result·of·an·unqualified·call·to·the·global·function·hash_value
 67 (const·type&).·As·the·call·is·not·qualified,·the·function·will·be·found·using
 68 argument-dependent·lookup,·allowing·implementors·to·conveniently·place·it
 69 inside·the·class·body.
 70 Consider·the·following·type:
 71 namespace·ns·{
 72 template<typename·A,·int·i>
 73 class·Foo
 74 {
 75 ...
 76 };
 77 }
 78 In·order·to·add·support·for·Dune::hash,·you·need·to·extend·the·definition·like
 79 this:
 80 namespace·ns·{
 81 template<typename·A,·int·i>
 82 class·Foo
 83 {
 84 ...
 85 //·The·keyword·"friend"·turns·this·into·a·global·function·that·is·a·friend·of
 86 Foo.
 87 inline·friend·std::size_t·hash_value(const·Foo&·arg)
 88 {
 89 return·...;
 90 }
 91 };
 92 }
 93 //·Define·hash·struct·specialization
 94 DUNE_DEFINE_HASH(DUNE_HASH_TEMPLATE_ARGS(typename·A,·int·i),DUNE_HASH_TYPE
 95 (Foo<A,i>))
 96 DUNE_DEFINE_HASH
 97 #define·DUNE_DEFINE_HASH(template_args,·type)
 98 Defines·the·required·struct·specialization·to·make·type·hashable·via·Dune::
 99 hash.
 100 Definition·hash.hh:100
 101 DUNE_HASH_TYPE
 102 #define·DUNE_HASH_TYPE(...)
 103 Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.
 104 Definition·hash.hh:117
 105 DUNE_HASH_TEMPLATE_ARGS
 106 #define·DUNE_HASH_TEMPLATE_ARGS(...)
 107 Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.
 108 Definition·hash.hh:109
 109 ··Warning
 110 ······As·the·specialization·has·to·be·placed·in·the·original·namespace·of·the
 111 ······hash·struct·(e.g.·std),·this·macro·must·be·called·from·the·global
 112 ······namespace!
 113 ··Parameters
 114 ····················The·template·arguments·required·by·the·hash·struct
Max diff block lines reached; 116/5464 bytes (2.12%) of diff not shown.
62.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 77 lines modifiedOffset 74, 289 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">typeutilities.hh</div></div>80 ··<div·class="headertitle"><div·class="title">hash.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPEUTILITIES_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HASH_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPEUTILITIES_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HASH_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·********************************************************************************</span></div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·Doxygen·documentation</span></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·********************************************************************************</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</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">#ifdef·DOXYGEN</span></div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>100 <div·class="line"><a·id="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="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl</div> 
98 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div> 
99 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
100 <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> 
101 <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> 
102 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····{};</div> 
103 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
104 <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> 
105 <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> 
106 <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>
107 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>102 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
108 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··}·<span·class="comment">//·namespace·Impl</span></div>103 <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>
 104 <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="};">
 105 <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>
 106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{</div>
109 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>107 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 108 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="}">
 109 <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>
110 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">····</span>{</div>
 111 <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>
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div>
 113 </div>
114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div>
 116 </div>
 117 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 118 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>
 119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 120 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 121 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00215.html#a19447db8894b6d86b6b7ef0218694820">··100</a></span><span·class="preprocessor">#define·DUNE_DEFINE_HASH(template_args,type)</span></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>·</div>
 124 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 125 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a00215.html#ad88c05071e8aafc3796b6d6238900697">··109</a></span><span·class="preprocessor">#define·DUNE_HASH_TEMPLATE_ARGS(...)</span></div>
 126 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 127 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 128 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00215.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">··117</a></span><span·class="preprocessor">#define·DUNE_HASH_TYPE(...)</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">#else·</span><span·class="comment">//·DOXYGEN·-·hide·all·the·ugly·implementation</span></div>
 131 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
 132 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 133 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
 134 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//·********************************************************************************</span></div>
 135 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//·C++11·support</span></div>
 136 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//·********************************************************************************</span></div>
 137 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
 138 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="comment">//·import·std::hash·into·Dune·namespace</span></div>
 139 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 140 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 141 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··<span·class="keyword">using·</span>std::hash;</div>
 142 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 143 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>}</div>
 144 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>
 145 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="comment">//·Macro·for·defining·a·std::hash·specialization·for·type.</span></div>
 146 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="comment">//·This·should·not·be·called·directly.·Call·DUNE_DEFINE_HASH</span></div>
 147 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span><span·class="comment">//·instead.</span></div>
 148 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="preprocessor">#define·DUNE_DEFINE_STD_HASH(template_args,type)·····\</span></div>
 149 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span><span·class="preprocessor">··namespace·std·{····································\</span></div>
 150 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span><span·class="preprocessor">·····················································\</span></div>
 151 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span><span·class="preprocessor">····template&lt;template_args&gt;··························\</span></div>
 152 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span><span·class="preprocessor">····struct·hash&lt;type&gt;································\</span></div>
 153 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="preprocessor">····{················································\</span></div>
 154 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="preprocessor">·····················································\</span></div>
 155 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="preprocessor">······typedef·type·argument_type;····················\</span></div>
 156 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="preprocessor">······typedef·std::size_t·result_type;···············\</span></div>
 157 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span><span·class="preprocessor">·····················································\</span></div>
 158 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span><span·class="preprocessor">······std::size_t·operator()(const·type&amp;·arg)·const··\</span></div>
 159 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span><span·class="preprocessor">······{··············································\</span></div>
 160 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span><span·class="preprocessor">········return·hash_value(arg);······················\</span></div>
 161 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span><span·class="preprocessor">······}··············································\</span></div>
 162 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span><span·class="preprocessor">····};···············································\</span></div>
 163 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="preprocessor">·····················································\</span></div>
 164 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span><span·class="preprocessor">····template&lt;template_args&gt;··························\</span></div>
 165 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span><span·class="preprocessor">····struct·hash&lt;const·type&gt;··························\</span></div>
 166 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span><span·class="preprocessor">····{················································\</span></div>
 167 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span><span·class="preprocessor">·····················································\</span></div>
 168 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span><span·class="preprocessor">······typedef·type·argument_type;····················\</span></div>
 169 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span><span·class="preprocessor">······typedef·std::size_t·result_type;···············\</span></div>
 170 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span><span·class="preprocessor">·····················································\</span></div>
 171 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span><span·class="preprocessor">······std::size_t·operator()(const·type&amp;·arg)·const··\</span></div>
Max diff block lines reached; 2255/52148 bytes (4.32%) of diff not shown.
11.1 KB
html2text {}
    
Offset 7, 81 lines modifiedOffset 7, 332 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 typeutilities.hh12 hash.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_TYPEUTILITIES_HH19 ·5#ifndef·DUNE_COMMON_HASH_HH
20 ·6#define·DUNE_COMMON_TYPEUTILITIES_HH20 ·6#define·DUNE_COMMON_HASH_HH
21 ·721 ·7
22 ·8#include·<cstddef> 
23 ·9#include·<type_traits> 
24 ·10#include·<tuple>22 ·8#include·<functional>
 23 ·9
 24 ·10#include·<dune/common/typetraits.hh>
25 ·1125 ·11
26 ·1226 ·24/
 27 /
 28 ********************************************************************************
 29 ·25//·Doxygen·documentation
 30 ·26/
 31 /
 32 ********************************************************************************
 33 ·27
 34 ·28#ifdef·DOXYGEN
 35 ·29
27 ·13namespace·Dune·{36 ·30namespace·Dune·{
 37 ·31
 38 ·33
 39 ·38·template<typename·T>
 40 39·struct·hash
 41 ·40·{
 42 ·41
 43 43·std::size_t·operator()(const·T&·t)·const
 44 ·44·{
 45 ·45·return·hash(t);
28 ·14 
29 ·22·namespace·Impl 
30 ·23·{ 
31 ·24 
32 ·25·template<class·This,·class...·T> 
33 ·26·struct·disableCopyMoveHelper·:·public·std::is_base_of<This,·std:: 
34 tuple_element_t<0,·std::tuple<std::decay_t<T>...>>> 
35 ·27·{}; 
36 ·28 
37 ·29·template<class·This> 
38 ·30·struct·disableCopyMoveHelper<This>·:·public·std::false_type 
39 ·31·{}; 
40 ·32 
41 ·33·}·//·namespace·Impl 
42 ·34 
43 ·35 
44 ·44·template<class·This,·class...·T> 
45 45·using·disableCopyMove·=·std::enable_if_t<·not·Impl:: 
46 disableCopyMoveHelper<This,·T...>::value,·int>; 
47 ·4646 ·46·}
48 ·4747 ·47
49 ·48 
50 ·71·template<std::size_t·priority> 
51 72·struct·PriorityTag·:·public·PriorityTag<priority-1>48 ·48·};
 49 ·49
 50 ·50}
 51 ·51
 52 ·53
 53 100#define·DUNE_DEFINE_HASH(template_args,type)
 54 ·101
 55 ·102
 56 ·104
 57 109#define·DUNE_HASH_TEMPLATE_ARGS(...)
 58 ·110
 59 ·112
 60 117#define·DUNE_HASH_TYPE(...)
 61 ·118
 62 ·119#else·//·DOXYGEN·-·hide·all·the·ugly·implementation
 63 ·120
 64 ·121
 65 ·122
 66 ·123/
 67 /
 68 ********************************************************************************
 69 ·124//·C++11·support
 70 ·125/
 71 /
 72 ********************************************************************************
 73 ·126
 74 ·127//·import·std::hash·into·Dune·namespace
 75 ·128namespace·Dune·{
 76 ·129
 77 ·130·using·std::hash;
 78 ·131
 79 ·132}
 80 ·133
 81 ·134//·Macro·for·defining·a·std::hash·specialization·for·type.
 82 ·135//·This·should·not·be·called·directly.·Call·DUNE_DEFINE_HASH
 83 ·136//·instead.
 84 ·137#define·DUNE_DEFINE_STD_HASH(template_args,type)·\
 85 ·138·namespace·std·{·\
 86 ·139·\
 87 ·140·template<template_args>·\
 88 ·141·struct·hash<type>·\
 89 ·142·{·\
 90 ·143·\
 91 ·144·typedef·type·argument_type;·\
 92 ·145·typedef·std::size_t·result_type;·\
 93 ·146·\
 94 ·147·std::size_t·operator()(const·type&·arg)·const·\
 95 ·148·{·\
 96 ·149·return·hash_value(arg);·\
 97 ·150·}·\
 98 ·151·};·\
 99 ·152·\
 100 ·153·template<template_args>·\
 101 ·154·struct·hash<const·type>·\
 102 ·155·{·\
 103 ·156·\
 104 ·157·typedef·type·argument_type;·\
 105 ·158·typedef·std::size_t·result_type;·\
 106 ·159·\
 107 ·160·std::size_t·operator()(const·type&·arg)·const·\
 108 ·161·{·\
Max diff block lines reached; 873/11351 bytes (7.69%) of diff not shown.
24.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 136 lines modifiedOffset 70, 39 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>··</div>
 78 ··<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>
79 <a·href="#typedef-members">Typedefs</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div> 
81 ··<div·class="headertitle"><div·class="title">typetraits.hh·File·Reference</div></div> 
82 </div><!--header-->79 </div><!--header-->
83 <div·class="contents">80 <div·class="contents">
  
84 <p>Traits·for·type·conversions·and·type·information.··81 <p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.··
85 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
87 <code>#include·&lt;type_traits&gt;</code><br·/>84 <code>#include·&lt;type_traits&gt;</code><br·/>
88 <code>#include·&lt;utility&gt;</code><br·/> 
89 <code>#include·&lt;vector&gt;</code><br·/>85 <code>#include·&lt;istream&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/densevector.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>
90 </div>90 </div>
91 <p><a·href="a00218_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00218_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">92 <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="a03084.html">Dune::Empty</a></td></tr> 
96 <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> 
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="a03088.html">Dune::IsInteroperable&lt;·T1,·T2·&gt;</a></td></tr> 
99 <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> 
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="a03092.html">Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</a></td></tr> 
102 <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> 
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="a03096.html">Dune::AlwaysFalse&lt;·T·&gt;</a></td></tr> 
105 <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> 
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="a03100.html">Dune::AlwaysTrue&lt;·T·&gt;</a></td></tr> 
108 <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> 
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="a03108.html">Dune::IsCallable&lt;·F(Args...),·R·&gt;</a></td></tr> 
111 <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> 
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="a01300.html">Dune::IsNumber&lt;·T·&gt;</a></td></tr> 
114 <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> 
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="a03112.html">Dune::HasNaN&lt;·T·&gt;</a></td></tr> 
117 <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> 
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="a03116.html">Dune::IsIndexable&lt;·T,·I·&gt;</a></td></tr> 
120 <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> 
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <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> 
123 <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> 
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <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> 
126 <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> 
127 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <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> 
129 <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> 
130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <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> 
132 <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> 
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="a03136.html">Dune::SizeOf&lt;·T·&gt;</a></td></tr> 
135 <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> 
136 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <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> 
138 <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> 
139 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <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> 
141 <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> 
142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <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> 
144 <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> 
145 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <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> 
147 <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> 
148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <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> 
150 <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> 
151 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <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> 
153 <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> 
154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
155 <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> 
156 <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> 
157 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 </table><table·class="memberdecls"> 
159 <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>
160 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
161 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
162 <tr·class="memdesc: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>
163 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
164 </table><table·class="memberdecls"> 
165 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
166 Typedefs</h2></td></tr> 
167 <tr·class="memitem:ga6a3de1d2dbd47536c4b007d3a3b108a2"·id="r_ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memTemplParams"·colspan="2">template&lt;class...·Types&gt;·</td></tr> 
168 <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> 
169 <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.··<br·/></td></tr> 
170 <tr·class="separator:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
171 <tr·class="memitem:gaadd3a3e69d0220b41bb40ebc442d79ae"·id="r_gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr> 
172 <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·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·Type·&gt;::field_type</td></tr> 
173 <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>.··<br·/></td></tr> 
174 <tr·class="separator:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 658/20304 bytes (3.24%) of diff not shown.
4.6 KB
html2text {}
    
Offset 6, 123 lines modifiedOffset 6, 28 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Typedefs·|·Functions 
13 typetraits.hh·File·Reference 
14 Traits·for·type·conversions·and·type·information.·More... 
15 #include·<complex>12 Namespaces
 13 scalarvectorview.hh·File·Reference
 14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·More...
 16 #include·<cstddef>
16 #include·<type_traits>17 #include·<type_traits>
17 #include·<utility> 
18 #include·<vector>18 #include·<istream>
 19 #include·<dune/common/densevector.hh>
 20 #include·<dune/common/fvector.hh>
 21 #include·<dune/common/typetraits.hh>
 22 #include·<dune/common/matvectraits.hh>
19 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
20 ·Classes 
21 struct· Dune::Empty 
22  ·······Just·an·empty·class.·More... 
23   
24 struct· Dune::IsInteroperable<_T1,_T2_> 
25  ·······Checks·whether·two·types·are·interoperable.·More... 
26   
27 struct· Dune::EnableIfInterOperable<_T1,_T2,_Type_> 
28  ·······Enable·typedef·if·two·types·are·interoperable.·More... 
29   
30 struct· Dune::AlwaysFalse<_T_> 
31  ·······template·which·always·yields·a·false·value·More... 
32   
33 struct· Dune::AlwaysTrue<_T_> 
34  ·······template·which·always·yields·a·true·value·More... 
35   
36 struct· Dune::IsCallable<_F(Args...),_R_> 
37  ·······Check·if·a·type·is·callable·with·()-operator·and·given·arguments. 
38 ·········More... 
39   
40 struct· Dune::IsNumber<_T_> 
41  ·······Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically 
42 ·········blocked)·containers.·More... 
43   
44 struct· Dune::HasNaN<_T_> 
45  ·······Whether·this·type·has·a·value·of·NaN.·More... 
46   
47 struct· Dune::IsIndexable<_T,_I_> 
48  ·······Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I), 
49 ·········i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.·More... 
50   
51 struct· Dune::IsIterable<_T,_typename_> 
52  ·······typetrait·to·check·that·a·class·has·begin()·and·end()·members·More... 
53   
54 struct· Dune::IsTuple<_T_> 
55  ·······Check·if·T·is·a·std::tuple<...>·More... 
56   
57 struct· Dune::IsTupleOrDerived<_T_> 
58  ·······Check·if·T·derived·from·a·std::tuple<...>·More... 
59   
60 struct· Dune::IsIntegralConstant<_T_> 
61  ·······Check·if·T·is·an·std::integral_constant<I,·i>·More... 
62   
63 struct· Dune::SizeOf<_T_> 
64  ·······Compute·size·of·variadic·type·list.·More... 
65   
66 struct· Dune::AutonomousValueType<_T_> 
67  ·······Type·free·of·internal·references·that·T·can·be·converted·to.·More... 
68   
69 struct· Dune::AutonomousValueType<_T_&_> 
70  ·······Specialization·to·remove·lvalue·references.·More... 
71   
72 struct· Dune::AutonomousValueType<_T_&&_> 
73  ·······Specialization·to·remove·rvalue·references.·More... 
74   
75 struct· Dune::AutonomousValueType<_const_T_> 
76  ·······Specialization·to·remove·const·qualifiers.·More... 
77   
78 struct· Dune::AutonomousValueType<_volatile_T_> 
79  ·······Specialization·to·remove·volatile·qualifiers.·More... 
80   
81 struct· Dune::AutonomousValueType<_std::vector<_bool_>::reference_> 
82  ·······Specialization·for·the·proxies·of·vector<bool>·More... 
83   
84 struct· Dune::AutonomousValueType<_volatile_const_T_> 
85  ·······Specialization·to·remove·both·const·and·volatile·qualifiers.·More... 
86   
87 ·Namespaces24 ·Namespaces
88 namespace· Dune25 namespace· Dune
89  ··········Dune·namespace.26  ··········Dune·namespace.
90  27  
91 ·Typedefs 
92 template<class...·Types> 
93 using Dune::void_t·=·typename·Impl::voider<·Types...·>::type 
94  ·····Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE- 
95 ·······techniques. 
96   
97 template<class·Type·> 
98 using Dune::field_t·=·typename·FieldTraits<·Type·>::field_type 
99  ·····Convenient·access·to·FieldTraits<Type>::field_type. 
100   
101 template<class·Type·> 
102 using Dune::real_t·=·typename·FieldTraits<·Type·>::real_type 
103  ·····Convenient·access·to·FieldTraits<Type>::real_type. 
104   
105 template<class·T·> 
106 using Dune::AutonomousValue·=·typename·AutonomousValueType<·T·>::type 
107  ·····Type·free·of·internal·references·that·T·can·be·converted·to. 
108   
109 ·Functions 
110 template<class·T·,·T...·t,·std::size_t·index> 
111 ················constexpr·auto Dune::integerSequenceEntry·(std:: 
112 ································integer_sequence<·T,·t...·>,·std:: 
113 ································integral_constant<·std::size_t,·index·>·i) 
114  ······························Get·entry·of·std::integer_sequence. 
115   
116 template<class·T·> 
117 constexpr·AutonomousValue<·T·> Dune::autoCopy·(T·&&v) 
118  ······························Autonomous·copy·of·an·expression's·value·for 
119 ································use·in·auto·type·deduction. 
120   
121 *****·Detailed·Description·*****28 *****·Detailed·Description·*****
 29 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.
122 Traits·for·type·conversions·and·type·information. 
Max diff block lines reached; 116/4684 bytes (2.48%) of diff not shown.
105 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 411 lines modifiedOffset 74, 194 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">typetraits.hh</div></div>80 ··<div·class="headertitle"><div·class="title">scalarvectorview.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TYPETRAITS_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TYPETRAITS_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00239.html">dune/common/densevector.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00248.html">dune/common/matvectraits.hh</a>&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">namespace·</span>Impl</div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Impl·{</div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div> 
100 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
101 <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> 
102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>voider</div> 
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div> 
104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>······<span·class="keyword">using·</span>type·=·void;</div> 
105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····};</div> 
106 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··}</div> 
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 103 <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>
 104 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">class·</span>ScalarVectorView·:</div>
 105 <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>
108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>106 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>...·Types&gt;</div> 
110 <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:·76,·SHA:·604c6aa5ab568188bed6fa7d93f1bf1a64cc33c01033d4815a49c9625815dfc6·...·];</div>107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····K*·dataP_;</div>
 108 <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>
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
112 <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>110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div>
113 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
114 <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> 
115 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};"> 
116 <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>114 <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>
 115 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 116 <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>
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>117 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
118 <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="c[·...·truncated·by·diffoscope;·len:·164,·SHA:·ef09274ec16081fc37518b00490dfb3b8c73f6dcd6a9f121622e5cbeb8d8aae2·...·];</div>118 <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>
119 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div>119 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
120 </div>120 <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>
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
122 <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> 
123 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="};"> 
124 <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> 
125 <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>122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//=====·construction</span></div>
 123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">constexpr</span>·ScalarVectorView·()</div>
 125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······:·dataP_(nullptr)</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="l00066"·name="l00066"></a><span·class="lineno">···66</span>····ScalarVectorView·(K*·p)·:</div>
 129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······dataP_(p)</div>
 130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····{}</div>
 131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 132 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····ScalarVectorView·(<span·class="keyword">const</span>·ScalarVectorView·&amp;other)·:</div>
 133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······Base(),</div>
 134 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······dataP_(other.dataP_)</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>·</div>
 137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····ScalarVectorView·(ScalarVectorView·&amp;&amp;other)·:</div>
 138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(),</div>
 139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······dataP_(·other.dataP_·)</div>
 140 <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>··{};</div>141 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
127 </div>142 <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>
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{</div>
 144 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······assert(dataP_);</div>
 145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······assert(other.dataP_);</div>
 146 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······*dataP_·=·*(other.dataP_);</div>
 147 <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>
 148 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>
 149 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 150 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·KK&gt;</div>
 151 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·ScalarVectorView&lt;KK&gt;&amp;·other)</div>
 152 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div>
 153 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······assert(dataP_);</div>
 154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······assert(other.dataP_);</div>
 155 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······*dataP_·=·*(other.dataP_);</div>
 156 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>
 157 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····}</div>
 158 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 159 <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>
 160 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······std::enable_if_t&lt;std::is_convertible&lt;T,·K&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 161 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">inline</span>·ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·T&amp;·k)</div>
 162 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{</div>
 163 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······*dataP_·=·k;</div>
 164 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>
 165 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····}</div>
129 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>166 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 167 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">size_type</a>·<a·class="code·hl_function"·href="a01424.html#a3daf5b5501de6164915db0e34e8ce763">size</a>·()</div>
Max diff block lines reached; 56729/89612 bytes (63.31%) of diff not shown.
17.3 KB
html2text {}
    
Offset 7, 464 lines modifiedOffset 7, 215 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 typetraits.hh12 scalarvectorview.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_TYPETRAITS_HH 
20 ·6#define·DUNE_TYPETRAITS_HH19 ·5#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH
 20 ·6#define·DUNE_COMMON_SCALARVECTORVIEW_HH
21 ·721 ·7
22 ·8#include·<complex>22 ·8#include·<cstddef>
23 ·9#include·<type_traits>23 ·9#include·<type_traits>
24 ·10#include·<utility> 
25 ·11#include·<vector> 
26 ·1224 ·10#include·<istream>
 25 ·11
 26 ·12#include·<dune/common/densevector.hh>
 27 ·13#include·<dune/common/fvector.hh>
 28 ·14#include·<dune/common/typetraits.hh>
 29 ·15#include·<dune/common/matvectraits.hh>
 30 ·16
27 ·13namespace·Dune31 ·17namespace·Dune·{
 32 ·18
28 ·14{ 
29 ·15 
30 ·16·namespace·Impl33 ·19namespace·Impl·{
 34 ·20
31 ·17·{ 
32 ·19 
33 ·23·template·<class...>35 ·35·template<class·K>
 36 ·36·class·ScalarVectorView·:
 37 ·37·public·DenseVector<ScalarVectorView<K>>
 38 ·38·{
 39 ·39·K*·dataP_;
 40 ·40·using·Base·=·DenseVector<ScalarVectorView<K>>;
34 ·24·struct·voider 
35 ·25·{ 
36 ·26·using·type·=·void; 
37 ·27·}; 
38 ·28·} 
39 ·29 
40 ·31 
41 ·39·template·<class...·Types> 
42 40·using·void_t·=·typename·Impl::voider<Types...>::type; 
43 ·4141 ·41
44 55·struct·Empty·{}; 
45 ·56 
46 ·63·template<class·T1,·class·T2> 
47 64·struct·IsInteroperable42 ·42·template·<class>
 43 ·43·friend·class·ScalarVectorView;
 44 ·44·public:
 45 ·45
 46 ·47·constexpr·static·int·dimension·=·1;
 47 ·48
 48 ·50·using·size_type·=·typename·Base::size_type;
 49 ·51
 50 ·53·using·reference·=·std::decay_t<K>&;
 51 ·54
 52 ·56·using·const_reference·=·const·K&;
 53 ·57
 54 ·58·//=====·construction
 55 ·59
 56 ·61·constexpr·ScalarVectorView·()
 57 ·62·:·dataP_(nullptr)
 58 ·63·{}
 59 ·64
 60 ·66·ScalarVectorView·(K*·p)·:
 61 ·67·dataP_(p)
 62 ·68·{}
 63 ·69
 64 ·71·ScalarVectorView·(const·ScalarVectorView·&other)·:
 65 ·72·Base(),
 66 ·73·dataP_(other.dataP_)
 67 ·74·{}
 68 ·75
 69 ·77·ScalarVectorView·(ScalarVectorView·&&other)·:
 70 ·78·Base(),
 71 ·79·dataP_(·other.dataP_·)
 72 ·80·{}
 73 ·81
 74 ·83·ScalarVectorView&·operator=·(const·ScalarVectorView&·other)
 75 ·84·{
 76 ·85·assert(dataP_);
 77 ·86·assert(other.dataP_);
 78 ·87·*dataP_·=·*(other.dataP_);
 79 ·88·return·*this;
 80 ·89·}
 81 ·90
 82 ·91·template<class·KK>
 83 ·92·ScalarVectorView&·operator=·(const·ScalarVectorView<KK>&·other)
 84 ·93·{
 85 ·94·assert(dataP_);
 86 ·95·assert(other.dataP_);
 87 ·96·*dataP_·=·*(other.dataP_);
 88 ·97·return·*this;
 89 ·98·}
 90 ·99
 91 ·101·template<typename·T,
 92 ·102·std::enable_if_t<std::is_convertible<T,·K>::value,·int>·=·0>
 93 ·103·inline·ScalarVectorView&·operator=·(const·T&·k)
 94 ·104·{
 95 ·105·*dataP_·=·k;
 96 ·106·return·*this;
 97 ·107·}
 98 ·108
 99 ·110·static·constexpr·size_type·size·()
 100 ·111·{
 101 ·112·return·1;
 102 ·113·}
 103 ·114
 104 ·116·K&·operator[]·([[maybe_unused]]·size_type·i)
 105 ·117·{
 106 ·118·DUNE_ASSERT_BOUNDS(i·==·0);
 107 ·119·return·*dataP_;
 108 ·120·}
 109 ·121
 110 ·123·const·K&·operator[]·([[maybe_unused]]·size_type·i)·const
 111 ·124·{
 112 ·125·DUNE_ASSERT_BOUNDS(i·==·0);
Max diff block lines reached; 12326/17654 bytes (69.82%) of diff not shown.
15.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 81 lines modifiedOffset 71, 59 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<div·class="headertitle"><div·class="title">bitsetvector.hh·File·Reference</div></div>
79 <a·href="#define-members">Macros</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div> 
81 ··<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> 
82 </div><!--header-->80 </div><!--header-->
83 <div·class="contents">81 <div·class="contents">
  
84 <p>A·few·common·exception·classes.··82 <p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.··
85 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
87 <code>#include·&lt;string&gt;</code><br·/>85 <code>#include·&lt;bitset&gt;</code><br·/>
88 <code>#include·&lt;sstream&gt;</code><br·/>86 <code>#include·&lt;iostream&gt;</code><br·/>
 87 <code>#include·&lt;algorithm&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
89 </div>91 </div>
90 <p><a·href="a00221_source.html">Go·to·the·source·code·of·this·file.</a></p>92 <p><a·href="a00221_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">93 <table·class="memberdecls">
92 <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>
93 Classes</h2></td></tr>95 Classes</h2></td></tr>
94 <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>96 <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>
95 <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>97 <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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <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="a01552.html">Dune::ExceptionHook</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="a01324.html">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;</a></td></tr>
98 <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>100 <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>
99 <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="a01332.html">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&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="a01556.html">Dune::IOError</a></td></tr> 
101 <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> 
102 <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:"><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>
103 <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> 
104 <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> 
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">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>
106 <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> 
107 <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> 
108 <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="a01344.html">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</a></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="a01568.html">Dune::NotImplemented</a></td></tr> 
110 <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> 
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <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>110 <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>
113 <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>111 <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>
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="a01576.html">Dune::OutOfMemoryError</a></td></tr> 
116 <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> 
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <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> 
119 <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> 
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <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> 
122 <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> 
123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 </table><table·class="memberdecls">113 </table><table·class="memberdecls">
125 <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>
126 Namespaces</h2></td></tr>115 Namespaces</h2></td></tr>
127 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
128 <tr·class="memdesc: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>
129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
130 </table><table·class="memberdecls"> 
131 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
132 Macros</h2></td></tr> 
133 <tr·class="memitem:gad7fce127d6eaabe773adbc409514f21e"·id="r_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> 
134 <tr·class="separator:gad7fce127d6eaabe773adbc409514f21e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 </table><table·class="memberdecls"> 
136 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
137 Functions</h2></td></tr> 
138 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"·id="r_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> 
139 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 </table>119 </table>
141 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>120 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 121 <div·class="textblock"><p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·</p>
142 <div·class="textblock"><p>A·few·common·exception·classes.·</p> 
143 <p>This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to·throw·them·in·a·simple·manner·</p> 
144 </div></div><!--·contents·-->122 </div></div><!--·contents·-->
145 <!--·start·footer·part·-->123 <!--·start·footer·part·-->
146 <hr·class="footer"/><address·class="footer"><small>124 <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.8125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
148 </small></address>126 </small></address>
149 </body>127 </body>
150 </html>128 </html>
3.04 KB
html2text {}
    
Offset 6, 65 lines modifiedOffset 6, 50 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Macros·|·Functions12 Classes·|·Namespaces
13 exceptions.hh·File·Reference13 bitsetvector.hh·File·Reference
14 Common·»·Exception_handling 
15 A·few·common·exception·classes.·More...14 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.
 15 More...
16 #include·<exception>16 #include·<vector>
17 #include·<string>17 #include·<bitset>
18 #include·<sstream>18 #include·<iostream>
 19 #include·<algorithm>
 20 #include·<dune/common/boundschecking.hh>
 21 #include·<dune/common/genericiterator.hh>
 22 #include·<dune/common/exceptions.hh>
19 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
20 ·Classes24 ·Classes
21 ·class· Dune::Exception 
22  ·······Base·class·for·Dune-Exceptions.·More...25 ·class· Dune::BitSetVectorConstReference<_block_size,_Alloc_>
 26  ·······A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a
 27 ·········BitSetVector.·More...
23  28  
24 struct· Dune::ExceptionHook 
25  ·······Base·class·to·add·a·hook·to·the·Dune::Exception.·More...29 ·class· Dune::BitSetVectorReference<_block_size,_Alloc_>
 30  ·······A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a
 31 ·········BitSetVector.·More...
26  32  
 33 struct· Dune::const_reference<_BitSetVectorReference<_block_size,_Alloc_>_>
27 ·class· Dune::IOError 
28  ·······Default·exception·class·for·I/O·errors.·More... 
29  34  
30 ·class· Dune::MathError 
31  ·······Default·exception·class·for·mathematical·errors.·More...35 struct· Dune::const_reference<_BitSetVectorConstReference<_block_size,_Alloc_>
 36 ·········>
32  37  
 38 struct· Dune::mutable_reference<_BitSetVectorReference<_block_size,_Alloc_>_>
33 ·class· Dune::RangeError 
34  ·······Default·exception·class·for·range·errors.·More... 
35  39  
36 ·class· Dune::NotImplemented 
37  ·······Default·exception·for·dummy·implementations.·More...40 struct· Dune::mutable_reference<_BitSetVectorConstReference<_block_size,_Alloc
 41 ·········>_>
38  42  
 43 ·class· Dune::BitSetVector<_block_size,_Allocator_>
 44  ·······A·dynamic·array·of·blocks·of·booleans.·More...
39 ·class· Dune::SystemError 
40  ·······Default·exception·class·for·OS·errors.·More... 
41   
42 ·class· Dune::OutOfMemoryError 
43  ·······Default·exception·if·memory·allocation·fails.·More... 
44   
45 ·class· Dune::InvalidStateException 
46  ·······Default·exception·if·a·function·was·called·while·the·object·is·not·in 
47 ·········a·valid·state·for·that·function.·More... 
48   
49 ·class· Dune::ParallelError 
50  ·······Default·exception·if·an·error·in·the·parallel·communication·of·the 
51 ·········program·occurred.·More... 
52  45  
53 ·Namespaces46 ·Namespaces
54 namespace· Dune47 namespace· Dune
55  ··········Dune·namespace.48  ··········Dune·namespace.
56  49  
57 ·Macros 
58 #define DUNE_THROW(E,·m) 
59   
60 ·Functions 
61 std::ostream·& Dune::operator<<·(std::ostream·&stream,·const·Exception·&e) 
62   
63 *****·Detailed·Description·*****50 *****·Detailed·Description·*****
 51 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.
64 A·few·common·exception·classes. 
65 This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to 
66 throw·them·in·a·simple·manner 
  
67 ===============================================================================52 ===============================================================================
68 ·····Generated·by [doxygen]·1.9.853 ·····Generated·by [doxygen]·1.9.8
194 KB
./usr/share/doc/libdune-common-doc/doxygen/a00221_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 119 lines modifiedOffset 74, 787 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">exceptions.hh</div></div>80 ··<div·class="headertitle"><div·class="title">bitsetvector.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00221.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00221.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BLOCK_BITFIELD_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BLOCK_BITFIELD_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_EXCEPTIONS_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_EXCEPTIONS_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 95 <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>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00065.html">dune/common/genericiterator.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>99 <div·class="line"><a·id="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>
 100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 101 <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>
 102 <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>
 103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 104 <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>
 105 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
 106 <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>
 107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>
 108 <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="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 113 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">
 114 <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>
 115 <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>
 116 <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>
97 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">/*·forward·declarations·*/</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>······<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>
 119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div>
 120 </div>
 121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 122 <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>
 123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
98 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">class·</span>Exception;</div>124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">public</span>:</div>
99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExceptionHook;</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"><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>
100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·bitset·interface·typedefs</span></div>
 129 <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>
 130 <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>
 131 <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>
 132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 133 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="}">
 134 <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>
 135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">····</span>{</div>
 136 <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>
 137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······b·&lt;&lt;=·n;</div>
 138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·b;</div>
 139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div>
 140 </div>
 141 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 142 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}">
 143 <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>
 144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">····</span>{</div>
 145 <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>
 146 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······b·&gt;&gt;=·n;</div>
 147 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·b;</div>
 148 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
 149 </div>
 150 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 151 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}">
 152 <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>
 153 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">····</span>{</div>
 154 <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>
 155 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······b.flip();</div>
 156 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·b;</div>
 157 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div>
 158 </div>
 159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 160 <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}">
 161 <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>
 162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">····</span>{</div>
 163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="keywordflow">return</span>·block_size;</div>
 164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····}</div>
 165 </div>
 166 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
101 <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="};">167 <div·class="foldopen"·id="foldopen00094"·data-start="{"·data-end="}">
 168 <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>
102 <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> 
103 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··:·<span·class="keyword">public</span>·std::exception</div> 
104 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div> 
105 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div>169 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">····</span>{</div>
 170 <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>
 171 <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>
106 <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>172 <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>
107 <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> 
108 <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> 
109 <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> 
110 <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>173 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="keywordflow">return</span>·n;</div>
Max diff block lines reached; 142903/165798 bytes (86.19%) of diff not shown.
31.7 KB
html2text {}
    
Offset 7, 153 lines modifiedOffset 7, 939 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 exceptions.hh12 bitsetvector.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_BLOCK_BITFIELD_HH
 20 ·6#define·DUNE_BLOCK_BITFIELD_HH
 21 ·7
19 ·5 
20 ·6#ifndef·DUNE_EXCEPTIONS_HH 
21 ·7#define·DUNE_EXCEPTIONS_HH 
22 ·8 
23 ·9#include·<exception>22 ·12#include·<vector>
24 ·10#include·<string>23 ·13#include·<bitset>
25 ·11#include·<sstream>24 ·14#include·<iostream>
26 ·1225 ·15#include·<algorithm>
 26 ·16
 27 ·17#include·<dune/common/boundschecking.hh>
 28 ·18#include·<dune/common/genericiterator.hh>
 29 ·19#include·<dune/common/exceptions.hh>
 30 ·20
27 ·13namespace·Dune·{31 ·21namespace·Dune·{
28 ·14 
29 ·73·/*·forward·declarations·*/ 
30 ·74·class·Exception; 
31 ·75·struct·ExceptionHook; 
32 ·76 
33 94·class·Exception 
34 ·95·:·public·std::exception 
35 ·96·{32 ·22
 33 ·23·template·<int·block_size,·class·Alloc>·class·BitSetVector;
 34 ·24·template·<int·block_size,·class·Alloc>·class·BitSetVectorReference;
 35 ·25
 36 ·36·template·<int·block_size,·class·Alloc>
 37 37·class·BitSetVectorConstReference
 38 ·38·{
 39 ·39·protected:
 40 ·40
 41 41·typedef·Dune::BitSetVector<block_size,_Alloc>·BitSetVector;
 42 ·42·friend·class·Dune::BitSetVector<block_size,·Alloc>;
 43 ·43
 44 44·BitSetVectorConstReference(const·BitSetVector&·blockBitField_,·int
 45 block_number_)·:
 46 ·45·blockBitField(blockBitField_),
 47 ·46·block_number(block_number_)
 48 ·47·{
 49 ·48·DUNE_ASSERT_BOUNDS(blockBitField_.size()·>·static_cast<size_t>
 50 (block_number_));
 51 ·49·}
 52 ·50
 53 52·BitSetVectorConstReference&·operator=(const·BitSetVectorConstReference·&·b);
 54 ·53
36 ·97·public:55 ·54·public:
37 ·98·Exception·(); 
38 ·99·void·message(const·std::string·&msg); 
39 ·100·const·char*·what()·const·noexcept·override; 
40 ·101·static·void·registerHook·(ExceptionHook·*·hook); 
41 ·102·static·void·clearHook·(); 
42 ·103·private: 
43 ·104·std::string·_message; 
44 ·105·static·ExceptionHook·*·_hook;56 ·55
 57 56·typedef·std::bitset<block_size>·bitset;
 58 ·57
 59 ·58·//·bitset·interface·typedefs
 60 59·typedef·typename·std::vector<bool,·Alloc>::const_reference·reference;
 61 60·typedef·typename·std::vector<bool,·Alloc>::const_reference·const_reference;
 62 61·typedef·size_t·size_type;
 63 ·62
 64 64·bitset·operator<<(size_type·n)·const
 65 ·65·{
 66 ·66·bitset·b·=·*this;
 67 ·67·b·<<=·n;
 68 ·68·return·b;
 69 ·69·}
 70 ·70
 71 72·bitset·operator>>(size_type·n)·const
 72 ·73·{
 73 ·74·bitset·b·=·*this;
 74 ·75·b·>>=·n;
 75 ·76·return·b;
 76 ·77·}
 77 ·78
 78 80·bitset·operator~()·const
 79 ·81·{
 80 ·82·bitset·b·=·*this;
 81 ·83·b.flip();
 82 ·84·return·b;
 83 ·85·}
 84 ·86
 85 88·size_type·size()·const
 86 ·89·{
 87 ·90·return·block_size;
 88 ·91·}
 89 ·92
 90 94·size_type·count()·const
 91 ·95·{
 92 ·96·size_type·n·=·0;
 93 ·97·for(size_type·i=0;·i<block_size;·++i)
 94 ·98·n·+=·getBit(i);
 95 ·99·return·n;
 96 ·100·}
 97 ·101
 98 103·bool·any()·const
 99 ·104·{
 100 ·105·return·count();
45 ·106·};101 ·106·}
46 ·107102 ·107
 103 109·bool·none()·const
47 173·struct·ExceptionHook 
48 ·174·{ 
49 175·virtual·~ExceptionHook()·{} 
50 176·virtual·void·operator_()()·=·0; 
51 ·177·}; 
52 ·178 
53 179·inline·std::ostream&·operator<<(std::ostream·&stream,·const·Exception·&e) 
54 ·180·{104 ·110·{
55 ·181·return·stream·<<·e.what();105 ·111·return·!·any();
56 ·182·}106 ·112·}
Max diff block lines reached; 27991/32462 bytes (86.23%) of diff not shown.
24.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 106 lines modifiedOffset 70, 52 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
80 ··<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>79 ··<div·class="headertitle"><div·class="title">streamoperators.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.··82 <p>Implementation·of·stream·operators·for·std::array·and·std::tuple.··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
86 <code>#include·&lt;cstddef&gt;</code><br·/>85 <code>#include·&lt;tuple&gt;</code><br·/>
87 <code>#include·&lt;iostream&gt;</code><br·/> 
88 <code>#include·&lt;algorithm&gt;</code><br·/>86 <code>#include·&lt;utility&gt;</code><br·/>
89 <code>#include·&lt;initializer_list&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
93 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/precision.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
96 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
97 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/> 
98 <code>#include·&quot;<a·class="el"·href="a00080_source.html">fmatrixev.hh</a>&quot;</code><br·/> 
99 </div>88 </div>
100 <p><a·href="a00224_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00224_source.html">Go·to·the·source·code·of·this·file.</a></p>
101 <table·class="memberdecls">90 <table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
103 Classes</h2></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="a01732.html">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&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">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> 
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="a01408.html">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;</a></td></tr> 
109 <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> 
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="namespaces"·name="namespaces"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
113 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
114 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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="memdesc: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>
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:a00436"·id="r_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> 
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
121 Functions</h2></td></tr>98 Functions</h2></td></tr>
 99 <tr·class="memitem:ga940d97a9b4db5e48060115e5e46ccd40"·id="r_ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr>
 100 <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>
 101 <tr·class="memdesc:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::tuple.··<br·/></td></tr>
122 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"·id="r_a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
123 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;inverse)</td></tr> 
124 <tr·class="memdesc:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<br·/></td></tr> 
125 <tr·class="separator:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"·id="r_a67155815b034773129d21bfe3992f0b6"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
127 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·1,·1·&gt;·&amp;inverse)</td></tr> 
128 <tr·class="memdesc:a67155815b034773129d21bfe3992f0b6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<br·/></td></tr> 
129 <tr·class="separator:a67155815b034773129d21bfe3992f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"·id="r_a27757ac69a505e206e82b5b184333f15"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
131 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr> 
132 <tr·class="memdesc:a27757ac69a505e206e82b5b184333f15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·2x2·Matrix·without·changing·the·original·matrix··<br·/></td></tr> 
133 <tr·class="separator:a27757ac69a505e206e82b5b184333f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"·id="r_a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
135 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr> 
136 <tr·class="separator:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"·id="r_a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
138 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr> 
139 <tr·class="memdesc:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<br·/></td></tr>103 <tr·class="memitem:ga724a26a744239bcf2c7cfd87bd6570ce"·id="r_ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr>
 104 <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>
 105 <tr·class="memdesc:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Read·a·std::tuple.··<br·/></td></tr>
140 <tr·class="separator:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
141 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"·id="r_a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
142 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr> 
143 <tr·class="memdesc:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<br·/></td></tr>107 <tr·class="memitem:ga6ce3dfead28bdbf55cfec42171784831"·id="r_ga6ce3dfead28bdbf55cfec42171784831"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename·T·,·std::size_t·N&gt;·</td></tr>
 108 <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>
 109 <tr·class="memdesc:ga6ce3dfead28bdbf55cfec42171784831"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::array.··<br·/></td></tr>
144 <tr·class="separator:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
145 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"·id="r_a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·m,·int·n,·int·p&gt;·</td></tr> 
146 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·m,·n·&gt;·&amp;A,·const·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·n,·p·&gt;·&amp;B,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·m,·p·&gt;·&amp;ret)</td></tr> 
147 <tr·class="memdesc:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·A·*·B··<br·/></td></tr> 
148 <tr·class="separator:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"·id="r_aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr> 
150 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·cols,·cols·&gt;·&amp;ret)</td></tr> 
151 <tr·class="memdesc:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret=·A_t*A··<br·/></td></tr> 
152 <tr·class="separator:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:aef7fb29fd8ec4371bbca42d7aaa15ddc"·id="r_aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr> 
154 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·rows·&gt;·&amp;x,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·cols·&gt;·&amp;ret)</td></tr> 
155 <tr·class="memdesc:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix^T·*·x··<br·/></td></tr> 
156 <tr·class="separator:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
157 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"·id="r_aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr> 
158 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·rows·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#aec4fb9018af90beee9fac48f355a445b">Dune::FMatrixHelp::mult</a>·(const·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·cols·&gt;·&amp;x)</td></tr> 
159 <tr·class="memdesc:aec4fb9018af90beee9fac48f355a445b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<br·/></td></tr> 
160 <tr·class="separator:aec4fb9018af90beee9fac48f355a445b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
161 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"·id="r_a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr> 
162 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·cols·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a659763bbed47d93b0a03d9dc2d49c6f0">Dune::FMatrixHelp::multTransposed</a>·(const·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·rows·&gt;·&amp;x)</td></tr> 
163 <tr·class="memdesc:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix^T·*·x··<br·/></td></tr> 
164 <tr·class="separator:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
165 </table>111 </table>
166 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>112 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
167 <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>113 <div·class="textblock"><p>Implementation·of·stream·operators·for·std::array·and·std::tuple.·</p>
168 </div></div><!--·contents·-->114 </div></div><!--·contents·-->
169 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
170 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
171 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
172 </small></address>118 </small></address>
Max diff block lines reached; 9/19408 bytes (0.05%) of diff not shown.
5.69 KB
html2text {}
    
Offset 6, 119 lines modifiedOffset 6, 37 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Namespaces·|·Functions
13 fmatrix.hh·File·Reference13 streamoperators.hh·File·Reference
 14 Implementation·of·stream·operators·for·std::array·and·std::tuple.·More...
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and 
16 compile-time·given·number·of·rows·and·columns.·More... 
17 #include·<cmath>15 #include·<array>
18 #include·<cstddef>16 #include·<tuple>
 17 #include·<utility>
19 #include·<iostream> 
20 #include·<algorithm> 
21 #include·<initializer_list> 
22 #include·<dune/common/boundschecking.hh> 
23 #include·<dune/common/exceptions.hh> 
24 #include·<dune/common/fvector.hh> 
25 #include·<dune/common/densematrix.hh> 
26 #include·<dune/common/precision.hh> 
27 #include·<dune/common/promotiontraits.hh>18 #include·<dune/common/hybridutilities.hh>
28 #include·<dune/common/typetraits.hh> 
29 #include·<dune/common/matrixconcepts.hh> 
30 #include·"fmatrixev.hh" 
31 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
32 ·Classes 
33 struct· Dune::DenseMatVecTraits<_FieldMatrix<_K,_ROWS,_COLS_>_> 
34   
35 struct· Dune::FieldTraits<_FieldMatrix<_K,_ROWS,_COLS_>_> 
36   
37 ·class· Dune::FieldMatrix<_K,_ROWS,_COLS_> 
38  ·······A·dense·n·x·m·matrix.·More... 
39   
40 ·Namespaces20 ·Namespaces
41 namespace· Dune21 namespace· Dune
42  ··········Dune·namespace.22  ··········Dune·namespace.
43  23  
44 namespace· Dune::FMatrixHelp 
45   
46 ·Functions24 ·Functions
 25 template<typename·Stream·,·typename...·Ts>
 26 Stream·& Dune::operator<<·(Stream·&stream,·const·std::tuple<·Ts...·>·&t)
 27  ········Print·a·std::tuple.
47 template<typename·K·> 
48 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const 
49 ·······························FieldMatrix<·K,·1,·1·>·&matrix,·FieldMatrix<·K, 
50 ·······························1,·1·>·&inverse) 
51  ·····························invert·scalar·without·changing·the·original 
52 ·······························matrix 
53  28  
 29 template<typename·Stream·,·typename...·Ts>
 30 Stream·& Dune::operator>>·(Stream·&stream,·std::tuple<·Ts...·>·&t)
 31  ········Read·a·std::tuple.
54 template<typename·K·> 
55 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed 
56 ·······························(const·FieldMatrix<·K,·1,·1·>·&matrix, 
57 ·······························FieldMatrix<·K,·1,·1·>·&inverse) 
58  ·····························invert·scalar·without·changing·the·original 
59 ·······························matrix 
60  32  
 33 template<typename·Stream·,·typename·T·,·std::size_t·N>
 34 Stream·& Dune::operator<<·(Stream·&stream,·const·std::array<·T,·N·>·&a)
 35  ········Print·a·std::array.
61 template<typename·K·> 
62 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const 
63 ·······························FieldMatrix<·K,·2,·2·>·&matrix,·FieldMatrix<·K, 
64 ·······························2,·2·>·&inverse) 
65  ·····························invert·2x2·Matrix·without·changing·the·original 
66 ·······························matrix 
67   
68 template<typename·K·> 
69 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed 
70 ·······························(const·FieldMatrix<·K,·2,·2·>·&matrix, 
71 ·······························FieldMatrix<·K,·2,·2·>·&inverse) 
72   
73 template<typename·K·> 
74 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const 
75 ·······························FieldMatrix<·K,·3,·3·>·&matrix,·FieldMatrix<·K, 
76 ·······························3,·3·>·&inverse) 
77  ·····························invert·3x3·Matrix·without·changing·the·original 
78 ·······························matrix 
79   
80 template<typename·K·> 
81 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed 
82 ·······························(const·FieldMatrix<·K,·3,·3·>·&matrix, 
83 ·······························FieldMatrix<·K,·3,·3·>·&inverse) 
84  ·····························invert·3x3·Matrix·without·changing·the·original 
85 ·······························matrix 
86   
87 template<class·K·,·int·m,·int·n,·int·p> 
88 ··················static·void Dune::FMatrixHelp::multMatrix·(const 
89 ·······························FieldMatrix<·K,·m,·n·>·&A,·const·FieldMatrix<·K, 
90 ·······························n,·p·>·&B,·FieldMatrix<·K,·m,·p·>·&ret) 
91  ·····························calculates·ret·=·A·*·B 
92   
93 template<typename·K·,·int·rows,·int·cols> 
94 ··················static·void Dune::FMatrixHelp::multTransposedMatrix·(const 
95 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix, 
96 ·······························FieldMatrix<·K,·cols,·cols·>·&ret) 
97  ·····························calculates·ret=·A_t*A 
98   
99 template<typename·K·,·int·rows,·int·cols> 
100 ··················static·void Dune::FMatrixHelp::multAssignTransposed·(const 
101 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,·const 
102 ·······························FieldVector<·K,·rows·>·&x,·FieldVector<·K,·cols 
103 ·······························>·&ret) 
104  ·····························calculates·ret·=·matrix^T·*·x 
105   
106 template<typename·K·,·int·rows,·int·cols> 
107 static·FieldVector<·K,·rows·> Dune::FMatrixHelp::mult·(const·FieldMatrix<·K, 
108 ·······························rows,·cols·>·&matrix,·const·FieldVector<·K,·cols 
109 ·······························>·&x) 
110  ·····························calculates·ret·=·matrix·*·x 
111   
112 template<typename·K·,·int·rows,·int·cols> 
113 static·FieldVector<·K,·cols·> Dune::FMatrixHelp::multTransposed·(const 
114 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,·const 
115 ·······························FieldVector<·K,·rows·>·&x) 
116  ·····························calculates·ret·=·matrix^T·*·x 
117  36  
118 *****·Detailed·Description·*****37 *****·Detailed·Description·*****
 38 Implementation·of·stream·operators·for·std::array·and·std::tuple.
119 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and 
Max diff block lines reached; 116/5800 bytes (2.00%) of diff not shown.
796 KB
./usr/share/doc/libdune-common-doc/doxygen/a00224_source.html
    
Offset 22, 10431 lines modifiedOffset 22, 863 lines modified
00000150:·656e·743d·2244·6f78·7967·656e·2031·2e39··ent="Doxygen·1.900000150:·656e·743d·2244·6f78·7967·656e·2031·2e39··ent="Doxygen·1.9
00000160:·2e38·222f·3e0a·3c6d·6574·6120·6e61·6d65··.8"/>.<meta·name00000160:·2e38·222f·3e0a·3c6d·6574·6120·6e61·6d65··.8"/>.<meta·name
00000170:·3d22·7669·6577·706f·7274·2220·636f·6e74··="viewport"·cont00000170:·3d22·7669·6577·706f·7274·2220·636f·6e74··="viewport"·cont
00000180:·656e·743d·2277·6964·7468·3d64·6576·6963··ent="width=devic00000180:·656e·743d·2277·6964·7468·3d64·6576·6963··ent="width=devic
00000190:·652d·7769·6474·682c·2069·6e69·7469·616c··e-width,·initial00000190:·652d·7769·6474·682c·2069·6e69·7469·616c··e-width,·initial
000001a0:·2d73·6361·6c65·3d31·222f·3e0a·3c74·6974··-scale=1"/>.<tit000001a0:·2d73·6361·6c65·3d31·222f·3e0a·3c74·6974··-scale=1"/>.<tit
Diff chunk too large, falling back to line-by-line diff (524 lines added, 524 lines removed)
000001b0:·6c65·3e64·756e·652d·636f·6d6d·6f6e·3a20··le>dune-common:·000001b0:·6c65·3e64·756e·652d·636f·6d6d·6f6e·3a20··le>dune-common:·
000001c0:·666d·6174·7269·782e·6868·2053·6f75·7263··fmatrix.hh·Sourc000001c0:·7374·7265·616d·6f70·6572·6174·6f72·732e··streamoperators.
000001d0:·6520·4669·6c65·3c2f·7469·746c·653e·0a3c··e·File</title>.<000001d0:·6868·2053·6f75·7263·6520·4669·6c65·3c2f··hh·Source·File</
000001e0:·6c69·6e6b·2068·7265·663d·2274·6162·732e··link·href="tabs.000001e0:·7469·746c·653e·0a3c·6c69·6e6b·2068·7265··title>.<link·hre
000001f0:·6373·7322·2072·656c·3d22·7374·796c·6573··css"·rel="styles000001f0:·663d·2274·6162·732e·6373·7322·2072·656c··f="tabs.css"·rel
00000200:·6865·6574·2220·7479·7065·3d22·7465·7874··heet"·type="text00000200:·3d22·7374·796c·6573·6865·6574·2220·7479··="stylesheet"·ty
00000210:·2f63·7373·222f·3e0a·3c73·6372·6970·7420··/css"/>.<script·00000210:·7065·3d22·7465·7874·2f63·7373·222f·3e0a··pe="text/css"/>.
00000220:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000220:·3c73·6372·6970·7420·7479·7065·3d22·7465··<script·type="te
00000230:·6372·6970·7422·2073·7263·3d22·6a71·7565··cript"·src="jque00000230:·7874·2f6a·6176·6173·6372·6970·7422·2073··xt/javascript"·s
00000240:·7279·2e6a·7322·3e3c·2f73·6372·6970·743e··ry.js"></script>00000240:·7263·3d22·6a71·7565·7279·2e6a·7322·3e3c··rc="jquery.js"><
00000250:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000250:·2f73·6372·6970·743e·0a3c·7363·7269·7074··/script>.<script
00000260:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000260:·2074·7970·653d·2274·6578·742f·6a61·7661···type="text/java
00000270:·7372·633d·2264·796e·7365·6374·696f·6e73··src="dynsections00000270:·7363·7269·7074·2220·7372·633d·2264·796e··script"·src="dyn
00000280:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<00000280:·7365·6374·696f·6e73·2e6a·7322·3e3c·2f73··sections.js"></s
00000290:·6c69·6e6b·2068·7265·663d·2273·6561·7263··link·href="searc00000290:·6372·6970·743e·0a3c·6c69·6e6b·2068·7265··cript>.<link·hre
000002a0:·682f·7365·6172·6368·2e63·7373·2220·7265··h/search.css"·re000002a0:·663d·2273·6561·7263·682f·7365·6172·6368··f="search/search
000002b0:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t000002b0:·2e63·7373·2220·7265·6c3d·2273·7479·6c65··.css"·rel="style
000002c0:·7970·653d·2274·6578·742f·6373·7322·2f3e··ype="text/css"/>000002c0:·7368·6565·7422·2074·7970·653d·2274·6578··sheet"·type="tex
000002d0:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t000002d0:·742f·6373·7322·2f3e·0a3c·7363·7269·7074··t/css"/>.<script
000002e0:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·000002e0:·2074·7970·653d·2274·6578·742f·6a61·7661···type="text/java
000002f0:·7372·633d·2273·6561·7263·682f·7365·6172··src="search/sear000002f0:·7363·7269·7074·2220·7372·633d·2273·6561··script"·src="sea
00000300:·6368·6461·7461·2e6a·7322·3e3c·2f73·6372··chdata.js"></scr00000300:·7263·682f·7365·6172·6368·6461·7461·2e6a··rch/searchdata.j
00000310:·6970·743e·0a3c·7363·7269·7074·2074·7970··ipt>.<script·typ00000310:·7322·3e3c·2f73·6372·6970·743e·0a3c·7363··s"></script>.<sc
00000320:·653d·2274·6578·742f·6a61·7661·7363·7269··e="text/javascri00000320:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
00000330:·7074·2220·7372·633d·2273·6561·7263·682f··pt"·src="search/00000330:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=
00000340:·7365·6172·6368·2e6a·7322·3e3c·2f73·6372··search.js"></scr00000340:·2273·6561·7263·682f·7365·6172·6368·2e6a··"search/search.j
00000350:·6970·743e·0a3c·6c69·6e6b·2068·7265·663d··ipt>.<link·href=00000350:·7322·3e3c·2f73·6372·6970·743e·0a3c·6c69··s"></script>.<li
00000360:·2264·6f78·7967·656e·2e63·7373·2220·7265··"doxygen.css"·re00000360:·6e6b·2068·7265·663d·2264·6f78·7967·656e··nk·href="doxygen
00000370:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t00000370:·2e63·7373·2220·7265·6c3d·2273·7479·6c65··.css"·rel="style
00000380:·7970·653d·2274·6578·742f·6373·7322·202f··ype="text/css"·/00000380:·7368·6565·7422·2074·7970·653d·2274·6578··sheet"·type="tex
00000390:·3e0a·3c2f·6865·6164·3e0a·3c62·6f64·793e··>.</head>.<body>00000390:·742f·6373·7322·202f·3e0a·3c2f·6865·6164··t/css"·/>.</head
000003a0:·0a3c·6469·7620·6964·3d22·746f·7022·3e3c··.<div·id="top"><000003a0:·3e0a·3c62·6f64·793e·0a3c·6469·7620·6964··>.<body>.<div·id
000003b0:·212d·2d20·646f·206e·6f74·2072·656d·6f76··!--·do·not·remov000003b0:·3d22·746f·7022·3e3c·212d·2d20·646f·206e··="top"><!--·do·n
000003c0:·6520·7468·6973·2064·6976·2c20·6974·2069··e·this·div,·it·i000003c0:·6f74·2072·656d·6f76·6520·7468·6973·2064··ot·remove·this·d
000003d0:·7320·636c·6f73·6564·2062·7920·646f·7879··s·closed·by·doxy000003d0:·6976·2c20·6974·2069·7320·636c·6f73·6564··iv,·it·is·closed
000003e0:·6765·6e21·202d·2d3e·0a3c·6469·7620·6964··gen!·-->.<div·id000003e0:·2062·7920·646f·7879·6765·6e21·202d·2d3e···by·doxygen!·-->
000003f0:·3d22·7469·746c·6561·7265·6122·3e0a·3c74··="titlearea">.<t000003f0:·0a3c·6469·7620·6964·3d22·7469·746c·6561··.<div·id="titlea
00000400:·6162·6c65·2063·656c·6c73·7061·6369·6e67··able·cellspacing00000400:·7265·6122·3e0a·3c74·6162·6c65·2063·656c··rea">.<table·cel
00000410:·3d22·3022·2063·656c·6c70·6164·6469·6e67··="0"·cellpadding00000410:·6c73·7061·6369·6e67·3d22·3022·2063·656c··lspacing="0"·cel
00000420:·3d22·3022·3e0a·203c·7462·6f64·793e·0a20··="0">.·<tbody>.·00000420:·6c70·6164·6469·6e67·3d22·3022·3e0a·203c··lpadding="0">.·<
00000430:·3c74·7220·6964·3d22·7072·6f6a·6563·7472··<tr·id="projectr00000430:·7462·6f64·793e·0a20·3c74·7220·6964·3d22··tbody>.·<tr·id="
00000440:·6f77·223e·0a20·203c·7464·2069·643d·2270··ow">.··<td·id="p00000440:·7072·6f6a·6563·7472·6f77·223e·0a20·203c··projectrow">.··<
00000450:·726f·6a65·6374·616c·6967·6e22·3e0a·2020··rojectalign">.··00000450:·7464·2069·643d·2270·726f·6a65·6374·616c··td·id="projectal
00000460:·203c·6469·7620·6964·3d22·7072·6f6a·6563···<div·id="projec00000460:·6967·6e22·3e0a·2020·203c·6469·7620·6964··ign">.···<div·id
00000470:·746e·616d·6522·3e64·756e·652d·636f·6d6d··tname">dune-comm00000470:·3d22·7072·6f6a·6563·746e·616d·6522·3e64··="projectname">d
00000480:·6f6e·3c73·7061·6e20·6964·3d22·7072·6f6a··on<span·id="proj00000480:·756e·652d·636f·6d6d·6f6e·3c73·7061·6e20··une-common<span·
00000490:·6563·746e·756d·6265·7222·3e26·2331·3630··ectnumber">&#16000000490:·6964·3d22·7072·6f6a·6563·746e·756d·6265··id="projectnumbe
000004a0:·3b32·2e39·2e30·3c2f·7370·616e·3e0a·2020··;2.9.0</span>.··000004a0:·7222·3e26·2331·3630·3b32·2e39·2e30·3c2f··r">&#160;2.9.0</
000004b0:·203c·2f64·6976·3e0a·2020·3c2f·7464·3e0a···</div>.··</td>.000004b0:·7370·616e·3e0a·2020·203c·2f64·6976·3e0a··span>.···</div>.
000004c0:·203c·2f74·723e·0a20·3c2f·7462·6f64·793e···</tr>.·</tbody>000004c0:·2020·3c2f·7464·3e0a·203c·2f74·723e·0a20····</td>.·</tr>.·
000004d0:·0a3c·2f74·6162·6c65·3e0a·3c2f·6469·763e··.</table>.</div>000004d0:·3c2f·7462·6f64·793e·0a3c·2f74·6162·6c65··</tbody>.</table
000004e0:·0a3c·212d·2d20·656e·6420·6865·6164·6572··.<!--·end·header000004e0:·3e0a·3c2f·6469·763e·0a3c·212d·2d20·656e··>.</div>.<!--·en
000004f0:·2070·6172·7420·2d2d·3e0a·3c21·2d2d·2047···part·-->.<!--·G000004f0:·6420·6865·6164·6572·2070·6172·7420·2d2d··d·header·part·--
00000500:·656e·6572·6174·6564·2062·7920·446f·7879··enerated·by·Doxy00000500:·3e0a·3c21·2d2d·2047·656e·6572·6174·6564··>.<!--·Generated
00000510:·6765·6e20·312e·392e·3820·2d2d·3e0a·3c73··gen·1.9.8·-->.<s00000510:·2062·7920·446f·7879·6765·6e20·312e·392e···by·Doxygen·1.9.
00000520:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text00000520:·3820·2d2d·3e0a·3c73·6372·6970·7420·7479··8·-->.<script·ty
00000530:·2f6a·6176·6173·6372·6970·7422·3e0a·2f2a··/javascript">./*00000530:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr
00000540:·2040·6c69·6365·6e73·6520·6d61·676e·6574···@license·magnet00000540:·6970·7422·3e0a·2f2a·2040·6c69·6365·6e73··ipt">./*·@licens
00000550:·3a3f·7874·3d75·726e·3a62·7469·683a·6433··:?xt=urn:btih:d300000550:·6520·6d61·676e·6574·3a3f·7874·3d75·726e··e·magnet:?xt=urn
00000560:·6439·6139·6136·3539·3535·3231·6639·3636··d9a9a6595521f96600000560:·3a62·7469·683a·6433·6439·6139·6136·3539··:btih:d3d9a9a659
00000570:·3661·3565·3934·6363·3833·3064·6162·3833··6a5e94cc830dab8300000570:·3535·3231·6639·3636·3661·3565·3934·6363··5521f9666a5e94cc
00000580:·6236·3536·3939·2661·6d70·3b64·6e3d·6578··b65699&amp;dn=ex00000580:·3833·3064·6162·3833·6236·3536·3939·2661··830dab83b65699&a
00000590:·7061·742e·7478·7420·4d49·5420·2a2f·0a76··pat.txt·MIT·*/.v00000590:·6d70·3b64·6e3d·6578·7061·742e·7478·7420··mp;dn=expat.txt·
000005a0:·6172·2073·6561·7263·6842·6f78·203d·206e··ar·searchBox·=·n000005a0:·4d49·5420·2a2f·0a76·6172·2073·6561·7263··MIT·*/.var·searc
000005b0:·6577·2053·6561·7263·6842·6f78·2822·7365··ew·SearchBox("se000005b0:·6842·6f78·203d·206e·6577·2053·6561·7263··hBox·=·new·Searc
000005c0:·6172·6368·426f·7822·2c20·2273·6561·7263··archBox",·"searc000005c0:·6842·6f78·2822·7365·6172·6368·426f·7822··hBox("searchBox"
000005d0:·682f·222c·272e·6874·6d6c·2729·3b0a·2f2a··h/",'.html');./*000005d0:·2c20·2273·6561·7263·682f·222c·272e·6874··,·"search/",'.ht
000005e0:·2040·6c69·6365·6e73·652d·656e·6420·2a2f···@license-end·*/000005e0:·6d6c·2729·3b0a·2f2a·2040·6c69·6365·6e73··ml');./*·@licens
000005f0:·0a3c·2f73·6372·6970·743e·0a3c·7363·7269··.</script>.<scri000005f0:·652d·656e·6420·2a2f·0a3c·2f73·6372·6970··e-end·*/.</scrip
00000600:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja00000600:·743e·0a3c·7363·7269·7074·2074·7970·653d··t>.<script·type=
00000610:·7661·7363·7269·7074·2220·7372·633d·226d··vascript"·src="m00000610:·2274·6578·742f·6a61·7661·7363·7269·7074··"text/javascript
00000620:·656e·7564·6174·612e·6a73·223e·3c2f·7363··enudata.js"></sc00000620:·2220·7372·633d·226d·656e·7564·6174·612e··"·src="menudata.
00000630:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty00000630:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c73··js"></script>.<s
00000640:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr00000640:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text
00000650:·6970·7422·2073·7263·3d22·6d65·6e75·2e6a··ipt"·src="menu.j00000650:·2f6a·6176·6173·6372·6970·7422·2073·7263··/javascript"·src
00000660:·7322·3e3c·2f73·6372·6970·743e·0a3c·7363··s"></script>.<sc00000660:·3d22·6d65·6e75·2e6a·7322·3e3c·2f73·6372··="menu.js"></scr
00000670:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/00000670:·6970·743e·0a3c·7363·7269·7074·2074·7970··ipt>.<script·typ
00000680:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·00000680:·653d·2274·6578·742f·6a61·7661·7363·7269··e="text/javascri
00000690:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:00000690:·7074·223e·0a2f·2a20·406c·6963·656e·7365··pt">./*·@license
000006a0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d000006a0:·206d·6167·6e65·743a·3f78·743d·7572·6e3a···magnet:?xt=urn:
000006b0:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f9666000006b0:·6274·6968·3a64·3364·3961·3961·3635·3935··btih:d3d9a9a6595
000006c0:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b000006c0:·3532·3166·3936·3636·6135·6539·3463·6338··521f9666a5e94cc8
000006d0:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp000006d0:·3330·6461·6238·3362·3635·3639·3926·616d··30dab83b65699&am
000006e0:·6174·2e74·7874·204d·4954·202a·2f0a·2428··at.txt·MIT·*/.$(000006e0:·703b·646e·3d65·7870·6174·2e74·7874·204d··p;dn=expat.txt·M
000006f0:·6675·6e63·7469·6f6e·2829·207b·0a20·2069··function()·{.··i000006f0:·4954·202a·2f0a·2428·6675·6e63·7469·6f6e··IT·*/.$(function
00000700:·6e69·744d·656e·7528·2727·2c74·7275·652c··nitMenu('',true,00000700:·2829·207b·0a20·2069·6e69·744d·656e·7528··()·{.··initMenu(
00000710:·6661·6c73·652c·2773·6561·7263·682e·7068··false,'search.ph00000710:·2727·2c74·7275·652c·6661·6c73·652c·2773··'',true,false,'s
00000720:·7027·2c27·5365·6172·6368·2729·3b0a·2020··p','Search');.··00000720:·6561·7263·682e·7068·7027·2c27·5365·6172··earch.php','Sear
00000730:·2428·646f·6375·6d65·6e74·292e·7265·6164··$(document).read00000730:·6368·2729·3b0a·2020·2428·646f·6375·6d65··ch');.··$(docume
00000740:·7928·6675·6e63·7469·6f6e·2829·207b·2069··y(function()·{·i00000740:·6e74·292e·7265·6164·7928·6675·6e63·7469··nt).ready(functi
00000750:·6e69·745f·7365·6172·6368·2829·3b20·7d29··nit_search();·})00000750:·6f6e·2829·207b·2069·6e69·745f·7365·6172··on()·{·init_sear
00000760:·3b0a·7d29·3b0a·2f2a·2040·6c69·6365·6e73··;.});./*·@licens00000760:·6368·2829·3b20·7d29·3b0a·7d29·3b0a·2f2a··ch();·});.});./*
00000770:·652d·656e·6420·2a2f·0a3c·2f73·6372·6970··e-end·*/.</scrip00000770:·2040·6c69·6365·6e73·652d·656e·6420·2a2f···@license-end·*/
00000780:·743e·0a3c·6469·7620·6964·3d22·6d61·696e··t>.<div·id="main00000780:·0a3c·2f73·6372·6970·743e·0a3c·6469·7620··.</script>.<div·
00000790:·2d6e·6176·223e·3c2f·6469·763e·0a3c·7363··-nav"></div>.<sc00000790:·6964·3d22·6d61·696e·2d6e·6176·223e·3c2f··id="main-nav"></
000007a0:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/000007a0:·6469·763e·0a3c·7363·7269·7074·2074·7970··div>.<script·typ
000007b0:·6a61·7661·7363·7269·7074·223e·0a2f·2a20··javascript">./*·000007b0:·653d·2274·6578·742f·6a61·7661·7363·7269··e="text/javascri
000007c0:·406c·6963·656e·7365·206d·6167·6e65·743a··@license·magnet:000007c0:·7074·223e·0a2f·2a20·406c·6963·656e·7365··pt">./*·@license
000007d0:·3f78·743d·7572·6e3a·6274·6968·3a64·3364··?xt=urn:btih:d3d000007d0:·206d·6167·6e65·743a·3f78·743d·7572·6e3a···magnet:?xt=urn:
000007e0:·3961·3961·3635·3935·3532·3166·3936·3636··9a9a6595521f9666000007e0:·6274·6968·3a64·3364·3961·3961·3635·3935··btih:d3d9a9a6595
000007f0:·6135·6539·3463·6338·3330·6461·6238·3362··a5e94cc830dab83b000007f0:·3532·3166·3936·3636·6135·6539·3463·6338··521f9666a5e94cc8
00000800:·3635·3639·3926·616d·703b·646e·3d65·7870··65699&amp;dn=exp00000800:·3330·6461·6238·3362·3635·3639·3926·616d··30dab83b65699&am
00000810:·6174·2e74·7874·204d·4954·202a·2f0a·2428··at.txt·MIT·*/.$(00000810:·703b·646e·3d65·7870·6174·2e74·7874·204d··p;dn=expat.txt·M
00000820:·646f·6375·6d65·6e74·292e·7265·6164·7928··document).ready(00000820:·4954·202a·2f0a·2428·646f·6375·6d65·6e74··IT·*/.$(document
00000830:·6675·6e63·7469·6f6e·2829·207b·2069·6e69··function()·{·ini00000830:·292e·7265·6164·7928·6675·6e63·7469·6f6e··).ready(function
00000840:·745f·636f·6465·666f·6c64·2830·293b·207d··t_codefold(0);·}00000840:·2829·207b·2069·6e69·745f·636f·6465·666f··()·{·init_codefo
00000850:·293b·0a2f·2a20·406c·6963·656e·7365·2d65··);./*·@license-e00000850:·6c64·2830·293b·207d·293b·0a2f·2a20·406c··ld(0);·});./*·@l
00000860:·6e64·202a·2f0a·3c2f·7363·7269·7074·3e0a··nd·*/.</script>.00000860:·6963·656e·7365·2d65·6e64·202a·2f0a·3c2f··icense-end·*/.</
00000870:·3c21·2d2d·2077·696e·646f·7720·7368·6f77··<!--·window·show00000870:·7363·7269·7074·3e0a·3c21·2d2d·2077·696e··script>.<!--·win
00000880:·696e·6720·7468·6520·6669·6c74·6572·206f··ing·the·filter·o00000880:·646f·7720·7368·6f77·696e·6720·7468·6520··dow·showing·the·
00000890:·7074·696f·6e73·202d·2d3e·0a3c·6469·7620··ptions·-->.<div·00000890:·6669·6c74·6572·206f·7074·696f·6e73·202d··filter·options·-
000008a0:·6964·3d22·4d53·6561·7263·6853·656c·6563··id="MSearchSelec000008a0:·2d3e·0a3c·6469·7620·6964·3d22·4d53·6561··->.<div·id="MSea
000008b0:·7457·696e·646f·7722·0a20·2020·2020·6f6e··tWindow".·····on000008b0:·7263·6853·656c·6563·7457·696e·646f·7722··rchSelectWindow"
000008c0:·6d6f·7573·656f·7665·723d·2272·6574·7572··mouseover="retur000008c0:·0a20·2020·2020·6f6e·6d6f·7573·656f·7665··.·····onmouseove
000008d0:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe000008d0:·723d·2272·6574·7572·6e20·7365·6172·6368··r="return·search
000008e0:·6172·6368·5365·6c65·6374·5368·6f77·2829··archSelectShow()000008e0:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele
000008f0:·220a·2020·2020·206f·6e6d·6f75·7365·6f75··".·····onmouseou000008f0:·6374·5368·6f77·2829·220a·2020·2020·206f··ctShow()".·····o
00000900:·743d·2272·6574·7572·6e20·7365·6172·6368··t="return·search00000900:·6e6d·6f75·7365·6f75·743d·2272·6574·7572··nmouseout="retur
00000910:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele00000910:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe
00000920:·6374·4869·6465·2829·220a·2020·2020·206f··ctHide()".·····o00000920:·6172·6368·5365·6c65·6374·4869·6465·2829··archSelectHide()
Max diff block lines reached; 705649/778537 bytes (90.64%) of diff not shown.
35.3 KB
html2text {}
    
Offset 7, 1064 lines modifiedOffset 7, 83 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 fmatrix.hh12 streamoperators.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
Diff chunk too large, falling back to line-by-line diff (60 lines added, 809 lines removed)
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_FMATRIX_HH19 ·5
20 ·6#define·DUNE_FMATRIX_HH20 ·6#ifndef·DUNE_STREAMOPERATORS_HH
21 ·721 ·7#define·DUNE_STREAMOPERATORS_HH
22 ·8#include·<cmath>22 ·8
23 ·9#include·<cstddef>23 ·13#include·<array>
24 ·10#include·<iostream>24 ·14#include·<tuple>
25 ·11#include·<algorithm>25 ·15#include·<utility>
26 ·12#include·<initializer_list>26 ·16
27 ·1327 ·17#include·<dune/common/hybridutilities.hh>
28 ·14#include·<dune/common/boundschecking.hh>28 ·18
29 ·15#include·<dune/common/exceptions.hh>29 ·19namespace·Dune
30 ·16#include·<dune/common/fvector.hh>30 ·20{
31 ·17#include·<dune/common/densematrix.hh>31 ·27·template<typename·Stream,·typename...·Ts>
32 ·18#include·<dune/common/precision.hh>32 28·inline·Stream&·operator<<(Stream&·stream,·const·std::tuple<Ts...>&·t)
33 ·19#include·<dune/common/promotiontraits.hh>33 ·29·{
34 ·20#include·<dune/common/typetraits.hh>34 ·30·stream<<"[";
35 ·21#include·<dune/common/matrixconcepts.hh>35 ·31·if(sizeof...(Ts)>0)
36 ·2236 ·32·{
37 ·23namespace·Dune37 ·33·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)-1>{},
38 ·24{38 ·34·[&](auto·i){stream<<std::get<i>(t)<<",";});
39 ·2539 ·35·stream<<std::get<sizeof...(Ts)-1>(t);
40 ·26·namespace·Impl40 ·36·}
41 ·27·{41 ·37·stream<<"]";
42 ·2842 ·38·return·stream;
43 ·29·template<class·M>43 ·39·}
44 ·30·class·ColumnVectorView44 ·40
45 ·31·{45 ·42·template<typename·Stream,·typename...·Ts>
46 ·32·public:46 43·inline·Stream&·operator>>(Stream&·stream,·std::tuple<Ts...>&·t)
47 ·3347 ·44·{
48 ·34·using·value_type·=·typename·M::value_type;48 ·45·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)>{},
49 ·35·using·size_type·=·typename·M::size_type;49 ·46·[&](auto·i){stream>>std::get<i>(t);});
50 ·3650 ·47·return·stream;
51 ·37·constexpr·ColumnVectorView(M&·matrix,·size_type·col)·:51 ·48·}
52 ·38·matrix_(matrix),52 ·49
53 ·39·col_(col)53 ·51·template<typename·Stream,·typename·T,·std::size_t·N>
54 ·40·{}54 52·inline·Stream&·operator<<(Stream&·stream,·const·std::array<T,N>&·a)
55 ·4155 ·53·{
56 ·42·constexpr·size_type·N·()·const·{56 ·54·stream<<"[";
57 ·43·return·matrix_.N();57 ·55·if(N>0)
58 ·44·}58 ·56·{
59 ·4559 ·57·for(std::size_t·i=0;·i<N-1;·++i)
60 ·46·template<class·M_·=·M,60 ·58·stream<<a[i]<<",";
61 ·47·std::enable_if_t<std::is_same_v<M_,M>·and·not·std::is_const_v<M_>,·int>·=61 ·59·stream<<a[N-1];
62 0>62 ·60·}
63 ·48·constexpr·value_type&·operator[]·(size_type·row)·{63 ·61·stream<<"]";
64 ·49·return·matrix_[row][col_];64 ·62·return·stream;
65 ·50·}65 ·63·}
66 ·5166 ·64
67 ·52·constexpr·const·value_type&·operator[]·(size_type·row)·const·{67 ·67}·//·end·namespace·Dune
68 ·53·return·matrix_[row][col_];68 ·68
69 ·54·}69 ·69#endif
70 ·5570 hybridutilities.hh
71 ·56·protected:71 Dune::operator>>
72 ·57·M&·matrix_;72 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t)
73 ·58·const·size_type·col_;73 Read·a·std::tuple.
74 ·59·};74 Definition·streamoperators.hh:43
75 ·6075 Dune::Hybrid::forEach
76 ·61·}76 constexpr·void·forEach(Range·&&range,·F·&&f)
77 ·6277 Range·based·for·loop.
78 ·63·template<typename·M>78 Definition·hybridutilities.hh:268
79 ·64·struct·FieldTraits<·Impl::ColumnVectorView<M>·> 
80 ·65·{ 
81 ·66·using·field_type·=·typename·FieldTraits<M>::field_type; 
82 ·67·using·real_type·=·typename·FieldTraits<M>::real_type; 
83 ·68·}; 
84 ·69 
85 ·81·template<·class·K,·int·ROWS,·int·COLS·=·ROWS·>·class·FieldMatrix; 
86 ·82 
87 ·83 
88 ·84·template<·class·K,·int·ROWS,·int·COLS·> 
89 85·struct·DenseMatVecTraits<·FieldMatrix<K,ROWS,COLS>·> 
90 ·86·{ 
91 87·typedef·FieldMatrix<K,ROWS,COLS>·derived_type; 
92 ·88 
93 ·89·//·each·row·is·implemented·by·a·field·vector 
94 90·typedef·FieldVector<K,COLS>·row_type; 
95 ·91 
96 92·typedef·row_type·&row_reference; 
97 93·typedef·const·row_type·&const_row_reference; 
98 ·94 
99 95·typedef·std::array<row_type,ROWS>·container_type; 
100 96·typedef·K·value_type; 
101 97·typedef·typename·container_type::size_type·size_type; 
102 ·98·}; 
103 ·99 
104 ·100·template<·class·K,·int·ROWS,·int·COLS·> 
105 101·struct·FieldTraits<·FieldMatrix<K,ROWS,COLS>·> 
106 ·102·{ 
107 103·typedef·typename·FieldTraits<K>::field_type·field_type; 
108 104·typedef·typename·FieldTraits<K>::real_type·real_type; 
109 ·105·}; 
110 ·106 
111 ·115·template<class·K,·int·ROWS,·int·COLS> 
112 116·class·FieldMatrix·:·public·DenseMatrix<·FieldMatrix<K,ROWS,COLS>·> 
113 ·117·{ 
114 ·118·std::array<·FieldVector<K,COLS>,·ROWS·>·_data; 
115 ·119·typedef·DenseMatrix<_FieldMatrix<K,ROWS,COLS>·>·Base; 
116 ·120·public: 
117 ·121 
118 123·constexpr·static·int·rows·=·ROWS; 
119 125·constexpr·static·int·cols·=·COLS; 
120 ·126 
121 127·typedef·typename·Base::size_type·size_type; 
122 128·typedef·typename·Base::row_type·row_type; 
123 ·129 
124 130·typedef·typename·Base::row_reference·row_reference; 
125 131·typedef·typename·Base::const_row_reference·const_row_reference; 
126 ·132 
127 ·133·//=====·constructors 
128 136·constexpr·FieldMatrix()·=·default; 
129 ·137 
130 140·FieldMatrix(std::initializer_list<Dune::FieldVector<K,_cols>·>·const·&l)·{ 
Max diff block lines reached; 9508/36106 bytes (26.33%) of diff not shown.
9.23 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 58 lines modifiedOffset 72, 38 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">genericiterator.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">precision.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.··82 <p>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;stdlib.h&gt;</code><br·/>
84 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;cassert&gt;</code><br·/> 
86 </div>85 </div>
87 <p><a·href="a00227_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00227_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">87 <table·class="memberdecls">
89 <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>
90 Classes</h2></td></tr>89 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="a01796.html">Dune::const_reference&lt;·R·&gt;</a></td></tr> 
92 <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> 
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="a01800.html">Dune::const_reference&lt;·const·R·&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="a01804.html">Dune::const_reference&lt;·R·&amp;·&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="a01808.html">Dune::const_reference&lt;·const·R·&amp;·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01812.html">Dune::mutable_reference&lt;·R·&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="a02428.html">Dune::FMatrixPrecision&lt;·ctype·&gt;</a></td></tr>
 91 <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>
101 <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> 
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="a01816.html">Dune::mutable_reference&lt;·const·R·&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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01820.html">Dune::mutable_reference&lt;·R·&amp;·&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="a01824.html">Dune::mutable_reference&lt;·const·R·&amp;·&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">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> 
110 <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> 
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
113 <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>
114 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
115 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>99 </table>
119 <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>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.·</p>
120 <div·class="textblock"><p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·</p> 
121 <p>Using·this·generic·iterator·writing·iterators·for·containers·that·implement·operator[]·is·only·a·matter·of·seconds.·</p> 
122 </div></div><!--·contents·-->102 </div></div><!--·contents·-->
123 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>104 <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.8105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>106 </small></address>
127 </body>107 </body>
128 </html>108 </html>
1.73 KB
html2text {}
    
Offset 7, 47 lines modifiedOffset 7, 25 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
13 genericiterator.hh·File·Reference 
14 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.13 precision.hh·File·Reference
 14 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.
15 More...15 More...
 16 #include·<stdlib.h>
16 #include·<dune/common/iteratorfacades.hh> 
17 #include·<cassert> 
18 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
19 ·Classes18 ·Classes
 19 class· Dune::FMatrixPrecision<_ctype_>
 20  ······Precisions·for·calculations·with·FieldMatrix·and·FieldVector.·More...
20 struct· Dune::const_reference<_R_> 
21  ·······Get·the·'const'·version·of·a·reference·to·a·mutable·object.·More... 
22   
23 struct· Dune::const_reference<_const_R_> 
24   
25 struct· Dune::const_reference<_R_&_> 
26   
27 struct· Dune::const_reference<_const_R_&_> 
28   
29 struct· Dune::mutable_reference<_R_> 
30  ·······get·the·'mutable'·version·of·a·reference·to·a·const·object·More... 
31   
32 struct· Dune::mutable_reference<_const_R_> 
33   
34 struct· Dune::mutable_reference<_R_&_> 
35   
36 struct· Dune::mutable_reference<_const_R_&_> 
37   
38 ·class· Dune::GenericIterator<_C,_T,_R,_D,_IteratorFacade_> 
39  ·······Generic·class·for·stl-conforming·iterators·for·container·classes·with 
40 ·········operator[].·More... 
41  21  
42 ·Namespaces22 ·Namespaces
43 namespace· Dune23 namespace· Dune
44  ··········Dune·namespace.24  ··········Dune·namespace.
45  25  
46 *****·Detailed·Description·*****26 *****·Detailed·Description·*****
 27 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.
47 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators. 
48 Using·this·generic·iterator·writing·iterators·for·containers·that·implement 
49 operator[]·is·only·a·matter·of·seconds. 
  
50 ===============================================================================28 ===============================================================================
51 ·····Generated·by [doxygen]·1.9.829 ·····Generated·by [doxygen]·1.9.8
53.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00227_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 239 lines modifiedOffset 74, 62 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">genericiterator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">precision.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GENERICITERATOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PRECISION_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GENERICITERATOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PRECISION_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/iteratorfacades.hh</a>&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;stdlib.h&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
93 <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>92 <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>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</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>·ctype·=·<span·class="keywordtype">double</span>&gt;</div>
 95 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};">
 96 <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>
95 <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>97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">public</span>:</div>
96 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="};">98 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="}">
 99 <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>
97 <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> 
98 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div> 
99 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">···88</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R·<a·class="code·hl_typedef"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">type</a>;</div> 
100 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>100 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>
 101 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······<span·class="keywordflow">return</span>·_absolute;</div>
 102 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div>
101 </div>103 </div>
102 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>104 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
103 <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> 
104 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};">105 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}">
105 <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>106 <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>
106 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>
107 <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#a74ce[·...·truncated·by·diffoscope;·len:·38,·SHA:·a7bfbfd8c484b4869335a5a73df629d020569a0da22b879fb2f659f2b6bd06d1·...·];</div>108 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······_absolute·=·absthres;</div>
108 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··};</div>109 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····}</div>
109 </div>110 </div>
110 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>111 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
111 <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>112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">private</span>:</div>
 113 <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>
 114 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">static</span>·ctype·_absolute;</div>
112 <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="};"> 
113 <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> 
114 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div> 
115 <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> 
116 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>115 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>
117 </div>116 </div>
118 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
119 <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> 
120 <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="};"> 
121 <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> 
122 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div> 
123 <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> 
124 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··};</div> 
125 </div> 
126 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
127 <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> 
128 <div·class="foldopen"·id="foldopen00115"·data-start="{"·data-end="};"> 
129 <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> 
130 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··{</div> 
131 <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> 
132 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··};</div> 
133 </div> 
134 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
135 <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> 
136 <div·class="foldopen"·id="foldopen00121"·data-start="{"·data-end="};"> 
137 <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> 
138 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··{</div> 
139 <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> 
140 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··};</div> 
141 </div> 
142 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
143 <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> 
144 <div·class="foldopen"·id="foldopen00127"·data-start="{"·data-end="};"> 
145 <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> 
146 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div> 
147 <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> 
148 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··};</div> 
149 </div> 
150 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> 
151 <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> 
152 <div·class="foldopen"·id="foldopen00133"·data-start="{"·data-end="};"> 
153 <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> 
154 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··{</div> 
155 <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> 
156 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··};</div> 
157 </div> 
158 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>·</div> 
159 <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> 
160 <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> 
161 <div·class="foldopen"·id="foldopen00151"·data-start="{"·data-end="};"> 
162 <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> 
163 <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> 
164 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··{</div> 
165 <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> 
166 <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> 
167 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> 
168 <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> 
169 <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> 
170 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div> 
171 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··<span·class="keyword">public</span>:</div> 
172 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> 
173 <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> 
174 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> 
175 <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> 
Max diff block lines reached; 10117/45390 bytes (22.29%) of diff not shown.
8.58 KB
html2text {}
    
Offset 7, 269 lines modifiedOffset 7, 62 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 genericiterator.hh12 precision.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_GENERICITERATOR_HH 
20 ·6#define·DUNE_GENERICITERATOR_HH19 ·5#ifndef·DUNE_PRECISION_HH
 20 ·6#define·DUNE_PRECISION_HH
21 ·721 ·7
 22 ·12#include·<stdlib.h>
 23 ·13
22 ·8#include·<dune/common/iteratorfacades.hh> 
23 ·9#include·<cassert> 
24 ·10 
25 ·11namespace·Dune·{24 ·14namespace·Dune·{
26 ·12 
27 ·85·template<class·R> 
28 86·struct·const_reference 
29 ·87·{ 
30 88·typedef·const·R·type; 
31 ·89·}; 
32 ·90 
33 ·91·template<class·R> 
34 92·struct·const_reference<const·R> 
35 ·93·{ 
36 94·typedef·const·R·type; 
37 ·95·}; 
38 ·96 
39 ·97·template<class·R> 
40 98·struct·const_reference<R&> 
41 ·99·{ 
42 100·typedef·const·R&·type; 
43 ·101·}; 
44 ·102 
45 ·103·template<class·R> 
46 104·struct·const_reference<const·R&> 
47 ·105·{ 
48 106·typedef·const·R&·type; 
49 ·107·}; 
50 ·108 
51 ·114·template<class·R> 
52 115·struct·mutable_reference 
53 ·116·{ 
54 117·typedef·R·type; 
55 ·118·}; 
56 ·119 
57 ·120·template<class·R> 
58 121·struct·mutable_reference<const·R> 
59 ·122·{ 
60 123·typedef·R·type; 
61 ·124·}; 
62 ·12525 ·15
 26 ·24·template·<class·ctype·=·double>
 27 25·class·FMatrixPrecision·{
63 ·126·template<class·R> 
64 127·struct·mutable_reference<R&> 
65 ·128·{ 
66 129·typedef·R&·type; 
67 ·130·}; 
68 ·131 
69 ·132·template<class·R> 
70 133·struct·mutable_reference<const·R&> 
71 ·134·{ 
72 135·typedef·R&·type; 
73 ·136·}; 
74 ·137 
75 ·149·template<class·C,·class·T,·class·R=T&,·class·D·=·std::ptrdiff_t, 
76 ·150·template<class,class,class,class>·class 
77 IteratorFacade=RandomAccessIteratorFacade> 
78 151·class·GenericIterator·: 
79 ·152·public·IteratorFacade<GenericIterator<C,T,R,D,IteratorFacade>,T,R,D> 
80 ·153·{ 
81 ·154·friend·class·GenericIterator<typename·std::remove_const<C>::type,·typename 
82 std::remove_const<T>::type,·typename·mutable_reference<R>::type,·D, 
83 IteratorFacade>; 
84 ·155·friend·class·GenericIterator<const·typename·std::remove_const<C>::type, 
85 const·typename·std::remove_const<T>::type,·typename·const_reference<R>::type, 
86 D,·IteratorFacade>; 
87 ·156 
88 ·157·typedef·GenericIterator<typename·std::remove_const<C>::type,·typename 
89 std::remove_const<T>::type,·typename·mutable_reference<R>::type,·D, 
90 IteratorFacade>·MutableIterator; 
91 ·158·typedef·GenericIterator<const·typename·std::remove_const<C>::type,·const 
92 typename·std::remove_const<T>::type,·typename·const_reference<R>::type,·D, 
93 IteratorFacade>·ConstIterator; 
94 ·159 
95 ·160·public:28 ·26·public:
 29 28·static·ctype·absolute_limit·()
 30 ·29·{
 31 ·30·return·_absolute;
 32 ·31·}
 33 ·32
 34 34·static·void·set_absolute_limit·(ctype·absthres)
 35 ·35·{
 36 ·36·_absolute·=·absthres;
 37 ·37·}
 38 ·38
96 ·161 
97 170·typedef·C·Container; 
98 ·171 
99 177·typedef·T·Value; 
100 ·178 
101 182·typedef·D·DifferenceType; 
102 ·183 
103 187·typedef·R·Reference; 
104 ·188 
105 ·189·//·Constructors·needed·by·the·base·iterators 
106 190·GenericIterator()·:·container_(0),·position_(0) 
107 ·191·{} 
108 ·192 
109 200·GenericIterator(Container&·cont,·DifferenceType·pos) 
110 ·201·:·container_(&cont),·position_(pos) 
111 ·202·{} 
112 ·203 
113 211·GenericIterator(const·MutableIterator&·other)·:·container_ 
114 (other.container_),·position_(other.position_) 
115 ·212·{} 
116 ·213 
Max diff block lines reached; 3576/8757 bytes (40.84%) of diff not shown.
6.17 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 28 lines modifiedOffset 69, 43 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="summary">
 76 <a·href="#namespaces">Namespaces</a>·&#124;
 77 <a·href="#func-members">Functions</a>··</div>
75 ··<div·class="headertitle"><div·class="title">parametertreeparser.cc·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">overloadset.hh·File·Reference</div></div>
76 </div><!--header-->79 </div><!--header-->
77 <div·class="contents">80 <div·class="contents">
 81 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00038_source.html">parametertreeparser.hh</a>&quot;</code><br·/> 
79 <code>#include·&lt;cstdlib&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 <code>#include·&lt;ostream&gt;</code><br·/> 
82 <code>#include·&lt;string&gt;</code><br·/>82 <code>#include·&lt;type_traits&gt;</code><br·/>
83 <code>#include·&lt;sstream&gt;</code><br·/> 
84 <code>#include·&lt;fstream&gt;</code><br·/> 
85 <code>#include·&lt;set&gt;</code><br·/> 
86 <code>#include·&lt;map&gt;</code><br·/> 
87 <code>#include·&lt;algorithm&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 84 </div>
 85 <p><a·href="a00230_source.html">Go·to·the·source·code·of·this·file.</a></p>
 86 <table·class="memberdecls">
 87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 88 Namespaces</h2></td></tr>
 89 <tr·class="memitem:a00425"·id="r_a00425"><td·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="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="func-members"·name="func-members"></a>
 94 Functions</h2></td></tr>
 95 <tr·class="memitem:gae007ebc02578de3fe994b28e4378fd80"·id="r_gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr>
 96 <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>
 97 <tr·class="memdesc:gae007ebc02578de3fe994b28e4378fd80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·overload·set.··<br·/></td></tr>
 98 <tr·class="separator:gae007ebc02578de3fe994b28e4378fd80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"·id="r_ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr>
 100 <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>
 101 <tr·class="memdesc:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·ordered·overload·set.··<br·/></td></tr>
 102 <tr·class="separator:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 </table>
89 </div></div><!--·contents·-->104 </div><!--·contents·-->
90 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>106 <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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
93 </small></address>108 </small></address>
94 </body>109 </body>
95 </html>110 </html>
969 B
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 29 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 parametertreeparser.cc·File·Reference 
13 #include·"parametertreeparser.hh"12 Namespaces·|·Functions
 13 overloadset.hh·File·Reference
14 #include·<cstdlib>14 #include·<utility>
 15 #include·<type_traits>
15 #include·<iostream> 
16 #include·<ostream> 
17 #include·<string> 
18 #include·<sstream> 
19 #include·<fstream> 
20 #include·<set> 
21 #include·<map> 
22 #include·<algorithm> 
23 #include·<dune/common/exceptions.hh>16 #include·<dune/common/typetraits.hh>
 17 Go_to_the_source_code_of_this_file.
 18 ·Namespaces
 19 namespace· Dune
 20  ··········Dune·namespace.
 21  
 22 ·Functions
 23 template<class...·F>
 24 auto Dune::overload·(F·&&...·f)
 25  ····Create·an·overload·set.
 26  
 27 template<class...·F>
 28 auto Dune::orderedOverload·(F·&&...·f)
 29  ····Create·an·ordered·overload·set.
 30  
  
24 ===============================================================================31 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.832 ·····Generated·by [doxygen]·1.9.8
9.17 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 49 lines modifiedOffset 70, 72 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>79 <a·href="#define-members">Macros</a>··</div>
79 ··<div·class="headertitle"><div·class="title">classname.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">reservedvector.hh·File·Reference</div></div>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.··83 <p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
85 <code>#include·&lt;memory&gt;</code><br·/>86 <code>#include·&lt;array&gt;</code><br·/>
 87 <code>#include·&lt;cassert&gt;</code><br·/>
86 <code>#include·&lt;string&gt;</code><br·/>88 <code>#include·&lt;iostream&gt;</code><br·/>
87 <code>#include·&lt;typeinfo&gt;</code><br·/> 
88 <code>#include·&lt;type_traits&gt;</code><br·/>89 <code>#include·&lt;iterator&gt;</code><br·/>
 90 <code>#include·&lt;cstddef&gt;</code><br·/>
 91 <code>#include·&lt;initializer_list&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/hash.hh</a>&gt;</code><br·/>
89 </div>93 </div>
90 <p><a·href="a00233_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00233_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">95 <table·class="memberdecls">
 96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 97 Classes</h2></td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02552.html">Dune::ReservedVector&lt;·T,·n·&gt;</a></td></tr>
 99 <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>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
92 <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>
93 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
94 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
98 <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="define-members"·name="define-members"></a>
99 Functions</h2></td></tr>109 Macros</h2></td></tr>
 110 <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"·id="r_a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00233.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)&#160;&#160;&#160;{}</td></tr>
100 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"·id="r_a33ac30656648b528235c913852c28ac7"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
101 <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> 
102 <tr·class="memdesc:a33ac30656648b528235c913852c28ac7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·type·T·as·a·string.··<br·/></td></tr> 
103 <tr·class="separator:a33ac30656648b528235c913852c28ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"·id="r_a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
105 <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> 
106 <tr·class="memdesc:a1d7665500285ebc74f89523cb8cf4fae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·given·object·as·a·string.··<br·/></td></tr> 
107 <tr·class="separator:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table>112 </table>
109 <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>
110 <div·class="textblock"><p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·</p>114 <div·class="textblock"><p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·</p>
 115 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 116 <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a>
 117 <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">&#9670;&#160;</a></span>CHECKSIZE</h2>
  
 118 <div·class="memitem">
 119 <div·class="memproto">
 120 ······<table·class="memname">
 121 ········<tr>
 122 ··········<td·class="memname">#define·CHECKSIZE</td>
 123 ··········<td>(</td>
 124 ··········<td·class="paramtype">&#160;</td>
 125 ··········<td·class="paramname">X</td><td>)</td>
 126 ··········<td>&#160;&#160;&#160;{}</td>
 127 ········</tr>
 128 ······</table>
 129 </div><div·class="memdoc">
  
 130 </div>
 131 </div>
111 </div></div><!--·contents·-->132 </div><!--·contents·-->
112 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>134 <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.8135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>136 </small></address>
116 </body>137 </body>
117 </html>138 </html>
1.63 KB
html2text {}
    
Offset 6, 36 lines modifiedOffset 6, 39 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions 
13 classname.hh·File·Reference 
14 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type 
15 as·a·string.·More...12 Classes·|·Namespaces·|·Macros
 13 reservedvector.hh·File·Reference
 14 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.
 15 More...
 16 #include·<algorithm>
 17 #include·<array>
 18 #include·<cassert>
 19 #include·<iostream>
 20 #include·<iterator>
16 #include·<cstdlib>21 #include·<cstddef>
 22 #include·<initializer_list>
 23 #include·<dune/common/hash.hh>
17 #include·<memory> 
18 #include·<string> 
19 #include·<typeinfo> 
20 #include·<type_traits> 
21 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
 25 ·Classes
 26 class· Dune::ReservedVector<_T,_n_>
 27  ······A·Vector·class·with·statically·reserved·memory.·More...
 28  
22 ·Namespaces29 ·Namespaces
23 namespace· Dune30 namespace· Dune
24  ··········Dune·namespace.31  ··········Dune·namespace.
25  32  
 33 ·Macros
 34 #define CHECKSIZE(X)   {}
26 ·Functions 
27 template<class·T·> 
28 std::string Dune::className·() 
29  ···········Provide·the·demangled·class·name·of·a·type·T·as·a·string. 
30   
31 template<class·T·> 
32 std::string Dune::className·(T·&&v) 
33  ···········Provide·the·demangled·class·name·of·a·given·object·as·a·string. 
34  35  
35 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
36 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type 
37 as·a·string.37 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.
 38 *****·Macro·Definition·Documentation·*****
 39 *****·◆ CHECKSIZE·*****
 40 #define·CHECKSIZE·(· X·)·   {}
  
38 ===============================================================================41 ===============================================================================
39 ·····Generated·by [doxygen]·1.9.842 ·····Generated·by [doxygen]·1.9.8
130 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 95 lines modifiedOffset 74, 528 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">classname.hh</div></div>80 ··<div·class="headertitle"><div·class="title">reservedvector.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_CLASSNAME_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_CLASSNAME_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_RESERVEDVECTOR_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
90 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
91 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
92 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
93 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
94 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
95 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
96 <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> 
97 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_CXA_DEMANGLE·1</span></div> 
98 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cxxabi.h&gt;</span></div>98 <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/hash.hh</a>&gt;</span></div>
99 <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> 
100 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
101 <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>100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDVECTOR</span></div>
 101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div>
102 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else</span></div>
 103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00233.html#a65543e75bc949ecdb95a25b1f4e11675">···25</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div>
103 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">namespace·</span>Impl·{</div>104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>
104 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
105 <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>106 <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>
106 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
107 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·HAVE_CXA_DEMANGLE</span></div> 
108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keywordtype">int</span>·status;</div> 
109 <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> 
110 <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> 
111 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··················std::free);</div> 
112 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">if</span>(·demangled·)</div> 
113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········name·=·demangled.get();</div> 
114 <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> 
115 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">return</span>·name;</div> 
116 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····}</div> 
117 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div> 
118 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">/*</span></div> 
120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div> 
121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">···*/</span></div> 
122 <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>108 <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>
123 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}">109 <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};">
124 <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>110 <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>
125 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div>111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··{</div>
126 <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> 
127 <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> 
128 <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>112 <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>
129 <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> 
130 <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> 
131 <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> 
132 <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> 
133 <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> 
134 <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> 
135 <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> 
136 <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> 
137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div>113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
138 </div>114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div>
139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>115 <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"><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>
 117 <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>
 118 <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>
 119 <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>
 120 <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>
 121 <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>
 122 <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>
 123 <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>
 124 <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>
 125 <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>
 126 <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>
140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*</span></div> 
141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div> 
142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">···*/</span></div> 
143 <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> 
144 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> 
145 <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> 
146 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div> 
147 <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> 
148 <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> 
149 <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> 
150 <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> 
151 <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> 
152 <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> 
153 <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> 
154 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div>127 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 128 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">
 129 <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>
 130 <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>
 131 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······:·storage_()</div>
 132 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······,·size_(0)</div>
 133 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{}</div>
155 </div>134 </div>
156 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div> 
157 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>135 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 136 <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}">
 137 <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>
 138 <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>
 139 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······:·storage_()</div>
 140 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······,·size_(count)</div>
Max diff block lines reached; 25217/110402 bytes (22.84%) of diff not shown.
22.1 KB
html2text {}
    
Offset 7, 92 lines modifiedOffset 7, 635 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 classname.hh12 reservedvector.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_CLASSNAME_HH 
20 ·6#define·DUNE_CLASSNAME_HH19 ·5#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH
 20 ·6#define·DUNE_COMMON_RESERVEDVECTOR_HH
21 ·721 ·7
22 ·13#include·<cstdlib>22 ·12#include·<algorithm>
 23 ·13#include·<array>
23 ·14#include·<memory>24 ·14#include·<cassert>
24 ·15#include·<string>25 ·15#include·<iostream>
25 ·16#include·<typeinfo>26 ·16#include·<iterator>
26 ·17#include·<type_traits> 
27 ·18 
28 ·19#if·__has_include(<cxxabi.h>)·&&·!DISABLE_CXA_DEMANGLE 
29 ·20#define·HAVE_CXA_DEMANGLE·1 
30 ·21#include·<cxxabi.h> 
31 ·22#endif·//·#if·HAVE_CXA_DEMANGLE 
32 ·23 
33 ·24namespace·Dune·{ 
34 ·25 
35 ·26·namespace·Impl·{27 ·17#include·<cstddef>
 28 ·18#include·<initializer_list>
 29 ·19
 30 ·20#include·<dune/common/hash.hh>
 31 ·21
 32 ·22#ifdef·CHECK_RESERVEDVECTOR
 33 ·23#define·CHECKSIZE(X)·assert(X)
 34 ·24#else
 35 25#define·CHECKSIZE(X)·{}
 36 ·26#endif
36 ·2737 ·27
37 ·28·inline·std::string·demangle(std::string·name)38 ·28namespace·Dune
38 ·29·{39 ·29{
39 ·30#if·HAVE_CXA_DEMANGLE 
40 ·31·int·status; 
41 ·32·std::unique_ptr<char,·void(*)(void*)> 
42 ·33·demangled(abi::__cxa_demangle(name.c_str(),·nullptr,·nullptr,·&status), 
43 ·34·std::free); 
44 ·35·if(·demangled·) 
45 ·36·name·=·demangled.get(); 
46 ·37#endif·//·#if·HAVE_CXA_DEMANGLE40 ·45·template<class·T,·int·n>
 41 46·class·ReservedVector
 42 ·47·{
 43 ·48·using·storage_type·=·std::array<T,n>;
 44 ·49
 45 ·50·public:
 46 ·51
 47 55·typedef·typename·storage_type::value_type·value_type;
 48 57·typedef·typename·storage_type::pointer·pointer;
 49 59·typedef·typename·storage_type::const_pointer·const_pointer;
 50 61·typedef·typename·storage_type::reference·reference;
 51 63·typedef·typename·storage_type::const_reference·const_reference;
 52 65·typedef·typename·storage_type::size_type·size_type;
 53 67·typedef·typename·storage_type::difference_type·difference_type;
 54 69·typedef·typename·storage_type::iterator·iterator;
 55 71·typedef·typename·storage_type::const_iterator·const_iterator;
 56 73·typedef·std::reverse_iterator<iterator>·reverse_iterator;
 57 75·typedef·std::reverse_iterator<const_iterator>·const_reverse_iterator;
 58 ·76
 59 82·constexpr·ReservedVector()
 60 ·83·noexcept(std::is_nothrow_default_constructible_v<value_type>)
 61 ·84·:·storage_()
 62 ·85·,·size_(0)
 63 ·86·{}
 64 ·87
 65 89·explicit·constexpr·ReservedVector(size_type·count)
 66 ·90·noexcept(std::is_nothrow_default_constructible_v<value_type>)
 67 ·91·:·storage_()
 68 ·92·,·size_(count)
 69 ·93·{
 70 ·94·assert(count·<=·n);
 71 ·95·}
 72 ·96
 73 98·constexpr·ReservedVector(size_type·count,·const·value_type&·value)
 74 ·99·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&&
 75 ·100·noexcept(ReservedVector(count)))
 76 ·101·:·ReservedVector(count)
 77 ·102·{
 78 ·103·for·(size_type·i=0;·i<count;·++i)
 79 ·104·storage_[i]·=·value;
 80 ·105·}
 81 ·106
 82 ·108·template<class·InputIt,
 83 ·109·std::enable_if_t<std::is_convertible_v<typename·std::
 84 iterator_traits<InputIt>::value_type,·value_type>,·int>·=·0>
 85 110·constexpr·ReservedVector(InputIt·first,·InputIt·last)
 86 ·111·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&&
 87 ·112·noexcept(ReservedVector()))
 88 ·113·:·ReservedVector()
 89 ·114·{
 90 ·115·for·(size_type·i=0;·i<n·&&·first!=last;·++i,++size_)
 91 ·116·storage_[i]·=·*first++;
 92 ·117·assert(first·==·last);
 93 ·118·}
 94 ·119
 95 121·constexpr·ReservedVector(std::initializer_list<value_type>·const&·l)
 96 ·122·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&&
 97 ·123·noexcept(ReservedVector(l.begin(),l.end())))
 98 ·124·:·ReservedVector(l.begin(),l.end())
 99 ·125·{}
 100 ·126
 101 132·constexpr·bool·operator==(const·ReservedVector&·that)·const·noexcept
 102 ·133·{
 103 ·134·if·(size()·!=·that.size())
 104 ·135·return·false;
 105 ·136·for·(size_type·i=0;·i<size();·++i)
 106 ·137·if·(!(storage_[i]==that.storage_[i]))
47 ·38·return·name;107 ·138·return·false;
48 ·39·}108 ·139·return·true;
49 ·40·}109 ·140·}
50 ·41110 ·141
51 ·43·/* 
52 ·44·*·\ingroup·CxxUtilities 
53 ·45·*/ 
54 ·46·template·<class·T> 
Max diff block lines reached; 10712/22625 bytes (47.35%) of diff not shown.
13.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·matvectraits.hh·File·Reference</title>8 <title>dune-common:·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 71, 37 lines modifiedOffset 71, 78 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
79 ··<div·class="headertitle"><div·class="title">matvectraits.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">propertymap.hh·File·Reference</div></div>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.·· 
83 <a·href="#details">More...</a></p> 
 83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;iterator&gt;</code><br·/>
 85 <code>#include·&lt;type_traits&gt;</code><br·/>
 86 </div>
84 <p><a·href="a00236_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00236_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">88 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
87 Classes</h2></td></tr>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="a02440.html">Dune::PropertyMapTraits&lt;·PM·&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="a02444.html">Dune::ReadablePropertyMapTag</a></td></tr>
 94 <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>
 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="a02448.html">Dune::WritablePropertyMapTag</a></td></tr>
 97 <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>
 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="a02452.html">Dune::ReadWritePropertyMapTag</a></td></tr>
 100 <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>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02456.html">Dune::LvaluePropertyMapTag</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·lvalue·property·maps.··<a·href="a02456.html#details">More...</a><br·/></td></tr>
 104 <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="a01968.html">Dune::DenseMatVecTraits&lt;·T·&gt;</a></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="a02460.html">Dune::PropertyMapTraits&lt;·T·*·&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="a02464.html">Dune::PropertyMapTraits&lt;·const·T·*·&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="a02468.html">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&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">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>
 112 <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>
 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="a02476.html">Dune::AssociativePropertyMap&lt;·T·&gt;</a></td></tr>
 115 <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>
 116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <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>
 118 <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>
 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="a02484.html">Dune::IdentityMap</a></td></tr>
 121 <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>
 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="a02488.html">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;</a></td></tr>
 124 <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>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">126 </table><table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>127 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
92 Namespaces</h2></td></tr>128 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>129 <tr·class="memitem:a00425"·id="r_a00425"><td·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>130 <tr·class="memdesc: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>131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 </table><table·class="memberdecls">
 133 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 134 Functions</h2></td></tr>
 135 <tr·class="memitem:a422c8e50ed4f40b534187b8fb83fbf3d"·id="r_a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·&gt;·</td></tr>
 136 <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·<a·class="el"·href="a02468.html">RAPropertyMapHelper</a>&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key)</td></tr>
 137 <tr·class="separator:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:a2dc4d3a226776723750b848ae303a11a"·id="r_a2dc4d3a226776723750b848ae303a11a"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·&gt;·</td></tr>
 139 <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·<a·class="el"·href="a02468.html">RAPropertyMapHelper</a>&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key,·const·Value·&amp;value)</td></tr>
 140 <tr·class="separator:a2dc4d3a226776723750b848ae303a11a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>141 </table>
97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
98 <div·class="textblock"><p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.·</p> 
99 </div></div><!--·contents·-->142 </div><!--·contents·-->
100 <!--·start·footer·part·-->143 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>144 <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.8145 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
103 </small></address>146 </small></address>
104 </body>147 </body>
105 </html>148 </html>
2.44 KB
html2text {}
    
Offset 6, 25 lines modifiedOffset 6, 67 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
13 matvectraits.hh·File·Reference 
14 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation 
15 of·DenseVector·or·DenseMatrix.·More...13 propertymap.hh·File·Reference
 14 #include·<cstddef>
 15 #include·<iterator>
 16 #include·<type_traits>
16 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
17 ·Classes18 ·Classes
 19 struct· Dune::PropertyMapTraits<_PM_>
 20  
 21 struct· Dune::ReadablePropertyMapTag
 22  ·······Tag·for·the·category·of·readable·property·maps.·More...
 23  
 24 struct· Dune::WritablePropertyMapTag
 25  ·······Tag·for·the·category·of·writable·property·maps.·More...
 26  
 27 struct· Dune::ReadWritePropertyMapTag
 28  ·······Tag·for·the·category·of·readable·and·writable·property·maps.·More...
 29  
 30 struct· Dune::LvaluePropertyMapTag
 31  ·······Tag·for·the·category·of·lvalue·property·maps.·More...
 32  
18 struct· Dune::DenseMatVecTraits<_T_>33 struct· Dune::PropertyMapTraits<_T_*_>
 34  
 35 struct· Dune::PropertyMapTraits<_const_T_*_>
 36  
 37 struct· Dune::RAPropertyMapHelper<_Reference,_PropertyMap_>
 38  
 39 ·class· Dune::IteratorPropertyMap<_RAI,_IM,_T,_R_>
 40  ·······Adapter·to·turn·a·random·access·iterator·into·a·property·map.·More...
 41  
 42 ·class· Dune::AssociativePropertyMap<_T_>
 43  ·······An·adapter·to·turn·an·unique·associative·container·into·a·property
 44 ·········map.·More...
 45  
 46 ·class· Dune::ConstAssociativePropertyMap<_T_>
 47  ·······An·adaptor·to·turn·an·unique·associative·container·into·a·property
 48 ·········map.·More...
 49  
 50 struct· Dune::IdentityMap
 51  ·······A·property·map·that·applies·the·identity·function·to·integers.·More...
 52  
 53 struct· Dune::PropertyMapTypeSelector<_T,_C_>
 54  ·······Selector·for·the·property·map·type.·More...
19  55  
20 ·Namespaces56 ·Namespaces
21 namespace· Dune57 namespace· Dune
22  ··········Dune·namespace.58  ··········Dune·namespace.
23  59  
24 *****·Detailed·Description·***** 
25 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation 
26 of·DenseVector·or·DenseMatrix.60 ·Functions
 61 template<class·Reference·,·class·PropertyMap·,·class·Key·>
 62 Reference Dune::get·(const·RAPropertyMapHelper<·Reference,·PropertyMap·>
 63 ···········&pmap,·const·Key·&key)
 64  
 65 template<class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·>
 66 ·····void Dune::put·(const·RAPropertyMapHelper<·Reference,·PropertyMap·>
 67 ···········&pmap,·const·Key·&key,·const·Value·&value)
 68  
  
27 ===============================================================================69 ===============================================================================
28 ·····Generated·by [doxygen]·1.9.870 ·····Generated·by [doxygen]·1.9.8
65.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·matvectraits.hh·Source·File</title>8 <title>dune-common:·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 74, 37 lines modifiedOffset 74, 307 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">matvectraits.hh</div></div>80 ··<div·class="headertitle"><div·class="title">propertymap.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATVECTRAITS_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROPERTYMAP_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATVECTRAITS_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROPERTYMAP_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
90 <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>94 <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>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
94 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>97 <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>
 98 <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="};">
96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01968.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>·{};</div>99 <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>
97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>100 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>
98 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>101 <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:·55,·SHA:·a529eae138a6ec5ba6ded444448358d3b4b8e9a67305b4c101f0c6358a6d532a·...·]</div>
 102 <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>
 103 <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>
 104 <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>
99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>105 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>
 106 </div>
 107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 108 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
 109 <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>
 110 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{};</div>
 111 </div>
 112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 113 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">
 114 <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>
 115 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{};</div>
 116 </div>
 117 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 118 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">
 119 <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>
 120 <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>
 121 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{};</div>
 122 </div>
 123 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 124 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{};</div>
 128 </div>
 129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 130 <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>
 131 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};">
 132 <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>
 133 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>
 134 <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>
 135 <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>
 136 <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>
 137 <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>
 138 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div>
 139 </div>
 140 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 141 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 142 <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>
 143 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="};">
 144 <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>
 145 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div>
 146 <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>
 147 <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>
 148 <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>
 149 <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>
 150 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··};</div>
 151 </div>
 152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 153 <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>
 154 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="};">
 155 <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>
 156 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{};</div>
 157 </div>
 158 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 159 <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>
 160 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">inline</span>·Reference</div>
 161 <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}">
 162 <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>
 163 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">const</span>·Key&amp;·key)</div>
 164 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div>
 165 <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>
 166 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div>
 167 </div>
 168 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 169 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Reference,·<span·class="keyword">class</span>·PropertyMap,·<span·class="keyword">class</span>·Key,·<span·class="keyword">class</span>·Value&gt;</div>
 170 <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>
 171 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}">
 172 <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>
 173 <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>
 174 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>
 175 <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>
 176 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··················<span·class="stringliteral">&quot;WritablePropertyMapTag·required!&quot;</span>);</div>
 177 <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>
 178 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··}</div>
 179 </div>
 180 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 181 <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; 13819/55778 bytes (24.78%) of diff not shown.
10.6 KB
html2text {}
    
Offset 7, 36 lines modifiedOffset 7, 369 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 matvectraits.hh12 propertymap.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_MATVECTRAITS_HH 
20 ·6#define·DUNE_MATVECTRAITS_HH19 ·5#ifndef·DUNE_PROPERTYMAP_HH
 20 ·6#define·DUNE_PROPERTYMAP_HH
21 ·721 ·7
 22 ·8#include·<cstddef>
 23 ·9#include·<iterator>
 24 ·10#include·<type_traits>
 25 ·11
22 ·12namespace·Dune·{26 ·12namespace·Dune
23 ·1327 ·13{
24 ·22 
25 ·24 
26 ·2628 ·14
 29 ·15·template<class·PM>
 30 16·struct·PropertyMapTraits
 31 ·17·{
 32 21·typedef·typename·PM::KeyType·KeyType;
 33 25·typedef·typename·PM::ValueType·ValueType;
 34 29·typedef·typename·PM::Reference·Reference;
 35 33·typedef·typename·PM::Category·Category;
 36 ·34·};
 37 ·35
 38 37·struct·ReadablePropertyMapTag
 39 ·38·{};
 40 ·39
 41 41·struct·WritablePropertyMapTag
 42 ·42·{};
 43 ·43
 44 48·struct·ReadWritePropertyMapTag
 45 ·49·:·public·ReadablePropertyMapTag,·public·WritablePropertyMapTag
 46 ·50·{};
 47 ·51
 48 55·struct·LvaluePropertyMapTag
 49 ·56·:·public·ReadWritePropertyMapTag
 50 ·57·{};
 51 ·58
27 ·30·template<class·T>52 ·59·template<class·T>
28 31·struct·DenseMatVecTraits·{};53 60·struct·PropertyMapTraits<T*>
 54 ·61·{
 55 62·typedef·T·ValueType;
 56 63·typedef·ValueType&·Reference;
 57 64·typedef·std::ptrdiff_t·KeyType;
 58 65·typedef·LvaluePropertyMapTag·Category;
 59 ·66·};
 60 ·67
 61 ·68
 62 ·69·template<class·T>
 63 70·struct·PropertyMapTraits<const·T*>
 64 ·71·{
 65 72·typedef·T·ValueType;
 66 73·typedef·const·ValueType&·Reference;
 67 74·typedef·std::ptrdiff_t·KeyType;
 68 75·typedef·LvaluePropertyMapTag·Category;
 69 ·76·};
 70 ·77
 71 ·78·template<class·Reference,·class·PropertyMap>
 72 79·struct·RAPropertyMapHelper
 73 ·80·{};
 74 ·81
 75 ·82·template<class·Reference,·class·PropertyMap,·class·Key>
 76 ·83·inline·Reference
 77 84·get(const·RAPropertyMapHelper<Reference,PropertyMap>&·pmap,
 78 ·85·const·Key&·key)
 79 ·86·{
 80 ·87·return·static_cast<const·PropertyMap&>(pmap)[key];
 81 ·88·}
 82 ·89
 83 ·90·template<class·Reference,·class·PropertyMap,·class·Key,·class·Value>
 84 ·91·inline·void
 85 92·put(const·RAPropertyMapHelper<Reference,PropertyMap>&·pmap,
 86 ·93·const·Key&·key,·const·Value&·value)
 87 ·94·{
 88 ·95·static_assert(std::is_convertible<typename·PropertyMap::
 89 Category,WritablePropertyMapTag>::value,
 90 ·96·"WritablePropertyMapTag·required!");
 91 ·97·static_cast<const·PropertyMap&>(pmap)[key]·=·value;
 92 ·98·}
 93 ·99
 94 ·103·template<class·RAI,·class·IM,
 95 ·104·class·T·=·typename·std::iterator_traits<RAI>::value_type,
 96 ·105·class·R·=·typename·std::iterator_traits<RAI>::reference>
 97 106·class·IteratorPropertyMap
 98 ·107·:·public·RAPropertyMapHelper<R,IteratorPropertyMap<RAI,IM,T,R>·>
 99 ·108·{
 100 ·109·public:
 101 113·typedef·RAI·RandomAccessIterator;
 102 ·114
 103 120·typedef·IM·IndexMap;
 104 ·121
 105 125·typedef·typename·IndexMap::KeyType·KeyType;
 106 ·126
 107 130·typedef·T·ValueType;
 108 ·131
 109 135·typedef·R·Reference;
 110 ·136
 111 140·typedef·LvaluePropertyMapTag·Category;
 112 ·141
 113 149·inline·IteratorPropertyMap(RandomAccessIterator·iter,
 114 ·150·const·IndexMap&·im=IndexMap())
 115 ·151·:·iter_(iter),·indexMap_(im)
 116 ·152·{}
 117 ·153
 118 155·inline·IteratorPropertyMap()
 119 ·156·:·iter_(),·indexMap_()
 120 ·157·{}
 121 ·158
 122 160·inline·Reference·operator[](KeyType·key)·const
 123 ·161·{
 124 ·162·return·*(iter_·+·get(indexMap_,·key));
 125 ·163·}
 126 ·164
 127 ·165·private:
 128 ·167·RandomAccessIterator·iter_;
Max diff block lines reached; 5006/10877 bytes (46.02%) of diff not shown.
10.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 63 lines modifiedOffset 70, 55 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#define-members">Macros</a>··</div> 
78 ··<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·back[·...·truncated·by·diffoscope;·len:·27,·SHA:·13e07cbfa517d3aab7cd63882c3d13001a32347412eed990c4fce7f51c208437·...·]77 <a·href="#nested-classes">Classes</a>·&#124;
 78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<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>
79 </div><!--header-->80 </div><!--header-->
80 <div·class="contents">81 <div·class="contents">
  
81 <p>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.··82 <p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.··
82 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 85 <code>#include·&lt;limits&gt;</code><br·/>
 86 <code>#include·&lt;type_traits&gt;</code><br·/>
 87 <code>#include·&quot;<a·class="el"·href="a00065_source.html">genericiterator.hh</a>&quot;</code><br·/>
 88 <code>#include·&quot;<a·class="el"·href="a00179_source.html">ftraits.hh</a>&quot;</code><br·/>
 89 <code>#include·&quot;<a·class="el"·href="a00248_source.html">matvectraits.hh</a>&quot;</code><br·/>
 90 <code>#include·&quot;<a·class="el"·href="a00257_source.html">promotiontraits.hh</a>&quot;</code><br·/>
 91 <code>#include·&quot;<a·class="el"·href="a00128_source.html">dotproduct.hh</a>&quot;</code><br·/>
 92 <code>#include·&quot;<a·class="el"·href="a00080_source.html">boundschecking.hh</a>&quot;</code><br·/>
 93 </div>
83 <p><a·href="a00239_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00239_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">95 <table·class="memberdecls">
 96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 97 Classes</h2></td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01440.html">Dune::DenseIterator&lt;·C,·T,·R·&gt;</a></td></tr>
 101 <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>
 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="a01424.html">Dune::DenseVector&lt;·V·&gt;</a></td></tr>
 104 <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>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Macros</h2></td></tr>108 Namespaces</h2></td></tr>
87 <tr·class="memitem:afd8117b5ac0497a09e3bdecafbf518a6"·id="r_afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE[·...·truncated·by·diffoscope;·len:·44,·SHA:·a836e99573a05ccf5108a43d2e8438fb3ac18947d5cdce026de571c680412275·...·]</td></tr>109 <tr·class="memitem:a00425"·id="r_a00425"><td·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>
88 <tr·class="separator:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a97b632609f7c06170ec5e2be5729c4f0"·id="r_a97b632609f7c06170ec5e2be5729c4f0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00239.html#a97b632609f7c06170ec5e2be5729c4f0">DUNE[·...·truncated·by·diffoscope;·len:·53,·SHA:·06cbece07494e5d1d2c0333f061c319901543e71e3db488e18057f53572240db·...·]</td></tr>112 <tr·class="memitem:a00432"·id="r_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>
90 <tr·class="separator:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>114 </table>
92 <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"><p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·</p>
93 <div·class="textblock"><p>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·</p> 
94 <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> 
95 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
96 <a·id="a97b632609f7c06170ec5e2be5729c4f0"·name="a97b632609f7c06170ec5e2be5729c4f0"></a> 
97 <h2·class="memtitle"><span·class="permalink"><a·href="#a97b632609f7c06170ec5e2be5729c4f0">&#9670;&#160;</a></span>DUNE_GENERALIZED_CONSTEXPR</h2> 
  
98 <div·class="memitem"> 
99 <div·class="memproto"> 
100 ······<table·class="memname"> 
101 ········<tr> 
102 ··········<td·class="memname">#define·DUNE_GENERALIZED_CONSTEXPR&#160;&#160;&#160;constexpr</td> 
103 ········</tr> 
104 ······</table> 
105 </div><div·class="memdoc"> 
  
106 </div> 
107 </div> 
108 <a·id="afd8117b5ac0497a09e3bdecafbf518a6"·name="afd8117b5ac0497a09e3bdecafbf518a6"></a> 
109 <h2·class="memtitle"><span·class="permalink"><a·href="#afd8117b5ac0497a09e3bdecafbf518a6">&#9670;&#160;</a></span>DUNE_INLINE_VARIABLE</h2> 
  
110 <div·class="memitem"> 
111 <div·class="memproto"> 
112 ······<table·class="memname"> 
113 ········<tr> 
114 ··········<td·class="memname">#define·DUNE_INLINE_VARIABLE&#160;&#160;&#160;inline</td> 
115 ········</tr> 
116 ······</table> 
117 </div><div·class="memdoc"> 
  
118 </div> 
119 </div> 
120 </div><!--·contents·-->117 </div></div><!--·contents·-->
121 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>119 <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.8120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
124 </small></address>121 </small></address>
125 </body>122 </body>
126 </html>123 </html>
1.91 KB
html2text {}
    
Offset 6, 31 lines modifiedOffset 6, 43 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros12 Classes·|·Namespaces
13 keywords.hh·File·Reference13 densevector.hh·File·Reference
14 Common·»·Utilities·»·C++_utilities_and_backports 
15 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.
16 More...16 More...
 17 #include·<algorithm>
 18 #include·<limits>
 19 #include·<type_traits>
 20 #include·"genericiterator.hh"
 21 #include·"ftraits.hh"
 22 #include·"matvectraits.hh"
 23 #include·"promotiontraits.hh"
 24 #include·"dotproduct.hh"
 25 #include·"boundschecking.hh"
17 Go_to_the_source_code_of_this_file.26 Go_to_the_source_code_of_this_file.
18 ·Macros 
19 #define DUNE_INLINE_VARIABLE   inline27 ·Classes
 28 struct· Dune::FieldTraits<_DenseVector<_V_>_>
20  29  
21 #define DUNE_GENERALIZED_CONSTEXPR   constexpr30 ·class· Dune::DenseIterator<_C,_T,_R_>
 31  ·······Generic·iterator·class·for·dense·vector·and·matrix·implementations.
 32 ·········More...
 33  
 34 ·class· Dune::DenseVector<_V_>
 35  ·······Interface·for·a·class·of·dense·vectors·over·a·given·field.·More...
 36  
 37 ·Namespaces
 38 namespace· Dune
 39  ··········Dune·namespace.
 40  
 41 namespace· Dune::fvmeta
22  42  
23 *****·Detailed·Description·*****43 *****·Detailed·Description·*****
 44 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.
24 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available. 
25 This·header·contains·several·macros·that·enable·C++·features·depending·on·your 
26 compiler.·Most·of·these·features·are·optional·and·provide·additional 
27 functionality·like·making·code·constexpr. 
28 *****·Macro·Definition·Documentation·***** 
29 *****·◆ DUNE_GENERALIZED_CONSTEXPR·***** 
30 #define·DUNE_GENERALIZED_CONSTEXPR   constexpr 
31 *****·◆ DUNE_INLINE_VARIABLE·***** 
32 #define·DUNE_INLINE_VARIABLE   inline 
  
33 ===============================================================================45 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.846 ·····Generated·by [doxygen]·1.9.8
178 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 39 lines modifiedOffset 74, 830 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">keywords.hh</div></div>80 ··<div·class="headertitle"><div·class="title">densevector.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (813 lines added, 22 lines removed)
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00239.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
84 <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>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_KEYWORDS_HH</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_KEYWORDS_HH</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEVECTOR_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEVECTOR_HH</span></div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">···19</a></span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE·inline</span></div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#else</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
92 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
93 <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="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
94 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00065.html">genericiterator.hh</a>&quot;</span></div>
95 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00179.html">ftraits.hh</a>&quot;</span></div>
96 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·__cpp_constexpr·&gt;=·201304</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00248.html">matvectraits.hh</a>&quot;</span></div>
97 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00239.html#a97b632609f7c06170ec5e2be5729c4f0">···30</a></span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR·constexpr</span></div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00257.html">promotiontraits.hh</a>&quot;</span></div>
98 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#else</span></div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00128.html">dotproduct.hh</a>&quot;</span></div>
99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>99 <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>
100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR</span></div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif</span></div>101 <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>
102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="comment">//·forward·declaration·of·template</span></div>
104 <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>104 <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>
 105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 106 <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>
 107 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};">
 108 <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>
 109 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>
 113 </div>
 114 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 115 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}">
 116 <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>
 117 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
 118 <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>
 119 <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>
 120 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{</div>
 121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">using·</span>std::abs;</div>
 122 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">return</span>·abs(k);</div>
 123 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}</div>
 124 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 128 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">using·</span>std::abs;</div>
 129 <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>
 130 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
 131 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</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>·K&gt;</div>
 133 <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>
 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="keywordflow">return</span>·k*k;</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>·</div>
 138 <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>
 139 <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>
 140 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div>
 141 <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>
 142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div>
 143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 144 <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>
 145 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">struct·</span>Sqrt</div>
 146 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····{</div>
 147 <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>
 148 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······{</div>
 149 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keyword">using·</span>std::sqrt;</div>
 150 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="keywordflow">return</span>·sqrt(k);</div>
 151 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······}</div>
 152 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····};</div>
 153 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 154 <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>
 155 <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>
 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"><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>
 158 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······{</div>
 159 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········<span·class="keyword">using·</span>std::sqrt;</div>
 160 <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>
 161 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······}</div>
 162 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····};</div>
 163 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 164 <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>
 165 <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>
 166 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····{</div>
 167 <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>
 168 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div>
 169 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 170 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div>
 171 </div>
 172 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 173 <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>
 174 <div·class="foldopen"·id="foldopen00129"·data-start="{"·data-end="};">
 175 <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>
 176 <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>
 177 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··{</div>
 178 <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>
 179 <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>
 180 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 181 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····typedef·<a·class="code·hl_class"·href="a01440.html">DenseIterator</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·&gt;·<a·class="code·hl_class"·href="a01440.html">MutableIterator</a>;</div>
 182 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····typedef·<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;·<a·class="code·hl_class"·href="a01440.html">ConstIterator</a>;</div>
Max diff block lines reached; 271/153892 bytes (0.18%) of diff not shown.
28.1 KB
html2text {}
    
Offset 7, 35 lines modifiedOffset 7, 947 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 keywords.hh12 densevector.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
Diff chunk too large, falling back to line-by-line diff (931 lines added, 21 lines removed)
15 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
17 ·3#ifndef·DUNE_COMMON_KEYWORDS_HH19 ·5#ifndef·DUNE_DENSEVECTOR_HH
18 ·4#define·DUNE_COMMON_KEYWORDS_HH20 ·6#define·DUNE_DENSEVECTOR_HH
19 ·521 ·7
20 ·18#if·__cpp_inline_variables·>=·20160622 ·8#include·<algorithm>
21 19#define·DUNE_INLINE_VARIABLE·inline23 ·9#include·<limits>
22 ·20#else24 ·10#include·<type_traits>
23 ·2225 ·11
24 ·25#define·DUNE_INLINE_VARIABLE26 ·12#include·"genericiterator.hh"
25 ·26#endif27 ·13#include·"ftraits.hh"
26 ·2728 ·14#include·"matvectraits.hh"
27 ·2829 ·15#include·"promotiontraits.hh"
28 ·29#if·__cpp_constexpr·>=·20130430 ·16#include·"dotproduct.hh"
29 30#define·DUNE_GENERALIZED_CONSTEXPR·constexpr31 ·17#include·"boundschecking.hh"
30 ·31#else32 ·18
31 ·3333 ·19namespace·Dune·{
32 ·36#define·DUNE_GENERALIZED_CONSTEXPR34 ·20
33 ·37#endif35 ·21·//·forward·declaration·of·template
34 ·3836 ·22·template<typename·V>·class·DenseVector;
35 ·3937 ·23
36 ·40#endif·//·DUNE_COMMON_KEYWORDS_HH38 ·24·template<typename·V>
 39 25·struct·FieldTraits<·DenseVector<V>·>
 40 ·26·{
 41 27·typedef·typename·FieldTraits<_typename_DenseMatVecTraits<V>::value_type·>::
 42 field_type·field_type;
 43 28·typedef·typename·FieldTraits<_typename_DenseMatVecTraits<V>::value_type·>::
 44 real_type·real_type;
 45 ·29·};
 46 ·30
 47 40·namespace·fvmeta
 48 ·41·{
 49 ·46·template<class·K>
 50 ·47·inline·typename·FieldTraits<K>::real_type·absreal·(const·K&·k)
 51 ·48·{
 52 ·49·using·std::abs;
 53 ·50·return·abs(k);
 54 ·51·}
 55 ·52
 56 ·57·template<class·K>
 57 ·58·inline·typename·FieldTraits<K>::real_type·absreal·(const·std::complex<K>&
 58 c)
 59 ·59·{
 60 ·60·using·std::abs;
 61 ·61·return·abs(c.real())·+·abs(c.imag());
 62 ·62·}
 63 ·63
 64 ·68·template<class·K>
 65 ·69·inline·typename·FieldTraits<K>::real_type·abs2·(const·K&·k)
 66 ·70·{
 67 ·71·return·k*k;
 68 ·72·}
 69 ·73
 70 ·78·template<class·K>
 71 ·79·inline·typename·FieldTraits<K>::real_type·abs2·(const·std::complex<K>&·c)
 72 ·80·{
 73 ·81·return·c.real()*c.real()·+·c.imag()*c.imag();
 74 ·82·}
 75 ·83
 76 ·88·template<class·K,·bool·isInteger·=·std::numeric_limits<K>::is_integer>
 77 ·89·struct·Sqrt
 78 ·90·{
 79 ·91·static·inline·typename·FieldTraits<K>::real_type·sqrt·(const·K&·k)
 80 ·92·{
 81 ·93·using·std::sqrt;
 82 ·94·return·sqrt(k);
 83 ·95·}
 84 ·96·};
 85 ·97
 86 ·102·template<class·K>
 87 ·103·struct·Sqrt<K,·true>
 88 ·104·{
 89 105·static·inline·typename·FieldTraits<K>::real_type·sqrt·(const·K&·k)
 90 ·106·{
 91 ·107·using·std::sqrt;
 92 ·108·return·typename·FieldTraits<K>::real_type(sqrt(double(k)));
 93 ·109·}
 94 ·110·};
 95 ·111
 96 ·116·template<class·K>
 97 ·117·inline·typename·FieldTraits<K>::real_type·sqrt·(const·K&·k)
 98 ·118·{
 99 ·119·return·Sqrt<K>::sqrt(k);
 100 ·120·}
 101 ·121
 102 ·122·}
 103 ·123
 104 ·128·template<class·C,·class·T,·class·R·=T&>
 105 129·class·DenseIterator·:
 106 ·130·public·Dune::RandomAccessIteratorFacade<DenseIterator<C,T,R>,T,·R,·std::
 107 ptrdiff_t>
 108 ·131·{
 109 ·132·friend·class·DenseIterator<typename·std::remove_const<C>::type,·typename
 110 std::remove_const<T>::type,·typename·mutable_reference<R>::type·>;
 111 ·133·friend·class·DenseIterator<const·typename·std::remove_const<C>::type,
 112 const·typename·std::remove_const<T>::type,·typename·const_reference<R>::type·>;
 113 ·134
 114 ·135·typedef·DenseIterator<typename·std::remove_const<C>::type,·typename·std::
 115 remove_const<T>::type,·typename·mutable_reference<R>::type·>·MutableIterator;
 116 ·136·typedef·DenseIterator<const·typename·std::remove_const<C>::type,·const
 117 typename·std::remove_const<T>::type,·typename·const_reference<R>::type·>
 118 ConstIterator;
 119 ·137·public:
 120 ·138
 121 142·typedef·std::ptrdiff_t·DifferenceType;
 122 ·143
 123 147·typedef·typename·C::size_type·SizeType;
 124 ·148
 125 ·149·//·Constructors·needed·by·the·base·iterators.
 126 150·DenseIterator()
 127 ·151·:·container_(0),·position_()
 128 ·152·{}
 129 ·153
 130 154·DenseIterator(C&·cont,·SizeType·pos)
Max diff block lines reached; 116/28740 bytes (0.40%) of diff not shown.
6.77 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 34 lines modifiedOffset 72, 44 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
79 ··<div·class="headertitle"><div·class="title">stdthread.cc·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
 82 <p>utility·functions·to·compute·eigenvalues·for·dense·matrices.··
 83 <a·href="#details">More...</a></p>
82 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
83 <code>#include·&lt;iostream&gt;</code><br·/> 
84 <code>#include·&lt;mutex&gt;</code><br·/>85 <code>#include·&lt;memory&gt;</code><br·/>
85 <code>#include·&lt;ostream&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/stdthread.hh</a>&gt;</code><br·/>86 <code>#include·&quot;<a·class="el"·href="a00383_source.html">dynmatrix.hh</a>&quot;</code><br·/>
 87 <code>#include·&quot;<a·class="el"·href="a00287_source.html">fmatrixev.hh</a>&quot;</code><br·/>
 88 </div>
 89 <p><a·href="a00242_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 </div><table·class="memberdecls">90 <table·class="memberdecls">
88 <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>
89 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
90 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
92 <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:a00433"·id="r_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>
 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="func-members"·name="func-members"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
95 Functions</h2></td></tr>100 Functions</h2></td></tr>
96 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"·id="r_aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::d[·...·truncated·by·diffoscope;·len:·70,·SHA:·d7f00c60158da85a91e6dcd59243d2b7375634c48d12fa932e531b59773ae547·...·]</td></tr>101 <tr·class="memitem:a3a886253fd1bce66e013df6cf7548749"·id="r_a3a886253fd1bce66e013df6cf7548749"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·class·C·&gt;·</td></tr>
 102 <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·<a·class="el"·href="a01500.html">DynamicMatrix</a>&lt;·K·&gt;·&amp;matrix,·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·C·&gt;·&amp;eigenValues,·std::vector&lt;·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·K·&gt;·&gt;·*eigenVectors=nullptr)</td></tr>
 103 <tr·class="memdesc:a3a886253fd1bce66e013df6cf7548749"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<br·/></td></tr>
97 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a3a886253fd1bce66e013df6cf7548749"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>105 </table>
 106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 107 <div·class="textblock"><p>utility·functions·to·compute·eigenvalues·for·dense·matrices.·</p>
99 </div><!--·contents·-->108 </div></div><!--·contents·-->
100 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>110 <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.8111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
103 </small></address>112 </small></address>
104 </body>113 </body>
105 </html>114 </html>
1.2 KB
html2text {}
    
Offset 7, 23 lines modifiedOffset 7, 32 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions12 Namespaces·|·Functions
13 stdthread.cc·File·Reference 
14 #include·<cstdlib> 
15 #include·<iostream>13 dynmatrixev.hh·File·Reference
 14 utility·functions·to·compute·eigenvalues·for·dense·matrices.·More...
 15 #include·<algorithm>
16 #include·<mutex>16 #include·<memory>
17 #include·<ostream> 
18 #include·<dune/common/stdthread.hh>17 #include·"dynmatrix.hh"
 18 #include·"fmatrixev.hh"
 19 Go_to_the_source_code_of_this_file.
19 ·Namespaces20 ·Namespaces
20 namespace· Dune21 namespace· Dune
21  ··········Dune·namespace.22  ··········Dune·namespace.
22  23  
 24 namespace· Dune::DynamicMatrixHelp
 25  
23 ·Functions26 ·Functions
24 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)27 template<typename·K·,·class·C·>
 28 static·void Dune::DynamicMatrixHelp::eigenValuesNonSym·(const·DynamicMatrix<·K
 29 ·············>·&matrix,·DynamicVector<·C·>·&eigenValues,·std::vector<
 30 ·············DynamicVector<·K·>·>·*eigenVectors=nullptr)
 31  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix
25  32  
 33 *****·Detailed·Description·*****
 34 utility·functions·to·compute·eigenvalues·for·dense·matrices.
  
26 ===============================================================================35 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.836 ·····Generated·by [doxygen]·1.9.8
11.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00245.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 76 lines modifiedOffset 71, 49 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh·File·Reference</div></div>
79 <a·href="#define-members">Macros</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div> 
81 ··<div·class="headertitle"><div·class="title">function.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div> 
82 </div><!--header-->80 </div><!--header-->
83 <div·class="contents">81 <div·class="contents">
  
84 <p>Simple·base·class·templates·for·functions.··82 <p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.··
85 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;istream&gt;</code><br·/>
 85 <code>#include·&lt;string&gt;</code><br·/>
 86 <code>#include·&lt;vector&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00044_source.html">dune/common/deprecated.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
88 <code>#include·&quot;<a·class="el"·href="a00218_source.html">typetraits.hh</a>&quot;</code><br·/> 
89 </div>89 </div>
90 <p><a·href="a00245_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00245_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <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>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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01760.html">Dune::Function&lt;·Domain,·Range·&gt;</a></td></tr>94 <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>
95 <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>95 <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>
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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html">Dune::Function&lt;·Domain,·Range·&gt;::Traits</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02384.html">Dune::HelpRequest</a></td></tr>
98 <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>98 <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>
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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01768.html">Dune::VirtualFunction&lt;·DomainType,·RangeType·&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="a02388.html">Dune::ParameterTreeParser</a></td></tr>
101 <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>101 <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>
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 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>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="define-members"·name="define-members"></a> 
111 Macros</h2></td></tr> 
112 <tr·class="memitem:aeca4539848c4c95eebbb2389446432c0"·id="r_aeca4539848c4c95eebbb2389446432c0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00245.html#aeca4539848c4c95eebbb2389446432c0">DUNE_FUNCTION_HH</a></td></tr> 
113 <tr·class="separator:aeca4539848c4c95eebbb2389446432c0"><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="func-members"·name="func-members"></a> 
116 Functions</h2></td></tr> 
117 <tr·class="memitem:gab09a4489130d8c57186ca1f50efd8287"·id="r_gab09a4489130d8c57186ca1f50efd8287"><td·class="memTemplParams"·colspan="2">template&lt;typename·Domain·,·typename·Range·,·typename·F·&gt;·</td></tr> 
118 <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> 
119 <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··<br·/></td></tr> 
120 <tr·class="separator:gab09a4489130d8c57186ca1f50efd8287"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 </table>109 </table>
122 <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>Various·parser·methods·to·get·data·into·a·ParameterTree·object.·</p>
123 <div·class="textblock"><p>Simple·base·class·templates·for·functions.·</p> 
124 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
125 <a·id="aeca4539848c4c95eebbb2389446432c0"·name="aeca4539848c4c95eebbb2389446432c0"></a> 
126 <h2·class="memtitle"><span·class="permalink"><a·href="#aeca4539848c4c95eebbb2389446432c0">&#9670;&#160;</a></span>DUNE_FUNCTION_HH</h2> 
  
127 <div·class="memitem"> 
128 <div·class="memproto"> 
129 ······<table·class="memname"> 
130 ········<tr> 
131 ··········<td·class="memname">#define·DUNE_FUNCTION_HH</td> 
132 ········</tr> 
133 ······</table> 
134 </div><div·class="memdoc"> 
  
135 </div> 
136 </div> 
137 </div><!--·contents·-->112 </div></div><!--·contents·-->
138 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
139 <hr·class="footer"/><address·class="footer"><small>114 <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.8115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
141 </small></address>116 </small></address>
142 </body>117 </body>
143 </html>118 </html>
2.02 KB
html2text {}
    
Offset 6, 47 lines modifiedOffset 6, 35 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Macros·|·Functions 
13 function.hh·File·Reference 
14 Common 
15 Simple·base·class·templates·for·functions.·More... 
16 #include·<utility>12 Classes·|·Namespaces
 13 parametertreeparser.hh·File·Reference
 14 Various·parser·methods·to·get·data·into·a·ParameterTree·object.·More...
 15 #include·<istream>
 16 #include·<string>
 17 #include·<vector>
 18 #include·<dune/common/parametertree.hh>
17 #include·<dune/common/deprecated.hh>19 #include·<dune/common/exceptions.hh>
18 #include·"typetraits.hh" 
19 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
20 ·Classes21 ·Classes
21 ·class· Dune::Function<_Domain,_Range_> 
22  ·······Base·class·template·for·function·classes.·More...22 class· Dune::ParameterTreeParserError
 23  ······report·parser·error·while·reading·ParameterTree·More...
23  24  
24 struct· Dune::Function<_Domain,_Range_>::Traits 
25  ·······Traits·class·containing·raw·types.·More...25 class· Dune::HelpRequest
 26  ······exception·thrown·if·the·user·wants·to·see·help·string·More...
26  27  
27 ·class· Dune::VirtualFunction<_DomainType,_RangeType_> 
28  ·······Virtual·base·class·template·for·function·classes.·More...28 class· Dune::ParameterTreeParser
 29  ······Parsers·to·set·up·a·ParameterTree·from·various·input·sources.·More...
29  30  
30 ·Namespaces31 ·Namespaces
31 namespace· Dune32 namespace· Dune
32  ··········Dune·namespace.33  ··········Dune·namespace.
33  34  
34 ·Macros 
35 #define DUNE_FUNCTION_HH 
36   
37 ·Functions 
38 template<typename·Domain·,·typename·Range·,·typename·F·> 
39 Impl::LambdaVirtualFunction<·Domain, 
40 ·········Range,·std::decay_t<·F·>·> Dune::makeVirtualFunction·(F·&&f) 
41  ···································make·VirtualFunction·out·of·a·function 
42 ·····································object 
43   
44 *****·Detailed·Description·*****35 *****·Detailed·Description·*****
 36 Various·parser·methods·to·get·data·into·a·ParameterTree·object.
45 Simple·base·class·templates·for·functions. 
46 *****·Macro·Definition·Documentation·***** 
47 *****·◆ DUNE_FUNCTION_HH·***** 
48 #define·DUNE_FUNCTION_HH 
  
49 ===============================================================================37 ===============================================================================
50 ·····Generated·by [doxygen]·1.9.838 ·····Generated·by [doxygen]·1.9.8
45.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00245_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 143 lines modifiedOffset 74, 92 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">function.hh</div></div>80 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00245.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00245.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETER_PARSER_HH</span></div>
88 <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> 
89 <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> 
90 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETER_PARSER_HH</span></div>
91 <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> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·DUNE_FUNCTION_HH</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00245.html#aeca4539848c4c95eebbb2389446432c0">···12</a></span><span·class="preprocessor">#define·DUNE_FUNCTION_HH</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00044.html">dune/common/deprecated.hh</a>&gt;</span></div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00266.html">dune/common/parametertree.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00218.html">typetraits.hh</a>&quot;</span></div>95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
101 <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>97 <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>
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
103 <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>99 <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:·a72017851b0600ed32f141115d8c827144167e6942fb7f88f43dcb4f1c6ce2f7·...·];</div>
 100 <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>
 101 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
104 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">102 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
105 <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> 
106 <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> 
107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············<span·class="stringliteral">&quot;function·objects·instead!&quot;</span>)]]</div>103 <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>
 104 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
 105 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 106 <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>
 107 <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>
 108 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
108 <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>109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">public</span>:</div>
109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div> 
114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
115 <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> 
116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
117 <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> 
118 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>111 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 112 <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>
 113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····························<span·class="keywordtype">bool</span>·overwrite);</div>
119 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="};"> 
120 <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> 
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"><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> 
123 <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> 
124 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····};</div>114 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 115 <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>
 116 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 117 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 118 <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>
 119 <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>
 120 <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>
 121 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 122 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 123 <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>
 124 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 125 <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>
 126 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>
 127 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 128 <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>
 129 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div>
 130 <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>
 131 <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>
 132 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>······std::vector&lt;std::string&gt;·keywords,</div>
 133 <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·=·std::numeric_limits&lt;unsigned·int&gt;::max(),</div>
 134 <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>
 135 <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>
 136 <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>
 137 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>·</div>
 138 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>··<span·class="keyword">private</span>:</div>
 139 <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>
 140 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>··};</div>
125 </div>141 </div>
126 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
127 <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> 
128 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··};·<span·class="comment">//·end·of·Function·class</span></div> 
129 </div> 
130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>142 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>·</div>
131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</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>··<a·class="code·hl_define"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a></div> 
134 <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> 
135 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="};"> 
136 <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> 
137 <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> 
138 <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> 
139 <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> 
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">···88</span>··<span·class="keyword">public</span>:</div>143 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
142 <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_struct"·href="a01764.html">Function&lt;const·DomainType&amp;,·RangeType&amp;&gt;::Traits</a>·<a·class="code·hl_typedef"·href="a01768.html#a0c59491db875413888b419291ec50b16">Traits</a>;</div> 
143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>144 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>
144 <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> 
145 <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> 
146 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··};·<span·class="comment">//·end·of·VirtualFunction·class</span></div> 
147 </div> 
Max diff block lines reached; 6888/38097 bytes (18.08%) of diff not shown.
8.39 KB
html2text {}
    
Offset 7, 176 lines modifiedOffset 7, 118 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 function.hh12 parametertreeparser.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_PARAMETER_PARSER_HH
 20 ·6#define·DUNE_PARAMETER_PARSER_HH
 21 ·7
 22 ·12#include·<istream>
 23 ·13#include·<string>
 24 ·14#include·<vector>
19 ·5#ifndef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
20 ·6#warning·This·file·is·deprecated·after·Dune·2.7!·Use·C++·function·objects·and 
21 std::function·stuff·instead! 
22 ·7#else·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
23 ·8#undef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
24 ·9#endif·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
25 ·10 
26 ·11#ifndef·DUNE_FUNCTION_HH 
27 12#define·DUNE_FUNCTION_HH 
28 ·13 
29 ·14#include·<utility> 
30 ·1525 ·15
31 ·16#include·<dune/common/deprecated.hh>26 ·16#include·<dune/common/parametertree.hh>
32 ·17#include·"typetraits.hh"27 ·17#include·<dune/common/exceptions.hh>
33 ·1828 ·18
34 ·19namespace·Dune·{29 ·19namespace·Dune·{
35 ·2030 ·20
 31 22·class·ParameterTreeParserError·:·public·RangeError·{};
 32 28·class·HelpRequest·:·public·Exception·{};
 33 ·29
 34 34·class·ParameterTreeParser
 35 ·35·{
 36 ·36
 37 ·37·static·std::string·ltrim(const·std::string&·s);
 38 ·38·static·std::string·rtrim(const·std::string&·s);
 39 ·39
36 ·36·template·<class·Domain,·class·Range> 
37 37·class 
38 ·38·[[deprecated("Dune::Function·is·deprecated·after·Dune·2.7.·Use·C++·" 
39 ·39·"function·objects·instead!")]] 
40 ·40·Function 
41 ·41·{ 
42 ·42·typedef·typename·std::remove_cv<typename·std::remove_reference<·Domain·>:: 
43 type·>::type·RawDomainType; 
44 ·43·typedef·typename·std::remove_cv<typename·std::remove_reference<·Range·>:: 
45 type·>::type·RawRangeType; 
46 ·44 
47 ·45·public:40 ·40·public:
 41 ·41
 42 ·85
 43 ·96·static·void·readINITree(std::istream&·in,·ParameterTree&·pt,
 44 ·97·bool·overwrite);
 45 ·98
 46 ·105·static·Dune::ParameterTree·readINITree(std::istream&·in);
 47 ·106
 48 ·107
 49 ·120·static·void·readINITree(std::istream&·in,·ParameterTree&·pt,
 50 ·121·const·std::string·srcname·=·"stream",
 51 ·122·bool·overwrite·=·true);
 52 ·123
 53 ·124
 54 ·135·static·void·readINITree(std::string·file,·ParameterTree&·pt,·bool
 55 overwrite·=·true);
 56 ·136
 57 ·143·static·Dune::ParameterTree·readINITree(const·std::string&·file);
 58 ·144
48 ·4659 ·146
 60 ·158·static·void·readOptions(int·argc,·char*·argv·[],·ParameterTree&·pt);
49 48·typedef·RawRangeType·RangeType; 
50 ·49 
51 51·typedef·RawDomainType·DomainType; 
52 ·52 
53 54·struct·Traits 
54 ·55·{ 
55 56·typedef·RawDomainType·DomainType; 
56 57·typedef·RawRangeType·RangeType; 
57 ·58·}; 
58 ·5961 ·159
59 66·void·evaluate(const·typename·Traits::DomainType&·x,·typename·Traits:: 
60 RangeType&·y)·const; 
61 ·67·};·//·end·of·Function·class 
62 ·68 
63 ·69 
64 ·70 
65 ·71·DUNE_NO_DEPRECATED_BEGIN 
66 ·82·template·<class·DomainType,·class·RangeType> 
67 83·class 
68 ·84·[[deprecated("Dune::VirtualFunction·is·deprecated·after·Dune·2.7.·Use·C++·" 
69 ·85·"function·objects·and·std::function·instead!")]] 
70 ·86·VirtualFunction·:·public·Function<const_DomainType&,_RangeType&> 
71 ·87·{ 
72 ·88·public: 
73 89·typedef·typename·Function<const_DomainType&,_RangeType&>::Traits·Traits;62 ·177·static·void·readNamedOptions(int·argc,·char*·argv[],
 63 ·178·ParameterTree&·pt,
 64 ·179·std::vector<std::string>·keywords,
 65 ·180·unsigned·int·required·=·std::numeric_limits<unsigned·int>::max(),
 66 ·181·bool·allow_more·=·true,
 67 ·182·bool·overwrite·=·true,
 68 ·183·std::vector<std::string>·help·=·std::vector<std::string>());
 69 ·184
 70 ·185·private:
 71 ·186·static·std::string·generateHelpString(std::string·progname,·std::
 72 vector<std::string>·keywords,·unsigned·int·required,·std::vector<std::string>
 73 help);
 74 ·187·};
 75 ·188
 76 ·189}·//·end·namespace·Dune
74 ·9077 ·190
 78 ·191#endif·//·DUNE_PARAMETER_PARSER_HH
 79 exceptions.hh
 80 A·few·common·exception·classes.
 81 parametertree.hh
 82 A·hierarchical·structure·of·string·parameters.
75 91·virtual·~VirtualFunction()·{} 
76 98·virtual·void·evaluate(const·typename·Traits::DomainType&·x,·typename 
77 Traits::RangeType&·y)·const·=·0; 
78 ·99·};·//·end·of·VirtualFunction·class 
Max diff block lines reached; 2897/8566 bytes (33.82%) of diff not shown.
4.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 19 lines modifiedOffset 69, 39 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>··</div>
75 ··<div·class="headertitle"><div·class="title">quadmath.hh·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">matvectraits.hh·File·Reference</div></div>
76 </div><!--header-->79 </div><!--header-->
77 <div·class="contents">80 <div·class="contents">
  
 81 <p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.··
 82 <a·href="#details">More...</a></p>
  
78 <p><a·href="a00248_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00248_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="a01968.html">Dune::DenseMatVecTraits&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>
 91 Namespaces</h2></td></tr>
 92 <tr·class="memitem:a00425"·id="r_a00425"><td·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>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 </table>
 96 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 97 <div·class="textblock"><p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.·</p>
79 </div><!--·contents·-->98 </div></div><!--·contents·-->
80 <!--·start·footer·part·-->99 <!--·start·footer·part·-->
81 <hr·class="footer"/><address·class="footer"><small>100 <hr·class="footer"/><address·class="footer"><small>
82 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
83 </small></address>102 </small></address>
84 </body>103 </body>
85 </html>104 </html>
740 B
html2text {}
    
Offset 6, 12 lines modifiedOffset 6, 25 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Classes·|·Namespaces
12 quadmath.hh·File·Reference13 matvectraits.hh·File·Reference
 14 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation
 15 of·DenseVector·or·DenseMatrix.·More...
13 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
 17 ·Classes
 18 struct· Dune::DenseMatVecTraits<_T_>
 19  
 20 ·Namespaces
 21 namespace· Dune
 22  ··········Dune·namespace.
 23  
 24 *****·Detailed·Description·*****
 25 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation
 26 of·DenseVector·or·DenseMatrix.
  
14 ===============================================================================27 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.828 ·····Generated·by [doxygen]·1.9.8
105 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·matvectraits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 74, 490 lines modifiedOffset 74, 37 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">quadmath.hh</div></div>80 ··<div·class="headertitle"><div·class="title">matvectraits.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_QUADMATH_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATVECTRAITS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_QUADMATH_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATVECTRAITS_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <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>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_QUADMATH</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;quadmath.h&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
96 <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> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
104 <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>
105 <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> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">namespace·</span>Impl</div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>94 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·forward·declaration</span></div> 
110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">class·</span>Float128;</div>95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01968.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>·{};</div>
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·end·namespace·Impl</span></div>98 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
114 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">using·</span>Impl::Float128;</div> 
115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl</div> 
119 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> 
120 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">using·</span>float128_t·=·__float128;</div> 
121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
122 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>Float128</div> 
123 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····{</div> 
124 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······float128_t·value_·=·0.0q;</div> 
125 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
126 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········:·value_(value)</div> 
130 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······{}</div> 
131 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
132 <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> 
133 <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> 
134 <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> 
135 <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> 
136 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········:·value_(value)</div> 
137 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······{}</div> 
138 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
139 <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> 
140 <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> 
141 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········:·value_(strtoflt128(str,·NULL))</div> 
142 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······{}</div> 
143 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
144 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="comment">//·accessors</span></div> 
145 <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> 
146 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
147 <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> 
148 <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> 
149 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
150 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="comment">//·I/O</span></div> 
151 <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> 
152 <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> 
153 <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> 
154 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······{</div> 
155 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········std::string·buf;</div> 
156 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········buf.reserve(128);</div> 
157 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········in·&gt;&gt;·buf;</div> 
158 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········x.value()·=·strtoflt128(buf.c_str(),·NULL);</div> 
159 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·in;</div> 
160 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······}</div> 
161 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
162 <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> 
163 <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> 
164 <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> 
165 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······{</div> 
166 <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> 
167 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········CharT·buf[128];</div> 
168 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
169 <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> 
170 <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> 
171 <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> 
172 <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> 
173 <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> 
174 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········}</div> 
175 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········out·&lt;&lt;·buf;</div> 
176 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·out;</div> 
177 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div> 
178 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
179 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="comment">//·Increment,·decrement</span></div> 
180 <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> 
181 <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; 2135/88707 bytes (2.41%) of diff not shown.
17.8 KB
html2text {}
    
Offset 7, 534 lines modifiedOffset 7, 36 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 quadmath.hh12 matvectraits.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_QUADMATH_HH19 ·5#ifndef·DUNE_MATVECTRAITS_HH
20 ·6#define·DUNE_QUADMATH_HH20 ·6#define·DUNE_MATVECTRAITS_HH
21 ·721 ·7
 22 ·12namespace·Dune·{
 23 ·13
22 ·8#if·HAVE_QUADMATH 
23 ·9#include·<quadmath.h> 
24 ·10 
25 ·11#include·<cmath> 
26 ·12#include·<cstddef> 
27 ·13#include·<cstdint> 
28 ·14#include·<cstdlib>·//·abs 
29 ·15#include·<istream> 
30 ·16#include·<ostream> 
31 ·17#include·<type_traits> 
32 ·18#include·<utility> 
33 ·19 
34 ·20#include·<dune/common/exceptions.hh> 
35 ·21#include·<dune/common/typetraits.hh> 
36 ·2224 ·22
37 ·23namespace·Dune 
38 ·24{25 ·24
39 ·25·namespace·Impl 
40 ·26·{ 
41 ·27·//·forward·declaration 
42 ·28·class·Float128; 
43 ·29 
44 ·30·}·//·end·namespace·Impl 
45 ·31 
46 ·32·using·Impl::Float128; 
47 ·33 
48 ·34·//·The·purpose·of·this·namespace·is·to·move·the·`<cmath>`·function 
49 overloads 
50 ·35·//·out·of·namespace·`Dune`,·see·AlignedNumber·in·debugalign.hh. 
51 ·36·namespace·Impl 
52 ·37·{ 
53 ·38·using·float128_t·=·__float128; 
54 ·39 
55 ·41·class·Float128 
56 ·42·{ 
57 ·43·float128_t·value_·=·0.0q; 
58 ·44 
59 ·45·public: 
60 ·46·constexpr·Float128()·=·default; 
61 ·47·constexpr·Float128(const·float128_t&·value)·noexcept 
62 ·48·:·value_(value) 
63 ·49·{} 
64 ·50 
65 ·51·//·constructor·from·any·floating-point·or·integer·type 
66 ·52·template·<class·T, 
67 ·53·std::enable_if_t<std::is_arithmetic<T>::value,·int>·=·0> 
68 ·54·constexpr·Float128(const·T&·value)·noexcept 
69 ·55·:·value_(value) 
70 ·56·{} 
71 ·57 
72 ·58·//·constructor·from·pointer·to·null-terminated·byte·string 
73 ·59·explicit·Float128(const·char*·str)·noexcept 
74 ·60·:·value_(strtoflt128(str,·NULL)) 
75 ·61·{} 
76 ·62 
77 ·63·//·accessors 
78 ·64·constexpr·operator·float128_t()·const·noexcept·{·return·value_;·} 
79 ·65 
80 ·66·constexpr·float128_t·const&·value()·const·noexcept·{·return·value_;·} 
81 ·67·constexpr·float128_t&·value()·noexcept·{·return·value_;·} 
82 ·68 
83 ·69·//·I/O 
84 ·70·template<class·CharT,·class·Traits> 
85 ·71·friend·std::basic_istream<CharT,·Traits>& 
86 ·72·operator>>(std::basic_istream<CharT,·Traits>&·in,·Float128&·x) 
87 ·73·{ 
88 ·74·std::string·buf; 
89 ·75·buf.reserve(128); 
90 ·76·in·>>·buf; 
91 ·77·x.value()·=·strtoflt128(buf.c_str(),·NULL); 
92 ·78·return·in; 
93 ·79·} 
94 ·80 
95 ·81·template<class·CharT,·class·Traits> 
96 ·82·friend·std::basic_ostream<CharT,·Traits>& 
97 ·83·operator<<(std::basic_ostream<CharT,·Traits>&·out,·const·Float128&·x) 
98 ·84·{ 
99 ·85·const·std::size_t·bufSize·=·128; 
100 ·86·CharT·buf[128]; 
101 ·87 
102 ·88·std::string·format·=·"%."·+·std::to_string(out.precision())·+·"Q"·+ 
103 ·89·((out.flags()·|·std::ios_base::scientific)·?·"e"·:·"f"); 
104 ·90·const·int·numChars·=·quadmath_snprintf(buf,·bufSize,·format.c_str(), 
105 x.value()); 
106 ·91·if·(std::size_t(numChars)·>=·bufSize)·{ 
107 ·92·DUNE_THROW(Dune::RangeError,·"Failed·to·print·Float128·value:·buffer 
108 overflow"); 
109 ·93·} 
110 ·94·out·<<·buf; 
111 ·95·return·out; 
112 ·96·} 
113 ·97 
114 ·98·//·Increment,·decrement 
115 ·99·constexpr·Float128&·operator++()·noexcept·{·++value_;·return·*this;·} 
116 ·100·constexpr·Float128&·operator--()·noexcept·{·--value_;·return·*this;·} 
117 ·101 
118 ·102·constexpr·Float128·operator++(int)·noexcept·{·Float128·tmp{*this}; 
119 ++value_;·return·tmp;·} 
120 ·103·constexpr·Float128·operator--(int)·noexcept·{·Float128·tmp{*this};·-- 
121 value_;·return·tmp;·} 
122 ·104 
123 ·105·//·unary·operators 
124 ·106·constexpr·Float128·operator+()·const·noexcept·{·return·Float128{+value_}; 
125 } 
126 ·107·constexpr·Float128·operator-()·const·noexcept·{·return·Float128{-value_}; 
127 } 
128 ·108 
129 ·109·//·assignment·operators 
Max diff block lines reached; 799/18216 bytes (4.39%) of diff not shown.
60.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 776 lines modifiedOffset 70, 38 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#define-members">Macros</a>··</div>77 <a·href="#nested-classes">Classes</a>·&#124;
 78 <a·href="#namespaces">Namespaces</a>··</div>
78 ··<div·class="headertitle"><div·class="title">version.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh·File·Reference</div></div>
79 </div><!--header-->80 </div><!--header-->
80 <div·class="contents">81 <div·class="contents">
  
81 <p>Various·macros·to·work·with·Dune·module·version·numbers.·· 
82 <a·href="#details">More...</a></p> 
 82 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
 83 <code>#include·&lt;map&gt;</code><br·/>
 84 <code>#include·&lt;memory&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
 87 </div>
83 <p><a·href="a00251_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00251_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;</a></td></tr>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Macros</h2></td></tr>96 Namespaces</h2></td></tr>
87 <tr·class="memitem:a229e35109d69cff060df5c80e71f3d73"·id="r_a229e35109d69cff060df5c80e71f3d73"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,··type)&#160;&#160;&#160;module·##·_VERSION_·##·type</td></tr> 
88 <tr·class="memdesc:a229e35109d69cff060df5c80e71f3d73"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.··<br·/></td></tr>97 <tr·class="memitem:a00425"·id="r_a00425"><td·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="separator:a229e35109d69cff060df5c80e71f3d73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:ab25a714acc2ab9e565053cb523054a95"·id="r_ab25a714acc2ab9e565053cb523054a95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#ab25a714acc2ab9e565053cb523054a95">DUNE_VERSION_EQUAL</a>(module,··major,··minor)</td></tr> 
91 <tr·class="memdesc:ab25a714acc2ab9e565053cb523054a95"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.··<br·/></td></tr> 
92 <tr·class="separator:ab25a714acc2ab9e565053cb523054a95"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:a860ad2275fe1229fe01d9992a6685fe7"·id="r_a860ad2275fe1229fe01d9992a6685fe7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a860ad2275fe1229fe01d9992a6685fe7">DUNE_VERSION_EQUAL_REV</a>(module,··major,··minor,··revision)</td></tr> 
94 <tr·class="memdesc:a860ad2275fe1229fe01d9992a6685fe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision.··<br·/></td></tr> 
95 <tr·class="separator:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:ae9c7fb3f1d0d68848c2b03cf45a5f620"·id="r_ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,··major,··minor)</td></tr> 
97 <tr·class="memdesc:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·greater.··<br·/></td></tr> 
98 <tr·class="separator:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <tr·class="memitem:a989ea73953b5d09cb17675d64233a15b"·id="r_a989ea73953b5d09cb17675d64233a15b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a989ea73953b5d09cb17675d64233a15b">DUNE_VERSION_LT</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00251.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr> 
100 <tr·class="memdesc:a989ea73953b5d09cb17675d64233a15b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·major.minor.··<br·/></td></tr> 
101 <tr·class="separator:a989ea73953b5d09cb17675d64233a15b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:a3ff6f986ce87d82c20da62e6355cf520"·id="r_a3ff6f986ce87d82c20da62e6355cf520"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a3ff6f986ce87d82c20da62e6355cf520">DUNE_VERSION_NEWER</a>(module,··major,··minor)&#160;&#160;&#160;··<a·class="el"·href="a00251.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr> 
103 <tr·class="memdesc:a3ff6f986ce87d82c20da62e6355cf520"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·newer.··<br·/></td></tr> 
104 <tr·class="separator:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:a4221602addcd43bfc16992d83eaab73b"·id="r_a4221602addcd43bfc16992d83eaab73b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,··major,··minor)</td></tr> 
106 <tr·class="memdesc:a4221602addcd43bfc16992d83eaab73b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·greater·than·major.minor.··<br·/></td></tr> 
107 <tr·class="separator:a4221602addcd43bfc16992d83eaab73b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:a30a27a1b8996420c55ed3c6009a62253"·id="r_a30a27a1b8996420c55ed3c6009a62253"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a30a27a1b8996420c55ed3c6009a62253">DUNE_VERSION_LTE</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00251.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,major,minor)</td></tr> 
109 <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.··<br·/></td></tr> 
110 <tr·class="separator:a30a27a1b8996420c55ed3c6009a62253"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:a95ef2ff0c01c2b1add28f5d4a55e6904"·id="r_a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,··major,··minor,··revision)</td></tr> 
112 <tr·class="memdesc:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·greater.··<br·/></td></tr> 
113 <tr·class="separator:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a475b789ab8bce20d26045e337955a52b"·id="r_a475b789ab8bce20d26045e337955a52b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a475b789ab8bce20d26045e337955a52b">DUNE_VERSION_LT_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00251.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr> 
115 <tr·class="memdesc:a475b789ab8bce20d26045e337955a52b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·lower·than·major.minor.revision.··<br·/></td></tr> 
116 <tr·class="separator:a475b789ab8bce20d26045e337955a52b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:a5b004009c0c7997b2330992534942c3b"·id="r_a5b004009c0c7997b2330992534942c3b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a5b004009c0c7997b2330992534942c3b">DUNE_VERSION_NEWER_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··<a·class="el"·href="a00251.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr> 
118 <tr·class="memdesc:a5b004009c0c7997b2330992534942c3b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·newer.··<br·/></td></tr> 
119 <tr·class="separator:a5b004009c0c7997b2330992534942c3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:ab892e2a1845da3fb29c5fb0cbe4d413f"·id="r_ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,··major,··minor,··revision)</td></tr> 
121 <tr·class="memdesc:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·greater·version·than·major.minor.revision.··<br·/></td></tr> 
122 <tr·class="separator:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:a3e5db809b447136ea37c9c2ab3ea8c52"·id="r_a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a3e5db809b447136ea37c9c2ab3ea8c52">DUNE_VERSION_LTE_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00251.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,major,minor,revision)</td></tr> 
124 <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.··<br·/></td></tr> 
125 <tr·class="separator:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:ae3ff9d66de4e43cbc5e67743013977c9"·id="r_ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.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> 
127 <tr·class="memdesc:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.··<br·/></td></tr> 
128 <tr·class="separator:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:a2c5026c661a32b8cb9e0f92a4515c6c6"·id="r_a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html#a2c5026c661a32b8cb9e0f92a4515c6c6">DUNE_MODULE_VERSION_ID</a>(module)&#160;&#160;&#160;··<a·class="el"·href="a00251.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td></tr> 
130 <tr·class="memdesc:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·for·the·given·module.··<br·/></td></tr> 
131 <tr·class="separator:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 </table>100 </table>
133 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
134 <div·class="textblock"><p>Various·macros·to·work·with·Dune·module·version·numbers.·</p> 
135 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
136 <a·id="a2c5026c661a32b8cb9e0f92a4515c6c6"·name="a2c5026c661a32b8cb9e0f92a4515c6c6"></a> 
137 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c5026c661a32b8cb9e0f92a4515c6c6">&#9670;&#160;</a></span>DUNE_MODULE_VERSION_ID</h2> 
  
138 <div·class="memitem"> 
139 <div·class="memproto"> 
140 ······<table·class="memname"> 
141 ········<tr> 
142 ··········<td·class="memname">#define·DUNE_MODULE_VERSION_ID</td> 
143 ··········<td>(</td> 
144 ··········<td·class="paramtype">&#160;</td> 
145 ··········<td·class="paramname">module</td><td>)</td> 
146 ··········<td>&#160;&#160;&#160;··<a·class="el"·href="a00251.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td> 
147 ········</tr> 
148 ······</table> 
149 </div><div·class="memdoc"> 
  
150 <p>Compute·a·unique·uint·id·for·the·given·module.·</p> 
151 <p>For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:</p><ul> 
152 <li>DUNE_COMMON·for·dune-common</li> 
153 <li>DUNE_GRID·for·dune-grid</li> 
154 <li>DUNE_GEOMETRY·for·dune-geometry</li> 
155 <li>DUNE_ISTL·for·dune-istl</li> 
156 <li>DUNE_LOCALFUNCTIONS·for·dune-localfunctions</li> 
157 </ul> 
158 <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> 
  
159 </div> 
160 </div> 
161 <a·id="ab25a714acc2ab9e565053cb523054a95"·name="ab25a714acc2ab9e565053cb523054a95"></a> 
162 <h2·class="memtitle"><span·class="permalink"><a·href="#ab25a714acc2ab9e565053cb523054a95">&#9670;&#160;</a></span>DUNE_VERSION_EQUAL</h2> 
  
Max diff block lines reached; 271/46008 bytes (0.59%) of diff not shown.
15.8 KB
html2text {}
    
Offset 6, 345 lines modifiedOffset 6, 25 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros 
13 version.hh·File·Reference 
14 Various·macros·to·work·with·Dune·module·version·numbers.·More...12 Classes·|·Namespaces
 13 parameterizedobject.hh·File·Reference
 14 #include·<functional>
 15 #include·<map>
 16 #include·<memory>
 17 #include·<dune/common/exceptions.hh>
 18 #include·<dune/common/typeutilities.hh>
15 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
 20 ·Classes
 21 class· Dune::ParameterizedObjectFactory<_TypeT(Args...),_KeyT_>
16 ·Macros 
17 #define DUNE_VERSION_JOIN(module,·type)   module·##·_VERSION_·##·type 
18  ·······Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers. 
19  22  
20 #define DUNE_VERSION_EQUAL(module,·major,·minor) 
21  ·······True·if·'module'·has·the·version·major.minor.23 ·Namespaces
 24 namespace· Dune
 25  ··········Dune·namespace.
22  26  
23 #define DUNE_VERSION_EQUAL_REV(module,·major,·minor,·revision) 
24  ·······True·if·'module'·has·the·version·major.minor.revision. 
25   
26 #define DUNE_VERSION_GTE(module,·major,·minor) 
27  ·······True·if·'module'·has·the·version·major.minor·or·greater. 
28   
29 #define DUNE_VERSION_LT(module,·major,·minor)   ·!·DUNE_VERSION_GTE(module,major,minor) 
30  ·······True·if·'module'·has·a·version·less·than·major.minor. 
31   
32 #define DUNE_VERSION_NEWER(module,·major,·minor)   ·DUNE_VERSION_GTE(module,major,minor) 
33  ·······True·if·'module'·has·the·version·major.minor·or·newer. 
34   
35 #define DUNE_VERSION_GT(module,·major,·minor) 
36  ·······True·if·'module'·has·a·version·greater·than·major.minor. 
37   
38 #define DUNE_VERSION_LTE(module,·major,·minor)   ·!·DUNE_VERSION_GT(module,major,minor) 
39  ·······True·if·'module'·has·a·version·less·than·or·equal·to·major.minor. 
40   
41 #define DUNE_VERSION_GTE_REV(module,·major,·minor,·revision) 
42  ·······True·if·'module'·has·the·version·major.minor.revision·or·greater. 
43   
44 #define DUNE_VERSION_LT_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GTE_REV 
45 ·········(module,major,minor,revision) 
46  ·······True·if·'module'·has·a·version·lower·than·major.minor.revision. 
47   
48 #define DUNE_VERSION_NEWER_REV(module,·major,·minor,·revision)   ·DUNE_VERSION_GTE_REV 
49 ·········(module,major,minor,revision) 
50  ·······True·if·'module'·has·the·version·major.minor.revision·or·newer. 
51   
52 #define DUNE_VERSION_GT_REV(module,·major,·minor,·revision) 
53  ·······True·if·'module'·has·a·greater·version·than·major.minor.revision. 
54   
55 #define DUNE_VERSION_LTE_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GT_REV 
56 ·········(module,major,minor,revision) 
57  ·······True·if·'module'·has·a·version·lower·or·equal·to·major.minor.revision. 
58   
59 #define DUNE_VERSION_ID(major,·minor,·revision)   ·((unsigned·int)((major·<<·24)·+·(minor 
60 ·········<<·16)·+·revision)) 
61  ·······Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers. 
62   
63 #define DUNE_MODULE_VERSION_ID(module)   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN 
64 ·········(module,MAJOR),·DUNE_VERSION_JOIN(module,MINOR),·DUNE_VERSION_JOIN 
65 ·········(module,REVISION)·) 
66  ·······Compute·a·unique·uint·id·for·the·given·module. 
67   
68 *****·Detailed·Description·***** 
69 Various·macros·to·work·with·Dune·module·version·numbers. 
70 *****·Macro·Definition·Documentation·***** 
71 *****·◆ DUNE_MODULE_VERSION_ID·***** 
72 #define················(· module·)·   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN 
73 DUNE_MODULE_VERSION_ID··············(module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·) 
74 Compute·a·unique·uint·id·for·the·given·module. 
75 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names: 
76 ····*·DUNE_COMMON·for·dune-common 
77 ····*·DUNE_GRID·for·dune-grid 
78 ····*·DUNE_GEOMETRY·for·dune-geometry 
79 ····*·DUNE_ISTL·for·dune-istl 
80 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions 
81 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by 
82 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as 
83 module·name·in·the·context·of·this·macro. 
84 *****·◆ DUNE_VERSION_EQUAL·***** 
85 #define·DUNE_VERSION_EQUAL·(· module, 
86 ····························· major, 
87 ····························· minor  
88 ···························) 
89 Value: 
90 ((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·\ 
91 (DUNE_VERSION_JOIN(module,MINOR)·==·minor)) 
92 DUNE_VERSION_JOIN 
93 #define·DUNE_VERSION_JOIN(module,·type) 
94 Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers. 
95 Definition·version.hh:28 
96 True·if·'module'·has·the·version·major.minor. 
97 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names: 
98 ····*·DUNE_COMMON·for·dune-common 
99 ····*·DUNE_GRID·for·dune-grid 
100 ····*·DUNE_GEOMETRY·for·dune-geometry 
101 ····*·DUNE_ISTL·for·dune-istl 
102 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions 
103 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by 
104 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as 
105 module·name·in·the·context·of·this·macro. 
106 *****·◆ DUNE_VERSION_EQUAL_REV·***** 
107 #define·DUNE_VERSION_EQUAL_REV·(· module, 
108 ································· major, 
109 ································· minor, 
110 ································· revision  
111 ·······························) 
112 Value: 
113 (·DUNE_VERSION_EQUAL(module,major,minor)·&&·\ 
114 (DUNE_VERSION_JOIN(module,REVISION)·==·revision)) 
115 DUNE_VERSION_EQUAL 
116 #define·DUNE_VERSION_EQUAL(module,·major,·minor) 
117 True·if·'module'·has·the·version·major.minor. 
118 Definition·version.hh:44 
119 True·if·'module'·has·the·version·major.minor.revision. 
120 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names: 
121 ····*·DUNE_COMMON·for·dune-common 
Max diff block lines reached; 116/16192 bytes (0.72%) of diff not shown.
49.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·version.hh·Source·File</title>8 <title>dune-common:·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 74, 107 lines modifiedOffset 74, 178 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">version.hh</div></div>80 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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:·4·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <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>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_VERSION_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_VERSION_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">···28</a></span><span·class="preprocessor">#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/typeutilities.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <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>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</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">typename</span>·Signature,</div>
 100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·········<span·class="keyword">typename</span>·KeyT·=·std::string&gt;</div>
 101 <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>
 102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 103 <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>
 104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·········<span·class="keyword">typename</span>·KeyT,</div>
 105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·········<span·class="keyword">typename</span>...·Args&gt;</div>
92 <div·class="foldopen"·id="foldopen00044"·data-start=""·data-end="">106 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00251.html#ab25a714acc2ab9e565053cb523054a95">···44</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL(module,major,minor)·\</span></div> 
94 <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>107 <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>
 108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>
95 <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>109 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">public</span>:</div>
96 </div>110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 111 <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>
97 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>112 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 113 <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>
 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">protected</span>:</div>
 116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 117 <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>
 118 <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>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div>
98 <div·class="foldopen"·id="foldopen00062"·data-start=""·data-end="">120 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}">
99 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00251.html#a860ad2275fe1229fe01d9992a6685fe7">···62</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL_REV(module,major,minor,revision)·\</span></div> 
100 <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> 
101 <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>121 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02332.html#a7ef9a565a54d9e5d45f7c0fe2b24a02c">···56</a></span>········<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·171,·SHA:·e5350d31d8aa8cf7f934694dd2af92dbc09ec31976004080ff83e1f9533af4e4·...·]</div>
 122 <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>
 123 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········{</div>
 124 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············<span·class="keywordflow">return</span>·{};</div>
 125 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div>
102 </div>126 </div>
103 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>127 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 128 <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>
104 <div·class="foldopen"·id="foldopen00080"·data-start=""·data-end="">129 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
105 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00251.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">···80</a></span><span·class="preprocessor">#define·DUNE_VERSION_GTE(module,major,minor)·\</span></div> 
106 <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> 
107 <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>130 <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:·dac67b9e75ed11551f5f0bc899a269c9f41c676822464a1d8f7b5c907974da17·...·]</div>
 131 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········{</div>
 132 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>············<span·class="keywordflow">return</span>·{};</div>
 133 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········}</div>
108 </div>134 </div>
109 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</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">public</span>:</div>
 137 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
110 <div·class="foldopen"·id="foldopen00098"·data-start=""·data-end="">138 <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}">
111 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00251.html#a989ea73953b5d09cb17675d64233a15b">···98</a></span><span·class="preprocessor">#define·DUNE_VERSION_LT(module,major,minor)·\</span></div> 
112 <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>139 <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"·hre[·...·truncated·by·diffoscope;·len:·245,·SHA:·77ebcf43090890643a365060b6a8a712ef56d8fa3da062d3fa0cbf39d517193f·...·]</div>
 140 <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>
 141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>············<span·class="keywordflow">if</span>·(i·==·registry_.end())·{</div>
 142 <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>
 143 <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>
 144 <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>
 145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············}</div>
 146 <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>
 147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div>
113 </div>148 </div>
114 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>149 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 150 <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>
115 <div·class="foldopen"·id="foldopen00116"·data-start=""·data-end="">151 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}">
116 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00251.html#a3ff6f986ce87d82c20da62e6355cf520">··116</a></span><span·class="preprocessor">#define·DUNE_VERSION_NEWER(module,major,minor)·\</span></div> 
117 <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>152 <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">d[·...·truncated·by·diffoscope;·len:·142,·SHA:·bef6766d739f30f3f5838409dab61e4fb97f644bc3ff4aeab29bf893f6c0019e·...·]</div>
 153 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········{</div>
 154 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>············registry_[key]·=·DefaultCreator&lt;Impl&gt;();</div>
 155 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········}</div>
118 </div>156 </div>
119 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>157 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 158 <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>
 159 <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>
120 <div·class="foldopen"·id="foldopen00133"·data-start=""·data-end="">160 <div·class="foldopen"·id="foldopen00121"·data-start="{"·data-end="}">
121 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a00251.html#a4221602addcd43bfc16992d83eaab73b">··133</a></span><span·class="preprocessor">#define·DUNE_VERSION_GT(module,major,minor)·\</span></div> 
122 <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> 
123 <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>161 <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">d[·...·truncated·by·diffoscope;·len:·157,·SHA:·48c91be8d45e144b673f9a2c0122b81c937898ac609f202adf000fd9cf3e41c7·...·]</div>
 162 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········{</div>
 163 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>············registry_[key]·=·f;</div>
 164 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········}</div>
124 </div>165 </div>
125 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>166 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 167 <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>
 168 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>············<span·class="keyword">typename</span>·std::enable_if&lt;</div>
 169 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>················std::is_convertible&lt;Impl,·Type&gt;::value</div>
 170 <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>
 171 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>················<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
126 <div·class="foldopen"·id="foldopen00151"·data-start=""·data-end="">172 <div·class="foldopen"·id="foldopen00145"·data-start="{"·data-end="}">
127 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno"><a·class="line"·href="a00251.html#a30a27a1b8996420c55ed3c6009a62253">··151</a></span><span·class="preprocessor">#define·DUNE_VERSION_LTE(module,major,minor)·\</span></div> 
128 <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>173 <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">d[·...·truncated·by·diffoscope;·len:·160,·SHA:·ad7e8a058c21938aac71fabdabe92a5602654319080fee2352deb30fb064bbb4·...·]</div>
Max diff block lines reached; 13617/41412 bytes (32.88%) of diff not shown.
8.73 KB
html2text {}
    
Offset 7, 82 lines modifiedOffset 7, 202 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 version.hh12 parameterizedobject.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·4·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=4·sts=4:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_VERSION_HH 
20 ·6#define·DUNE_VERSION_HH19 ·5#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH
 20 ·6#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH
21 ·721 ·7
22 28#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type 
23 ·29 
24 44#define·DUNE_VERSION_EQUAL(module,major,minor)·\ 
25 ·45·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·\ 
26 ·46·(DUNE_VERSION_JOIN(module,MINOR)·==·minor))22 ·8#include·<functional>
 23 ·9#include·<map>
 24 ·10#include·<memory>
 25 ·11
 26 ·12#include·<dune/common/exceptions.hh>
 27 ·13#include·<dune/common/typeutilities.hh>
 28 ·14
 29 ·15namespace·Dune·{
 30 ·16
 31 ·34template<typename·Signature,
 32 ·35·typename·KeyT·=·std::string>
 33 36class·ParameterizedObjectFactory;
 34 ·37
 35 ·38template<typename·TypeT,
 36 ·39·typename·KeyT,
 37 ·40·typename...·Args>
 38 41class·ParameterizedObjectFactory<TypeT(Args...),·KeyT>
 39 ·42{
 40 ·43·public:
 41 ·44
 42 46·typedef·KeyT·Key;
27 ·4743 ·47
28 62#define·DUNE_VERSION_EQUAL_REV(module,major,minor,revision)·\ 
29 ·63·(·DUNE_VERSION_EQUAL(module,major,minor)·&&·\ 
30 ·64·(DUNE_VERSION_JOIN(module,REVISION)·==·revision)) 
31 ·65 
32 80#define·DUNE_VERSION_GTE(module,major,minor)·\ 
33 ·81·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\ 
34 ·82·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
35 (module,MINOR)·>=·minor)))44 49·using·Type·=·TypeT;
 45 ·50
 46 ·51·protected:
 47 ·52
 48 53·using·Creator·=·std::function<Type(Args...)>;
 49 ·54
 50 ·55·template<class·F>
 51 56·static·constexpr·auto·has_proper_signature(Dune::PriorityTag<1>)
 52 ·57·->·decltype(·std::declval<F>()(std::declval<Args>()...),·std::true_type())
 53 ·58·{
 54 ·59·return·{};
 55 ·60·}
 56 ·61
 57 ·62·template<class·F>
 58 63·static·constexpr·std::false_type·has_proper_signature(Dune::PriorityTag<0>)
 59 ·64·{
 60 ·65·return·{};
 61 ·66·}
 62 ·67
 63 ·68·public:
 64 ·69
 65 77·Type·create(Key·const&·key,·Args·...·args)·const·{
 66 ·78·typename·Registry::const_iterator·i·=·registry_.find(key);
 67 ·79·if·(i·==·registry_.end())·{
 68 ·80·DUNE_THROW(Dune::InvalidStateException,
 69 ·81·"ParametrizedObjectFactory:·key·``"·<<
 70 ·82·key·<<·"''·not·registered");
36 ·8371 ·83·}
37 98#define·DUNE_VERSION_LT(module,major,minor)·\ 
38 ·99·!·DUNE_VERSION_GTE(module,major,minor)72 ·84·else·return·i->second(args...);
 73 ·85·}
 74 ·86
 75 ·100·template<class·Impl>
 76 101·void·define(Key·const&·key)
 77 ·102·{
 78 ·103·registry_[key]·=·DefaultCreator<Impl>();
 79 ·104·}
39 ·10080 ·105
40 116#define·DUNE_VERSION_NEWER(module,major,minor)·\ 
41 ·117·DUNE_VERSION_GTE(module,major,minor) 
42 ·118 
43 133#define·DUNE_VERSION_GT(module,major,minor)·\ 
44 ·134·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\ 
45 ·135·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
46 (module,MINOR)·>·minor))) 
47 ·136 
48 151#define·DUNE_VERSION_LTE(module,major,minor)·\ 
49 ·152·!·DUNE_VERSION_GT(module,major,minor)81 ·119·template<class·F,
 82 ·120·typename·std::enable_if<has_proper_signature<F>(PriorityTag<42>()),·int>::
 83 type·=·0>
 84 121·void·define(Key·const&·key,·F&&·f)
 85 ·122·{
 86 ·123·registry_[key]·=·f;
 87 ·124·}
 88 ·125
 89 ·140·template<class·Impl,
 90 ·141·typename·std::enable_if<
 91 ·142·std::is_convertible<Impl,·Type>::value
 92 ·143·and·not·std::is_convertible<Impl,·Creator>::value,
 93 ·144·int>::type·=·0>
 94 145·void·define(Key·const&·key,·Impl&&·t)
 95 ·146·{
 96 ·147·registry_[key]·=·[=](Args...)·{·return·t;};
 97 ·148·}
 98 ·149
 99 150·bool·contains(Key·const&·key)·const
 100 ·151·{
 101 ·152·return·registry_.count(key);
50 ·153102 ·153·}
51 168#define·DUNE_VERSION_GTE_REV(module,major,minor,revision)·\ 
52 ·169·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\ 
53 ·170·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
54 (module,MINOR)·>·minor))·\ 
55 ·171·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
56 (module,MINOR)·==·minor)·\ 
57 ·172·&&·(DUNE_VERSION_JOIN(module,REVISION)·>=·revision)))103 ·154
Max diff block lines reached; 4212/8911 bytes (47.27%) of diff not shown.
3.55 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 19 lines modifiedOffset 69, 29 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="summary">
 76 <a·href="#define-members">Macros</a>··</div>
75 ··<div·class="headertitle"><div·class="title">debugallocator.hh·File·Reference</div></div>77 ··<div·class="headertitle"><div·class="title">assertandreturn.hh·File·Reference</div></div>
76 </div><!--header-->78 </div><!--header-->
77 <div·class="contents">79 <div·class="contents">
 80 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 81 </div>
78 <p><a·href="a00254_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00254_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="define-members"·name="define-members"></a>
 85 Macros</h2></td></tr>
 86 <tr·class="memitem:ga902aaece2c20a75cbf6daad4957ba069"·id="r_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>
 87 <tr·class="memdesc:ga902aaece2c20a75cbf6daad4957ba069"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Asserts·a·condition·and·return·on·success·in·constexpr·context.··<br·/></td></tr>
 88 <tr·class="separator:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 </table>
79 </div><!--·contents·-->90 </div><!--·contents·-->
80 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
81 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
82 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.893 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
83 </small></address>94 </small></address>
84 </body>95 </body>
85 </html>96 </html>
567 B
html2text {}
    
Offset 6, 12 lines modifiedOffset 6, 19 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 debugallocator.hh·File·Reference12 Macros
 13 assertandreturn.hh·File·Reference
 14 #include·<cassert>
13 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Macros
 17 #define DUNE_ASSERT_AND_RETURN(C,·X)   (!(C)·?·throw·[&](){assert(!#C);return·0;}()·:
 18 ·········0),·X
 19  ·······Asserts·a·condition·and·return·on·success·in·constexpr·context.
 20  
  
14 ===============================================================================21 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.822 ·····Generated·by [doxygen]·1.9.8
60.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00254_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 345 lines modifiedOffset 74, 36 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">debugallocator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">assertandreturn.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUG_ALLOCATOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUG_ALLOCATOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <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>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
92 <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> 
93 <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> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·HAVE_MPROTECT·1</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>92 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>93 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifdef·NDEBUG</span></div>
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>94 <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>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>95 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#else</span></div>
 96 <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>
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00107.html">mallocallocator.hh</a>&quot;</span></div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>98 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
107 <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>99 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>100 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
110 <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> 
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>DebugMemory</div> 
112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div> 
113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
114 <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> 
115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
116 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">struct·</span>AllocationManager</div> 
117 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div> 
118 <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> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
122 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">protected</span>:</div> 
123 <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> 
124 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
125 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">struct·</span>AllocationInfo;</div> 
126 <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> 
127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
128 <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> 
129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">·······························{·allocation_error(&quot;Assertion·&quot;·#·A·&quot;·failed&quot;);\</span></div> 
130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">·······························}\</span></div> 
131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">};</span></div> 
132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">struct·</span>AllocationInfo</div> 
134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{</div> 
135 <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> 
136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keyword">const</span>·std::type_info·*·type;</div> 
137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········pointer·page_ptr;</div> 
139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········pointer·ptr;</div> 
140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········size_type·pages;</div> 
141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········size_type·capacity;</div> 
142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········size_type·size;</div> 
143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordtype">bool</span>·not_free;</div> 
144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······};</div> 
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
146 <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> 
147 <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> 
148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······AllocationList·allocation_list;</div> 
149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">private</span>:</div> 
151 <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> 
152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······················[[maybe_unused]]·difference_type·len,</div> 
153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······················[[maybe_unused]]·<span·class="keywordtype">int</span>·prot)</div> 
154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{</div> 
155 <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> 
156 <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> 
157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">if</span>·(result·==·-1)</div> 
158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div> 
159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
160 <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> 
161 <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> 
162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··········<span·class="keywordflow">if</span>·(prot·==·PROT_NONE)</div> 
163 <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> 
164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········<span·class="keywordflow">else</span></div> 
165 <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> 
166 <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> 
167 <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> 
168 <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> 
169 <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> 
170 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····················&lt;&lt;·std::endl;</div> 
171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··········abort();</div> 
172 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········}</div> 
173 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#else</span></div> 
174 <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> 
175 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="preprocessor">#endif</span></div> 
176 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······}</div> 
177 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
178 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">public</span>:</div> 
179 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
180 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······~AllocationManager·()</div> 
181 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······{</div> 
182 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>········AllocationList::iterator·it;</div> 
Max diff block lines reached; 271/52393 bytes (0.52%) of diff not shown.
9.57 KB
html2text {}
    
Offset 7, 356 lines modifiedOffset 7, 33 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 debugallocator.hh12 assertandreturn.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DEBUG_ALLOCATOR_HH 
20 ·6#define·DUNE_DEBUG_ALLOCATOR_HH19 ·5#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH
 20 ·6#define·DUNE_COMMON_ASSERTANDRETURN_HH
21 ·721 ·7
22 ·8#if·__has_include(<sys/mman.h>)22 ·8#include·<cassert>
23 ·923 ·9
 24 ·11
 25 ·19#ifdef·NDEBUG
 26 ·20·#define·DUNE_ASSERT_AND_RETURN(C,X)·X
 27 ·21#else
 28 22·#define·DUNE_ASSERT_AND_RETURN(C,X)·(!(C)·?·throw·[&](){assert(!#C);return
 29 0;}()·:·0),·X
 30 ·23#endif
24 ·10#include·<sys/mman.h> 
25 ·11#define·HAVE_SYS_MMAN_H·1 
26 ·12#define·HAVE_MPROTECT·1 
27 ·13 
28 ·14#include·<exception> 
29 ·15#include·<typeinfo> 
30 ·16#include·<vector> 
31 ·17#include·<iostream> 
32 ·18#include·<cstring> 
33 ·19#include·<cstdint> 
34 ·20#include·<cstdlib> 
35 ·21#include·<new> 
36 ·22 
37 ·23#include·"mallocallocator.hh" 
38 ·2431 ·24
39 ·25namespace·Dune 
40 ·26{ 
41 ·27 
42 ·28#ifndef·DOXYGEN·//·hide·implementation·details·from·doxygen 
43 ·29·namespace·DebugMemory 
44 ·30·{ 
45 ·31 
46 ·32·extern·const·std::ptrdiff_t·page_size; 
47 ·33 
48 ·34·struct·AllocationManager 
49 ·35·{ 
50 ·36·typedef·std::size_t·size_type; 
51 ·37·typedef·std::ptrdiff_t·difference_type; 
52 ·38·typedef·void*·pointer; 
53 ·39 
54 ·40·protected: 
55 ·41·static·void·allocation_error(const·char*·msg); 
56 ·42 
57 ·43·struct·AllocationInfo; 
58 ·44·friend·struct·AllocationInfo; 
59 ·45 
60 ·46#define·ALLOCATION_ASSERT(A)·{·if·(!(A))·\ 
61 ·47·{·allocation_error("Assertion·"·#·A·"·failed");\ 
62 ·48·}\ 
63 ·49}; 
64 ·50 
65 ·51·struct·AllocationInfo 
66 ·52·{ 
67 ·53·AllocationInfo(const·std::type_info·&·t)·:·type(&t)·{} 
68 ·54·const·std::type_info·*·type; 
69 ·55 
70 ·56·pointer·page_ptr; 
71 ·57·pointer·ptr; 
72 ·58·size_type·pages; 
73 ·59·size_type·capacity; 
74 ·60·size_type·size; 
75 ·61·bool·not_free; 
76 ·62·}; 
77 ·63 
78 ·64·typedef·MallocAllocator<AllocationInfo>·Alloc; 
79 ·65·typedef·std::vector<AllocationInfo,·Alloc>·AllocationList; 
80 ·66·AllocationList·allocation_list; 
81 ·67 
82 ·68·private: 
83 ·69·void·memprotect([[maybe_unused]]·void*·from, 
84 ·70·[[maybe_unused]]·difference_type·len, 
85 ·71·[[maybe_unused]]·int·prot) 
86 ·72·{ 
87 ·73#if·HAVE_SYS_MMAN_H·&&·HAVE_MPROTECT 
88 ·74·int·result·=·mprotect(from,·len,·prot); 
89 ·75·if·(result·==·-1) 
90 ·76·{ 
91 ·77 
92 ·78·std::cerr·<<·"ERROR:·("·<<·result·<<·":·"·<<·strerror(result)·<<·")"·<< 
93 std::endl; 
94 ·79·std::cerr·<<·"·Failed·to·"; 
95 ·80·if·(prot·==·PROT_NONE) 
96 ·81·std::cerr·<<·"protect·"; 
97 ·82·else 
98 ·83·std::cerr·<<·"unprotect·"; 
99 ·84·std::cerr·<<·"memory·range:·" 
100 ·85·<<·from·<<·",·" 
101 ·86·<<·static_cast<void*>( 
102 ·87·static_cast<char*>(from)·+·len) 
103 ·88·<<·std::endl; 
104 ·89·abort(); 
105 ·90·} 
106 ·91#else 
107 ·92·std::cerr·<<·"WARNING:·memory·protection·not·available"·<<·std::endl; 
108 ·93#endif 
109 ·94·} 
110 ·95 
111 ·96·public: 
112 ·97 
113 ·98·~AllocationManager·() 
114 ·99·{ 
115 ·100·AllocationList::iterator·it; 
116 ·101·bool·error·=·false; 
117 ·102·for·(it=allocation_list.begin();·it!=allocation_list.end();·it++) 
118 ·103·{ 
119 ·104·if·(it->not_free) 
120 ·105·{ 
121 ·106·std::cerr·<<·"ERROR:·found·memory·chunk·still·in·use:·"·<< 
122 ·107·it->capacity·<<·"·bytes·at·"·<<·it->ptr·<<·std::endl; 
123 ·108·error·=·true; 
Max diff block lines reached; 116/9777 bytes (1.19%) of diff not shown.
8.31 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 53 lines modifiedOffset 72, 41 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">gmpfield.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">promotiontraits.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.··82 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
85 <code>#include·&lt;string&gt;</code><br·/> 
86 <code>#include·&lt;type_traits&gt;</code><br·/> 
87 <code>#include·&lt;gmpxx.h&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
90 </div>85 </div>
91 <p><a·href="a00257_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00257_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">87 <table·class="memberdecls">
93 <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>
94 Classes</h2></td></tr>89 Classes</h2></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="a01832.html">Dune::GMPField&lt;·precision·&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="a02432.html">Dune::PromotionTraits&lt;·T1,·T2·&gt;</a></td></tr>
96 <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>91 <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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <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="a01836.html">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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> 
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="a01844.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01848.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·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="a01852.html">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&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="a02436.html">Dune::PromotionTraits&lt;·T1,·T1·&gt;</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
109 <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>
110 Namespaces</h2></td></tr>97 Namespaces</h2></td></tr>
111 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>101 </table>
115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
116 <div·class="textblock"><p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.·</p>103 <div·class="textblock"><p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.·</p>
 104 <dl·class="section·author"><dt>Author</dt><dd>Matthias·Wohlmuth·</dd></dl>
117 </div></div><!--·contents·-->105 </div></div><!--·contents·-->
118 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>107 <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.8108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
121 </small></address>109 </small></address>
122 </body>110 </body>
123 </html>111 </html>
1.66 KB
html2text {}
    
Offset 7, 41 lines modifiedOffset 7, 31 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
 13 promotiontraits.hh·File·Reference
 14 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 15 number·types.·More...
 16 #include·<utility>
13 gmpfield.hh·File·Reference 
14 Wrapper·for·the·GNU·multiprecision·(GMP)·library.·More... 
15 #include·<iostream> 
16 #include·<string> 
17 #include·<type_traits> 
18 #include·<gmpxx.h> 
19 #include·<dune/common/promotiontraits.hh> 
20 #include·<dune/common/typetraits.hh> 
21 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
22 ·Classes18 ·Classes
23 ·class· Dune::GMPField<_precision_> 
24  ·······Number·class·for·high·precision·floating·point·number·using·the·GMP 
25 ·········library·mpf_class·implementation.·More...19 struct· Dune::PromotionTraits<_T1,_T2_>
 20  ·······Compute·type·of·the·result·of·an·arithmetic·operation·involving·two
 21 ·········different·number·types.·More...
26  22  
27 struct· Dune::IsNumber<_GMPField<_precision_>_> 
28   
29 struct· Dune::PromotionTraits<_GMPField<_precision1_>,_GMPField<_precision2_> 
30 ·········> 
31   
32 struct· Dune::PromotionTraits<_GMPField<_precision_>,_GMPField<_precision_>_> 
33   
34 struct· Dune::PromotionTraits<_GMPField<_precision_>,_T_>23 struct· Dune::PromotionTraits<_T1,_T1_>
35   
36 struct· Dune::PromotionTraits<_T,_GMPField<_precision_>_> 
37  24  
38 ·Namespaces25 ·Namespaces
39 namespace· Dune26 namespace· Dune
40  ··········Dune·namespace.27  ··········Dune·namespace.
41  28  
42 *****·Detailed·Description·*****29 *****·Detailed·Description·*****
43 Wrapper·for·the·GNU·multiprecision·(GMP)·library.30 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 31 number·types.
 32 ··Author
 33 ······Matthias·Wohlmuth
  
44 ===============================================================================34 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.835 ·····Generated·by [doxygen]·1.9.8
30.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00257_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 141 lines modifiedOffset 74, 49 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">gmpfield.hh</div></div>80 ··<div·class="headertitle"><div·class="title">promotiontraits.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GMPFIELD_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROMOTIONTRAITS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GMPFIELD_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROMOTIONTRAITS_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_GMP·||·DOXYGEN</span></div> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;gmpxx.h&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/promotiontraits.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
101 <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>92 <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>
 93 <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>
102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div> 
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
104 <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> 
105 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};">94 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};">
 95 <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>
106 <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> 
107 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····:·<span·class="keyword">public</span>·mpf_class</div> 
108 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··{</div>96 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>
109 <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="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">···28</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">decltype</span>(std::declval&lt;T1&gt;()+std::declval&lt;T2&gt;()[·...·truncated·by·diffoscope;·len:·98,·SHA:·678cef972f53e0a733dee869056f158778c19d6fd39c3e67da36ac47f4280175·...·];</div>
110 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>
111 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div> 
112 <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}"> 
113 <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> 
114 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······:·Base(0,precision)</div> 
115 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{}</div> 
116 </div>99 </div>
117 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
118 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> 
119 <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> 
120 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······:·Base(str,precision)</div> 
121 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{}</div> 
122 </div> 
123 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
124 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> 
125 <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> 
126 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·Base(str,precision)</div> 
127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div> 
128 </div> 
129 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
130 <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> 
131 <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> 
132 <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> 
133 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··············&gt;</div> 
134 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> 
135 <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> 
136 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······:·Base(·v,precision·)</div> 
137 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····{}</div> 
138 </div> 
139 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
140 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·type·conversion·operators</span></div> 
141 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> 
142 <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> 
143 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div> 
144 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">return</span>·this-&gt;get_d();</div> 
145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div> 
146 </div> 
147 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
148 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div> 
149 </div> 
150 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</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>··<span·class="comment">//·Specialization·for·the·case·of·two·equal·types</span></div>
 102 <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>
 103 <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>
151 <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>104 <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>
 105 <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>
152 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="};"> 
153 <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> 
154 <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> 
155 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··};</div> 
156 </div> 
157 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
158 <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> 
159 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="};"> 
160 <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> 
161 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div> 
162 <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> 
163 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··};</div> 
164 </div> 
165 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
166 <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> 
167 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="};"> 
168 <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> 
169 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div> 
170 <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> 
171 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div> 
172 </div> 
173 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
174 <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> 
175 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="};"> 
176 <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> 
177 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div> 
Max diff block lines reached; 4321/26085 bytes (16.57%) of diff not shown.
4.83 KB
html2text {}
    
Offset 7, 148 lines modifiedOffset 7, 54 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 gmpfield.hh12 promotiontraits.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_GMPFIELD_HH 
20 ·6#define·DUNE_GMPFIELD_HH19 ·5#ifndef·DUNE_PROMOTIONTRAITS_HH
 20 ·6#define·DUNE_PROMOTIONTRAITS_HH
21 ·721 ·7
 22 ·8#include·<utility>
22 ·12#include·<iostream> 
23 ·13#include·<string> 
24 ·14#include·<type_traits> 
25 ·15 
26 ·16#if·HAVE_GMP·||·DOXYGEN 
27 ·17 
28 ·18#include·<gmpxx.h> 
29 ·1923 ·9
30 ·20#include·<dune/common/promotiontraits.hh> 
31 ·21#include·<dune/common/typetraits.hh> 
32 ·22 
33 ·23namespace·Dune24 ·10namespace·Dune·{
 25 ·25·template·<typename·T1,·typename·T2>
 26 26·struct·PromotionTraits
 27 ·27·{
 28 28·typedef·decltype(std::declval<T1>()+std::declval<T2>())·PromotedType;
34 ·24{ 
35 ·25 
36 ·30·template<·unsigned·int·precision·> 
37 31·class·GMPField 
38 ·32·:·public·mpf_class 
39 ·33·{ 
40 ·34·typedef·mpf_class·Base; 
41 ·35 
42 ·36·public: 
43 38·GMPField·() 
44 ·39·:·Base(0,precision) 
45 ·40·{} 
46 ·41 
47 45·GMPField·(·const·char*·str·) 
48 ·46·:·Base(str,precision) 
49 ·47·{} 
50 ·48 
51 52·GMPField·(·const·std::string&·str·) 
52 ·53·:·Base(str,precision) 
53 ·54·{} 
54 ·55 
55 ·58·template<·class·T, 
56 ·59·typename·EnableIf·=·typename·std::enable_if< 
57 ·60·std::is_convertible<T,·mpf_class>::value>::type 
58 ·61·> 
59 62·GMPField·(·const·T·&v·) 
60 ·63·:·Base(·v,precision·) 
61 ·64·{} 
62 ·65 
63 ·66·//·type·conversion·operators 
64 67·operator·double·()·const 
65 ·68·{ 
66 ·69·return·this->get_d(); 
67 ·70·} 
68 ·71 
69 ·72·};29 ·29·};
 30 ·30
 31 ·31·//·Specialization·for·the·case·of·two·equal·types
 32 ·32·//·One·should·think·that·the·generic·template·should·handle·this·case·as
 33 well.
 34 ·33·//·However,·the·fvectortest.cc·unit·test·fails·without·it·if·ENABLE_GMP·is
 35 set.
 36 ·34·template·<typename·T1>
 37 35·struct·PromotionTraits<T1,T1>·{·typedef·T1·PromotedType;·};
 38 ·36
 39 ·38}·//·end·namespace
 40 ·39
 41 ·40
 42 ·41#endif·//·DUNE_PROMOTIONTRAITS_HH
70 ·73 
71 ·74·template·<unsigned·int·precision> 
72 75·struct·IsNumber<GMPField<precision>> 
73 ·76·:·public·std::integral_constant<bool,·true>·{ 
74 ·77·}; 
75 ·78 
76 ·79·template<·unsigned·int·precision1,·unsigned·int·precision2·> 
77 80·struct·PromotionTraits<GMPField<precision1>,·GMPField<precision2>> 
78 ·81·{ 
79 82·typedef·GMPField<(precision1·>·precision2·?·precision1·:·precision2)> 
80 PromotedType; 
81 ·83·}; 
82 ·84 
83 ·85·template<·unsigned·int·precision·> 
84 86·struct·PromotionTraits<GMPField<precision>,GMPField<precision>> 
85 ·87·{ 
86 88·typedef·GMPField<precision>·PromotedType; 
87 ·89·}; 
88 ·90 
89 ·91·template<·unsigned·int·precision,·class·T·> 
90 92·struct·PromotionTraits<GMPField<precision>,·T> 
91 ·93·{ 
92 94·typedef·GMPField<precision>·PromotedType; 
93 ·95·}; 
94 ·96 
95 ·97·template<·class·T,·unsigned·int·precision·> 
96 98·struct·PromotionTraits<T,·GMPField<precision>> 
97 ·99·{ 
98 100·typedef·GMPField<precision>·PromotedType; 
99 ·101·}; 
100 ·102} 
101 ·103 
102 ·104#endif·//·HAVE_GMP 
103 ·105 
104 ·106#endif·//·#ifndef·DUNE_GMPFIELD_HH 
105 promotiontraits.hh 
106 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
107 number·types. 
108 typetraits.hh 
109 Traits·for·type·conversions·and·type·information. 
110 Dune43 Dune
111 Dune·namespace.44 Dune·namespace.
112 Definition·alignedallocator.hh:1345 Definition·alignedallocator.hh:13
Max diff block lines reached; 481/4917 bytes (9.78%) of diff not shown.
10.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 32 lines modifiedOffset 72, 73 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">iteratorrange.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
 82 <p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.··
 83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 85 <code>#include·&lt;cassert&gt;</code><br·/>
 86 <code>#include·&lt;cmath&gt;</code><br·/>
 87 <code>#include·&lt;complex&gt;</code><br·/>
 88 <code>#include·&lt;cstddef&gt;</code><br·/>
 89 <code>#include·&lt;initializer_list&gt;</code><br·/>
 90 <code>#include·&lt;iostream&gt;</code><br·/>
 91 <code>#include·&lt;memory&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 95 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 96 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 97 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/>
 98 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 99 </div>
82 <p><a·href="a00260_source.html">Go·to·the·source·code·of·this·file.</a></p>100 <p><a·href="a00260_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">101 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>103 Classes</h2></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="a01460.html">Dune::DiagonalMatrix&lt;·K,·n·&gt;</a></td></tr>
 105 <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>
 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="a01464.html">Dune::FieldTraits&lt;·DiagonalMatrix&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01452.html">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01444.html">Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;</a></td></tr>
 112 <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="a01888.html">Dune::IteratorRange&lt;·Iterator·&gt;</a></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="a01448.html">Dune::DiagonalRowVector&lt;·K,·n·&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">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>
 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="a01472.html">Dune::const_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></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="a01476.html">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;</a></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="a01480.html">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01456.html">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;</a></td></tr>
87 <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>124 <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>
 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="a01484.html">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·DiagonalMatrix&lt;·field,·N·&gt;·&gt;</a></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">128 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>129 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>130 Namespaces</h2></td></tr>
92 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>131 <tr·class="memitem:a00425"·id="r_a00425"><td·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>132 <tr·class="memdesc: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>133 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table>134 </table>
 135 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 136 <div·class="textblock"><p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·</p>
96 </div><!--·contents·-->137 </div></div><!--·contents·-->
97 <!--·start·footer·part·-->138 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>139 <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.8140 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
100 </small></address>141 </small></address>
101 </body>142 </body>
102 </html>143 </html>
1.87 KB
html2text {}
    
Offset 7, 20 lines modifiedOffset 7, 59 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
13 iteratorrange.hh·File·Reference13 diagonalmatrix.hh·File·Reference
 14 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·More...
 15 #include·<algorithm>
 16 #include·<cassert>
 17 #include·<cmath>
 18 #include·<complex>
 19 #include·<cstddef>
 20 #include·<initializer_list>
 21 #include·<iostream>
 22 #include·<memory>
 23 #include·<dune/common/boundschecking.hh>
 24 #include·<dune/common/densematrix.hh>
 25 #include·<dune/common/exceptions.hh>
 26 #include·<dune/common/fmatrix.hh>
 27 #include·<dune/common/fvector.hh>
 28 #include·<dune/common/genericiterator.hh>
 29 #include·<dune/common/typetraits.hh>
14 Go_to_the_source_code_of_this_file.30 Go_to_the_source_code_of_this_file.
15 ·Classes31 ·Classes
16 class· Dune::IteratorRange<_Iterator_> 
17  ······Simple·range·between·a·begin·and·an·end·iterator.·More...32 ·class· Dune::DiagonalMatrix<_K,_n_>
 33  ·······A·diagonal·matrix·of·static·size.·More...
 34  
 35 struct· Dune::FieldTraits<_DiagonalMatrix<_K,_n_>_>
 36  
 37 ·class· Dune::DiagonalMatrixWrapper<_DiagonalMatrixType_>
 38  
 39 ·class· Dune::DiagonalRowVectorConst<_K,_n_>
 40  
 41 ·class· Dune::DiagonalRowVector<_K,_n_>
 42  
 43 struct· Dune::const_reference<_DiagonalRowVector<_K,_n_>_>
 44  
 45 struct· Dune::const_reference<_DiagonalRowVectorConst<_K,_n_>_>
 46  
 47 struct· Dune::mutable_reference<_DiagonalRowVector<_K,_n_>_>
 48  
 49 struct· Dune::mutable_reference<_DiagonalRowVectorConst<_K,_n_>_>
 50  
 51 ·class· Dune::ContainerWrapperIterator<_CW,_T,_R_>
 52  ·······Iterator·class·for·sparse·vector-like·containers.·More...
 53  
 54 struct· Dune::DenseMatrixAssigner<_DenseMatrix,_DiagonalMatrix<_field,_N_>_>
18  55  
19 ·Namespaces56 ·Namespaces
20 namespace· Dune57 namespace· Dune
21  ··········Dune·namespace.58  ··········Dune·namespace.
22  59  
 60 *****·Detailed·Description·*****
 61 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.
  
23 ===============================================================================62 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.863 ·····Generated·by [doxygen]·1.9.8
301 KB
./usr/share/doc/libdune-common-doc/doxygen/a00260_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 84 lines modifiedOffset 74, 1353 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">iteratorrange.hh</div></div>80 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00260.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00260.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ITERATORRANGE_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DIAGONAL_MATRIX_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ITERATORRANGE_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DIAGONAL_MATRIX_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <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> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
92 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
93 <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> 
94 <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="};"> 
95 <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> 
96 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··{</div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
98 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">public</span>:</div> 
99 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
100 <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:·a44881b6d926638a2083a9413384461b26d1acbb1c2d1db3a9ec837dec301e3e·...·]</div>99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00080.html">dune/common/boundschecking.hh</a>&gt;</span></div>
 100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00074.html">dune/common/densematrix.hh</a>&gt;</span></div>
 101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00170.html">dune/common/fmatrix.hh</a>&gt;</span></div>
 103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00065.html">dune/common/genericiterator.hh</a>&gt;</span></div>
 105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
101 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>106 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 108 <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>
102 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>109 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">···33</a></span>····<span·class="keyword">typedef</span>·Iterator·<a·class="code·hl_typedef"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67"[·...·truncated·by·diffoscope;·len:·19,·SHA:·33c52b9fc12c2aabb94f860d5fa6f962613a2c36e086e74e4835c210f67b35c6·...·];</div>110 <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>
 111 <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>
 112 <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>
 113 <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>
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>114 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</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>·K,·<span·class="keywordtype">int</span>·n&gt;</div>
105 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="}"> 
106 <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> 
107 <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> 
108 <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> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{}</div> 
110 </div> 
111 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
112 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}"> 
113 <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> 
114 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{}</div> 
115 </div> 
116 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
117 <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="}"> 
118 <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> 
119 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">····</span>{</div> 
120 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keywordflow">return</span>·_begin;</div> 
121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div> 
122 </div> 
123 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
124 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">116 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};">
125 <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:·25,·SHA:·6dbe2524010105bfe9afa455233e1f16f69c66e284b149939c80c70254be04a2·...·]></div>117 <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>
126 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div>118 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·_end;</div>119 <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>
128 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div>120 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
129 </div> 
130 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
131 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div>121 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>
 122 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div>
132 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>123 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">···60</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>;</div>
 125 <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>
133 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····Iterator·_begin;</div> 
134 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····Iterator·_end;</div> 
135 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
136 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··};</div>126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 127 <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>
137 </div> 
138 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
139 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> 
Diff chunk too large, falling back to line-by-line diff (1263 lines added, 1 lines removed)
140 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
141 <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>129 <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#ga09481dc4c7c3f45b0579995d4347[·...·truncated·by·diffoscope;·len:·20,·SHA:·25e714e42d7a1201981d0094ebfe8a64ff1d15137a91f4bc134a77199448363c·...·]</div>
 130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 131 <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>
 132 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 133 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">···73</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">DiagonalRowVector&lt;K,n&gt;</a>·<a·class="code·hl_typedef"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">row_type</a>;</div>
 134 <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>
 135 <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>
 136 <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>
 137 <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>
 138 <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>
 139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 143 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//====·size</span></div>
 144 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 145 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}">
 146 <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>
 147 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div>
Max diff block lines reached; 10602/259735 bytes (4.08%) of diff not shown.
47.4 KB
html2text {}
    
Offset 7, 92 lines modifiedOffset 7, 1604 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 iteratorrange.hh12 diagonalmatrix.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_ITERATORRANGE_HH 
20 ·6#define·DUNE_COMMON_ITERATORRANGE_HH19 ·5#ifndef·DUNE_DIAGONAL_MATRIX_HH
 20 ·6#define·DUNE_DIAGONAL_MATRIX_HH
21 ·721 ·7
22 ·8namespace·Dune·{ 
23 ·9 
24 ·11 
25 ·20·template<typename·Iterator> 
26 21·class·IteratorRange 
27 ·22·{ 
28 ·23 
29 ·24·public: 
30 ·25 
31 27·typedef·Iterator·iterator;22 ·12#include·<algorithm>
 23 ·13#include·<cassert>
 24 ·14#include·<cmath>
 25 ·15#include·<complex>
 26 ·16#include·<cstddef>
 27 ·17#include·<initializer_list>
 28 ·18#include·<iostream>
 29 ·19#include·<memory>
 30 ·20
 31 ·21#include·<dune/common/boundschecking.hh>
 32 ·22#include·<dune/common/densematrix.hh>
 33 ·23#include·<dune/common/exceptions.hh>
 34 ·24#include·<dune/common/fmatrix.hh>
 35 ·25#include·<dune/common/fvector.hh>
 36 ·26#include·<dune/common/genericiterator.hh>
 37 ·27#include·<dune/common/typetraits.hh>
32 ·2838 ·28
 39 ·29
 40 ·30namespace·Dune·{
 41 ·31
 42 ·32·template<·class·K,·int·n·>·class·DiagonalRowVectorConst;
 43 ·33·template<·class·K,·int·n·>·class·DiagonalRowVector;
 44 ·34·template<·class·DiagonalMatrixType·>·class·DiagonalMatrixWrapper;
 45 ·35·template<·class·C,·class·T,·class·R>·class·ContainerWrapperIterator;
 46 ·36
 47 ·51·template<class·K,·int·n>
 48 52·class·DiagonalMatrix
33 ·30 
34 33·typedef·Iterator·const_iterator; 
35 ·34 
36 36·IteratorRange(const·Iterator&·begin,·const·Iterator&·end) 
37 ·37·:·_begin(begin) 
38 ·38·,·_end(end) 
39 ·39·{} 
40 ·40 
41 42·IteratorRange() 
42 ·43·{} 
43 ·44 
44 46·iterator·begin()·const 
45 ·47·{ 
46 ·48·return·_begin; 
47 ·49·} 
48 ·50 
49 52·iterator·end()·const 
50 ·53·{49 ·53·{
51 ·54·return·_end;50 ·54·typedef·DiagonalMatrixWrapper<_DiagonalMatrix<K,n>·>·WrapperType;
52 ·55·}51 ·55
53 ·56 
54 ·57·private:52 ·56·public:
 53 ·57·//=====·type·definitions·and·constants
55 ·5854 ·58
 55 60·typedef·K·value_type;
 56 61·typedef·value_type·field_type;
 57 ·62
 58 64·typedef·K·block_type;
56 ·59·Iterator·_begin; 
57 ·60·Iterator·_end; 
58 ·61 
59 ·62·}; 
60 ·63 
61 ·64} 
Diff chunk too large, falling back to line-by-line diff (1457 lines added, 1 lines removed)
62 ·6559 ·65
63 ·66#endif·//·DUNE_COMMON_ITERATORRANGE_HH60 67·typedef·std::size_t·size_type;
 61 ·68
 62 70·constexpr·static·int·blocklevel·=·1;
 63 ·71
 64 73·typedef·DiagonalRowVector<K,n>·row_type;
 65 74·typedef·row_type·reference;
 66 75·typedef·row_type·row_reference;
 67 76·typedef·DiagonalRowVectorConst<K,n>·const_row_type;
 68 77·typedef·const_row_type·const_reference;
 69 78·typedef·const_row_type·const_row_reference;
 70 ·79
 71 81·constexpr·static·int·rows·=·n;
 72 83·constexpr·static·int·cols·=·n;
 73 ·84
 74 ·85·//====·size
 75 ·86
 76 87·static·constexpr·size_type·size·()
 77 ·88·{
 78 ·89·return·rows;
 79 ·90·}
 80 ·91
 81 ·92·//=====·constructors
 82 ·93
 83 95·constexpr·DiagonalMatrix()·=·default;
 84 ·96
 85 98·DiagonalMatrix·(const·K&·k)
 86 ·99·:·diag_(k)
 87 ·100·{}
 88 ·101
 89 103·DiagonalMatrix·(const·FieldVector<K,n>&·diag)
 90 ·104·:·diag_(diag)
 91 ·105·{}
 92 ·106
 93 115·DiagonalMatrix·(std::initializer_list<K>·const·&l)
 94 ·116·{
 95 ·117·std::copy_n(l.begin(),·std::min(static_cast<std::size_t>(rows),
 96 ·118·l.size()),
Max diff block lines reached; 4071/48564 bytes (8.38%) of diff not shown.
5.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 42 lines modifiedOffset 71, 34 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#define-members">Macros</a>··</div>77 <a·href="#define-members">Macros</a>··</div>
78 ··<div·class="headertitle"><div·class="title">fmatrixev.cc·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">deprecated.hh·File·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
81 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/> 
82 <code>#include·&lt;cmath&gt;</code><br·/> 
83 <code>#include·&lt;cassert&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
 81 <p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.··
 82 <a·href="#details">More...</a></p>
  
 83 <p><a·href="a00263_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 </div><table·class="memberdecls">84 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
87 Macros</h2></td></tr>86 Macros</h2></td></tr>
88 <tr·class="memitem:afa3d4fc0f9c478d5f00cc7586b9dad48"·id="r_afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#afa3d4fc0f9c478d5f00cc7586b9dad48">DUN[·...·truncated·by·diffoscope;·len:·27,·SHA:·a743379c7a5362557d657c00bbfabefe3a073a3e995a495726f0a40d11e7496e·...·]</td></tr>87 <tr·class="memitem:ga74d440d098178dc5a4adea8f7c160e99"·id="r_ga74d440d098178dc5a4adea8f7c160e99"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">[·...·truncated·by·diffoscope;·len:·49,·SHA:·a9aabd11e3fd772cdd3823d0c3fac67598ad70baa58961f83bf88f9e2ad8a8e1·...·]</td></tr>
 88 <tr·class="memdesc:ga74d440d098178dc5a4adea8f7c160e99"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(start)··<br·/></td></tr>
89 <tr·class="separator:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:ga664ae9266c2a074c71746e68aaa8eb6a"·id="r_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>
 91 <tr·class="memdesc:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(end)··<br·/></td></tr>
 92 <tr·class="separator:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>93 </table>
 94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 95 <div·class="textblock"><p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·</p>
91 <h2·class="groupheader">Macro·Definition·Documentation</h2> 
92 <a·id="afa3d4fc0f9c478d5f00cc7586b9dad48"·name="afa3d4fc0f9c478d5f00cc7586b9dad48"></a> 
93 <h2·class="memtitle"><span·class="permalink"><a·href="#afa3d4fc0f9c478d5f00cc7586b9dad48">&#9670;&#160;</a></span>DUNE_FMATRIXEIGENVALUES_CC</h2> 
  
94 <div·class="memitem"> 
95 <div·class="memproto"> 
96 ······<table·class="memname"> 
97 ········<tr> 
98 ··········<td·class="memname">#define·DUNE_FMATRIXEIGENVALUES_CC</td> 
99 ········</tr> 
100 ······</table> 
101 </div><div·class="memdoc"> 
  
102 </div> 
103 </div> 
104 </div><!--·contents·-->96 </div></div><!--·contents·-->
105 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>98 <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.899 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>100 </small></address>
109 </body>101 </body>
110 </html>102 </html>
904 B
html2text {}
    
Offset 7, 21 lines modifiedOffset 7, 22 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Macros12 Macros
 13 deprecated.hh·File·Reference
 14 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.·More...
 15 Go_to_the_source_code_of_this_file.
13 fmatrixev.cc·File·Reference 
14 #include·<iostream> 
15 #include·<cmath> 
16 #include·<cassert> 
17 #include·<dune/common/exceptions.hh> 
18 ·Macros16 ·Macros
19 #define DUNE_FMATRIXEIGENVALUES_CC17 #define DUNE_NO_DEPRECATED_BEGIN   ...
 18  ·······Ignore·deprecation·warnings·(start)
20  19  
21 *****·Macro·Definition·Documentation·***** 
22 *****·◆ DUNE_FMATRIXEIGENVALUES_CC·***** 
23 #define·DUNE_FMATRIXEIGENVALUES_CC20 #define DUNE_NO_DEPRECATED_END   ...
 21  ·······Ignore·deprecation·warnings·(end)
 22  
 23 *****·Detailed·Description·*****
 24 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.
  
24 ===============================================================================25 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.826 ·····Generated·by [doxygen]·1.9.8
8.39 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 26 lines modifiedOffset 70, 70 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
78 ··<div·class="headertitle"><div·class="title">exceptions.cc·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">parametertree.hh·File·Reference</div></div>
79 </div><!--header-->80 </div><!--header-->
80 <div·class="contents">81 <div·class="contents">
  
 82 <p>A·hierarchical·structure·of·string·parameters.··
 83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 85 <code>#include·&lt;cstddef&gt;</code><br·/>
 86 <code>#include·&lt;iostream&gt;</code><br·/>
 87 <code>#include·&lt;istream&gt;</code><br·/>
 88 <code>#include·&lt;iterator&gt;</code><br·/>
 89 <code>#include·&lt;locale&gt;</code><br·/>
 90 <code>#include·&lt;map&gt;</code><br·/>
 91 <code>#include·&lt;ostream&gt;</code><br·/>
 92 <code>#include·&lt;sstream&gt;</code><br·/>
 93 <code>#include·&lt;string&gt;</code><br·/>
 94 <code>#include·&lt;typeinfo&gt;</code><br·/>
 95 <code>#include·&lt;vector&gt;</code><br·/>
 96 <code>#include·&lt;algorithm&gt;</code><br·/>
 97 <code>#include·&lt;bitset&gt;</code><br·/>
81 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>98 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 99 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 100 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 101 </div>
 102 <p><a·href="a00266_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 </div><table·class="memberdecls">103 <table·class="memberdecls">
 104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 105 Classes</h2></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="a02344.html">Dune::ParameterTree</a></td></tr>
 107 <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>
 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="a02352.html">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&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="a02356.html">Dune::ParameterTree::Parser&lt;·bool·&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="a02360.html">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower</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">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>
 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="a02368.html">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;</a></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="a02372.html">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;</a></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="a02376.html">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr>
 122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
84 Namespaces</h2></td></tr>125 Namespaces</h2></td></tr>
85 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>126 <tr·class="memitem:a00425"·id="r_a00425"><td·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>127 <tr·class="memdesc: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>128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>129 </table>
 130 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 131 <div·class="textblock"><p>A·hierarchical·structure·of·string·parameters.·</p>
89 </div><!--·contents·-->132 </div></div><!--·contents·-->
90 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>134 <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.8135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
93 </small></address>136 </small></address>
94 </body>137 </body>
95 </html>138 </html>
1.48 KB
html2text {}
    
Offset 6, 17 lines modifiedOffset 6, 56 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces 
13 exceptions.cc·File·Reference12 Classes·|·Namespaces
 13 parametertree.hh·File·Reference
 14 A·hierarchical·structure·of·string·parameters.·More...
 15 #include·<array>
 16 #include·<cstddef>
 17 #include·<iostream>
 18 #include·<istream>
 19 #include·<iterator>
 20 #include·<locale>
 21 #include·<map>
 22 #include·<ostream>
 23 #include·<sstream>
 24 #include·<string>
 25 #include·<typeinfo>
 26 #include·<vector>
 27 #include·<algorithm>
 28 #include·<bitset>
14 #include·<dune/common/exceptions.hh>29 #include·<dune/common/exceptions.hh>
 30 #include·<dune/common/fvector.hh>
 31 #include·<dune/common/classname.hh>
 32 Go_to_the_source_code_of_this_file.
 33 ·Classes
 34 ·class· Dune::ParameterTree
 35  ·······Hierarchical·structure·of·string·parameters.·More...
 36  
 37 struct· Dune::ParameterTree::Parser<_std::basic_string<_char,_traits,
 38 ·········Allocator_>_>
 39  
 40 struct· Dune::ParameterTree::Parser<_bool_>
 41  
 42 struct· Dune::ParameterTree::Parser<_bool_>::ToLower
 43  
 44 struct· Dune::ParameterTree::Parser<_FieldVector<_T,_n_>_>
 45  
 46 struct· Dune::ParameterTree::Parser<_std::array<_T,_n_>_>
 47  
 48 struct· Dune::ParameterTree::Parser<_std::bitset<_n_>_>
 49  
 50 struct· Dune::ParameterTree::Parser<_std::vector<_T,_A_>_>
 51  
15 ·Namespaces52 ·Namespaces
16 namespace· Dune53 namespace· Dune
17  ··········Dune·namespace.54  ··········Dune·namespace.
18  55  
 56 *****·Detailed·Description·*****
 57 A·hierarchical·structure·of·string·parameters.
  
19 ===============================================================================58 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.859 ·····Generated·by [doxygen]·1.9.8
17.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00269.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 72, 70 lines modifiedOffset 72, 86 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#typedef-members">Typedefs</a>·&#124;
79 <a·href="#define-members">Macros</a>··</div>80 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">reservedvector.hh·File·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">typelist.hh·File·Reference</div></div>
81 </div><!--header-->82 </div><!--header-->
82 <div·class="contents">83 <div·class="contents">
  
83 <p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
86 <code>#include·&lt;array&gt;</code><br·/> 
87 <code>#include·&lt;cassert&gt;</code><br·/> 
88 <code>#include·&lt;iostream&gt;</code><br·/> 
89 <code>#include·&lt;iterator&gt;</code><br·/> 
90 <code>#include·&lt;cstddef&gt;</code><br·/>85 <code>#include·&lt;tuple&gt;</code><br·/>
91 <code>#include·&lt;initializer_list&gt;</code><br·/>86 <code>#include·&lt;utility&gt;</code><br·/>
92 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/hash.hh</a>&gt;</code><br·/> 
93 </div>87 </div>
94 <p><a·href="a00269_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00269_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">89 <table·class="memberdecls">
96 <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>
97 Classes</h2></td></tr>91 Classes</h2></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="a02552.html">Dune::ReservedVector&lt;·T,·n·&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="a03028.html">Dune::MetaType&lt;·T·&gt;</a></td></tr>
99 <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>93 <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>
 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="a03032.html">Dune::IsTypeList&lt;·T·&gt;</a></td></tr>
 96 <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>
 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="a03036.html">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 99 <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>
 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="a03040.html">Dune::IsEmptyTypeList&lt;·T·&gt;</a></td></tr>
 102 <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>
 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="a03044.html">Dune::TypeListSize&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="a03048.html">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 107 <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>
 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="a03052.html">Dune::TypeListElement&lt;·i,·T·&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="a03056.html">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 112 <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>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">114 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>116 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">120 </table><table·class="memberdecls">
 121 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 122 Typedefs</h2></td></tr>
 123 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"·id="r_ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 124 <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;·<a·class="el"·href="a03028.html">MetaType</a>&lt;·T·&gt;...·&gt;</td></tr>
 125 <tr·class="memdesc:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·type·list.··<br·/></td></tr>
 126 <tr·class="separator:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"·id="r_ae06816da928c17285e09ccb74357648b"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i,·class·T·&gt;·</td></tr>
 128 <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·<a·class="el"·href="a03052.html">TypeListElement</a>&lt;·i,·T·&gt;::type</td></tr>
 129 <tr·class="memdesc:ae06816da928c17285e09ccb74357648b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Shortcut·for·TypeListElement&lt;i,·T&gt;::type;.··<br·/></td></tr>
 130 <tr·class="separator:ae06816da928c17285e09ccb74357648b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"·id="r_a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class·TL·&gt;·</td></tr>
 132 <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>
 133 <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>.··<br·/></td></tr>
 134 <tr·class="separator:a05190548d101a946d1cab292cff5fdb9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"·id="r_a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class...·T&gt;·</td></tr>
 136 <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,·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·T...·&gt;·&gt;::type</td></tr>
 137 <tr·class="memdesc:a7f31a234ebc9fa02660570324eabde1a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·list·of·types.··<br·/></td></tr>
 138 <tr·class="separator:a7f31a234ebc9fa02660570324eabde1a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"·id="r_ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplParams"·colspan="2">template&lt;class·NonUniqueTypeList·&gt;·</td></tr>
 140 <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;·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>,·NonUniqueTypeList·&gt;::type</td></tr>
 141 <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>.··<br·/></td></tr>
 142 <tr·class="separator:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 </table><table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
109 Macros</h2></td></tr>145 Functions</h2></td></tr>
110 <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"·id="r_a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00269.html#a65543e75bc949ecdb95a25b1f4e11675">CHEC[·...·truncated·by·diffoscope;·len:·32,·SHA:·821e05fe4d378046f2a35c2a6cee000a7334c1f76fc5c99b13c7d54652b50609·...·]</td></tr>146 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"·id="r_a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 147 <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>·(<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·T...·&gt;·list)</td></tr>
 148 <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>.··<br·/></td></tr>
111 <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2">&#160;</td></tr>149 <tr·class="separator:a595be06b36830646a9a348d33b7c51c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>150 </table>
113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
114 <div·class="textblock"><p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·</p> 
115 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
116 <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a> 
117 <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">&#9670;&#160;</a></span>CHECKSIZE</h2> 
  
118 <div·class="memitem"> 
119 <div·class="memproto"> 
120 ······<table·class="memname"> 
121 ········<tr> 
122 ··········<td·class="memname">#define·CHECKSIZE</td> 
123 ··········<td>(</td> 
124 ··········<td·class="paramtype">&#160;</td> 
125 ··········<td·class="paramname">X</td><td>)</td> 
126 ··········<td>&#160;&#160;&#160;{}</td> 
127 ········</tr> 
128 ······</table> 
129 </div><div·class="memdoc"> 
  
130 </div> 
131 </div> 
132 </div><!--·contents·-->151 </div><!--·contents·-->
133 <!--·start·footer·part·-->152 <!--·start·footer·part·-->
134 <hr·class="footer"/><address·class="footer"><small>153 <hr·class="footer"/><address·class="footer"><small>
Max diff block lines reached; 38/14635 bytes (0.26%) of diff not shown.
2.77 KB
html2text {}
    
Offset 6, 39 lines modifiedOffset 6, 72 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Classes·|·Namespaces·|·Typedefs·|·Functions
 13 typelist.hh·File·Reference
 14 #include·<type_traits>
12 Classes·|·Namespaces·|·Macros 
13 reservedvector.hh·File·Reference 
14 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack. 
15 More... 
16 #include·<algorithm> 
17 #include·<array> 
18 #include·<cassert> 
19 #include·<iostream> 
20 #include·<iterator> 
21 #include·<cstddef>15 #include·<tuple>
 16 #include·<utility>
22 #include·<initializer_list> 
23 #include·<dune/common/hash.hh> 
24 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
25 ·Classes18 ·Classes
26 class· Dune::ReservedVector<_T,_n_> 
27  ······A·Vector·class·with·statically·reserved·memory.·More...19 struct· Dune::MetaType<_T_>
 20  ·······A·type·that·refers·to·another·type.·More...
 21  
 22 struct· Dune::IsTypeList<_T_>
 23  ·······Check·if·given·type·is·a·TypeList.·More...
 24  
 25 struct· Dune::IsTypeList<_TypeList<_T..._>_>
 26  ·······Check·if·given·type·is·a·TypeList.·More...
 27  
 28 struct· Dune::IsEmptyTypeList<_T_>
 29  ·······Check·if·given·type·is·an·empty·TypeList.·More...
 30  
 31 struct· Dune::TypeListSize<_T_>
 32  
 33 struct· Dune::TypeListSize<_TypeList<_T..._>_>
 34  ·······Get·size·of·TypeList.·More...
 35  
 36 struct· Dune::TypeListElement<_i,_T_>
 37  
 38 struct· Dune::TypeListElement<_i,_TypeList<_T..._>_>
 39  ·······Get·element·of·TypeList.·More...
28  40  
29 ·Namespaces41 ·Namespaces
30 namespace· Dune42 namespace· Dune
31  ··········Dune·namespace.43  ··········Dune·namespace.
32  44  
33 ·Macros 
34 #define CHECKSIZE(X)   {}45 ·Typedefs
 46 template<class...·T>
 47 using Dune::TypeList·=·std::tuple<·MetaType<·T·>...·>
 48  ·····A·simple·type·list.
 49  
 50 template<std::size_t·i,·class·T·>
 51 using Dune::TypeListEntry_t·=·typename·TypeListElement<·i,·T·>::type
 52  ·····Shortcut·for·TypeListElement<i,·T>::type;.
 53  
 54 template<template<·class...·>·class·Target,·class·TL·>
 55 using Dune::UnpackTypeList_t·=·typename·Impl::UnpackTypeList<·Target,·TL·>::
 56 ·······type
 57  ·····Unpack·Dune::TypeList.
 58  
 59 template<template<·class...·>·class·Target,·class...·T>
 60 using Dune::UniqueTypes_t·=·typename·Impl::UniqueTypesHelper<·Target,
 61 ·······TypeList<·T...·>·>::type
 62  ·····Remove·duplicates·from·a·list·of·types.
 63  
 64 template<class·NonUniqueTypeList·>
 65 using Dune::UniqueTypeList_t·=·typename·Impl::UniqueTypesHelper<·TypeList,
 66 ·······NonUniqueTypeList·>::type
 67  ·····Remove·duplicates·from·a·Dune::TypeList.
 68  
 69 ·Functions
 70 template<class...·T>
 71 constexpr·auto Dune::uniqueTypeList·(TypeList<·T...·>·list)
 72  ··············Remove·duplicates·from·a·Dune::TypeList.
35  73  
36 *****·Detailed·Description·***** 
37 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack. 
38 *****·Macro·Definition·Documentation·***** 
39 *****·◆ CHECKSIZE·***** 
40 #define·CHECKSIZE·(· X·)·   {} 
  
41 ===============================================================================74 ===============================================================================
42 ·····Generated·by [doxygen]·1.9.875 ·····Generated·by [doxygen]·1.9.8
145 KB
./usr/share/doc/libdune-common-doc/doxygen/a00269_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 74, 528 lines modifiedOffset 74, 148 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">reservedvector.hh</div></div>80 ··<div·class="headertitle"><div·class="title">typelist.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPELIST_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_RESERVEDVECTOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPELIST_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div> 
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00065.html">dune/common/hash.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDVECTOR</span></div> 
101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> 
102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else</span></div> 
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00269.html#a65543e75bc949ecdb95a25b1f4e11675">···25</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> 
104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div> 
105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
106 <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="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>
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
108 <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>96 <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>
109 <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};">97 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">
110 <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="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>
 99 <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>
111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··{</div> 
112 <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> 
113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div> 
115 <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"><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> 
117 <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> 
118 <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> 
119 <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> 
120 <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> 
121 <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> 
122 <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> 
123 <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> 
124 <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> 
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··};</div>
128 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> 
129 <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> 
130 <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> 
131 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······:·storage_()</div> 
132 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······,·size_(0)</div> 
133 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{}</div> 
134 </div>101 </div>
135 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 103 <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>
 104 <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>
 105 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 106 <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>
 108 <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>
 109 <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>
 110 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 111 <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>
 112 <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>
 113 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 114 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 115 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 116 <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>
 117 <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>
 118 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>
 119 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 120 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 121 <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>
 122 <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>
 123 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 124 <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>
 125 <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>
 126 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div>
 127 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div>
 128 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div>
 129 <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>
 130 <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>
 131 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div>
 132 <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>
136 <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="}">133 <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="};">
 134 <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>
137 <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> 
138 <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> 
139 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······:·storage_()</div> 
140 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······,·size_(count)</div> 
141 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div>135 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··{</div>
 136 <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>
142 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······assert(count·&lt;=·n);</div>137 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div>
 138 <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>
143 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····}</div>139 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··};</div>
144 </div>140 </div>
145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
146 <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="}"> 
147 <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> 
Max diff block lines reached; 80589/122934 bytes (65.55%) of diff not shown.
24.9 KB
html2text {}
    
Offset 7, 635 lines modifiedOffset 7, 183 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 reservedvector.hh12 typelist.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH19 ·5#ifndef·DUNE_COMMON_TYPELIST_HH
20 ·6#define·DUNE_COMMON_RESERVEDVECTOR_HH20 ·6#define·DUNE_COMMON_TYPELIST_HH
21 ·721 ·7
 22 ·8#include·<type_traits>
 23 ·9#include·<tuple>
 24 ·10#include·<utility>
 25 ·11
22 ·12#include·<algorithm> 
23 ·13#include·<array> 
24 ·14#include·<cassert> 
25 ·15#include·<iostream> 
26 ·16#include·<iterator> 
27 ·17#include·<cstddef> 
28 ·18#include·<initializer_list> 
29 ·19 
30 ·20#include·<dune/common/hash.hh> 
31 ·21 
32 ·22#ifdef·CHECK_RESERVEDVECTOR 
33 ·23#define·CHECKSIZE(X)·assert(X) 
34 ·24#else 
35 25#define·CHECKSIZE(X)·{} 
36 ·26#endif 
37 ·27 
38 ·28namespace·Dune26 ·12namespace·Dune·{
39 ·29{ 
40 ·45·template<class·T,·int·n> 
41 46·class·ReservedVector 
42 ·47·{ 
43 ·48·using·storage_type·=·std::array<T,n>; 
44 ·49 
45 ·50·public: 
46 ·51 
47 55·typedef·typename·storage_type::value_type·value_type; 
48 57·typedef·typename·storage_type::pointer·pointer; 
49 59·typedef·typename·storage_type::const_pointer·const_pointer; 
50 61·typedef·typename·storage_type::reference·reference; 
51 63·typedef·typename·storage_type::const_reference·const_reference; 
52 65·typedef·typename·storage_type::size_type·size_type; 
53 67·typedef·typename·storage_type::difference_type·difference_type; 
54 69·typedef·typename·storage_type::iterator·iterator; 
55 71·typedef·typename·storage_type::const_iterator·const_iterator; 
56 73·typedef·std::reverse_iterator<iterator>·reverse_iterator; 
57 75·typedef·std::reverse_iterator<const_iterator>·const_reverse_iterator; 
58 ·76 
59 82·constexpr·ReservedVector() 
60 ·83·noexcept(std::is_nothrow_default_constructible_v<value_type>) 
61 ·84·:·storage_() 
62 ·85·,·size_(0) 
63 ·86·{} 
64 ·87 
65 89·explicit·constexpr·ReservedVector(size_type·count) 
66 ·90·noexcept(std::is_nothrow_default_constructible_v<value_type>) 
67 ·91·:·storage_() 
68 ·92·,·size_(count) 
69 ·93·{ 
70 ·94·assert(count·<=·n); 
71 ·95·} 
72 ·96 
73 98·constexpr·ReservedVector(size_type·count,·const·value_type&·value) 
74 ·99·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&& 
75 ·100·noexcept(ReservedVector(count))) 
76 ·101·:·ReservedVector(count) 
77 ·102·{ 
78 ·103·for·(size_type·i=0;·i<count;·++i) 
79 ·104·storage_[i]·=·value; 
80 ·105·} 
81 ·106 
82 ·108·template<class·InputIt, 
83 ·109·std::enable_if_t<std::is_convertible_v<typename·std:: 
84 iterator_traits<InputIt>::value_type,·value_type>,·int>·=·0> 
85 110·constexpr·ReservedVector(InputIt·first,·InputIt·last) 
86 ·111·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&& 
87 ·112·noexcept(ReservedVector())) 
88 ·113·:·ReservedVector() 
89 ·114·{ 
90 ·115·for·(size_type·i=0;·i<n·&&·first!=last;·++i,++size_) 
91 ·116·storage_[i]·=·*first++; 
92 ·117·assert(first·==·last); 
93 ·118·} 
94 ·119 
95 121·constexpr·ReservedVector(std::initializer_list<value_type>·const&·l) 
96 ·122·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&& 
97 ·123·noexcept(ReservedVector(l.begin(),l.end()))) 
98 ·124·:·ReservedVector(l.begin(),l.end()) 
99 ·125·{} 
100 ·126 
101 132·constexpr·bool·operator==(const·ReservedVector&·that)·const·noexcept 
102 ·133·{ 
103 ·134·if·(size()·!=·that.size()) 
104 ·135·return·false; 
105 ·136·for·(size_type·i=0;·i<size();·++i) 
106 ·137·if·(!(storage_[i]==that.storage_[i])) 
107 ·138·return·false; 
108 ·139·return·true; 
109 ·140·} 
110 ·141 
111 143·constexpr·bool·operator!=(const·ReservedVector&·that)·const·noexcept 
112 ·144·{ 
113 ·145·return·!(*this·==·that); 
114 ·146·} 
115 ·147 
116 149·constexpr·bool·operator<(const·ReservedVector&·that)·const·noexcept 
117 ·150·{ 
118 ·151·for·(size_type·i=0;·i<std::min(size(),that.size());·++i)·{ 
119 ·152·if·(storage_[i]·<·that.storage_[i])·return·true; 
120 ·153·if·(that.storage_[i]·<·storage_[i])·return·false; 
121 ·154·} 
122 ·155·return·size()·<·that.size(); 
123 ·156·} 
124 ·157 
125 159·constexpr·bool·operator>(const·ReservedVector&·that)·const·noexcept 
126 ·160·{ 
127 ·161·return·that·<·*this; 
Max diff block lines reached; 19126/25490 bytes (75.03%) of diff not shown.
4.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 27 lines modifiedOffset 69, 37 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="summary">
 76 <a·href="#namespaces">Namespaces</a>·&#124;
 77 <a·href="#func-members">Functions</a>··</div>
75 ··<div·class="headertitle"><div·class="title">parametertree.cc·File·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">stdthread.cc·File·Reference</div></div>
76 </div><!--header-->79 </div><!--header-->
77 <div·class="contents">80 <div·class="contents">
78 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>81 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>
79 <code>#include·&lt;iostream&gt;</code><br·/>82 <code>#include·&lt;iostream&gt;</code><br·/>
 83 <code>#include·&lt;mutex&gt;</code><br·/>
80 <code>#include·&lt;ostream&gt;</code><br·/>84 <code>#include·&lt;ostream&gt;</code><br·/>
81 <code>#include·&lt;string&gt;</code><br·/> 
82 <code>#include·&lt;sstream&gt;</code><br·/> 
83 <code>#include·&lt;fstream&gt;</code><br·/> 
84 <code>#include·&lt;set&gt;</code><br·/> 
85 <code>#include·&lt;algorithm&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/stdthread.hh</a>&gt;</code><br·/>
 86 </div><table·class="memberdecls">
 87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 88 Namespaces</h2></td></tr>
 89 <tr·class="memitem:a00425"·id="r_a00425"><td·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="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="func-members"·name="func-members"></a>
 94 Functions</h2></td></tr>
 95 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"·id="r_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>
 96 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 </table>
88 </div></div><!--·contents·-->98 </div><!--·contents·-->
89 <!--·start·footer·part·-->99 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>100 <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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
92 </small></address>102 </small></address>
93 </body>103 </body>
94 </html>104 </html>
779 B
html2text {}
    
Offset 6, 21 lines modifiedOffset 6, 24 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Functions
12 parametertree.cc·File·Reference13 stdthread.cc·File·Reference
13 #include·<cstdlib>14 #include·<cstdlib>
14 #include·<iostream>15 #include·<iostream>
 16 #include·<mutex>
15 #include·<ostream>17 #include·<ostream>
16 #include·<string> 
17 #include·<sstream> 
18 #include·<fstream> 
19 #include·<set> 
20 #include·<algorithm> 
21 #include·<dune/common/exceptions.hh> 
22 #include·<dune/common/parametertree.hh>18 #include·<dune/common/stdthread.hh>
 19 ·Namespaces
 20 namespace· Dune
 21  ··········Dune·namespace.
 22  
 23 ·Functions
 24 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)
 25  
  
23 ===============================================================================26 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.827 ·····Generated·by [doxygen]·1.9.8
6.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 39 lines modifiedOffset 71, 48 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
79 ··<div·class="headertitle"><div·class="title">precision.hh·File·Reference</div></div>79 <a·href="#func-members">Functions</a>··</div>
 80 ··<div·class="headertitle"><div·class="title">indent.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.··83 <p>Utility·class·for·handling·nested·indentation·in·output.··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;stdlib.h&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;ostream&gt;</code><br·/>
 86 <code>#include·&lt;string&gt;</code><br·/>
85 </div>87 </div>
86 <p><a·href="a00275_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00275_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">89 <table·class="memberdecls">
88 <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>
89 Classes</h2></td></tr>91 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="a02428.html">Dune::FMatrixPrecision&lt;·ctype·&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="a01864.html">Dune::Indent</a></td></tr>
91 <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="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>
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 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
94 <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>
95 Namespaces</h2></td></tr>97 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
 102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 103 Functions</h2></td></tr>
 104 <tr·class="memitem:gace1faa2fb503952859542dbea15eb066"·id="r_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·<a·class="el"·href="a01864.html">Indent</a>·&amp;indent)</td></tr>
 105 <tr·class="memdesc:gace1faa2fb503952859542dbea15eb066"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">write·indentation·to·a·stream··<br·/></td></tr>
 106 <tr·class="separator:gace1faa2fb503952859542dbea15eb066"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table>107 </table>
100 <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>
101 <div·class="textblock"><p>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.·</p>109 <div·class="textblock"><p>Utility·class·for·handling·nested·indentation·in·output.·</p>
 110 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·</dd></dl>
102 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
103 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>113 <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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
106 </small></address>115 </small></address>
107 </body>116 </body>
108 </html>117 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.2 KB
html2text {}
    
Offset 6, 26 lines modifiedOffset 6, 33 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
13 precision.hh·File·Reference13 indent.hh·File·Reference
14 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector. 
15 More...14 Common
 15 Utility·class·for·handling·nested·indentation·in·output.·More...
 16 #include·<ostream>
16 #include·<stdlib.h>17 #include·<string>
17 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
18 ·Classes19 ·Classes
19 class· Dune::FMatrixPrecision<_ctype_> 
20  ······Precisions·for·calculations·with·FieldMatrix·and·FieldVector.·More...20 class· Dune::Indent
 21  ······Utility·class·for·handling·nested·indentation·in·output.·More...
21  22  
22 ·Namespaces23 ·Namespaces
23 namespace· Dune24 namespace· Dune
24  ··········Dune·namespace.25  ··········Dune·namespace.
25  26  
 27 ·Functions
 28 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·Indent·&indent)
 29  ··············write·indentation·to·a·stream
 30  
26 *****·Detailed·Description·*****31 *****·Detailed·Description·*****
27 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.32 Utility·class·for·handling·nested·indentation·in·output.
 33 ··Author
 34 ·······Fahlke
  
28 ===============================================================================35 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.836 ·····Generated·by [doxygen]·1.9.8
28.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 62 lines modifiedOffset 74, 107 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">precision.hh</div></div>80 ··<div·class="headertitle"><div·class="title">indent.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00275.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00275.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PRECISION_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDENT_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PRECISION_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_INDENT_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;stdlib.h&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
92 <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>93 <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>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>94 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</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>·ctype·=·<span·class="keywordtype">double</span>&gt;</div> 
95 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};">95 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};">
96 <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>96 <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>
 97 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
 98 <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>
 99 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::string·basic_indent;</div>
 100 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">unsigned</span>·level;</div>
 101 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">public</span>:</div>102 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">public</span>:</div>
 103 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
98 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="}">104 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
99 <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">a[·...·truncated·by·diffoscope;·len:·19,·SHA:·0154d0f36dbcc886fef39b83fd2b95c88561a8beac4e9e7c4070881f9efecab3·...·])</div>105 <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">Inden[·...·truncated·by·diffoscope;·len:·177,·SHA:·06a4d069e27ae5244233cc10a721e988d605b79b71446ca5bcb9be6afa83babc·...·])</div>
 106 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······:·parent(0),·basic_indent(basic_indent_),·level(level_)</div>
100 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>107 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····{·}</div>
101 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······<span·class="keywordflow">return</span>·_absolute;</div> 
102 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div> 
103 </div>108 </div>
104 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>109 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
105 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}">110 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="}">
 111 <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>
 112 <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>
106 <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> 
107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div> 
108 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······_absolute·=·absthres;</div> 
109 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····}</div>113 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····{·}</div>
110 </div>114 </div>
 115 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
111 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>116 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">private</span>:</div> 
113 <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> 
114 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">static</span>·ctype·_absolute;</div>117 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">
 118 <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>
 119 <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>
 120 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······:·parent(parent_),·basic_indent(basic_indent_),·level(level_)</div>
115 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>121 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{·}</div>
116 </div>122 </div>
117 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
118 <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> 
119 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··ctype·FMatrixPrecision&lt;ctype&gt;::_absolute·=·1E-80;</div> 
120 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}·<span·class="comment">//·end·namespace</span></div> 
122 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>123 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 124 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{·}</div>
 128 </div>
 129 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 130 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}">
 131 <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>
 132 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>(<span·class="keyword">this</span>,·newindent);</div>
 133 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>
 134 </div>
 135 <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="}">
 136 <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>
 137 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>(parent,·basic_indent,·level+morelevel);</div>
 138 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>
 139 </div>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 143 <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>
 144 <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>
 145 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··};</div>
 146 </div>
 147 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 148 <div·class="foldopen"·id="foldopen00105"·data-start="{"·data-end="};">
 149 <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>
 150 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">if</span>(indent.parent)</div>
 151 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······s·&lt;&lt;·*indent.parent;</div>
 152 <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>
 153 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······s·&lt;&lt;·indent.basic_indent;</div>
123 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#endif</span></div>154 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">return</span>·s;</div>
 155 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··}</div>
 156 </div>
 157 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 158 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>}·<span·class="comment">//·namespace·Dune</span></div>
 159 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 160 <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>
 161 <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>
 162 <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>
 163 <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>
 164 <div·class="ttc"·id="aa00397_html_ga8aa75c75f4de24c071ad32c329c4f0f1"><div·class="ttname"><a·href="a00397.html#ga8aa75c75f4de24c071ad32c329c4f0f1">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(const·Indent·*parent_,·unsigned·level_)</div><div·class="ttdoc">setup·with·parent</div><div·class="ttdef"><b>Definition</b>·indent.hh:82</div></div>
 165 <div·class="ttc"·id="aa00397_html_gaaca980bf5fb4bf2cc341324b077d28a8"><div·class="ttname"><a·href="a00397.html#gaaca980bf5fb4bf2cc341324b077d28a8">Dune::Indent::operator++</a></div><div·class="ttdeci">Indent·&amp;·operator++()</div><div·class="ttdoc">raise·indentation·level</div><div·class="ttdef"><b>Definition</b>·indent.hh:95</div></div>
 166 <div·class="ttc"·id="aa00397_html_gabb0f032ac7f93f75e8918741c6da79c5"><div·class="ttname"><a·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(const·std::string·&amp;basic_indent_=&quot;··&quot;,·unsigned·level_=0)</div><div·class="ttdoc">setup·without·parent</div><div·class="ttdef"><b>Definition</b>·indent.hh:63</div></div>
 167 <div·class="ttc"·id="aa00397_html_gabf8f40e7093e2c7972f4b7a262fd05d8"><div·class="ttname"><a·href="a00397.html#gabf8f40e7093e2c7972f4b7a262fd05d8">Dune::Indent::operator--</a></div><div·class="ttdeci">Indent·&amp;·operator--()</div><div·class="ttdoc">lower·indentation·level</div><div·class="ttdef"><b>Definition</b>·indent.hh:97</div></div>
 168 <div·class="ttc"·id="aa00397_html_gac6f5e4de9f1e93d4523c4dbda35d935e"><div·class="ttname"><a·href="a00397.html#gac6f5e4de9f1e93d4523c4dbda35d935e">Dune::Indent::operator&lt;&lt;</a></div><div·class="ttdeci">friend·std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·Indent·&amp;indent)</div><div·class="ttdoc">write·indentation·to·a·stream</div><div·class="ttdef"><b>Definition</b>·indent.hh:105</div></div>
 169 <div·class="ttc"·id="aa00397_html_gae84075a0c38565df531b69c1cbba9de8"><div·class="ttname"><a·href="a00397.html#gae84075a0c38565df531b69c1cbba9de8">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(const·Indent·*parent_,·const·std::string·&amp;basic_indent_=&quot;··&quot;,·unsigned·level_=1)</div><div·class="ttdoc">setup·with·parent</div><div·class="ttdef"><b>Definition</b>·indent.hh:76</div></div>
 170 <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>
Max diff block lines reached; 1587/23987 bytes (6.62%) of diff not shown.
4.58 KB
html2text {}
    
Offset 7, 62 lines modifiedOffset 7, 121 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 precision.hh12 indent.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_PRECISION_HH 
20 ·6#define·DUNE_PRECISION_HH19 ·5#ifndef·DUNE_COMMON_INDENT_HH
 20 ·6#define·DUNE_COMMON_INDENT_HH
21 ·721 ·7
22 ·12#include·<stdlib.h> 
23 ·1322 ·8#include·<ostream>
 23 ·9#include·<string>
 24 ·10
24 ·14namespace·Dune·{25 ·11namespace·Dune·{
25 ·15 
26 ·24·template·<class·ctype·=·double> 
27 25·class·FMatrixPrecision·{26 ·22
 27 52·class·Indent
 28 ·53·{
 29 ·54·const·Indent*·parent;
 30 ·55·std::string·basic_indent;
 31 ·56·unsigned·level;
 32 ·57
28 ·26·public:33 ·58·public:
29 28·static·ctype·absolute_limit·() 
30 ·29·{ 
31 ·30·return·_absolute;34 ·60
 35 63·inline·Indent(const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·0)
 36 ·64·:·parent(0),·basic_indent(basic_indent_),·level(level_)
 37 ·65·{·}
 38 ·66
 39 68·inline·Indent(unsigned·level_)
 40 ·69·:·parent(0),·basic_indent("·"),·level(level_)
 41 ·70·{·}
 42 ·71
 43 ·73
 44 76·inline·Indent(const·Indent*·parent_,
 45 ·77·const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·1)
 46 ·78·:·parent(parent_),·basic_indent(basic_indent_),·level(level_)
 47 ·79·{·}
 48 ·80
 49 82·inline·Indent(const·Indent*·parent_,·unsigned·level_)
 50 ·83·:·parent(parent_),·basic_indent("·"),·level(level_)
 51 ·84·{·}
 52 ·85
 53 87·inline·Indent·operator+(const·std::string&·newindent)·const·{
 54 ·88·return·Indent(this,·newindent);
 55 ·89·}
 56 91·inline·Indent·operator+(unsigned·morelevel)·const·{
 57 ·92·return·Indent(parent,·basic_indent,·level+morelevel);
32 ·31·}58 ·93·}
 59 95·inline·Indent&·operator++()·{·++level;·return·*this;·}
 60 97·inline·Indent&·operator--()·{·if·(·level·>·0·)·--level;·return·*this;·}
 61 ·98
 62 ·100·friend·inline·std::ostream&·operator<<(std::ostream&·s,
 63 ·101·const·Indent&·indent);
33 ·32 
34 34·static·void·set_absolute_limit·(ctype·absthres) 
35 ·35·{ 
36 ·36·_absolute·=·absthres; 
37 ·37·} 
38 ·38 
39 ·39·private: 
40 ·40·//·just·to·demonstrate·some·state·information 
41 ·41·static·ctype·_absolute; 
42 ·42·};64 ·102·};
43 ·43 
44 ·44·template·<class·ctype> 
45 ·45·ctype·FMatrixPrecision<ctype>::_absolute·=·1E-80; 
46 ·46 
47 ·49}·//·end·namespace 
48 ·50 
49 ·51#endif65 ·103
 66 105·inline·std::ostream&·operator<<(std::ostream&·s,·const·Indent&·indent)·{
 67 ·106·if(indent.parent)
 68 ·107·s·<<·*indent.parent;
 69 ·108·for(unsigned·i·=·0;·i·<·indent.level;·++i)
 70 ·109·s·<<·indent.basic_indent;
 71 ·110·return·s;
 72 ·111·}
 73 ·112
 74 ·115}·//·namespace·Dune
 75 ·116
 76 ·117#endif·//·DUNE_COMMON_INDENT_HH
 77 Dune::Indent::operator+
 78 Indent·operator+(const·std::string·&newindent)·const
 79 create·new·indentation·object·with·this·one·as·parent
 80 Definition·indent.hh:87
 81 Dune::Indent::Indent
 82 Indent(unsigned·level_)
 83 setup·without·parent·and·basic_indentation·of·two·spaces
 84 Definition·indent.hh:68
 85 Dune::Indent::operator+
 86 Indent·operator+(unsigned·morelevel)·const
 87 create·a·copy·of·this·indentation·object·with·raised·level
 88 Definition·indent.hh:91
 89 Dune::Indent::Indent
 90 Indent(const·Indent·*parent_,·unsigned·level_)
 91 setup·with·parent
 92 Definition·indent.hh:82
 93 Dune::Indent::operator++
 94 Indent·&·operator++()
 95 raise·indentation·level
 96 Definition·indent.hh:95
 97 Dune::Indent::Indent
 98 Indent(const·std::string·&basic_indent_="·",·unsigned·level_=0)
 99 setup·without·parent
 100 Definition·indent.hh:63
 101 Dune::Indent::operator--
 102 Indent·&·operator--()
 103 lower·indentation·level
 104 Definition·indent.hh:97
 105 Dune::Indent::operator<<
 106 friend·std::ostream·&·operator<<(std::ostream·&s,·const·Indent·&indent)
 107 write·indentation·to·a·stream
 108 Definition·indent.hh:105
 109 Dune::Indent::Indent
 110 Indent(const·Indent·*parent_,·const·std::string·&basic_indent_="·",·unsigned
Max diff block lines reached; 670/4671 bytes (14.34%) of diff not shown.
31.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 64 lines modifiedOffset 70, 120 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#define-members">Macros</a>·&#124; 
79 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">stdthread.hh·File·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">float_cmp.cc·File·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00026_source.html">float_cmp.hh</a>&quot;</code><br·/>
 84 <code>#include·&lt;vector&gt;</code><br·/>
 85 <code>#include·&lt;limits&gt;</code><br·/>
 86 <code>#include·&lt;algorithm&gt;</code><br·/>
 87 <code>#include·&lt;cstdlib&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 89 </div>
83 <p><a·href="a00278_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00278_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <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="a01588.html">Dune::FloatCmp::EpsilonType&lt;·T·&gt;</a></td></tr>
 95 <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>
 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="a01592.html">Dune::FloatCmp::EpsilonType&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr>
 98 <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>
 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="a01596.html">Dune::FloatCmp::EpsilonType&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr>
 101 <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>
 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="a01600.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeWeak·&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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01604.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeStrong·&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="a01608.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·absolute·&gt;</a></td></tr>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Namespaces</h2></td></tr>111 Namespaces</h2></td></tr>
87 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memitem:a00425"·id="r_a00425"><td·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>113 <tr·class="memdesc: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>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:a00434"·id="r_a00434"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00434.html">Dune::FloatCmp</a></td></tr>
90 </table><table·class="memberdecls"> 
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
92 Macros</h2></td></tr> 
93 <tr·class="memitem:acbf1020c1747ea8c3dd1031d2d608557"·id="r_acbf1020c1747ea8c3dd1031d2d608557"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00278.html#acbf1020c1747ea8c3dd1031d2d608557">DUNE_ASSERT_CALL_ONCE</a>()&#160;&#160;&#160;··<a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">::Dune::assertCallOnce</a>(__FILE__,·__LINE__,·__func__)</td></tr> 
94 <tr·class="memdesc:acbf1020c1747ea8c3dd1031d2d608557"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<br·/></td></tr> 
95 <tr·class="separator:acbf1020c1747ea8c3dd1031d2d608557"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">117 </table><table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>118 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
98 Functions</h2></td></tr>119 Functions</h2></td></tr>
99 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"·id="r_aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::[·...·truncated·by·diffoscope;·len:·71,·SHA:·788af2af52f485e175450de9df56663991d471374a9164607c4b26f885e3df06·...·]</td></tr>120 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"·id="r_ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 121 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 122 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<br·/></td></tr>
100 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a3b55a8ff91fc039845da40a86486a007"·id="r_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> 
102 <tr·class="memdesc:a3b55a8ff91fc039845da40a86486a007"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<br·/></td></tr>124 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"·id="r_ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 125 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 126 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<br·/></td></tr>
 127 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"·id="r_gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 129 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 130 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<br·/></td></tr>
 131 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"·id="r_gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 133 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 134 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<br·/></td></tr>
 135 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"·id="r_gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 137 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 138 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<br·/></td></tr>
 139 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"·id="r_gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr>
 141 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr>
 142 <tr·class="memdesc:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·or·equal·second··<br·/></td></tr>
 143 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"·id="r_a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 145 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
 146 <tr·class="separator:a20989b2c0619b31d8a15c85aae184d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"·id="r_af10cd25d78f35677c8d588e924792cff"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 148 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
 149 <tr·class="separator:af10cd25d78f35677c8d588e924792cff"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"·id="r_a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 151 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
 152 <tr·class="separator:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"·id="r_ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 154 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
103 <tr·class="separator:a3b55a8ff91fc039845da40a86486a007"><td·class="memSeparator"·colspan="2">&#160;</td></tr>155 <tr·class="separator:ac752c032096de736aa97b2c6cbcd5190"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"·id="r_a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 157 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
 158 <tr·class="separator:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 159 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"·id="r_a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 160 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
 161 <tr·class="separator:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"·id="r_ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle&gt;·</td></tr>
 163 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr>
 164 <tr·class="memdesc:ga510d97be4644ccab5db0b674d79633c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">round·using·epsilon··<br·/></td></tr>
 165 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"·id="r_aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle&gt;·</td></tr>
 167 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr>
 168 <tr·class="separator:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 169 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"·id="r_a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·&gt;·</td></tr>
 170 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr>
 171 <tr·class="separator:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 172 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"·id="r_ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle&gt;·</td></tr>
 173 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr>
Max diff block lines reached; 1261/26479 bytes (4.76%) of diff not shown.
5.52 KB
html2text {}
    
Offset 6, 38 lines modifiedOffset 6, 128 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Macros·|·Functions 
13 stdthread.hh·File·Reference12 Classes·|·Namespaces·|·Functions
 13 float_cmp.cc·File·Reference
 14 #include·"float_cmp.hh"
 15 #include·<vector>
 16 #include·<limits>
 17 #include·<algorithm>
 18 #include·<cstdlib>
 19 #include·<dune/common/fvector.hh>
14 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
 21 ·Classes
 22 struct· Dune::FloatCmp::EpsilonType<_T_>
 23  ·······Mapping·of·value·type·to·epsilon·type.·More...
 24  
 25 struct· Dune::FloatCmp::EpsilonType<_std::vector<_T,_A_>_>
 26  ·······Specialization·of·EpsilonType·for·std::vector.·More...
 27  
 28 struct· Dune::FloatCmp::EpsilonType<_FieldVector<_T,_n_>_>
 29  ·······Specialization·of·EpsilonType·for·Dune::FieldVector.·More...
 30  
 31 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeWeak_>
 32  
 33 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeStrong_>
 34  
 35 struct· Dune::FloatCmp::DefaultEpsilon<_T,_absolute_>
 36  
15 ·Namespaces37 ·Namespaces
16 namespace· Dune38 namespace· Dune
17  ··········Dune·namespace.39  ··········Dune·namespace.
18  40  
 41 namespace· Dune::FloatCmp
19 ·Macros 
20 #define DUNE_ASSERT_CALL_ONCE()   ·::Dune::assertCallOnce(__FILE__,·__LINE__, 
21 ·········__func__) 
22  ·······Make·sure·call_once()·works·and·provide·a·helpful·error·message 
23 ·········otherwise. 
24  42  
25 ·Functions43 ·Functions
26 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)44 template<class·T·,·CmpStyle·style>
 45 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename
 46 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 47  ····test·for·equality·using·epsilon
 48  
 49 template<class·T·,·CmpStyle·style>
 50 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename
 51 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 52  ····test·for·inequality·using·epsilon
 53  
 54 template<class·T·,·CmpStyle·style>
 55 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename
 56 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 57  ····test·if·first·greater·than·second
 58  
 59 template<class·T·,·CmpStyle·style>
 60 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename
 61 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 62  ····test·if·first·lesser·than·second
 63  
 64 template<class·T·,·CmpStyle·style>
 65 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename
 66 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 67  ····test·if·first·greater·or·equal·second
 68  
 69 template<class·T·,·CmpStyle·style>
 70 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename
 71 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 72  ····test·if·first·lesser·or·equal·second
 73  
 74 template<class·T·>
 75 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename
 76 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 77 ······value())
 78  
 79 template<class·T·>
 80 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename
 81 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 82 ······value())
 83  
 84 template<class·T·>
 85 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename
 86 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 87 ······value())
 88  
 89 template<class·T·>
 90 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename
 91 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 92 ······value())
 93  
 94 template<class·T·>
 95 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename
 96 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 97 ······value())
 98  
 99 template<class·T·>
 100 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename
 101 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 102 ······value())
 103  
 104 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 105 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 106 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 107  ····round·using·epsilon
 108  
 109 template<class·I·,·class·T·,·CmpStyle·cstyle>
 110 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 111 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 112  
 113 template<class·I·,·class·T·>
 114 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 115 ······epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::value())
 116  
 117 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 118 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 119 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 120  ····truncate·using·epsilon
 121  
 122 template<class·I·,·class·T·,·CmpStyle·cstyle>
 123 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 124 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 125  
Max diff block lines reached; 691/5628 bytes (12.28%) of diff not shown.
148 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·float_cmp.cc·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 74, 54 lines modifiedOffset 74, 627 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">stdthread.hh</div></div>80 ··<div·class="headertitle"><div·class="title">float_cmp.cc</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00026.html">float_cmp.hh</a>&quot;</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDTHREAD_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_STDTHREAD_HH</span></div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
91 <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>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>{</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <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="l00012"·name="l00012"></a><span·class="lineno">···12</span>··<span·class="comment">//·used·internally·by·assertCallOnce·for·the·actual·check</span></div> 
95 <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> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
97 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 98 <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="}">
 99 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a00434.html">···16</a></span>··<span·class="keyword">namespace·</span>FloatCmp·{</div>
 100 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="comment">//·traits</span></div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 102 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};">
 103 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01588.html">···23</a></span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01588.html">EpsilonType</a>·{</div>
 104 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">···25</a></span>······<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">Type</a>;</div>
 105 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····};</div>
 106 </div>
 107 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 108 <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,·<span·class="keyword">typename</span>·A&gt;</div>
 109 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
 110 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01592.html">···34</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01588.html">EpsilonType</a>&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::vector&lt;T,·A&gt;·&gt;·{</div>
 111 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01592.html#af9b3dcd72f92cde42857db23be99f94a">···36</a></span>······<span·class="keyword">typedef</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_typedef"·href="a01592.html#af9b3dcd72f92cde42857db23be99f94a">Type</a>;</div>
 112 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····};</div>
 113 </div>
 114 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 115 <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>·T,·<span·class="keywordtype">int</span>·n&gt;</div>
 116 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};">
 117 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01596.html">···45</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01588.html">EpsilonType</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;T,·n&gt;·&gt;·{</div>
 118 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01596.html#a7f947a4f459dd6234101b5dcb6723146">···47</a></span>······<span·class="keyword">typedef</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_typedef"·href="a01596.html#a7f947a4f459dd6234101b5dcb6723146">Type</a>;</div>
 119 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····};</div>
 120 </div>
 121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 122 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·default·epsilon</span></div>
 123 <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>·T&gt;</div>
 124 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};">
 125 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01600.html">···52</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a>&gt;·{</div>
98 <div·class="foldopen"·id="foldopen00035"·data-start="{"·data-end="}">126 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}">
99 <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> 
100 <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>127 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01600.html#ab441e83cae956571c500c3736eee97e8">···53</a></span>······<span·class="keyword">static</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3[·...·truncated·by·diffoscope;·len:·154,·SHA:·5dbfd3b9cf2be677048d87ec9f98a3d1bad208c5ecc762d86aa1e5b4ca98d877·...·])</div>
 128 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······{·<span·class="keywordflow">return</span>·std::numeric_limits&lt;typename·EpsilonType&lt;T&gt;::Type&gt;::epsilon()*8.;·}</div>
 129 </div>
 130 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····};</div>
 131 </div>
 132 <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>
 133 <div·class="foldopen"·id="foldopen00057"·data-start="{"·data-end="};">
 134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01604.html">···57</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">relativeStrong</a>&gt;·{</div>
 135 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}">
 136 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01604.html#a1fc180948ee6067517b931651ba299e6">···58</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="a01604.html#a1fc180948ee6067517b931651ba299e6">value</a>()</div>
 137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{·<span·class="keywordflow">return</span>·std::numeric_limits&lt;typename·EpsilonType&lt;T&gt;::Type&gt;::epsilon()*8.;·}</div>
 138 </div>
 139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····};</div>
 140 </div>
 141 <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>·T&gt;</div>
 142 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};">
 143 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01608.html">···62</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">absolute</a>&gt;·{</div>
 144 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}">
 145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01608.html#a532f4ef4c1ffe37a0bf83965ab5d3615">···63</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="a01608.html#a532f4ef4c1ffe37a0bf83965ab5d3615">value</a>()</div>
 146 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{·<span·class="keywordflow">return</span>·std::max(std::numeric_limits&lt;<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>&gt;::epsilon(),·1e-6);·}</div>
 147 </div>
 148 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div>
 149 </div>
 150 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 151 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">namespace·</span>Impl·{</div>
 152 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="comment">//·basic·comparison</span></div>
 153 <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,·CmpStyle·style·=·defaultCmpStyle&gt;</div>
 154 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">struct·</span>eq_t;</div>
 155 <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>·T&gt;</div>
 156 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">struct·</span>eq_t&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a>&gt;·{</div>
 157 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keyword">static</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>
 158 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·······················<span·class="keyword">const</span>·T·&amp;second,</div>
 159 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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_function"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">DefaultEpsilon&lt;T&gt;::value</a>())</div>
101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>160 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div>
102 <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>161 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··········<span·class="keyword">using·</span>std::abs;</div>
 162 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········<span·class="keywordflow">return</span>·abs(first·-·second)·&lt;=·epsilon*std::max(abs(first),·abs(second));</div>
 163 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········}</div>
 164 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······};</div>
 165 <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>
 166 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keyword">struct·</span>eq_t&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">relativeStrong</a>&gt;·{</div>
 167 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">static</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>
 168 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·······················<span·class="keyword">const</span>·T·&amp;second,</div>
 169 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</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_function"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">DefaultEpsilon&lt;T&gt;::value</a>())</div>
 170 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········{</div>
 171 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········<span·class="keyword">using·</span>std::abs;</div>
 172 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········<span·class="keywordflow">return</span>·abs(first·-·second)·&lt;=·epsilon*std::min(abs(first),·abs(second));</div>
 173 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········}</div>
 174 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······};</div>
103 <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>175 <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>·T&gt;</div>
104 <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>176 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keyword">struct·</span>eq_t&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">absolute</a>&gt;·{</div>
 177 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keyword">static</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>
 178 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·······················<span·class="keyword">const</span>·T·&amp;second,</div>
 179 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</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_function"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">DefaultEpsilon&lt;T&gt;::value</a>())</div>
Max diff block lines reached; 9091/125808 bytes (7.23%) of diff not shown.
24.5 KB
html2text {}
    
Offset 7, 54 lines modifiedOffset 7, 714 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 stdthread.hh12 float_cmp.cc
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5 
20 ·6#ifndef·DUNE_COMMON_STDTHREAD_HH 
21 ·7#define·DUNE_COMMON_STDTHREAD_HH 
22 ·819 ·5#include·"float_cmp.hh"
 20 ·6
 21 ·7#include·<vector>
 22 ·8#include·<limits>
 23 ·9#include·<algorithm>
 24 ·10#include·<cstdlib>
 25 ·11#include·<dune/common/fvector.hh>
 26 ·12
23 ·9namespace·Dune27 ·13namespace·Dune·{
24 ·10{ 
25 ·11 
26 ·12·//·used·internally·by·assertCallOnce·for·the·actual·check 
27 ·13·void·doAssertCallOnce(const·char·*file,·int·line,·const·char·*function); 
28 ·1428 ·14
29 ·17 
30 35·inline·void·assertCallOnce(const·char·*file·=·nullptr,·int·line·=·-1, 
31 ·36·const·char·*function·=·nullptr)29 ·15
 30 16·namespace·FloatCmp·{
 31 ·17·//·traits
 32 ·19
 33 23·template<class·T>·struct·EpsilonType·{
 34 25·typedef·T·Type;
 35 ·26·};
 36 ·28
 37 ·33·template<class·T,·typename·A>
 38 34·struct·EpsilonType<std::vector<T,·A>·>·{
 39 36·typedef·typename·EpsilonType<T>::Type·Type;
 40 ·37·};
 41 ·39
 42 ·44·template<class·T,·int·n>
 43 45·struct·EpsilonType<FieldVector<T,·n>·>·{
 44 47·typedef·typename·EpsilonType<T>::Type·Type;
 45 ·48·};
 46 ·49
 47 ·50·//·default·epsilon
 48 ·51·template<class·T>
 49 52·struct·DefaultEpsilon<T,·relativeWeak>·{
 50 53·static·typename·EpsilonType<T>::Type·value()
 51 ·54·{·return·std::numeric_limits<typename·EpsilonType<T>::Type>::epsilon()*8.;
 52 }
 53 ·55·};
 54 ·56·template<class·T>
 55 57·struct·DefaultEpsilon<T,·relativeStrong>·{
 56 58·static·typename·EpsilonType<T>::Type·value()
 57 ·59·{·return·std::numeric_limits<typename·EpsilonType<T>::Type>::epsilon()*8.;
 58 }
 59 ·60·};
 60 ·61·template<class·T>
 61 62·struct·DefaultEpsilon<T,·absolute>·{
 62 63·static·typename·EpsilonType<T>::Type·value()
 63 ·64·{·return·std::max(std::numeric_limits<typename·EpsilonType<T>::Type>::
 64 epsilon(),·1e-6);·}
 65 ·65·};
 66 ·66
 67 ·67·namespace·Impl·{
 68 ·68·//·basic·comparison
 69 ·69·template<class·T,·CmpStyle·style·=·defaultCmpStyle>
 70 ·70·struct·eq_t;
 71 ·71·template<class·T>
 72 ·72·struct·eq_t<T,·relativeWeak>·{
 73 ·73·static·bool·eq(const·T·&first,
 74 ·74·const·T·&second,
 75 ·75·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T>::value())
 76 ·76·{
 77 ·77·using·std::abs;
 78 ·78·return·abs(first·-·second)·<=·epsilon*std::max(abs(first),·abs(second));
 79 ·79·}
 80 ·80·};
 81 ·81·template<class·T>
 82 ·82·struct·eq_t<T,·relativeStrong>·{
 83 ·83·static·bool·eq(const·T·&first,
 84 ·84·const·T·&second,
 85 ·85·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T>::value())
 86 ·86·{
 87 ·87·using·std::abs;
 88 ·88·return·abs(first·-·second)·<=·epsilon*std::min(abs(first),·abs(second));
 89 ·89·}
 90 ·90·};
 91 ·91·template<class·T>
 92 ·92·struct·eq_t<T,·absolute>·{
 93 ·93·static·bool·eq(const·T·&first,
 94 ·94·const·T·&second,
 95 ·95·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T>::value())
 96 ·96·{
 97 ·97·using·std::abs;
 98 ·98·return·abs(first-second)·<=·epsilon;
 99 ·99·}
 100 ·100·};
 101 ·101·template<class·T,·CmpStyle·cstyle>
 102 ·102·struct·eq_t_std_vec·{
 103 ·103·typedef·std::vector<T>·V;
 104 ·104·static·bool·eq(const·V·&first,
 105 ·105·const·V·&second,
 106 ·106·typename·EpsilonType<V>::Type·epsilon·=·DefaultEpsilon<V>::value())·{
 107 ·107·auto·size·=·first.size();
 108 ·108·if(size·!=·second.size())·return·false;
 109 ·109·for(unsigned·int·i·=·0;·i·<·size;·++i)
 110 ·110·if(!eq_t<T,·cstyle>::eq(first[i],·second[i],·epsilon))
 111 ·111·return·false;
 112 ·112·return·true;
 113 ·113·}
 114 ·114·};
 115 ·115·template<·class·T>
 116 ·116·struct·eq_t<std::vector<T>,·relativeWeak>·:·eq_t_std_vec<T,·relativeWeak>
 117 {};
 118 ·117·template<·class·T>
 119 ·118·struct·eq_t<std::vector<T>,·relativeStrong>·:·eq_t_std_vec<T,
 120 relativeStrong>·{};
 121 ·119·template<·class·T>
 122 ·120·struct·eq_t<std::vector<T>,·absolute>·:·eq_t_std_vec<T,·absolute>·{};
Max diff block lines reached; 3477/25100 bytes (13.85%) of diff not shown.
5.47 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 38 lines modifiedOffset 72, 43 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">interfaces.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">lru.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Provides·interfaces·for·detection·of·specific·behavior.··82 <p>LRU·Cache·Container,·using·an·STL·like·interface.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
 84 <div·class="textblock"><code>#include·&lt;list&gt;</code><br·/>
 85 <code>#include·&lt;utility&gt;</code><br·/>
 86 <code>#include·&lt;map&gt;</code><br·/>
 87 <code>#include·&lt;memory&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 89 </div>
84 <p><a·href="a00281_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00281_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">91 <table·class="memberdecls">
86 <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>
87 Classes</h2></td></tr>93 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="a01868.html">Dune::Cloneable</a></td></tr>94 <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>
89 <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>95 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">LRU·Cache·Container.··<a·href="a01896.html#details">More...</a><br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls">97 </table><table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
93 Namespaces</h2></td></tr>99 Namespaces</h2></td></tr>
94 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memitem:a00425"·id="r_a00425"><td·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>101 <tr·class="memdesc: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>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table>103 </table>
98 <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>
99 <div·class="textblock"><p>Provides·interfaces·for·detection·of·specific·behavior.·</p>105 <div·class="textblock"><p>LRU·Cache·Container,·using·an·STL·like·interface.·</p>
100 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn·</dd></dl>106 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>
101 </div></div><!--·contents·-->107 </div></div><!--·contents·-->
102 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>109 <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.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>111 </small></address>
106 </body>112 </body>
107 </html>113 </html>
1000 B
html2text {}
    
Offset 7, 25 lines modifiedOffset 7, 30 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
13 interfaces.hh·File·Reference13 lru.hh·File·Reference
14 Provides·interfaces·for·detection·of·specific·behavior.·More...14 LRU·Cache·Container,·using·an·STL·like·interface.·More...
 15 #include·<list>
 16 #include·<utility>
 17 #include·<map>
 18 #include·<memory>
 19 #include·<dune/common/exceptions.hh>
15 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
16 ·Classes21 ·Classes
17 struct· Dune::Cloneable 
18  ·······An·interface·class·for·cloneable·objects.·More...22 class· Dune::lru<_Key,_Tp,_Traits_>
 23  ······LRU·Cache·Container.·More...
19  24  
20 ·Namespaces25 ·Namespaces
21 namespace· Dune26 namespace· Dune
22  ··········Dune·namespace.27  ··········Dune·namespace.
23  28  
24 *****·Detailed·Description·*****29 *****·Detailed·Description·*****
25 Provides·interfaces·for·detection·of·specific·behavior.30 LRU·Cache·Container,·using·an·STL·like·interface.
26 ··Author31 ··Author
27 ······Robert·Kloefkorn32 ······Christian·Engwer
  
28 ===============================================================================33 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.834 ·····Generated·by [doxygen]·1.9.8
50.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00281_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 45 lines modifiedOffset 74, 238 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">interfaces.hh</div></div>80 ··<div·class="headertitle"><div·class="title">lru.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00281.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00281.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACES_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LRU_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACES_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_LRU_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <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>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;list&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
91 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <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="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 99 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>{</div>
 100 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 101 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="comment">/*</span></div>
 102 <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>
 103 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·····*/</span></div>
 104 <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>
 105 <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>
 106 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">struct·</span>_lru_default_traits</div>
 107 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div>
 108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keyword">typedef</span>·Key·key_type;</div>
 109 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">typedef</span>·Alloc·allocator;</div>
 110 <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>
 111 <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>
 112 <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>
 113 <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>
 114 <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>
 115 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····};</div>
 116 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 117 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}·<span·class="comment">//·end·empty·namespace</span></div>
 118 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</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">typename</span>·Key,·<span·class="keyword">typename</span>·Tp,</div>
 120 <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>
92 <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="};">121 <div·class="foldopen"·id="foldopen00051"·data-start="{"·data-end="};">
 122 <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>
93 <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> 
94 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
95 <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> 
96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>123 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div>
 124 <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>
 125 <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>
 126 <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>
 127 <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>
 128 <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>
 129 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 130 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div>
 131 <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>
 132 <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>
 133 <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>
 134 <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>
 135 <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>
 136 <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>
 137 <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>
 138 <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>
 139 <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>
 140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
97 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="}">141 <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}">
98 <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">~Clone[·...·truncated·by·diffoscope;·len:·4,·SHA:·b0ad6bc1931197750fa85336ba8eb6ced10ca7b57eff09ecacf9f915a3b11365·...·]</a>()</div>142 <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"·hr[·...·truncated·by·diffoscope;·len:·56,·SHA:·7e3e5d106d8fc236e5f0b017a13a9cd5a45547457694b36828b023380909789d·...·]</a>()</div>
99 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····{}</div>143 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div>
 144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·_data.front().second;</div>
 145 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
100 </div>146 </div>
101 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>147 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 148 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}">
 149 <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>
 150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">····</span>{</div>
 151 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keywordflow">return</span>·_data.front().second;</div>
102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>152 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div>
103 </div>153 </div>
 154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 155 <div·class="foldopen"·id="foldopen00092"·data-start="{"·data-end="}">
 156 <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>
104 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>157 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div>
 158 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>
 159 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····}</div>
 160 </div>
 161 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 162 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="}">
 163 <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>
 164 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">····</span>{</div>
 165 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>
 166 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div>
 167 </div>
 168 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 169 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 170 <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}">
 171 <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>
 172 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{</div>
 173 <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>
 174 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······_data.pop_front();</div>
 175 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······_index.erase(k);</div>
 176 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}</div>
 177 </div>
 178 <div·class="foldopen"·id="foldopen00119"·data-start="{"·data-end="}">
 179 <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>
 180 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····{</div>
Max diff block lines reached; 8996/43447 bytes (20.71%) of diff not shown.
7.52 KB
html2text {}
    
Offset 7, 47 lines modifiedOffset 7, 269 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 interfaces.hh12 lru.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_INTERFACES_HH 
20 ·6#define·DUNE_INTERFACES_HH19 ·5#ifndef·DUNE_COMMON_LRU_HH
 20 ·6#define·DUNE_COMMON_LRU_HH
21 ·721 ·7
22 ·13namespace·Dune·{22 ·8#include·<list>
 23 ·9#include·<utility>
 24 ·10#include·<map>
 25 ·11#include·<memory>
 26 ·12
 27 ·13#include·<dune/common/exceptions.hh>
23 ·1428 ·14
24 16·struct·Cloneable·{29 ·20namespace·Dune·{
 30 ·21
 31 ·22·namespace·{
 32 ·23
 33 ·24·/*
 34 ·25·hide·the·default·traits·in·an·empty·namespace
 35 ·26·*/
 36 ·27·template·<typename·Key,·typename·Tp,
 37 ·28·typename·Alloc·=·std::allocator<Tp>·>
 38 ·29·struct·_lru_default_traits
 39 ·30·{
 40 ·31·typedef·Key·key_type;
 41 ·32·typedef·Alloc·allocator;
 42 ·33·typedef·std::list<·std::pair<Key,·Tp>·>·list_type;
 43 ·34·typedef·typename·list_type::iterator·iterator;
 44 ·35·typedef·typename·std::less<key_type>·cmp;
 45 ·36·typedef·std::map<·key_type,·iterator,·cmp,
 46 ·37·typename·std::allocator_traits<allocator>::template·rebind_alloc<std::
 47 pair<const·key_type,·iterator>·>·>·map_type;
 48 ·38·};
 49 ·39
 50 ·40·}·//·end·empty·namespace
 51 ·41
 52 ·49·template·<typename·Key,·typename·Tp,
 53 ·50·typename·Traits·=·_lru_default_traits<Key,·Tp>·>
 54 51·class·lru
 55 ·52·{
 56 ·53·typedef·typename·Traits::list_type·list_type;
 57 ·54·typedef·typename·Traits::map_type·map_type;
 58 ·55·typedef·typename·Traits::allocator·allocator;
 59 ·56·typedef·typename·map_type::iterator·map_iterator;
 60 ·57·typedef·typename·map_type::const_iterator·const_map_iterator;
 61 ·58
 62 ·59·public:
 63 60·typedef·typename·Traits::key_type·key_type;
 64 61·typedef·typename·allocator::value_type·value_type;
 65 62·using·pointer·=·typename·allocator::value_type*;
 66 63·using·const_pointer·=·typename·allocator::value_type·const*;
 67 64·using·const_reference·=·typename·allocator::value_type·const&;
 68 65·using·reference·=·typename·allocator::value_type&;
 69 66·typedef·typename·allocator::size_type·size_type;
 70 67·typedef·typename·list_type::iterator·iterator;
 71 68·typedef·typename·list_type::const_iterator·const_iterator;
 72 ·69
 73 74·reference·front()
 74 ·75·{
 75 ·76·return·_data.front().second;
 76 ·77·}
 77 ·78
 78 83·const_reference·front()·const
 79 ·84·{
 80 ·85·return·_data.front().second;
 81 ·86·}
 82 ·87
 83 92·reference·back()
 84 ·93·{
 85 ·94·return·_data.back().second;
 86 ·95·}
 87 ·96
 88 101·const_reference·back·([[maybe_unused]]·int·i)·const
 89 ·102·{
 90 ·103·return·_data.back().second;
 91 ·104·}
 92 ·105
 93 ·106
 94 110·void·pop_front()
 95 ·111·{
 96 ·112·key_type·k·=·_data.front().first;
 97 ·113·_data.pop_front();
 98 ·114·_index.erase(k);
 99 ·115·}
 100 119·void·pop_back()
 101 ·120·{
 102 ·121·key_type·k·=·_data.back().first;
 103 ·122·_data.pop_back();
 104 ·123·_index.erase(k);
 105 ·124·}
 106 ·125
 107 131·iterator·find·(const·key_type·&·key)
 108 ·132·{
 109 ·133·const·map_iterator·it·=·_index.find(key);
 110 ·134·if·(it·==·_index.end())·return·_data.end();
 111 ·135·return·it->second;
 112 ·136·}
25 ·17113 ·137
26 23·virtual·Cloneable*·clone()·const·=·0; 
27 ·24 
28 26·virtual·~Cloneable() 
29 ·27·{} 
30 ·28114 143·const_iterator·find·(const·key_type·&·key)·const
 115 ·144·{
 116 ·145·const·map_iterator·it·=·_index.find(key);
 117 ·146·if·(it·==·_index.end())·return·_data.end();
 118 ·147·return·it->second;
 119 ·148·}
 120 ·149
 121 161·reference·insert·(const·key_type·&·key,·const_reference·data)
 122 ·162·{
 123 ·163·std::pair<key_type,·value_type>·x(key,·data);
 124 ·164·/*·insert·item·as·mru·*/
 125 ·165·iterator·it·=·_data.insert(_data.begin(),·x);
 126 ·166·/*·store·index·*/
Max diff block lines reached; 2782/7673 bytes (36.26%) of diff not shown.
5.73 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 41 lines modifiedOffset 72, 38 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">power.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">timer.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.··82 <p>A·simple·timing·class.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;chrono&gt;</code><br·/>
85 </div>85 </div>
86 <p><a·href="a00284_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00284_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
89 Classes</h2></td></tr>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="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a></td></tr> 
91 <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> 
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="a02424.html">Dune::Power&lt;·p·&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="a02884.html">Dune::Timer</a></td></tr>
94 <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>91 <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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
97 <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>
98 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table>99 </table>
103 <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>
104 <div·class="textblock"><p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.·</p>101 <div·class="textblock"><p>A·simple·timing·class.·</p>
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.8105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
109 </small></address>106 </small></address>
110 </body>107 </body>
111 </html>108 </html>
1000 B
html2text {}
    
Offset 7, 30 lines modifiedOffset 7, 25 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
13 power.hh·File·Reference13 timer.hh·File·Reference
14 Various·implementations·of·the·power·function·for·run-time·and·static 
15 arguments.·More... 
16 #include·<dune/common/math.hh>14 Common
 15 A·simple·timing·class.·More...
 16 #include·<chrono>
17 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
18 ·Classes18 ·Classes
 19 class· Dune::Timer
 20  ······A·simple·stop·watch.·More...
19 struct· Dune::StaticPower<_b,_p_> 
20  ·······Calculates·b^p·at·compile·time.·More... 
21   
22 struct· Dune::Power<_p_> 
23  ·······Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent. 
24 ·········More... 
25  21  
26 ·Namespaces22 ·Namespaces
27 namespace· Dune23 namespace· Dune
28  ··········Dune·namespace.24  ··········Dune·namespace.
29  25  
30 *****·Detailed·Description·*****26 *****·Detailed·Description·*****
 27 A·simple·timing·class.
31 Various·implementations·of·the·power·function·for·run-time·and·static 
32 arguments. 
  
33 ===============================================================================28 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.829 ·····Generated·by [doxygen]·1.9.8
31.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00284_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 63 lines modifiedOffset 74, 157 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">power.hh</div></div>80 ··<div·class="headertitle"><div·class="title">timer.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POWER_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TIMER_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POWER_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TIMER_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <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>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#ifndef·TIMER_USE_STD_CLOCK</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//·headers·for·std::chrono</span></div>
92 <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/math.hh</a>&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;chrono&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#else</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·headers·for·std::clock</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;ctime&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
94 <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>98 <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>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</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="keywordtype">int</span>·b,·<span·class="keywordtype">int</span>·p&gt;</div> 
97 <div·class="foldopen"·id="foldopen00027"·data-start="{"·data-end="};">100 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="};">
 101 <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>
98 <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> 
99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div> 
100 <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> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</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>··<span·class="keyword">public</span>:</div>
 104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 105 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">
 106 <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>
 107 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div>
 108 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······isRunning_·=·startImmediately;</div>
 109 <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>
 110 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div>
102 </div>111 </div>
103 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
104 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
105 <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="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> 
107 <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> 
108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> 
109 <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> 
110 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">113 <div·class="foldopen"·id="foldopen00057"·data-start="{"·data-end="}">
111 <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[·...·truncated·by·diffoscope;·len:·122,·SHA:·2c2f3ea8d36d070e86a7d51b100d3f77767e22de2b2abcc0638b6295cd5661b2·...·]</div>114 <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[·...·truncated·by·diffoscope;·len:·15,·SHA:·c68493adacd91b65242b1f7ee3b4043e0f004ada25880569a03bf81bfae2692e·...·]</div>
112 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div>115 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div>
113 <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>116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······sumElapsed_·=·0.0;</div>
 117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······storedLastElapsed_·=·0.0;</div>
 118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······rawReset();</div>
114 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····}</div>119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
115 </div>120 </div>
 121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
116 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div>122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 123 <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}">
 124 <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>
 125 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div>
 126 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(not·(isRunning_))</div>
 127 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······{</div>
 128 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········rawReset();</div>
 129 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········isRunning_·=·<span·class="keyword">true</span>;</div>
 130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div>
 131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div>
117 </div>132 </div>
118 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</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>·</div>134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 135 <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}">
 136 <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>
 137 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div>
 138 <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>
 139 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keywordflow">if</span>·(isRunning_)</div>
 140 <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>
 141 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·sumElapsed_;</div>
 143 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>
 144 </div>
 145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 147 <div·class="foldopen"·id="foldopen00088"·data-start="{"·data-end="}">
 148 <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>
 149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{</div>
 150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="comment">//·if·timer·is·running·return·the·current·value</span></div>
 151 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keywordflow">if</span>·(isRunning_)</div>
 152 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·rawElapsed();</div>
 153 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 154 <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>
 155 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keywordflow">return</span>·storedLastElapsed_;</div>
 156 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div>
 157 </div>
 158 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 159 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 160 <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="}">
 161 <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>
 162 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div>
 163 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keywordflow">if</span>·(isRunning_)</div>
 164 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······{</div>
 165 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<span·class="comment">//·update·storedLastElapsed_·and··sumElapsed_·and·stop·timer</span></div>
 166 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········storedLastElapsed_·=·<a·class="code·hl_function"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">lastElapsed</a>();</div>
 167 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········sumElapsed_·+=·storedLastElapsed_;</div>
 168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········isRunning_·=·<span·class="keyword">false</span>;</div>
 169 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······}</div>
 170 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2">elapsed</a>();</div>
 171 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····}</div>
 172 </div>
Max diff block lines reached; 3590/27624 bytes (13.00%) of diff not shown.
4.83 KB
html2text {}
    
Offset 7, 68 lines modifiedOffset 7, 164 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 power.hh12 timer.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_POWER_HH19 ·5#ifndef·DUNE_TIMER_HH
20 ·6#define·DUNE_COMMON_POWER_HH20 ·6#define·DUNE_TIMER_HH
21 ·721 ·7
22 ·8#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead. 
23 ·9 
24 ·14#include·<dune/common/math.hh>22 ·8#ifndef·TIMER_USE_STD_CLOCK
 23 ·9//·headers·for·std::chrono
 24 ·10#include·<chrono>
 25 ·11#else
 26 ·12//·headers·for·std::clock
 27 ·13#include·<ctime>
 28 ·14#endif
25 ·1529 ·15
26 ·16namespace·Dune·{30 ·16namespace·Dune·{
27 ·1731 ·17
 32 42·class·Timer
28 ·26·template·<int·b,·int·p> 
29 27·struct·StaticPower 
30 ·28·{ 
31 30·static·constexpr·int·power·=·Dune::power(b,p); 
32 ·31·}; 
33 ·32 
34 ·33 
35 ·40·template·<int·p> 
36 41·struct·Power 
37 ·42·{33 ·43·{
38 ·43·template·<typename·T> 
39 44·static·constexpr·auto·eval(const·T·&·a)34 ·44·public:
 35 ·45
 36 50·Timer·(bool·startImmediately=true)·noexcept
40 ·45·{37 ·51·{
41 ·46·return·power(a,p);38 ·52·isRunning_·=·startImmediately;
 39 ·53·reset();
42 ·47·}40 ·54·}
43 ·48·}; 
44 ·49 
45 ·50} 
46 ·5141 ·55
 42 57·void·reset()·noexcept
 43 ·58·{
 44 ·59·sumElapsed_·=·0.0;
 45 ·60·storedLastElapsed_·=·0.0;
 46 ·61·rawReset();
 47 ·62·}
 48 ·63
 49 ·64
 50 66·void·start()·noexcept
 51 ·67·{
 52 ·68·if·(not·(isRunning_))
 53 ·69·{
 54 ·70·rawReset();
 55 ·71·isRunning_·=·true;
 56 ·72·}
 57 ·73·}
 58 ·74
 59 ·75
 60 77·double·elapsed·()·const·noexcept
 61 ·78·{
 62 ·79·//·if·timer·is·running·add·the·time·elapsed·since·last·start·to·sum
 63 ·80·if·(isRunning_)
 64 ·81·return·sumElapsed_·+·lastElapsed();
 65 ·82
 66 ·83·return·sumElapsed_;
 67 ·84·}
 68 ·85
 69 ·86
 70 88·double·lastElapsed·()·const·noexcept
 71 ·89·{
 72 ·90·//·if·timer·is·running·return·the·current·value
 73 ·91·if·(isRunning_)
 74 ·92·return·rawElapsed();
 75 ·93
 76 ·94·//·if·timer·is·not·running·return·stored·value·from·last·run
 77 ·95·return·storedLastElapsed_;
 78 ·96·}
 79 ·97
 80 ·98
 81 100·double·stop()·noexcept
 82 ·101·{
 83 ·102·if·(isRunning_)
 84 ·103·{
 85 ·104·//·update·storedLastElapsed_·and·sumElapsed_·and·stop·timer
 86 ·105·storedLastElapsed_·=·lastElapsed();
 87 ·106·sumElapsed_·+=·storedLastElapsed_;
 88 ·107·isRunning_·=·false;
 89 ·108·}
 90 ·109·return·elapsed();
 91 ·110·}
 92 ·111
 93 ·112
 94 ·113·private:
 95 ·114
 96 ·115·bool·isRunning_;
 97 ·116·double·sumElapsed_;
 98 ·117·double·storedLastElapsed_;
 99 ·118
 100 ·119
 101 ·120#ifdef·TIMER_USE_STD_CLOCK
 102 ·121·void·rawReset()·noexcept
 103 ·122·{
 104 ·123·cstart·=·std::clock();
 105 ·124·}
 106 ·125
 107 ·126·double·rawElapsed·()·const·noexcept
 108 ·127·{
 109 ·128·return·(std::clock()-cstart)·/·static_cast<double>(CLOCKS_PER_SEC);
 110 ·129·}
 111 ·130
 112 ·131·std::clock_t·cstart;
 113 ·132#else
 114 ·133·void·rawReset()·noexcept
 115 ·134·{
 116 ·135·cstart·=·std::chrono::high_resolution_clock::now();
Max diff block lines reached; 1338/4922 bytes (27.18%) of diff not shown.
15.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 60 lines modifiedOffset 70, 66 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
80 ··<div·class="headertitle"><div·class="title">sllist.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>79 ··<div·class="headertitle"><div·class="title">fmatrixev.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.··82 <p>Eigenvalue·computations·for·the·FieldMatrix·class.··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 85 <code>#include·&lt;iostream&gt;</code><br·/>
 86 <code>#include·&lt;cmath&gt;</code><br·/>
86 <code>#include·&lt;cassert&gt;</code><br·/>87 <code>#include·&lt;cassert&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00113_source.html">iteratorfacades.hh</a>&quot;</code><br·/>91 <code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code><br·/>
88 <code>#include·&lt;ostream&gt;</code><br·/> 
89 </div>92 </div>
90 <p><a·href="a00287_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00287_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">94 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02856.html">Dune::SLList&lt;·T,·A·&gt;</a></td></tr> 
95 <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> 
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="a02844.html">Dune::SLListIterator&lt;·T,·A·&gt;</a></td></tr> 
98 <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> 
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="a02848.html">Dune::SLListConstIterator&lt;·T,·A·&gt;</a></td></tr> 
101 <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> 
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="a02852.html">Dune::SLListModifyIterator&lt;·T,·A·&gt;</a></td></tr> 
104 <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> 
105 <tr·class="separator:"><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="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
110 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:a00436"·id="r_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>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
114 Functions</h2></td></tr>104 Functions</h2></td></tr>
115 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"·id="r_gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·&gt;·</td></tr> 
116 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab672fc0e72d7d5c69943bbf2a0bdb421">Dune::operator&lt;&lt[·...·truncated·by·diffoscope;·len:·105,·SHA:·89a6c39da57b8537635b59bf28ad6462f26cab0791c9ffdc09f54f934e89370e·...·]</td></tr>105 <tr·class="memitem:a86eafff72a6c52bec8aa92e191f08887"·id="r_a86eafff72a6c52bec8aa92e191f08887"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 106 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;eigenValues)</td></tr>
 107 <tr·class="memdesc:a86eafff72a6c52bec8aa92e191f08887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<br·/></td></tr>
 108 <tr·class="separator:a86eafff72a6c52bec8aa92e191f08887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:ae35eb55b361af2d69d419f3b6ecf4d2c"·id="r_ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 110 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr>
 111 <tr·class="memdesc:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field·matrix··<br·/></td></tr>
 112 <tr·class="separator:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a96fe2783815b8f97773279ed069cf1d8"·id="r_a96fe2783815b8f97773279ed069cf1d8"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 114 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>)</td></tr>
 115 <tr·class="memdesc:a96fe2783815b8f97773279ed069cf1d8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<br·/></td></tr>
 116 <tr·class="separator:a96fe2783815b8f97773279ed069cf1d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:afe77be4b948169fdcebb318248023920"·id="r_afe77be4b948169fdcebb318248023920"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 118 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>,·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr>
 119 <tr·class="memdesc:afe77be4b948169fdcebb318248023920"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field·matrix··<br·/></td></tr>
117 <tr·class="separator:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:afe77be4b948169fdcebb318248023920"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a72135a64a9d7252dbcf26664c5810cce"·id="r_a72135a64a9d7252dbcf26664c5810cce"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·,·class·C·&gt;·</td></tr>
 122 <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·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·dim,·dim·&gt;·&amp;matrix,·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·C,·dim·&gt;·&amp;<a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>)</td></tr>
 123 <tr·class="memdesc:a72135a64a9d7252dbcf26664c5810cce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·non-symmetric·field·matrix··<br·/></td></tr>
 124 <tr·class="separator:a72135a64a9d7252dbcf26664c5810cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>125 </table>
119 <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>
 127 <div·class="textblock"><p>Eigenvalue·computations·for·the·FieldMatrix·class.·</p>
120 <div·class="textblock"><p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.·</p> 
121 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
122 </div></div><!--·contents·-->128 </div></div><!--·contents·-->
123 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>130 <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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>132 </small></address>
127 </body>133 </body>
128 </html>134 </html>
2.97 KB
html2text {}
    
Offset 6, 45 lines modifiedOffset 6, 60 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Namespaces·|·Functions
13 sllist.hh·File·Reference 
14 Common 
15 Implements·a·singly·linked·list·together·with·the·necessary·iterators.·More... 
16 #include·<memory>13 fmatrixev.hh·File·Reference
 14 Eigenvalue·computations·for·the·FieldMatrix·class.·More...
 15 #include·<algorithm>
 16 #include·<iostream>
 17 #include·<cmath>
17 #include·<cassert>18 #include·<cassert>
18 #include·"iteratorfacades.hh" 
19 #include·<ostream>19 #include·<dune/common/exceptions.hh>
 20 #include·<dune/common/fvector.hh>
 21 #include·<dune/common/fmatrix.hh>
 22 #include·<dune/common/math.hh>
20 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
21 ·Classes 
22 class· Dune::SLList<_T,_A_> 
23  ······A·single·linked·list.·More... 
24   
25 class· Dune::SLListIterator<_T,_A_> 
26  ······A·mutable·iterator·for·the·SLList.·More... 
27   
28 class· Dune::SLListConstIterator<_T,_A_> 
29  ······A·constant·iterator·for·the·SLList.·More... 
30   
31 class· Dune::SLListModifyIterator<_T,_A_> 
32  ······A·mutable·iterator·for·the·SLList.·More... 
33   
34 ·Namespaces24 ·Namespaces
35 namespace· Dune25 namespace· Dune
36  ··········Dune·namespace.26  ··········Dune·namespace.
37  27  
 28 namespace· Dune::FMatrixHelp
 29  
38 ·Functions30 ·Functions
39 template<typename·T·,·typename·A·>31 template<int·dim,·typename·K·>
40 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·SLList<·T,·A·> 
41 ················&sllist)32 static·void Dune::FMatrixHelp::eigenValues·(const·FieldMatrix<·K,·dim,·dim·>
 33 ·············&matrix,·FieldVector<·K,·dim·>·&eigenValues)
 34  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix
 35  
 36 template<int·dim,·typename·K·>
 37 static·void Dune::FMatrixHelp::eigenValuesVectors·(const·FieldMatrix<·K,·dim,
 38 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues,·FieldMatrix<·K,
 39 ·············dim,·dim·>·&eigenVectors)
 40  ···········calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field
 41 ·············matrix
 42  
 43 template<int·dim,·typename·K·>
 44 static·void Dune::FMatrixHelp::eigenValuesLapack·(const·FieldMatrix<·K,·dim,
 45 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues)
 46  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix
 47  
 48 template<int·dim,·typename·K·>
 49 static·void Dune::FMatrixHelp::eigenValuesVectorsLapack·(const·FieldMatrix<·K,
 50 ·············dim,·dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues,
 51 ·············FieldMatrix<·K,·dim,·dim·>·&eigenVectors)
 52  ···········calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field
 53 ·············matrix
 54  
 55 template<int·dim,·typename·K·,·class·C·>
 56 static·void Dune::FMatrixHelp::eigenValuesNonSym·(const·FieldMatrix<·K,·dim,
 57 ·············dim·>·&matrix,·FieldVector<·C,·dim·>·&eigenValues)
 58  ···········calculates·the·eigenvalues·of·a·non-symmetric·field·matrix
42  59  
43 *****·Detailed·Description·*****60 *****·Detailed·Description·*****
 61 Eigenvalue·computations·for·the·FieldMatrix·class.
44 Implements·a·singly·linked·list·together·with·the·necessary·iterators. 
45 ··Author 
46 ······Markus·Blatt 
  
47 ===============================================================================62 ===============================================================================
48 ·····Generated·by [doxygen]·1.9.863 ·····Generated·by [doxygen]·1.9.8
269 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 778 lines modifiedOffset 74, 640 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">sllist.hh</div></div>80 ··<div·class="headertitle"><div·class="title">fmatrixev.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SLLIST_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FMATRIXEIGENVALUES_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SLLIST_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FMATRIXEIGENVALUES_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00113.html">iteratorfacades.hh</a>&quot;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00170.html">dune/common/fmatrix.hh</a>&gt;</span></div>
95 <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>98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00101.html">dune/common/math.hh</a>&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div> 
97 <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> 
98 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">class·</span>SLListIterator;</div> 
99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 100 <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>
100 <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> 
101 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>SLListConstIterator;</div> 
102 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
103 <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> 
104 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">class·</span>SLListModifyIterator;</div>102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>FMatrixHelp·{</div>
105 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>103 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
106 <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> 
107 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> 
108 <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>104 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>
 105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·defined·in·fmatrixev.cc</span></div>
 106 <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>
 107 <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>
 108 <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>
 109 <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>
 110 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 111 <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>
 112 <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>
 113 <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>
 114 <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>
 115 <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>
109 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>116 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
110 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">struct·</span>Element;</div>117 <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>
111 <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> 
112 <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>118 <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>·<[·...·truncated·by·diffoscope;·len:·36,·SHA:·4002ab21c52c8a9b5c523380e48302400cfdb57d2bc7bb75696ad0b2c801229c·...·]</div>
 119 <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>
 120 <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>
113 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>121 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
114 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div>122 <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>
 123 <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>
 124 <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>
 125 <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>
 126 <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="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>127 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
116 <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>128 <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="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>129 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
118 <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">Memb[·...·truncated·by·diffoscope;·len:·11,·SHA:·5e9237532dda72867c1bcb1e29209fb09ab2b9e0e2aa2105789e9344490b6cc3·...·]</div>130 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">namespace·</span>Impl·{</div>
 131 <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>
 132 <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>
119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>133 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
120 <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">Allocato[·...·truncated·by·diffoscope;·len:·115,·SHA:·e7d93608138ff659e0c6230000341facfe71985ad7857f29c864b560937852c2·...·]</div>134 <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>
 135 <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>
 136 <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>
121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>137 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
122 <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="cod[·...·truncated·by·diffoscope;·len:·81,·SHA:·27688af8d54ba9e4412449fe9e4d50c6e3f0da2c8ba7e77d2f629507fd4405d3·...·]</div>138 <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>
 139 <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>
 140 <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>
 141 <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>
 142 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······}</div>
123 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>143 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
124 <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[·...·truncated·by·diffoscope;·len:·91,·SHA:·784765e6a4220aa956b6ba36808dc877cca76182dda04e73de929491cc65e926·...·];</div>144 <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>
 145 <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>
 146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····································FieldVector&lt;K,·2&gt;&amp;·eigenvalues)</div>
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>147 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div>
126 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="}"> 
127 <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>148 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">using·</span>std::sqrt;</div>
 149 <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>
 150 <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>
 151 <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>
 152 <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>
 153 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<span·class="keywordflow">if</span>·(q·&lt;·0)</div>
128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········{</div>
129 <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> 
130 <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="}"> 
131 <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</sp[·...·truncated·by·diffoscope;·len:·83,·SHA:·d1963808dc4dbd143c724718eafee56e07b12a5c8a0bfd757c5f560839189d27·...·];</div>155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········std::cout·&lt;&lt;·matrix·&lt;&lt;·std::endl;</div>
 156 <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>
 157 <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>
 158 <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>159 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
133 <div·class="foldopen"·id="foldopen00090"·data-start="{"·data-end="}"> 
134 <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</s[·...·truncated·by·diffoscope;·len:·83,·SHA:·331259ac91dbb38fd9dd209eb017359a591e732b335f135a1f135fa8977d85d6·...·]</div>160 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="comment">//·get·square·root</span></div>
 161 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········q·=·sqrt(q);</div>
135 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>162 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
136 <div·class="foldopen"·id="foldopen00097"·data-start="{"·data-end="}"> 
137 <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>163 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="comment">//·store·eigenvalues·in·ascending·order</span></div>
 164 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········eigenvalues[0]·=·p·-·q;</div>
 165 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········eigenvalues[1]·=·p·+·q;</div>
 166 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div>
138 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>167 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
Max diff block lines reached; 195568/229573 bytes (85.19%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
44.5 KB
html2text {}
    
Offset 7, 800 lines modifiedOffset 7, 712 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 sllist.hh12 fmatrixev.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_SLLIST_HH 
20 ·6#define·DUNE_SLLIST_HH19 ·5#ifndef·DUNE_FMATRIXEIGENVALUES_HH
 20 ·6#define·DUNE_FMATRIXEIGENVALUES_HH
21 ·721 ·7
 22 ·12#include·<algorithm>
22 ·8#include·<memory> 
23 ·9#include·<cassert> 
24 ·10#include·"iteratorfacades.hh" 
25 ·11#include·<ostream>23 ·13#include·<iostream>
26 ·1224 ·14#include·<cmath>
 25 ·15#include·<cassert>
 26 ·16
 27 ·17#include·<dune/common/exceptions.hh>
 28 ·18#include·<dune/common/fvector.hh>
 29 ·19#include·<dune/common/fmatrix.hh>
 30 ·20#include·<dune/common/math.hh>
 31 ·21
27 ·13namespace·Dune32 ·22namespace·Dune·{
28 ·14{ 
29 ·26·template<typename·T,·class·A> 
30 ·27·class·SLListIterator; 
31 ·28 
32 ·29·template<typename·T,·class·A> 
33 ·30·class·SLListConstIterator; 
34 ·31 
35 ·32·template<typename·T,·class·A> 
36 ·33·class·SLListModifyIterator; 
37 ·34 
38 ·42·template<typename·T,·class·A=std::allocator<T>·> 
39 43·class·SLList 
40 ·44·{ 
41 ·45·struct·Element; 
42 ·46·friend·class·SLListIterator<T,A>; 
43 ·47·friend·class·SLListConstIterator<T,A>;33 ·23
 34 ·29·namespace·FMatrixHelp·{
 35 ·30
 36 ·31#if·HAVE_LAPACK
 37 ·32·//·defined·in·fmatrixev.cc
 38 ·33·extern·void·eigenValuesLapackCall(
 39 ·34·const·char*·jobz,·const·char*·uplo,·const·long
 40 ·35·int*·n,·double*·a,·const·long·int*·lda,·double*·w,
 41 ·36·double*·work,·const·long·int*·lwork,·long·int*·info);
 42 ·37
 43 ·38·extern·void·eigenValuesNonsymLapackCall(
 44 ·39·const·char*·jobvl,·const·char*·jobvr,·const·long
 45 ·40·int*·n,·double*·a,·const·long·int*·lda,·double*·wr,·double*·wi,·double*·vl,
 46 ·41·const·long·int*·ldvl,·double*·vr,·const·long·int*·ldvr,·double*·work,
 47 ·42·const·long·int*·lwork,·long·int*·info);
 48 ·43
 49 ·44·extern·void·eigenValuesLapackCall(
 50 ·45·const·char*·jobz,·const·char*·uplo,·const·long
 51 ·46·int*·n,·float*·a,·const·long·int*·lda,·float*·w,
 52 ·47·float*·work,·const·long·int*·lwork,·long·int*·info);
44 ·4853 ·48
45 ·49·public: 
46 ·50 
47 54·typedef·typename·A::size_type·size_type; 
48 ·55 
49 59·typedef·T·MemberType;54 ·49·extern·void·eigenValuesNonsymLapackCall(
 55 ·50·const·char*·jobvl,·const·char*·jobvr,·const·long
 56 ·51·int*·n,·float*·a,·const·long·int*·lda,·float*·wr,·float*·wi,·float*·vl,
 57 ·52·const·long·int*·ldvl,·float*·vr,·const·long·int*·ldvr,·float*·work,
 58 ·53·const·long·int*·lwork,·long·int*·info);
 59 ·54
 60 ·55#endif
 61 ·56
 62 ·57·namespace·Impl·{
 63 ·58·//internal·tag·to·activate/disable·code·for·eigenvector·calculation·at
 64 compile·time
 65 ·59·enum·Jobs·{·OnlyEigenvalues=0,·EigenvaluesEigenvectors=1·};
50 ·6066 ·60
51 64·using·Allocator·=·typename·std::allocator_traits<A>::template 
52 rebind_alloc<Element>; 
53 ·65 
54 69·typedef·SLListIterator<T,A>·iterator;67 ·61·//internal·dummy·used·if·only·eigenvalues·are·to·be·calculated
 68 ·62·template<typename·K,·int·dim>
 69 ·63·using·EVDummy·=·FieldMatrix<K,·dim,·dim>;
 70 ·64
 71 ·65·//compute·the·cross-product·of·two·vectors
 72 ·66·template<typename·K>
 73 ·67·inline·FieldVector<K,3>·crossProduct(const·FieldVector<K,3>&·vec0,·const
 74 FieldVector<K,3>&·vec1)·{
 75 ·68·return·{vec0[1]*vec1[2]·-·vec0[2]*vec1[1],·vec0[2]*vec1[0]·-·vec0[0]*vec1
 76 [2],·vec0[0]*vec1[1]·-·vec0[1]*vec1[0]};
 77 ·69·}
55 ·7078 ·70
56 74·typedef·SLListConstIterator<T,A>·const_iterator; 
57 ·75 
58 79·SLList(); 
59 ·80 
60 ·84·template<typename·T1,·typename·A1> 
61 85·SLList(const·SLList<T1,A1>&·other);79 ·71·template·<typename·K>
 80 ·72·static·void·eigenValues2dImpl(const·FieldMatrix<K,·2,·2>&·matrix,
 81 ·73·FieldVector<K,·2>&·eigenvalues)
 82 ·74·{
 83 ·75·using·std::sqrt;
 84 ·76·const·K·p·=·0.5·*·(matrix[0][0]·+·matrix·[1][1]);
 85 ·77·const·K·p2·=·p·-·matrix[1][1];
 86 ·78·K·q·=·p2·*·p2·+·matrix[1][0]·*·matrix[0][1];
 87 ·79·if(·q·<·0·&&·q·>·-1e-14·)·q·=·0;
 88 ·80·if·(q·<·0)
 89 ·81·{
 90 ·82·std::cout·<<·matrix·<<·std::endl;
 91 ·83·//·Complex·eigenvalues·are·either·caused·by·non-symmetric·matrices·or·by
 92 round-off·errors
 93 ·84·DUNE_THROW(MathError,·"Complex·eigenvalue·detected·(which·this
 94 implementation·cannot·handle).");
 95 ·85·}
62 ·8696 ·86
63 90·SLList(const·SLList<T,A>&·other); 
64 ·91 
65 97·~SLList(); 
66 ·98 
Max diff block lines reached; 39655/45505 bytes (87.14%) of diff not shown.
4.63 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 42 lines modifiedOffset 69, 19 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>··</div> 
78 ··<div·class="headertitle"><div·class="title">singleton.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">debugallocator.hh·File·Reference</div></div>
79 </div><!--header-->76 </div><!--header-->
80 <div·class="contents">77 <div·class="contents">
  
81 <p>Useful·wrapper·for·creating·singletons.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/visibility.hh</a>&gt;</code><br·/> 
84 </div> 
85 <p><a·href="a00290_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00290_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls"> 
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
88 Classes</h2></td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html">Dune::Singleton&lt;·T·&gt;</a></td></tr> 
90 <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> 
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> 
94 Namespaces</h2></td></tr> 
95 <tr·class="memitem:a00425"·id="r_a00425"><td·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> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 </table> 
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
100 <div·class="textblock"><p>Useful·wrapper·for·creating·singletons.·</p> 
101 <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> 
102 </div></div><!--·contents·-->79 </div><!--·contents·-->
103 <!--·start·footer·part·-->80 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>81 <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.882 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
106 </small></address>83 </small></address>
107 </body>84 </body>
108 </html>85 </html>
756 B
html2text {}
    
Offset 6, 26 lines modifiedOffset 6, 12 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 debugallocator.hh·File·Reference
12 Classes·|·Namespaces 
13 singleton.hh·File·Reference 
14 Useful·wrapper·for·creating·singletons.·More... 
15 #include·<dune/common/visibility.hh> 
16 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
17 ·Classes 
18 class· Dune::Singleton<_T_> 
19  ······An·adapter·to·turn·a·class·into·a·singleton.·More... 
20   
21 ·Namespaces 
22 namespace· Dune 
23  ··········Dune·namespace. 
24   
25 *****·Detailed·Description·***** 
26 Useful·wrapper·for·creating·singletons. 
27 Inspired·by·the·article·CodeGuru:_A_Leak-Free_Singleton_class 
  
28 ===============================================================================14 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.815 ·····Generated·by [doxygen]·1.9.8
66.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 62 lines modifiedOffset 74, 345 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">singleton.hh</div></div>80 ··<div·class="headertitle"><div·class="title">debugallocator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SINGLETON_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUG_ALLOCATOR_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SINGLETON_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUG_ALLOCATOR_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00095.html">dune/common/visibility.hh</a>&gt;</span></div>90 <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>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 92 <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>
 93 <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>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·HAVE_MPROTECT·1</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00047.html">mallocallocator.hh</a>&quot;</span></div>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
92 <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>107 <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>
93 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div> 
94 <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> 
95 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> 
96 <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> 
97 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">protected</span>:</div> 
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">/*·@brief·Protected·constructor.·*/</span></div> 
100 <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> 
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">public</span>:</div> 
103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
104 <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> 
105 <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>110 <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>
 111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>DebugMemory</div>
 112 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div>
 113 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 114 <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>
 115 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 116 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">struct·</span>AllocationManager</div>
 117 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>
 118 <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>
 119 <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>
 120 <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>
 121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 122 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">protected</span>:</div>
 123 <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>
 124 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 125 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">struct·</span>AllocationInfo;</div>
 126 <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>
106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
107 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> 
108 <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="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·T&amp;·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>()</div> 
109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>128 <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>
 129 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">·······························{·allocation_error(&quot;Assertion·&quot;·#·A·&quot;·failed&quot;);\</span></div>
 130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">·······························}\</span></div>
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·T·instance_;</div>131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">};</span></div>
111 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·instance_;</div> 
112 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div> 
113 </div> 
114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div>132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
115 </div>133 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">struct·</span>AllocationInfo</div>
 134 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{</div>
 135 <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>
 136 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keyword">const</span>·std::type_info·*·type;</div>
 137 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 138 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········pointer·page_ptr;</div>
 139 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········pointer·ptr;</div>
 140 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········size_type·pages;</div>
 141 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········size_type·capacity;</div>
 142 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········size_type·size;</div>
 143 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordtype">bool</span>·not_free;</div>
 144 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······};</div>
116 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
117 <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="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">typedef</span>·MallocAllocator&lt;AllocationInfo&gt;·Alloc;</div>
 147 <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>
 148 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······AllocationList·allocation_list;</div>
118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>149 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 150 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">private</span>:</div>
 151 <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>
 152 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······················[[maybe_unused]]·difference_type·len,</div>
 153 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······················[[maybe_unused]]·<span·class="keywordtype">int</span>·prot)</div>
 154 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{</div>
 155 <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>
 156 <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>
 157 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">if</span>·(result·==·-1)</div>
 158 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div>
 159 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 160 <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>
 161 <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>
 162 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··········<span·class="keywordflow">if</span>·(prot·==·PROT_NONE)</div>
 163 <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>
 164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········<span·class="keywordflow">else</span></div>
 165 <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>
 166 <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>
 167 <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>
 168 <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>
Max diff block lines reached; 1671/57204 bytes (2.92%) of diff not shown.
10.3 KB
html2text {}
    
Offset 7, 68 lines modifiedOffset 7, 356 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 singleton.hh12 debugallocator.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_SINGLETON_HH 
20 ·6#define·DUNE_SINGLETON_HH19 ·5#ifndef·DUNE_DEBUG_ALLOCATOR_HH
 20 ·6#define·DUNE_DEBUG_ALLOCATOR_HH
21 ·721 ·7
22 ·8#include·<dune/common/visibility.hh>22 ·8#if·__has_include(<sys/mman.h>)
23 ·923 ·9
 24 ·10#include·<sys/mman.h>
 25 ·11#define·HAVE_SYS_MMAN_H·1
 26 ·12#define·HAVE_MPROTECT·1
 27 ·13
 28 ·14#include·<exception>
 29 ·15#include·<typeinfo>
 30 ·16#include·<vector>
 31 ·17#include·<iostream>
 32 ·18#include·<cstring>
 33 ·19#include·<cstdint>
 34 ·20#include·<cstdlib>
 35 ·21#include·<new>
 36 ·22
 37 ·23#include·"mallocallocator.hh"
 38 ·24
24 ·17namespace·Dune39 ·25namespace·Dune
 40 ·26{
 41 ·27
 42 ·28#ifndef·DOXYGEN·//·hide·implementation·details·from·doxygen
 43 ·29·namespace·DebugMemory
 44 ·30·{
 45 ·31
 46 ·32·extern·const·std::ptrdiff_t·page_size;
 47 ·33
 48 ·34·struct·AllocationManager
 49 ·35·{
 50 ·36·typedef·std::size_t·size_type;
 51 ·37·typedef·std::ptrdiff_t·difference_type;
 52 ·38·typedef·void*·pointer;
 53 ·39
 54 ·40·protected:
 55 ·41·static·void·allocation_error(const·char*·msg);
 56 ·42
 57 ·43·struct·AllocationInfo;
 58 ·44·friend·struct·AllocationInfo;
 59 ·45
 60 ·46#define·ALLOCATION_ASSERT(A)·{·if·(!(A))·\
 61 ·47·{·allocation_error("Assertion·"·#·A·"·failed");\
 62 ·48·}\
 63 ·49};
 64 ·50
 65 ·51·struct·AllocationInfo
 66 ·52·{
 67 ·53·AllocationInfo(const·std::type_info·&·t)·:·type(&t)·{}
 68 ·54·const·std::type_info·*·type;
 69 ·55
 70 ·56·pointer·page_ptr;
 71 ·57·pointer·ptr;
 72 ·58·size_type·pages;
 73 ·59·size_type·capacity;
 74 ·60·size_type·size;
 75 ·61·bool·not_free;
 76 ·62·};
 77 ·63
 78 ·64·typedef·MallocAllocator<AllocationInfo>·Alloc;
 79 ·65·typedef·std::vector<AllocationInfo,·Alloc>·AllocationList;
 80 ·66·AllocationList·allocation_list;
 81 ·67
 82 ·68·private:
 83 ·69·void·memprotect([[maybe_unused]]·void*·from,
 84 ·70·[[maybe_unused]]·difference_type·len,
 85 ·71·[[maybe_unused]]·int·prot)
 86 ·72·{
 87 ·73#if·HAVE_SYS_MMAN_H·&&·HAVE_MPROTECT
 88 ·74·int·result·=·mprotect(from,·len,·prot);
 89 ·75·if·(result·==·-1)
 90 ·76·{
 91 ·77
 92 ·78·std::cerr·<<·"ERROR:·("·<<·result·<<·":·"·<<·strerror(result)·<<·")"·<<
 93 std::endl;
 94 ·79·std::cerr·<<·"·Failed·to·";
 95 ·80·if·(prot·==·PROT_NONE)
 96 ·81·std::cerr·<<·"protect·";
 97 ·82·else
 98 ·83·std::cerr·<<·"unprotect·";
 99 ·84·std::cerr·<<·"memory·range:·"
 100 ·85·<<·from·<<·",·"
 101 ·86·<<·static_cast<void*>(
 102 ·87·static_cast<char*>(from)·+·len)
 103 ·88·<<·std::endl;
 104 ·89·abort();
 105 ·90·}
 106 ·91#else
 107 ·92·std::cerr·<<·"WARNING:·memory·protection·not·available"·<<·std::endl;
 108 ·93#endif
 109 ·94·}
 110 ·95
 111 ·96·public:
 112 ·97
 113 ·98·~AllocationManager·()
 114 ·99·{
 115 ·100·AllocationList::iterator·it;
 116 ·101·bool·error·=·false;
 117 ·102·for·(it=allocation_list.begin();·it!=allocation_list.end();·it++)
 118 ·103·{
 119 ·104·if·(it->not_free)
 120 ·105·{
 121 ·106·std::cerr·<<·"ERROR:·found·memory·chunk·still·in·use:·"·<<
 122 ·107·it->capacity·<<·"·bytes·at·"·<<·it->ptr·<<·std::endl;
 123 ·108·error·=·true;
 124 ·109·}
 125 ·110·munmap(it->page_ptr,·it->pages·*·page_size);
 126 ·111·}
 127 ·112·if·(error)
 128 ·113·allocation_error("lost·allocations");
 129 ·114·}
 130 ·115
Max diff block lines reached; 571/10548 bytes (5.41%) of diff not shown.
25.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 85 lines modifiedOffset 70, 85 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
80 ··<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>79 ··<div·class="headertitle"><div·class="title">hybridutilities.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·· 
84 <a·href="#details">More...</a></p> 
85 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>82 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
86 <code>#include·&lt;cmath&gt;</code><br·/> 
87 <code>#include·&lt;cstddef&gt;</code><br·/> 
88 <code>#include·&lt;cstdlib&gt;</code><br·/> 
89 <code>#include·&lt;complex&gt;</code><br·/> 
90 <code>#include·&lt;cstring&gt;</code><br·/> 
91 <code>#include·&lt;utility&gt;</code><br·/>83 <code>#include·&lt;utility&gt;</code><br·/>
92 <code>#include·&lt;initializer_list&gt;</code><br·/> 
93 <code>#include·&lt;algorithm&gt;</code><br·/> 
94 <code>#include·&quot;<a·class="el"·href="a00218_source.html">typetraits.hh</a>&quot;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
95 <code>#include·&quot;<a·class="el"·href="a00221_source.html">exceptions.hh</a>&quot;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
96 <code>#include·&quot;<a·class="el"·href="a00383_source.html">ftraits.hh</a>&quot;</code><br·/> 
97 <code>#include·&quot;<a·class="el"·href="a00392_source.html">densevector.hh</a>&quot;</code><br·/> 
98 <code>#include·&quot;<a·class="el"·href="a00191_source.html">boundschecking.hh</a>&quot;</code><br·/> 
99 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
100 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/assertandreturn.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
101 </div>90 </div>
102 <p><a·href="a00293_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00293_source.html">Go·to·the·source·code·of·this·file.</a></p>
103 <table·class="memberdecls">92 <table·class="memberdecls">
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
105 Classes</h2></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="a01776.html">Dune::DenseMatVecTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&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="a01780.html">Dune::FieldTraits&lt;·FieldVector&lt;·K,·SIZE·&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="a01784.html">Dune::IsFieldVectorSizeCorrect&lt;·C,·SIZE·&gt;</a></td></tr> 
111 <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> 
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="a01788.html">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE·&gt;,·SIZE·&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">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> 
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <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> 
118 <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> 
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>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
122 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
123 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
126 <tr·class="memitem:a00438"·id="r_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>98 <tr·class="memitem:a00439"·id="r_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>
127 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr> 
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
129 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
130 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
131 Functions</h2></td></tr>102 Functions</h2></td></tr>
132 <tr·class="memitem:ab33f61f8962056b6619b0d5b7edceefd"·id="r_ab33f61f8962056b6619b0d5b7edceefd"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr> 
133 <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>·(co[·...·truncated·by·diffoscope;·len:·183,·SHA:·3e41a05cdfc29f9698322bda9342d48ff59580aa8e0333bb445ec9640f40794f·...·]</td></tr>103 <tr·class="memitem:ga0df72c8cdbb69ecf6da9483d5cdac1de"·id="r_ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 104 <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>
 105 <tr·class="memdesc:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Size·query.··<br·/></td></tr>
 106 <tr·class="separator:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"·id="r_gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplParams"·colspan="2">template&lt;class·Container·,·class·Index·&gt;·</td></tr>
 108 <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>
 109 <tr·class="memdesc:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·element·at·given·position·from·container.··<br·/></td></tr>
 110 <tr·class="separator:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"·id="r_gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplParams"·colspan="2">template&lt;class·Begin·,·class·End·&gt;·</td></tr>
 112 <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>
 113 <tr·class="memdesc:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range.··<br·/></td></tr>
 114 <tr·class="separator:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"·id="r_ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplParams"·colspan="2">template&lt;class·End·&gt;·</td></tr>
 116 <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>
 117 <tr·class="memdesc:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range·starting·from·0.··<br·/></td></tr>
 118 <tr·class="separator:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"·id="r_ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·F·&gt;·</td></tr>
 120 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·F·&amp;&amp;f)</td></tr>
 121 <tr·class="memdesc:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Range·based·for·loop.··<br·/></td></tr>
 122 <tr·class="separator:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"·id="r_gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·T·,·class·F·&gt;·</td></tr>
 124 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·T·value,·F·&amp;&amp;f)</td></tr>
 125 <tr·class="memdesc:gaf41421cb94c1a0a3d334eeb409701620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Accumulate·values.··<br·/></td></tr>
 126 <tr·class="separator:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:gaac1691e6004f0428bdacab6407152807"·id="r_gaac1691e6004f0428bdacab6407152807"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·,·class·ElseFunc·&gt;·</td></tr>
 128 <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>
 129 <tr·class="memdesc:gaac1691e6004f0428bdacab6407152807"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<br·/></td></tr>
 130 <tr·class="separator:gaac1691e6004f0428bdacab6407152807"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:ga044cfa54089ac3509d0a3a24b85ef42b"·id="r_ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·&gt;·</td></tr>
 132 <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>
 133 <tr·class="memdesc:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<br·/></td></tr>
 134 <tr·class="separator:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ga1f6da8119c5af45fe0413b9f75ef9861"·id="r_ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·T2·&gt;·</td></tr>
 136 <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>
 137 <tr·class="memdesc:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Equality·comparison.··<br·/></td></tr>
 138 <tr·class="separator:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:ga57705e4850c91cd0a92b452384bdc0a0"·id="r_ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·&gt;·</td></tr>
 140 <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>
 141 <tr·class="memdesc:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<br·/></td></tr>
 142 <tr·class="separator:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:gaa3c378c2ae090a6b608ec667486ede4b"·id="r_gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·&gt;·</td></tr>
 144 <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>
 145 <tr·class="memdesc:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<br·/></td></tr>
134 <tr·class="separator:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 <tr·class="memitem:a5312822f8a17821bbd4fdd8671528d88"·id="r_a5312822f8a17821bbd4fdd8671528d88"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr> 
Max diff block lines reached; 547/20668 bytes (2.65%) of diff not shown.
4.85 KB
html2text {}
    
Offset 6, 75 lines modifiedOffset 6, 79 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Namespaces·|·Functions
 13 hybridutilities.hh·File·Reference
13 fvector.hh·File·Reference 
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a 
16 compile-time·given·size.·More... 
17 #include·<array> 
18 #include·<cmath> 
19 #include·<cstddef> 
20 #include·<cstdlib> 
21 #include·<complex>14 #include·<tuple>
22 #include·<cstring> 
23 #include·<utility>15 #include·<utility>
24 #include·<initializer_list> 
25 #include·<algorithm> 
26 #include·"typetraits.hh" 
27 #include·"exceptions.hh" 
28 #include·"ftraits.hh" 
29 #include·"densevector.hh" 
30 #include·"boundschecking.hh" 
31 #include·<dune/common/math.hh> 
32 #include·<dune/common/promotiontraits.hh>16 #include·<dune/common/typetraits.hh>
 17 #include·<dune/common/typeutilities.hh>
 18 #include·<dune/common/fvector.hh>
 19 #include·<dune/common/indices.hh>
 20 #include·<dune/common/assertandreturn.hh>
 21 #include·<dune/common/rangeutilities.hh>
33 Go_to_the_source_code_of_this_file.22 Go_to_the_source_code_of_this_file.
34 ·Classes 
35 struct· Dune::DenseMatVecTraits<_FieldVector<_K,_SIZE_>_> 
36   
37 struct· Dune::FieldTraits<_FieldVector<_K,_SIZE_>_> 
38   
39 struct· Dune::IsFieldVectorSizeCorrect<_C,_SIZE_> 
40  ·······TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible. 
41 ·········More... 
42   
43 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE_>,_SIZE_> 
44   
45 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE1_>,_SIZE_> 
46   
47 ·class· Dune::FieldVector<_K,_SIZE_> 
48  ·······vector·space·out·of·a·tensor·product·of·fields.·More... 
49   
50 ·Namespaces23 ·Namespaces
51 namespace· Dune24 namespace· Dune
52  ··········Dune·namespace.25  ··········Dune·namespace.
53  26  
 27 namespace· Dune::Hybrid
54 namespace· Dune::MathOverloads 
55  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics 
56  28  
57 ·Functions29 ·Functions
58 template<class·K·,·int·SIZE> 
59 auto Dune::MathOverloads::isFinite·(const·FieldVector<·K,·SIZE·>·&b, 
60 ······PriorityTag<·2·>,·ADLTag)30 template<class·T·>
 31 ··········constexpr·auto Dune::Hybrid::size·(const·T·&t)
 32  ························Size·query.
61  33  
62 template<class·K·,·int·SIZE> 
63 bool Dune::MathOverloads::isInf·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag< 
64 ······2·>,·ADLTag)34 template<class·Container·,·class·Index·>
 35 constexpr·decltype(auto) Dune::Hybrid::elementAt·(Container·&&c,·Index·&&i)
 36  ························Get·element·at·given·position·from·container.
65  37  
66 template<class·K·,·int·SIZE,·typename·=·std::enable_if_t<HasNaN<K>::value>> 
67 bool Dune::MathOverloads::isNaN·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag< 
68 ······2·>,·ADLTag)38 template<class·Begin·,·class·End·>
 39 ··········constexpr·auto Dune::Hybrid::integralRange·(const·Begin·&begin,
 40 ··························const·End·&end)
 41  ························Create·an·integral·range.
69  42  
70 template<class·K·,·typename·=·std::enable_if_t<HasNaN<K>::value>> 
71 bool Dune::MathOverloads::isUnordered·(const·FieldVector<·K,·1·>·&b,·const 
72 ······FieldVector<·K,·1·>·&c,·PriorityTag<·2·>,·ADLTag)43 template<class·End·>
 44 ··········constexpr·auto Dune::Hybrid::integralRange·(const·End·&end)
 45  ························Create·an·integral·range·starting·from·0.
73  46  
74 *****·Detailed·Description·***** 
75 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a 
76 compile-time·given·size.47 template<class·Range·,·class·F·>
 48 ··········constexpr·void Dune::Hybrid::forEach·(Range·&&range,·F·&&f)
 49  ························Range·based·for·loop.
 50  
 51 template<class·Range·,·class·T·,·class·F·>
 52 ·············constexpr·T Dune::Hybrid::accumulate·(Range·&&range,·T·value,·F
 53 ··························&&f)
 54  ························Accumulate·values.
 55  
 56 template<class·Condition·,·class·IfFunc·,·class·ElseFunc·>
 57 ··········decltype(auto) Dune::Hybrid::ifElse·(const·Condition·&condition,
 58 ··························IfFunc·&&ifFunc,·ElseFunc·&&elseFunc)
 59  ························A·conditional·expression.
 60  
 61 template<class·Condition·,·class·IfFunc·>
 62 ····················void Dune::Hybrid::ifElse·(const·Condition·&condition,
 63 ··························IfFunc·&&ifFunc)
 64  ························A·conditional·expression.
 65  
 66 template<class·T1·,·class·T2·>
 67 ··········constexpr·auto Dune::Hybrid::equals·(T1·&&t1,·T2·&&t2)
 68  ························Equality·comparison.
 69  
 70 template<class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·>
 71 constexpr·decltype(auto) Dune::Hybrid::switchCases·(const·Cases·&cases,·const
 72 ··························Value·&value,·Branches·&&branches,·ElseBranch
 73 ··························&&elseBranch)
 74  ························Switch·statement.
 75  
 76 template<class·Cases·,·class·Value·,·class·Branches·>
 77 ··········constexpr·void Dune::Hybrid::switchCases·(const·Cases·&cases,·const
 78 ··························Value·&value,·Branches·&&branches)
 79  ························Switch·statement.
 80  
  
77 ===============================================================================81 ===============================================================================
78 ·····Generated·by [doxygen]·1.9.882 ·····Generated·by [doxygen]·1.9.8
191 KB
./usr/share/doc/libdune-common-doc/doxygen/a00293_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 638 lines modifiedOffset 74, 374 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">fvector.hh</div></div>80 ··<div·class="headertitle"><div·class="title">hybridutilities.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FVECTOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FVECTOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>93 <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/typetraits.hh</a>&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/typeutilities.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00305.html">dune/common/indices.hh</a>&gt;</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00254.html">dune/common/assertandreturn.hh</a>&gt;</span></div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00218.html">typetraits.hh</a>&quot;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00221.html">exceptions.hh</a>&quot;</span></div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 102 <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>
 103 <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}">
 104 <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>
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>105 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 106 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Impl·{</div>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00383.html">ftraits.hh</a>&quot;</span></div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00392.html">densevector.hh</a>&quot;</span></div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00191.html">boundschecking.hh</a>&quot;</span></div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>107 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
107 <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/math.hh</a>&gt;</span></div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/promotiontraits.hh</a>&gt;</span></div> 
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
110 <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>108 <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>
 109 <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>
 110 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<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>
 111 <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>
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>112 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>
112 <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>113 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·{};</div>
 114 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div>
 115 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 116 <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>
113 <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>117 <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>
114 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> 
115 <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">FieldVect[·...·truncated·by·diffoscope;·len:·25,·SHA:·14f5c3df0ec7b622b059ba6dd2a23cb742850bfe5ada5e0f355ee29d747d7d77·...·]</div>118 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<span·class="keyword">const</span>·T&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html[·...·truncated·by·diffoscope;·len:·32,·SHA:·83c1bd0f52dad24a90c7fbf16abefc2d973cf409590c555e01698a1f7842c189·...·]</div>
 119 <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>
 120 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
 121 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·{};</div>
 122 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div>
 123 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 124 <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>
 125 <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>
 126 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<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>
 127 <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>
116 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>128 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{</div>
 129 <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="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> 
118 <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> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div>130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div>
122 </div> 
123 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>131 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 132 <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>
124 <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>133 <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>
 134 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<span·class="keyword">const</span>·T&amp;·t,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;0&gt;</a>&amp;)</div>
125 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> 
126 <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> 
127 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>135 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div>
 136 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">return</span>·t.size();</div>
128 <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> 
129 <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> 
130 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>137 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div>
131 </div> 
132 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>138 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
133 <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> 
134 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> 
135 <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> 
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>139 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·namespace·Impl</span></div>
137 <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> 
138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div> 
139 </div> 
140 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>140 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
141 <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> 
142 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="};"> 
143 <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> 
144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> 
145 <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> 
146 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··};</div>141 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
147 </div> 
148 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>142 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
149 <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>143 <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>
150 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="};">144 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}">
151 <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">Fiel[·...·truncated·by·diffoscope;·len:·35,·SHA:·36b3bef4784c05bd4939cf284382e8c3094297a2daa7d463cd8aa0b05985790f·...·]</div>145 <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#ga0df72c8[·...·truncated·by·diffoscope;·len:·80,·SHA:·b7cfdbc737f38cf0286afa09cd6ea02714832fdb2851ac572e595f4d7c2f2a15·...·]</div>
152 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>146 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>
153 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><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="co[·...·truncated·by·diffoscope;·len:·115,·SHA:·e76ffcb27dac7198074cfdffbb52efc8ff10690724a50187d69f444a9ccc9e82·...·];</div>147 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·Impl::size(t,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;42&gt;</a>());</div>
154 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··};</div>148 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>
155 </div>149 </div>
156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
157 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>150 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 151 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 152 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
Max diff block lines reached; 126379/163504 bytes (77.29%) of diff not shown.
31.3 KB
html2text {}
    
Offset 7, 715 lines modifiedOffset 7, 436 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 fvector.hh12 hybridutilities.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_FVECTOR_HH 
20 ·6#define·DUNE_FVECTOR_HH19 ·5#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH
 20 ·6#define·DUNE_COMMON_HYBRIDUTILITIES_HH
21 ·721 ·7
22 ·8#include·<array> 
23 ·9#include·<cmath> 
24 ·10#include·<cstddef> 
25 ·11#include·<cstdlib> 
26 ·12#include·<complex>22 ·8#include·<tuple>
27 ·13#include·<cstring> 
28 ·14#include·<utility>23 ·9#include·<utility>
29 ·15#include·<initializer_list> 
30 ·16#include·<algorithm>24 ·10
 25 ·11#include·<dune/common/typetraits.hh>
 26 ·12#include·<dune/common/typeutilities.hh>
 27 ·13#include·<dune/common/fvector.hh>
 28 ·14#include·<dune/common/indices.hh>
 29 ·15#include·<dune/common/assertandreturn.hh>
 30 ·16#include·<dune/common/rangeutilities.hh>
31 ·1731 ·17
32 ·18#include·"typetraits.hh" 
33 ·19#include·"exceptions.hh" 
34 ·20 
35 ·21#include·"ftraits.hh" 
36 ·22#include·"densevector.hh" 
37 ·23#include·"boundschecking.hh"32 ·18
 33 ·19
 34 ·20namespace·Dune·{
 35 21namespace·Hybrid·{
 36 ·22
 37 ·23namespace·Impl·{
38 ·2438 ·24
 39 ·25·//·Try·if·tuple_size·is·implemented·for·class
39 ·25#include·<dune/common/math.hh> 
40 ·26#include·<dune/common/promotiontraits.hh> 
41 ·27 
42 ·28namespace·Dune·{ 
43 ·29 
44 ·39·template<·class·K,·int·SIZE·>·class·FieldVector; 
45 ·40·template<·class·K,·int·SIZE·>40 ·26·template<class·T,·int·i>
46 41·struct·DenseMatVecTraits<·FieldVector<K,SIZE>·>41 ·27·constexpr·auto·size(const·Dune::FieldVector<T,_i>&,·const·PriorityTag<5>&)
 42 ·28·->·decltype(std::integral_constant<std::size_t,i>())
47 ·42·{43 ·29·{
48 43·typedef·FieldVector<K,SIZE>·derived_type; 
49 44·typedef·std::array<K,SIZE>·container_type; 
50 45·typedef·K·value_type; 
51 46·typedef·typename·container_type::size_type·size_type;44 ·30·return·{};
 45 ·31·}
 46 ·32
 47 ·33·//·Try·if·tuple_size·is·implemented·for·class
 48 ·34·template<class·T>
 49 ·35·constexpr·auto·size(const·T&,·const·PriorityTag<3>&)
 50 ·36·->·decltype(std::integral_constant<std::size_t,std::tuple_size<T>::value>
 51 ())
 52 ·37·{
 53 ·38·return·{};
 54 ·39·}
 55 ·40
 56 ·41·//·Try·if·there's·a·static·constexpr·size()
 57 ·42·template<class·T>
 58 ·43·constexpr·auto·size(const·T&,·const·PriorityTag<1>&)
 59 ·44·->·decltype(std::integral_constant<std::size_t,T::size()>())
 60 ·45·{
 61 ·46·return·{};
52 ·47·};62 ·47·}
53 ·4863 ·48
54 ·49·template<·class·K,·int·SIZE·> 
55 50·struct·FieldTraits<·FieldVector<K,SIZE>·>64 ·49·//·As·a·last·resort·try·if·there's·a·static·constexpr·size()
 65 ·50·template<class·T>
 66 ·51·constexpr·auto·size(const·T&·t,·const·PriorityTag<0>&)
56 ·51·{67 ·52·{
 68 ·53·return·t.size();
57 52·typedef·typename·FieldTraits<K>::field_type·field_type; 
58 53·typedef·typename·FieldTraits<K>::real_type·real_type; 
59 ·54·};69 ·54·}
60 ·5570 ·55
 71 ·56}·//·namespace·Impl
 72 ·57
 73 ·58
 74 ·59
 75 ·81template<class·T>
 76 82constexpr·auto·size(const·T&·t)
 77 ·83{
 78 ·84·return·Impl::size(t,·PriorityTag<42>());
61 ·64·template<typename·C,·int·SIZE> 
62 65·struct·IsFieldVectorSizeCorrect 
63 ·66·{ 
64 71·constexpr·static·bool·value·=·true; 
65 ·72·}; 
66 ·73 
67 ·74·template<typename·T,·int·SIZE> 
68 75·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE>,SIZE> 
69 ·76·{ 
70 77·constexpr·static·bool·value·=·true; 
71 ·78·}; 
72 ·79 
73 ·80·template<typename·T,·int·SIZE,·int·SIZE1> 
74 81·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE1>,SIZE> 
75 ·82·{ 
76 83·constexpr·static·bool·value·=·false; 
77 ·84·}; 
78 ·8579 ·85}
79 ·8680 ·86
80 ·92·template<·class·K,·int·SIZE·> 
81 93·class·FieldVector·: 
82 ·94·public·DenseVector<·FieldVector<K,SIZE>·>81 ·87
 82 ·88
 83 ·89namespace·Impl·{
 84 ·90
 85 ·91·template<class·Container,·class·Index,
 86 ·92·std::enable_if_t<IsTuple<std::decay_t<Container>>::value,·int>·=·0>
 87 ·93·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&,·PriorityTag<2>)
83 ·95·{88 ·94·{
Max diff block lines reached; 26297/32015 bytes (82.14%) of diff not shown.
12.6 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 73 lines modifiedOffset 70, 49 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
80 ··<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>79 ··<div·class="headertitle"><div·class="title">classname.hh·File·Reference</div></div>
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.··82 <p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>
86 <code>#include·&lt;cstddef&gt;</code><br·/>85 <code>#include·&lt;memory&gt;</code><br·/>
87 <code>#include·&lt;iostream&gt;</code><br·/>86 <code>#include·&lt;string&gt;</code><br·/>
 87 <code>#include·&lt;typeinfo&gt;</code><br·/>
88 <code>#include·&lt;type_traits&gt;</code><br·/>88 <code>#include·&lt;type_traits&gt;</code><br·/>
89 <code>#include·&lt;utility&gt;</code><br·/> 
90 <code>#include·&lt;vector&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
96 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/precision.hh</a>&gt;</code><br·/> 
97 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
98 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
99 <code>#include·&lt;<a·class="el"·href="a00071_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/> 
100 </div>89 </div>
101 <p><a·href="a00296_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00296_source.html">Go·to·the·source·code·of·this·file.</a></p>
102 <table·class="memberdecls">91 <table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
104 Classes</h2></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="a01404.html">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01420.html">Dune::FMatrixError</a></td></tr> 
108 <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> 
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="a01400.html">Dune::DenseMatrix&lt;·MAT·&gt;</a></td></tr> 
111 <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> 
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="namespaces"·name="namespaces"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
115 Namespaces</h2></td></tr>93 Namespaces</h2></td></tr>
116 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:a00431"·id="r_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> 
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 </table><table·class="memberdecls">97 </table><table·class="memberdecls">
122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
123 Functions</h2></td></tr>99 Functions</h2></td></tr>
124 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"·id="r_a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·,·typename·V1·,·typename·V2·&gt;·</td></tr> 
125 <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·<a·class="el"·href="a01400.html">DenseMatrix</a>&lt;·MAT·&gt;·&amp;matrix,·const·<a·class="el"·href="a01424.html">DenseVector</a>&lt;·V1·&gt;·&amp;x,·<a·class="el"·href="a01424.html">DenseVector</a>&lt;·V2·&gt;·&amp;ret)</td></tr> 
126 <tr·class="memdesc:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<br·/></td></tr>100 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"·id="r_a33ac30656648b528235c913852c28ac7"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 101 <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>
 102 <tr·class="memdesc:a33ac30656648b528235c913852c28ac7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·type·T·as·a·string.··<br·/></td></tr>
 103 <tr·class="separator:a33ac30656648b528235c913852c28ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"·id="r_a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 105 <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>
 106 <tr·class="memdesc:a1d7665500285ebc74f89523cb8cf4fae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·given·object·as·a·string.··<br·/></td></tr>
127 <tr·class="separator:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"·id="r_gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·&gt;·</td></tr> 
129 <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·<a·class="el"·href="a01400.html">DenseMatrix</a>&lt;·MAT·&gt;·&amp;a)</td></tr> 
130 <tr·class="memdesc:gaaf67fddab3978a57f94f556513bc0d77"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Sends·the·matrix·to·an·output·stream.··<br·/></td></tr> 
131 <tr·class="separator:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 </table>108 </table>
133 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
134 <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>110 <div·class="textblock"><p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·</p>
135 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
136 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
137 <hr·class="footer"/><address·class="footer"><small>113 <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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
139 </small></address>115 </small></address>
140 </body>116 </body>
141 </html>117 </html>
2.44 KB
html2text {}
    
Offset 6, 59 lines modifiedOffset 6, 36 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Functions12 Namespaces·|·Functions
 13 classname.hh·File·Reference
 14 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type
 15 as·a·string.·More...
13 densematrix.hh·File·Reference 
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a 
16 compile-time·given·number·of·rows·and·columns.·More... 
17 #include·<cmath> 
18 #include·<cstddef>16 #include·<cstdlib>
 17 #include·<memory>
19 #include·<iostream>18 #include·<string>
 19 #include·<typeinfo>
20 #include·<type_traits>20 #include·<type_traits>
21 #include·<utility> 
22 #include·<vector> 
23 #include·<dune/common/boundschecking.hh> 
24 #include·<dune/common/classname.hh> 
25 #include·<dune/common/exceptions.hh> 
26 #include·<dune/common/fvector.hh> 
27 #include·<dune/common/math.hh> 
28 #include·<dune/common/precision.hh> 
29 #include·<dune/common/simd/simd.hh> 
30 #include·<dune/common/typetraits.hh> 
31 #include·<dune/common/scalarvectorview.hh> 
32 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
33 ·Classes 
34 struct· Dune::FieldTraits<_DenseMatrix<_M_>_> 
35   
36 ·class· Dune::FMatrixError 
37  ·······Error·thrown·if·operations·of·a·FieldMatrix·fail.·More... 
38   
39 ·class· Dune::DenseMatrix<_MAT_> 
40  ·······A·dense·n·x·m·matrix.·More... 
41   
42 ·Namespaces22 ·Namespaces
43 namespace· Dune23 namespace· Dune
44  ··········Dune·namespace.24  ··········Dune·namespace.
45  25  
46 namespace· Dune::DenseMatrixHelp 
47   
48 ·Functions26 ·Functions
 27 template<class·T·>
 28 std::string Dune::className·()
 29  ···········Provide·the·demangled·class·name·of·a·type·T·as·a·string.
49 template<typename·MAT·,·typename·V1·,·typename·V2·> 
50 ···static·void Dune::DenseMatrixHelp::multAssign·(const·DenseMatrix<·MAT·> 
51 ················&matrix,·const·DenseVector<·V1·>·&x,·DenseVector<·V2·>·&ret) 
52  ··············calculates·ret·=·matrix·*·x 
53  30  
54 template<typename·MAT·> 
55 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·DenseMatrix<·MAT·>·&a) 
56  ··············Sends·the·matrix·to·an·output·stream.31 template<class·T·>
 32 std::string Dune::className·(T·&&v)
 33  ···········Provide·the·demangled·class·name·of·a·given·object·as·a·string.
57  34  
58 *****·Detailed·Description·*****35 *****·Detailed·Description·*****
59 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a 
60 compile-time·given·number·of·rows·and·columns.36 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type
 37 as·a·string.
  
61 ===============================================================================38 ===============================================================================
62 ·····Generated·by [doxygen]·1.9.839 ·····Generated·by [doxygen]·1.9.8
294 KB
./usr/share/doc/libdune-common-doc/doxygen/a00296_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 1304 lines modifiedOffset 74, 95 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">densematrix.hh</div></div>80 ··<div·class="headertitle"><div·class="title">classname.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00296.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00296.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEMATRIX_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_CLASSNAME_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEMATRIX_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_CLASSNAME_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>90 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 91 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>92 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 93 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>94 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>95 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 96 <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>
 97 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_CXA_DEMANGLE·1</span></div>
97 <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/boundschecking.hh</a>&gt;</span></div> 
98 <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/classname.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div> 
101 <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/math.hh</a>&gt;</span></div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/precision.hh</a>&gt;</span></div> 
103 <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>98 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cxxabi.h&gt;</span></div>
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div>99 <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>
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00071.html">dune/common/scalarvectorview.hh</a>&gt;</span></div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>100 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
107 <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>101 <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>
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>102 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 103 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">namespace·</span>Impl·{</div>
Diff chunk too large, falling back to line-by-line diff (54 lines added, 1175 lines removed)
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>104 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
110 <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>105 <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>
111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>106 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>
112 <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>107 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·HAVE_CXA_DEMANGLE</span></div>
113 <div·class="foldopen"·id="foldopen00031"·data-start="{"·data-end="};">108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keywordtype">int</span>·status;</div>
114 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01404.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>&[·...·truncated·by·diffoscope;·len:·9,·SHA:·d0b5498ba3d394d71c20758d5a2eee04349e294b1f9c79318ab423544494fd88·...·]&gt;</div>109 <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>
115 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>110 <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>
116 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01404.html#a7e3a65001054390715e170cec97311e2">···33</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·[·...·truncated·by·diffoscope;·len:·293,·SHA:·d43858229aa0c412286a18e66b72a0c9d11e18c9f82336ff1d17a9b1b3edfbcf·...·];</div>111 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··················std::free);</div>
117 <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·[·...·truncated·by·diffoscope;·len:·292,·SHA:·3d559dce0a058e3aa3b0b6cb513be4b18e707ae35bc806a06ab276d7c7978cae·...·]</div>112 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">if</span>(·demangled·)</div>
118 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··};</div>113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········name·=·demangled.get();</div>
119 </div>114 <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>
120 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>115 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">return</span>·name;</div>
121 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·N,·<span·class="keywordtype">int</span>·M&gt;·<span·class="keyword">class·</span><a·[·...·truncated·by·diffoscope;·len:·57,·SHA:·b9b27d10bab2c82963aeb789ea9203c0e0e73a7400f286ab6edaa2e513a585f2·...·]</div>116 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····}</div>
122 <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[·...·truncated·by·diffoscope;·len:·18,·SHA:·b4aee95572c4b7f4367f17f976a67109a25554ff8d5db46c6f563e16cc20b5ee·...·]</div>117 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
123 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>118 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
124 <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>119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">/*</span></div>
125 <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>120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div>
126 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">···*/</span></div>
127 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>122 <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>
128 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">namespace·</span>Impl</div>123 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}">
129 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div>124 <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>
130 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>125 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div>
131 <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[·...·truncated·by·diffoscope;·len:·11,·SHA:·415388f3a5feba0407c468451d36d3a53a2eef07d9e66a879c926a44abcebdaa·...·];</div>126 <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>
132 <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>127 <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>
133 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{};</div>128 <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>
134 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>129 <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>
135 <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>130 <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>
136 <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_names[·...·truncated·by·diffoscope;·len:·93,·SHA:·fb305ac5d7353086b1761a9a19ae35fa5d15416688e9110ea9fa6200c0cd33a1·...·];</div>131 <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>
137 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>132 <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>
138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">public</span>:</div>133 <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>
139 <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>·[·...·truncated·by·diffoscope;·len:·13,·SHA:·eba8065e0aa2f491eb36eea237685feaf7c9c7ac0d139a6c1f8b842838ff692c·...·])</div>134 <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>
140 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div>135 <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>
141 <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>136 <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>
142 <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#a68e5a5f0a33471a5a[·...·truncated·by·diffoscope;·len:·127,·SHA:·8ea6d32dfa9d5e0c22c91be4cdbf74820ec79ec4b28c72e17d0cbc7908076406·...·]</div>137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div>
143 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······}</div>138 </div>
144 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div>139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
145 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">/*</span></div>
146 <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>141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div>
147 <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,[·...·truncated·by·diffoscope;·len:·17,·SHA:·348b12e61d8161e30a271e102b4dc5f87a5378ff7bb98ee25ba089cb76d96e71·...·]</div>142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">···*/</span></div>
148 <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>143 <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>
149 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div>144 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}">
150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">public</span>:</div>145 <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>
151 <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>146 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>
152 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······{</div>147 <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>
153 <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>148 <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>
154 <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>149 <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>
155 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keyword">typename</span>·DenseMatrix::iterator·tIt·=·std::begin(denseMatrix);</div>150 <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>
156 <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>151 <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>
157 <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>152 <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>
158 <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>153 <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>
159 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div>154 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div>
160 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····};</div>155 </div>
161 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>156 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div>
162 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}·<span·class="comment">//·namespace·Impl</span></div>157 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
163 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>158 <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>
164 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
165 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
166 <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> 
167 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">struct·</span>DenseMatrixAssigner</div> 
168 <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> 
169 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{};</div> 
170 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
171 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
172 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">namespace·</span>Impl</div> 
173 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div> 
174 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
175 <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> 
176 <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> 
177 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
Max diff block lines reached; 30274/251997 bytes (12.01%) of diff not shown.
47.3 KB
html2text {}
    
Offset 7, 1526 lines modifiedOffset 7, 92 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 densematrix.hh12 classname.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DENSEMATRIX_HH 
20 ·6#define·DUNE_DENSEMATRIX_HH19 ·5#ifndef·DUNE_CLASSNAME_HH
 20 ·6#define·DUNE_CLASSNAME_HH
21 ·721 ·7
22 ·8#include·<cmath> 
23 ·9#include·<cstddef>22 ·13#include·<cstdlib>
 23 ·14#include·<memory>
24 ·10#include·<iostream>24 ·15#include·<string>
 25 ·16#include·<typeinfo>
25 ·11#include·<type_traits>26 ·17#include·<type_traits>
 27 ·18
 28 ·19#if·__has_include(<cxxabi.h>)·&&·!DISABLE_CXA_DEMANGLE
 29 ·20#define·HAVE_CXA_DEMANGLE·1
 30 ·21#include·<cxxabi.h>
 31 ·22#endif·//·#if·HAVE_CXA_DEMANGLE
 32 ·23
26 ·12#include·<utility> 
27 ·13#include·<vector> 
28 ·14 
29 ·15#include·<dune/common/boundschecking.hh> 
30 ·16#include·<dune/common/classname.hh> 
31 ·17#include·<dune/common/exceptions.hh> 
32 ·18#include·<dune/common/fvector.hh> 
33 ·19#include·<dune/common/math.hh> 
34 ·20#include·<dune/common/precision.hh> 
35 ·21#include·<dune/common/simd/simd.hh> 
36 ·22#include·<dune/common/typetraits.hh> 
37 ·23#include·<dune/common/scalarvectorview.hh> 
38 ·24 
39 ·25namespace·Dune33 ·24namespace·Dune·{
40 ·26{34 ·25
 35 ·26·namespace·Impl·{
Diff chunk too large, falling back to line-by-line diff (50 lines added, 1163 lines removed)
41 ·2736 ·27
42 ·28·template<typename·M>·class·DenseMatrix;37 ·28·inline·std::string·demangle(std::string·name)
43 ·2938 ·29·{
44 ·30·template<typename·M>39 ·30#if·HAVE_CXA_DEMANGLE
45 31·struct·FieldTraits<·DenseMatrix<M>·>40 ·31·int·status;
46 ·32·{41 ·32·std::unique_ptr<char,·void(*)(void*)>
47 33·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>::42 ·33·demangled(abi::__cxa_demangle(name.c_str(),·nullptr,·nullptr,·&status),
48 value_type·>::field_type·field_type;43 ·34·std::free);
49 34·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>::44 ·35·if(·demangled·)
50 value_type·>::real_type·real_type;45 ·36·name·=·demangled.get();
51 ·35·};46 ·37#endif·//·#if·HAVE_CXA_DEMANGLE
52 ·3647 ·38·return·name;
53 ·37·template<class·K,·int·N,·int·M>·class·FieldMatrix;48 ·39·}
54 ·38·template<class·K,·int·N>·class·FieldVector;49 ·40·}
55 ·3950 ·41
56 ·58·template<·class·DenseMatrix,·class·RHS·>51 ·43·/*
57 59·struct·DenseMatrixAssigner;52 ·44·*·\ingroup·CxxUtilities
58 ·6053 ·45·*/
59 ·61#ifndef·DOXYGEN54 ·46·template·<class·T>
60 ·62·namespace·Impl55 47·std::string·className·()
61 ·63·{56 ·48·{
62 ·6457 ·49·typedef·typename·std::remove_reference<T>::type·TR;
63 ·65·template<·class·DenseMatrix,·class·RHS,·class·=·void·>58 ·50·std::string·className·=·Impl::demangle(·typeid(·TR·).name()·);
64 ·66·class·DenseMatrixAssigner59 ·51·if·(std::is_const<TR>::value)
65 ·67·{};60 ·52·className·+=·"·const";
66 ·6861 ·53·if·(std::is_volatile<TR>::value)
67 ·69·template<·class·DenseMatrix,·class·RHS·>62 ·54·className·+=·"·volatile";
68 ·70·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·Dune::63 ·55·if·(std::is_lvalue_reference<T>::value)
69 IsNumber<·RHS·>::value·>·>64 ·56·className·+=·"&";
70 ·71·{65 ·57·else·if·(std::is_rvalue_reference<T>::value)
71 ·72·public:66 ·58·className·+=·"&&";
72 ·73·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·)67 ·59·return·className;
73 ·74·{68 ·60·}
74 ·75·typedef·typename·DenseMatrix::field_type·field_type;69 ·61
75 ·76·std::fill(·denseMatrix.begin(),·denseMatrix.end(),·static_cast<·field_type70 ·63·/*
76 >(·rhs·)·);71 ·64·*·\ingroup·CxxUtilities
77 ·77·}72 ·65·*/
78 ·78·};73 ·66·template·<class·T>
79 ·7974 67·std::string·className·(·T&&·v)
80 ·80·template<·class·DenseMatrix,·class·RHS·>75 ·68·{
81 ·81·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·!std::76 ·69·typedef·typename·std::remove_reference<T>::type·TR;
82 is_same<·typename·RHS::const_iterator,·void·>::value77 ·70·std::string·className·=·Impl::demangle(·typeid(v).name()·);
83 ·82·&&·std::is_convertible<·typename·RHS::const_iterator::value_type,·typename78 ·71·if·(std::is_const<TR>::value)
84 DenseMatrix::iterator::value_type·>::value·>·>79 ·72·className·+=·"·const";
85 ·83·{80 ·73·if·(std::is_volatile<TR>::value)
86 ·84·public:81 ·74·className·+=·"·volatile";
87 ·85·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·)82 ·75·return·className;
88 ·86·{83 ·76·}
89 ·87·DUNE_ASSERT_BOUNDS(rhs.N()·==·denseMatrix.N());84 ·77}·//·namespace·Dune
90 ·88·DUNE_ASSERT_BOUNDS(rhs.M()·==·denseMatrix.M());85 ·78
91 ·89·typename·DenseMatrix::iterator·tIt·=·std::begin(denseMatrix);86 ·79#endif·//·DUNE_CLASSNAME_HH
92 ·90·typename·RHS::const_iterator·sIt·=·std::begin(rhs); 
93 ·91·for(;·sIt·!=·std::end(rhs);·++tIt,·++sIt) 
94 ·92·std::copy(std::begin(*sIt),·std::end(*sIt),·std::begin(*tIt)); 
95 ·93·} 
96 ·94·}; 
97 ·95 
98 ·96·}·//·namespace·Impl 
99 ·97 
100 ·98 
101 ·99 
102 ·100·template<·class·DenseMatrix,·class·RHS·> 
103 ·101·struct·DenseMatrixAssigner 
104 ·102·:·public·Impl::DenseMatrixAssigner<·DenseMatrix,·RHS·> 
105 ·103·{}; 
106 ·104 
107 ·105 
108 ·106·namespace·Impl 
109 ·107·{ 
110 ·108 
111 ·109·template<·class·DenseMatrix,·class·RHS·> 
112 ·110·std::true_type·hasDenseMatrixAssigner·(·DenseMatrix·&,·const·RHS·&, 
113 decltype(·Dune::DenseMatrixAssigner<_DenseMatrix,_RHS_>::apply(·std::declval< 
114 DenseMatrix·&·>(),·std::declval<·const·RHS·&·>()·)·)·*·=·nullptr·); 
115 ·111 
116 ·112·std::false_type·hasDenseMatrixAssigner·(·...·); 
117 ·113 
118 ·114·}·//·namespace·Impl 
119 ·115 
120 ·116·template<·class·DenseMatrix,·class·RHS·> 
Max diff block lines reached; 10913/48425 bytes (22.54%) of diff not shown.
19.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 85 lines modifiedOffset 70, 51 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
 77 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">hybridutilities.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">arraylist.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
 82 <p>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)··
 83 <a·href="#details">More...</a></p>
82 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 85 <code>#include·&lt;cassert&gt;</code><br·/>
83 <code>#include·&lt;utility&gt;</code><br·/>86 <code>#include·&lt;memory&gt;</code><br·/>
 87 <code>#include·&lt;vector&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>88 <code>#include·&quot;<a·class="el"·href="a00374_source.html">iteratorfacades.hh</a>&quot;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/assertandreturn.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
90 </div>89 </div>
91 <p><a·href="a00299_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00299_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01284.html">Dune::ArrayList&lt;·T,·N,·A·&gt;</a></td></tr>
 95 <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>
 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="a01276.html">Dune::ArrayListIterator&lt;·T,·N,·A·&gt;</a></td></tr>
 98 <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>
 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="a01280.html">Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;</a></td></tr>
 101 <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>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 </table><table·class="memberdecls">
93 <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>
94 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:a00439"·id="r_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> 
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:ga0df72c8cdbb69ecf6da9483d5cdac1de"·id="r_ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
104 <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> 
105 <tr·class="memdesc:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Size·query.··<br·/></td></tr> 
106 <tr·class="separator:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"·id="r_gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplParams"·colspan="2">template&lt;class·Container·,·class·Index·&gt;·</td></tr> 
108 <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> 
109 <tr·class="memdesc:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·element·at·given·position·from·container.··<br·/></td></tr> 
110 <tr·class="separator:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"·id="r_gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplParams"·colspan="2">template&lt;class·Begin·,·class·End·&gt;·</td></tr> 
112 <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> 
113 <tr·class="memdesc:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range.··<br·/></td></tr> 
114 <tr·class="separator:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"·id="r_ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplParams"·colspan="2">template&lt;class·End·&gt;·</td></tr> 
116 <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> 
117 <tr·class="memdesc:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range·starting·from·0.··<br·/></td></tr> 
118 <tr·class="separator:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"·id="r_ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·F·&gt;·</td></tr> 
120 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·F·&amp;&amp;f)</td></tr> 
121 <tr·class="memdesc:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Range·based·for·loop.··<br·/></td></tr> 
122 <tr·class="separator:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"·id="r_gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·T·,·class·F·&gt;·</td></tr> 
124 <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;<a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>,·T·value,·F·&amp;&amp;f)</td></tr> 
125 <tr·class="memdesc:gaf41421cb94c1a0a3d334eeb409701620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Accumulate·values.··<br·/></td></tr> 
126 <tr·class="separator:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:gaac1691e6004f0428bdacab6407152807"·id="r_gaac1691e6004f0428bdacab6407152807"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·,·class·ElseFunc·&gt;·</td></tr> 
128 <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> 
129 <tr·class="memdesc:gaac1691e6004f0428bdacab6407152807"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<br·/></td></tr> 
130 <tr·class="separator:gaac1691e6004f0428bdacab6407152807"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:ga044cfa54089ac3509d0a3a24b85ef42b"·id="r_ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·&gt;·</td></tr> 
132 <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> 
133 <tr·class="memdesc:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<br·/></td></tr> 
134 <tr·class="separator:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ga1f6da8119c5af45fe0413b9f75ef9861"·id="r_ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·T2·&gt;·</td></tr> 
136 <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> 
137 <tr·class="memdesc:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Equality·comparison.··<br·/></td></tr> 
138 <tr·class="separator:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:ga57705e4850c91cd0a92b452384bdc0a0"·id="r_ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·&gt;·</td></tr> 
140 <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> 
141 <tr·class="memdesc:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<br·/></td></tr> 
142 <tr·class="separator:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:gaa3c378c2ae090a6b608ec667486ede4b"·id="r_gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·&gt;·</td></tr> 
144 <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> 
145 <tr·class="memdesc:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<br·/></td></tr> 
146 <tr·class="separator:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 </table>109 </table>
 110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 111 <div·class="textblock"><p>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·</p>
 112 <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>
148 </div><!--·contents·-->113 </div></div><!--·contents·-->
149 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
150 <hr·class="footer"/><address·class="footer"><small>115 <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.8116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
152 </small></address>117 </small></address>
153 </body>118 </body>
154 </html>119 </html>
3.85 KB
html2text {}
    
Offset 6, 79 lines modifiedOffset 6, 43 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Classes·|·Namespaces
 13 arraylist.hh·File·Reference
 14 Implements·a·random-access·container·that·can·efficiently·change·size·(similar
 15 to·std::deque)·More...
 16 #include·<array>
 17 #include·<cassert>
 18 #include·<memory>
 19 #include·<vector>
 20 #include·"iteratorfacades.hh"
12 Namespaces·|·Functions 
13 hybridutilities.hh·File·Reference 
14 #include·<tuple> 
15 #include·<utility> 
16 #include·<dune/common/typetraits.hh> 
17 #include·<dune/common/typeutilities.hh> 
18 #include·<dune/common/fvector.hh> 
19 #include·<dune/common/indices.hh> 
20 #include·<dune/common/assertandreturn.hh> 
21 #include·<dune/common/rangeutilities.hh> 
22 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
 22 ·Classes
 23 class· Dune::ArrayList<_T,_N,_A_>
 24  ······A·dynamically·growing·random·access·list.·More...
 25  
 26 class· Dune::ArrayListIterator<_T,_N,_A_>
 27  ······A·random·access·iterator·for·the·Dune::ArrayList·class.·More...
 28  
 29 class· Dune::ConstArrayListIterator<_T,_N,_A_>
 30  ······A·constant·random·access·iterator·for·the·Dune::ArrayList·class.
 31 ········More...
 32  
23 ·Namespaces33 ·Namespaces
24 namespace· Dune34 namespace· Dune
25  ··········Dune·namespace.35  ··········Dune·namespace.
26  36  
 37 *****·Detailed·Description·*****
 38 Implements·a·random-access·container·that·can·efficiently·change·size·(similar
 39 to·std::deque)
 40 This·file·implements·the·class·ArrayList·which·behaves·like·dynamically·growing
 41 array·together·with·the·class·ArrayListIterator·which·is·random·access·iterator
 42 as·needed·by·the·stl·for·sorting·and·other·algorithms.
 43 ··Author
 44 ······Markus·Blatt
27 namespace· Dune::Hybrid 
28   
29 ·Functions 
30 template<class·T·> 
31 ··········constexpr·auto Dune::Hybrid::size·(const·T·&t) 
32  ························Size·query. 
33   
34 template<class·Container·,·class·Index·> 
35 constexpr·decltype(auto) Dune::Hybrid::elementAt·(Container·&&c,·Index·&&i) 
36  ························Get·element·at·given·position·from·container. 
37   
38 template<class·Begin·,·class·End·> 
39 ··········constexpr·auto Dune::Hybrid::integralRange·(const·Begin·&begin, 
40 ··························const·End·&end) 
41  ························Create·an·integral·range. 
42   
43 template<class·End·> 
44 ··········constexpr·auto Dune::Hybrid::integralRange·(const·End·&end) 
45  ························Create·an·integral·range·starting·from·0. 
46   
47 template<class·Range·,·class·F·> 
48 ··········constexpr·void Dune::Hybrid::forEach·(Range·&&range,·F·&&f) 
49  ························Range·based·for·loop. 
50   
51 template<class·Range·,·class·T·,·class·F·> 
52 ·············constexpr·T Dune::Hybrid::accumulate·(Range·&&range,·T·value,·F 
53 ··························&&f) 
54  ························Accumulate·values. 
55   
56 template<class·Condition·,·class·IfFunc·,·class·ElseFunc·> 
57 ··········decltype(auto) Dune::Hybrid::ifElse·(const·Condition·&condition, 
58 ··························IfFunc·&&ifFunc,·ElseFunc·&&elseFunc) 
59  ························A·conditional·expression. 
60   
61 template<class·Condition·,·class·IfFunc·> 
62 ····················void Dune::Hybrid::ifElse·(const·Condition·&condition, 
63 ··························IfFunc·&&ifFunc) 
64  ························A·conditional·expression. 
65   
66 template<class·T1·,·class·T2·> 
67 ··········constexpr·auto Dune::Hybrid::equals·(T1·&&t1,·T2·&&t2) 
68  ························Equality·comparison. 
69   
70 template<class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·> 
71 constexpr·decltype(auto) Dune::Hybrid::switchCases·(const·Cases·&cases,·const 
72 ··························Value·&value,·Branches·&&branches,·ElseBranch 
73 ··························&&elseBranch) 
74  ························Switch·statement. 
75   
76 template<class·Cases·,·class·Value·,·class·Branches·> 
77 ··········constexpr·void Dune::Hybrid::switchCases·(const·Cases·&cases,·const 
78 ··························Value·&value,·Branches·&&branches) 
79  ························Switch·statement. 
80   
  
81 ===============================================================================45 ===============================================================================
82 ·····Generated·by [doxygen]·1.9.846 ·····Generated·by [doxygen]·1.9.8
197 KB
./usr/share/doc/libdune-common-doc/doxygen/a00299_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 375 lines modifiedOffset 74, 623 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">hybridutilities.hh</div></div>80 ··<div·class="headertitle"><div·class="title">arraylist.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00299.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00299.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ARRAYLIST_HH</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_ARRAYLIST_HH</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00215.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/indices.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00164.html">dune/common/assertandreturn.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00017.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00374.html">iteratorfacades.hh</a>&quot;</span></div>
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
102 <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>97 <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>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="comment">//·forward·declaration</span></div>
 100 <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>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">class·</span>ArrayListIterator;</div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 103 <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>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">class·</span>ConstArrayListIterator;</div>
 105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</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>·T,·<span·class="keywordtype">int</span>·N=100,·<span·class="keyword">class</span>·A=std::allocator&lt;T&gt;·&gt;</div>
103 <div·class="foldopen"·id="foldopen00021"·data-start="{"·data-end="}">107 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="};">
 108 <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>
104 <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> 
105 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
106 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Impl·{</div> 
107 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
108 <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> 
109 <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> 
110 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<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> 
111 <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> 
112 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>109 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>
113 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·{};</div>110 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div>
 111 <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>
114 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> 
115 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<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> 
119 <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> 
120 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> 
121 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·{};</div> 
122 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div> 
123 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>112 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 113 <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>
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<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> 
127 <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> 
128 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{</div> 
129 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·{};</div> 
130 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> 
131 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
132 <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> 
133 <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> 
134 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·size(<span·class="keyword">const</span>·T&amp;·t,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;0&gt;</a>&amp;)</div> 
135 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> 
136 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">return</span>·t.size();</div> 
137 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> 
138 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 115 <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>
139 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·namespace·Impl</span></div> 
140 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
141 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>116 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 117 <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>
142 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
143 <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> 
144 <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="}"> 
145 <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> 
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>·Impl::size(t,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;42&gt;</a>());</div> 
148 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>118 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 119 <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>
149 </div> 
150 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
151 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
152 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
153 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">namespace·</span>Impl·{</div> 
154 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>120 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 121 <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>
155 <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> 
156 <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> 
157 <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>)·elementAt(Container&amp;&amp;·c,·Index&amp;&amp;,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;2&gt;</a>)</div> 
158 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div> 
159 <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> 
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>·</div>122 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 123 <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>
Max diff block lines reached; 145360/168739 bytes (86.14%) of diff not shown.
32.1 KB
html2text {}
    
Offset 7, 436 lines modifiedOffset 7, 700 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 hybridutilities.hh12 arraylist.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5
19 ·5#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH20 ·6#ifndef·DUNE_COMMON_ARRAYLIST_HH
20 ·6#define·DUNE_COMMON_HYBRIDUTILITIES_HH21 ·7#define·DUNE_COMMON_ARRAYLIST_HH
21 ·7 
22 ·8#include·<tuple> 
23 ·9#include·<utility> 
24 ·10 
25 ·11#include·<dune/common/typetraits.hh> 
26 ·12#include·<dune/common/typeutilities.hh> 
27 ·13#include·<dune/common/fvector.hh> 
28 ·14#include·<dune/common/indices.hh> 
29 ·15#include·<dune/common/assertandreturn.hh> 
30 ·16#include·<dune/common/rangeutilities.hh> 
31 ·17 
32 ·1822 ·8
33 ·1923 ·9#include·<array>
 24 ·10#include·<cassert>
 25 ·11#include·<memory>
 26 ·12#include·<vector>
 27 ·13#include·"iteratorfacades.hh"
 28 ·14
34 ·20namespace·Dune·{29 ·15namespace·Dune
35 21namespace·Hybrid·{ 
36 ·22 
37 ·23namespace·Impl·{ 
38 ·24 
39 ·25·//·Try·if·tuple_size·is·implemented·for·class30 ·16{
 31 ·17·//·forward·declaration
 32 ·18·template<class·T,·int·N,·class·A>
 33 ·19·class·ArrayListIterator;
 34 ·20
40 ·26·template<class·T,·int·i>35 ·21·template<class·T,·int·N,·class·A>
41 ·27·constexpr·auto·size(const·Dune::FieldVector<T,_i>&,·const·PriorityTag<5>&) 
42 ·28·->·decltype(std::integral_constant<std::size_t,i>())36 ·22·class·ConstArrayListIterator;
 37 ·23
 38 ·60·template<class·T,·int·N=100,·class·A=std::allocator<T>·>
 39 61·class·ArrayList
43 ·29·{40 ·62·{
 41 ·63·public:
 42 69·typedef·T·MemberType;
 43 ·70
 44 74·typedef·T·value_type;
 45 ·75
 46 79·typedef·T&·reference;
 47 ·80
 48 84·typedef·const·T&·const_reference;
44 ·30·return·{}; 
45 ·31·} 
46 ·32 
47 ·33·//·Try·if·tuple_size·is·implemented·for·class 
48 ·34·template<class·T> 
49 ·35·constexpr·auto·size(const·T&,·const·PriorityTag<3>&) 
50 ·36·->·decltype(std::integral_constant<std::size_t,std::tuple_size<T>::value> 
51 ()) 
52 ·37·{ 
53 ·38·return·{}; 
54 ·39·} 
55 ·40 
56 ·41·//·Try·if·there's·a·static·constexpr·size() 
57 ·42·template<class·T> 
58 ·43·constexpr·auto·size(const·T&,·const·PriorityTag<1>&) 
59 ·44·->·decltype(std::integral_constant<std::size_t,T::size()>()) 
60 ·45·{ 
61 ·46·return·{}; 
62 ·47·} 
63 ·48 
64 ·49·//·As·a·last·resort·try·if·there's·a·static·constexpr·size() 
65 ·50·template<class·T> 
66 ·51·constexpr·auto·size(const·T&·t,·const·PriorityTag<0>&) 
67 ·52·{ 
68 ·53·return·t.size(); 
69 ·54·} 
70 ·55 
71 ·56}·//·namespace·Impl 
72 ·57 
73 ·58 
74 ·59 
75 ·81template<class·T> 
76 82constexpr·auto·size(const·T&·t) 
77 ·83{ 
78 ·84·return·Impl::size(t,·PriorityTag<42>()); 
79 ·85}49 ·85
 50 89·typedef·T*·pointer;
80 ·86 
81 ·87 
82 ·88 
83 ·89namespace·Impl·{ 
84 ·9051 ·90
 52 94·typedef·const·T*·const_pointer;
 53 ·95
 54 100·constexpr·static·int·chunkSize_·=·(N·>·0)·?·N·:·1;
85 ·91·template<class·Container,·class·Index, 
86 ·92·std::enable_if_t<IsTuple<std::decay_t<Container>>::value,·int>·=·0> 
87 ·93·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&,·PriorityTag<2>) 
88 ·94·{ 
89 ·95·return·std::get<std::decay_t<Index>::value>(c); 
90 ·96·} 
91 ·97 
92 ·98·template<class·T,·T...·t,·class·Index> 
93 ·99·constexpr·decltype(auto)·elementAt(std::integer_sequence<T,·t...>·c,·Index, 
94 PriorityTag<1>) 
95 ·100·{ 
96 ·101·return·Dune::integerSequenceEntry(c,·std::integral_constant<std::size_t, 
97 Index::value>()); 
98 ·102·} 
99 ·10355 ·101
 56 105·typedef·ArrayListIterator<MemberType,N,A>·iterator;
100 ·104·template<class·Container,·class·Index> 
101 ·105·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&·i, 
102 PriorityTag<0>) 
103 ·106·{57 ·106
 58 110·typedef·ConstArrayListIterator<MemberType,N,A>·const_iterator;
104 ·107·return·c[i]; 
Max diff block lines reached; 29150/32833 bytes (88.78%) of diff not shown.
15.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 87 lines modifiedOffset 71, 40 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<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>
79 <a·href="#typedef-members">Typedefs</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div> 
81 ··<div·class="headertitle"><div·class="title">typelist.hh·File·Reference</div></div> 
82 </div><!--header-->80 </div><!--header-->
83 <div·class="contents">81 <div·class="contents">
  
 82 <p>Utility·class·for·storing·and·resetting·stream·attributes.··
 83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>
85 <code>#include·&lt;tuple&gt;</code><br·/> 
86 <code>#include·&lt;utility&gt;</code><br·/> 
87 </div>85 </div>
88 <p><a·href="a00302_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00302_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">87 <table·class="memberdecls">
90 <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>
91 Classes</h2></td></tr>89 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="a03028.html">Dune::MetaType&lt;·T·&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="a01872.html">Dune::ios_base_all_saver</a></td></tr>
93 <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>91 <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>
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="a03032.html">Dune::IsTypeList&lt;·T·&gt;</a></td></tr> 
96 <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> 
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="a03036.html">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
99 <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> 
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="a03040.html">Dune::IsEmptyTypeList&lt;·T·&gt;</a></td></tr> 
102 <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> 
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="a03044.html">Dune::TypeListSize&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="a03048.html">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
107 <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> 
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="a03052.html">Dune::TypeListElement&lt;·i,·T·&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="a03056.html">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
112 <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> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
115 <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>
116 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
117 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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="memdesc: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>
119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <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="typedef-members"·name="typedef-members"></a> 
122 Typedefs</h2></td></tr> 
123 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"·id="r_ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
124 <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;·<a·class="el"·href="a03028.html">MetaType</a>&lt;·T·&gt;...·&gt;</td></tr> 
125 <tr·class="memdesc:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·type·list.··<br·/></td></tr> 
126 <tr·class="separator:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"·id="r_ae06816da928c17285e09ccb74357648b"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i,·class·T·&gt;·</td></tr> 
128 <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·<a·class="el"·href="a03052.html">TypeListElement</a>&lt;·i,·T·&gt;::type</td></tr> 
129 <tr·class="memdesc:ae06816da928c17285e09ccb74357648b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Shortcut·for·TypeListElement&lt;i,·T&gt;::type;.··<br·/></td></tr> 
130 <tr·class="separator:ae06816da928c17285e09ccb74357648b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"·id="r_a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class·TL·&gt;·</td></tr> 
132 <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> 
133 <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>.··<br·/></td></tr> 
134 <tr·class="separator:a05190548d101a946d1cab292cff5fdb9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"·id="r_a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class...·T&gt;·</td></tr> 
136 <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,·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·T...·&gt;·&gt;::type</td></tr> 
137 <tr·class="memdesc:a7f31a234ebc9fa02660570324eabde1a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·list·of·types.··<br·/></td></tr> 
138 <tr·class="separator:a7f31a234ebc9fa02660570324eabde1a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"·id="r_ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplParams"·colspan="2">template&lt;class·NonUniqueTypeList·&gt;·</td></tr> 
140 <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;·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>,·NonUniqueTypeList·&gt;::type</td></tr> 
141 <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>.··<br·/></td></tr> 
142 <tr·class="separator:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 </table><table·class="memberdecls"> 
144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
145 Functions</h2></td></tr> 
146 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"·id="r_a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
147 <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>·(<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·T...·&gt;·list)</td></tr> 
148 <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>.··<br·/></td></tr> 
149 <tr·class="separator:a595be06b36830646a9a348d33b7c51c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 </table>99 </table>
 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>
 102 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
151 </div><!--·contents·-->103 </div></div><!--·contents·-->
152 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
153 <hr·class="footer"/><address·class="footer"><small>105 <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.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
155 </small></address>107 </small></address>
156 </body>108 </body>
157 </html>109 </html>
2.46 KB
html2text {}
    
Offset 6, 72 lines modifiedOffset 6, 28 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Typedefs·|·Functions12 Classes·|·Namespaces
13 typelist.hh·File·Reference13 ios_state.hh·File·Reference
14 #include·<type_traits> 
15 #include·<tuple>14 Common
 15 Utility·class·for·storing·and·resetting·stream·attributes.·More...
16 #include·<utility>16 #include·<ios>
17 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
18 ·Classes18 ·Classes
 19 class· Dune::ios_base_all_saver
 20  ······Utility·class·for·storing·and·resetting·stream·attributes.·More...
19 struct· Dune::MetaType<_T_> 
20  ·······A·type·that·refers·to·another·type.·More... 
21   
22 struct· Dune::IsTypeList<_T_> 
23  ·······Check·if·given·type·is·a·TypeList.·More... 
24   
25 struct· Dune::IsTypeList<_TypeList<_T..._>_> 
26  ·······Check·if·given·type·is·a·TypeList.·More... 
27   
28 struct· Dune::IsEmptyTypeList<_T_> 
29  ·······Check·if·given·type·is·an·empty·TypeList.·More... 
30   
31 struct· Dune::TypeListSize<_T_> 
32   
33 struct· Dune::TypeListSize<_TypeList<_T..._>_> 
34  ·······Get·size·of·TypeList.·More... 
35   
36 struct· Dune::TypeListElement<_i,_T_> 
37   
38 struct· Dune::TypeListElement<_i,_TypeList<_T..._>_> 
39  ·······Get·element·of·TypeList.·More... 
40  21  
41 ·Namespaces22 ·Namespaces
42 namespace· Dune23 namespace· Dune
43  ··········Dune·namespace.24  ··········Dune·namespace.
44  25  
 26 *****·Detailed·Description·*****
 27 Utility·class·for·storing·and·resetting·stream·attributes.
 28 ··Author
 29 ······Markus·Blatt
45 ·Typedefs 
46 template<class...·T> 
47 using Dune::TypeList·=·std::tuple<·MetaType<·T·>...·> 
48  ·····A·simple·type·list. 
49   
50 template<std::size_t·i,·class·T·> 
51 using Dune::TypeListEntry_t·=·typename·TypeListElement<·i,·T·>::type 
52  ·····Shortcut·for·TypeListElement<i,·T>::type;. 
53   
54 template<template<·class...·>·class·Target,·class·TL·> 
55 using Dune::UnpackTypeList_t·=·typename·Impl::UnpackTypeList<·Target,·TL·>:: 
56 ·······type 
57  ·····Unpack·Dune::TypeList. 
58   
59 template<template<·class...·>·class·Target,·class...·T> 
60 using Dune::UniqueTypes_t·=·typename·Impl::UniqueTypesHelper<·Target, 
61 ·······TypeList<·T...·>·>::type 
62  ·····Remove·duplicates·from·a·list·of·types. 
63   
64 template<class·NonUniqueTypeList·> 
65 using Dune::UniqueTypeList_t·=·typename·Impl::UniqueTypesHelper<·TypeList, 
66 ·······NonUniqueTypeList·>::type 
67  ·····Remove·duplicates·from·a·Dune::TypeList. 
68   
69 ·Functions 
70 template<class...·T> 
71 constexpr·auto Dune::uniqueTypeList·(TypeList<·T...·>·list) 
72  ··············Remove·duplicates·from·a·Dune::TypeList. 
73   
  
74 ===============================================================================30 ===============================================================================
75 ·····Generated·by [doxygen]·1.9.831 ·····Generated·by [doxygen]·1.9.8
38.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 148 lines modifiedOffset 74, 55 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">typelist.hh</div></div>80 ··<div·class="headertitle"><div·class="title">ios_state.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPELIST_HH</span></div>87 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPELIST_HH</span></div>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
94 <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>92 <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>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
96 <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> 
97 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">93 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">
 94 <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>
98 <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> 
99 <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> 
100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··};</div>95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
 96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>:</div>
 97 <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>
 98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<a·class="code·hl_class"·href="a01872.html">ios_base_all_saver</a>(<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>&amp;·ios_);</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 101 <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>
 102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 103 <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>
 104 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 105 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">private</span>:</div>
 106 <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>
 107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····state_type::fmtflags·oldflags;</div>
 108 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::streamsize·oldprec;</div>
 109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····std::streamsize·oldwidth;</div>
 110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
101 </div>111 </div>
102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 113 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div>
103 <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> 
104 <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> 
105 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>114 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
106 <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> 
108 <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> 
109 <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> 
110 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
114 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
115 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
119 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
120 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
121 <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> 
122 <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> 
123 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> 
127 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
128 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> 
129 <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> 
130 <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> 
131 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> 
132 <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> 
133 <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="};"> 
134 <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> 
135 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··{</div> 
136 <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> 
137 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div> 
138 <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> 
139 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··};</div> 
140 </div> 
141 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
142 <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> 
143 <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> 
144 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div> 
145 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>··<span·class="keyword">namespace·</span>Impl·{</div> 
146 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> 
147 <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> 
148 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>····<span·class="keyword">struct·</span>UniqueTypesHelper;</div> 
149 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>·</div> 
150 <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> 
151 <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> 
152 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>····{</div> 
153 <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> 
154 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>····};</div> 
155 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div> 
156 <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> 
157 <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> 
158 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····{</div> 
159 <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> 
160 <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> 
161 <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> 
162 <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> 
163 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>····};</div> 
164 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno">··192</span>·</div> 
165 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>····<span·class="comment">//·Helper·for·unpacking·Dune::TypeList</span></div> 
166 <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> 
Max diff block lines reached; 4795/32371 bytes (14.81%) of diff not shown.
6.26 KB
html2text {}
    
Offset 7, 183 lines modifiedOffset 7, 62 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 typelist.hh12 ios_state.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_TYPELIST_HH19 ·5#ifndef·DUNE_COMMON_IOS_STATE_HH
20 ·6#define·DUNE_COMMON_TYPELIST_HH20 ·6#define·DUNE_COMMON_IOS_STATE_HH
21 ·721 ·7
22 ·8#include·<type_traits>22 ·8#include·<ios>
 23 ·9
23 ·9#include·<tuple> 
24 ·10#include·<utility> 
25 ·11 
26 ·12namespace·Dune·{24 ·10namespace·Dune·{
 25 33·class·ios_base_all_saver
 26 ·34·{
 27 ·35·public:
 28 37·typedef·std::ios_base·state_type;
27 ·13 
28 ·32·template<class·T> 
29 33·struct·MetaType·{ 
30 35·using·type·=·T; 
31 ·36·}; 
32 ·37 
33 ·86·template<class...·T> 
34 87·using·TypeList·=·std::tuple<MetaType<T>...>; 
35 ·88 
36 ·89 
37 ·90 
38 ·99·template<class·T> 
39 100·struct·IsTypeList·:·std::false_type·{}; 
40 ·101 
41 ·107·template<class...·T> 
42 108·struct·IsTypeList<TypeList<T...>·>·:·std::true_type·{}; 
43 ·109 
44 ·110 
45 ·111 
46 ·120·template<class·T> 
47 121·struct·IsEmptyTypeList·:·std::is_same<T,·TypeList<>·>·{}; 
48 ·122 
49 ·123 
50 ·124 
51 ·125·template<class·T> 
52 126·struct·TypeListSize·{}; 
53 ·127 
54 ·136·template<class...·T> 
55 137·struct·TypeListSize<TypeList<T...>>·:·std::integral_constant<std::size_t, 
56 sizeof...(T)>·{}; 
57 ·13829 ·38
 30 ·48·ios_base_all_saver(state_type&·ios_);
 31 ·49
 32 ·53·~ios_base_all_saver();
 33 ·54
 34 ·61·void·restore();
 35 ·62
 36 ·63·private:
 37 ·65·state_type&·ios;
 38 ·67·state_type::fmtflags·oldflags;
 39 ·69·std::streamsize·oldprec;
 40 ·71·std::streamsize·oldwidth;
58 ·139 
59 ·140 
60 ·141·template<std::size_t·i,·class·T> 
61 142·struct·TypeListElement·{}; 
62 ·143 
63 ·149·template<std::size_t·i,·class...·T> 
64 150·struct·TypeListElement<i,·TypeList<T...>> 
65 ·151·{ 
66 157·using·type·=·typename·std::tuple_element<i,·std::tuple<T...>>::type; 
67 ·158 
68 164·using·Type·=·type; 
69 ·165·}; 
70 ·166 
71 ·170·template<std::size_t·i,·class·T> 
72 171·using·TypeListEntry_t·=·typename·TypeListElement<i,_T>::type; 
73 ·172 
74 ·173·namespace·Impl·{ 
75 ·174 
76 ·175·template<template<class...>·class·Target,·class·ToDoList,·class... 
77 Processed> 
78 ·176·struct·UniqueTypesHelper; 
79 ·177 
80 ·178·template<template<class...>·class·Target,·class...·Processed> 
81 ·179·struct·UniqueTypesHelper<Target,·TypeList<>,·Processed...> 
82 ·180·{ 
83 ·181·using·type·=·Target<Processed...>; 
84 ·182·};41 ·72·};
 42 ·73
 43 ·75}
 44 ·76
85 ·183 
86 ·184·template<template<class...>·class·Target,·class·T0,·class...·T,·class... 
87 Processed> 
88 ·185·struct·UniqueTypesHelper<Target,·TypeList<T0,·T...>,·Processed...> 
89 ·186·{ 
90 ·187·using·type·=·std::conditional_t< 
91 ·188·std::disjunction<std::is_same<T0,·Processed>...>::value, 
92 ·189·typename·UniqueTypesHelper<Target,·TypeList<T...>,·Processed...>::type, 
93 ·190·typename·UniqueTypesHelper<Target,·TypeList<T...>,·T0,·Processed...>:: 
94 type>; 
95 ·191·}; 
96 ·192 
97 ·193·//·Helper·for·unpacking·Dune::TypeList 
98 ·194·template<template<class...>·class·Target,·class·TL> 
99 ·195·struct·UnpackTypeList; 
100 ·196 
101 ·197·template<template<class...>·class·Target,·class...·T> 
102 ·198·struct·UnpackTypeList<Target,·Dune::TypeList<T...>> 
103 ·199·{ 
104 ·200·using·type·=·Target<T...>; 
105 ·201·}; 
106 ·202 
107 ·203·}·//·namespace·Impl 
108 ·204 
109 ·209·template<template<class...>·class·Target,·class·TL> 
110 210·using·UnpackTypeList_t·=·typename·Impl::UnpackTypeList<Target,·TL>::type; 
111 ·211 
112 ·219·template<template<class...>·class·Target,·class...·T> 
Max diff block lines reached; 1836/6387 bytes (28.75%) of diff not shown.
28.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 55 lines modifiedOffset 71, 113 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#typedef-members">Typedefs</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>·&#124;
79 ··<div·class="headertitle"><div·class="title">path.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00400.html">Filesystem·Paths</a></div>[·...·truncated·by·diffoscope;·len:·6,·SHA:·aac32651b10f567c461b9b4f255d6fb1fa6859b5368d8bd9a51af920ab21cf23·...·]</div>80 <a·href="#var-members">Variables</a>··</div>
 81 ··<div·class="headertitle"><div·class="title">indices.hh·File·Reference</div></div>
80 </div><!--header-->82 </div><!--header-->
81 <div·class="contents">83 <div·class="contents">
  
82 <p>Utilities·for·handling·filesystem·paths.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;string&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 85 <code>#include·&lt;type_traits&gt;</code><br·/>
 86 <code>#include·&lt;utility&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00308_source.html">dune/common/keywords.hh</a>&gt;</code><br·/>
85 </div>88 </div>
86 <p><a·href="a00305_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00305_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">90 <table·class="memberdecls">
88 <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>
89 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
90 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
92 <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:a00441"·id="r_a00441"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00441.html">Dune::Indices</a></td></tr>
 97 <tr·class="memdesc:a00441"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·with·predefined·compile·time·indices·for·the·range·[0,19].·<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="typedef-members"·name="typedef-members"></a>
 101 Typedefs</h2></td></tr>
 102 <tr·class="memitem:gacf764509e6dae37477f5ad09b5ca3467"·id="r_gacf764509e6dae37477f5ad09b5ca3467"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i&gt;·</td></tr>
 103 <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>
 104 <tr·class="memdesc:gacf764509e6dae37477f5ad09b5ca3467"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·constant·with·value·i.··<br·/></td></tr>
 105 <tr·class="separator:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
95 Functions</h2></td></tr>108 Functions</h2></td></tr>
96 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"·id="r_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> 
97 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<br·/></td></tr>109 <tr·class="memitem:ga72824809a31d81d07517c1e903c3dab1"·id="r_ga72824809a31d81d07517c1e903c3dab1"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·I·,·I...·i&gt;·</td></tr>
 110 <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>
 111 <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;...··<br·/></td></tr>
 112 <tr·class="separator:ga72824809a31d81d07517c1e903c3dab1"><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="var-members"·name="var-members"></a>
 115 Variables</h2></td></tr>
 116 <tr·class="memitem:ga2f3de78a2872dfc7652b48b42c537eb8"·id="r_ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·0·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">Dune::Indices::_0</a>·=·{}</td></tr>
 117 <tr·class="memdesc:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·0.··<br·/></td></tr>
 118 <tr·class="separator:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ga50d06c69be6f5a74e319d34064d8bc3c"·id="r_ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">Dune::Indices::_1</a>·=·{}</td></tr>
 120 <tr·class="memdesc:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·1.··<br·/></td></tr>
98 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"·id="r_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> 
100 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<br·/></td></tr>122 <tr·class="memitem:gac405682eeaf6a8a64648dd85af7e84fb"·id="r_gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·2·&gt;&#160;</td><td·[·...·truncated·by·diffoscope;·len:·131,·SHA:·eaac73ca623dbe274bb38079efc48d244f0a2936f599fe10e751b19faa1697c4·...·]</td></tr>
 123 <tr·class="memdesc:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·2.··<br·/></td></tr>
 124 <tr·class="separator:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"·id="r_ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·3·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">Dune::Indices::_3</a>·=·{}</td></tr>
 126 <tr·class="memdesc:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·3.··<br·/></td></tr>
 127 <tr·class="separator:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"·id="r_gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·4·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">Dune::Indices::_4</a>·=·{}</td></tr>
 129 <tr·class="memdesc:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·4.··<br·/></td></tr>
 130 <tr·class="separator:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:gab875313e016428e2498da7fd90f1949d"·id="r_gab875313e016428e2498da7fd90f1949d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·5·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">Dune::Indices::_5</a>·=·{}</td></tr>
 132 <tr·class="memdesc:gab875313e016428e2498da7fd90f1949d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·5.··<br·/></td></tr>
 133 <tr·class="separator:gab875313e016428e2498da7fd90f1949d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:gaf220e1bb42d603f557cbc9a9331830b2"·id="r_gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·6·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">Dune::Indices::_6</a>·=·{}</td></tr>
 135 <tr·class="memdesc:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·6.··<br·/></td></tr>
 136 <tr·class="separator:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:ga2ca75d1d25482664a74ee83e8ce0b5fe"·id="r_ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·7·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">Dune::Indices::_7</a>·=·{}</td></tr>
 138 <tr·class="memdesc:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·7.··<br·/></td></tr>
 139 <tr·class="separator:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:ga1c19945beef1b5f54065de84e7a8641f"·id="r_ga1c19945beef1b5f54065de84e7a8641f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·8·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">Dune::Indices::_8</a>·=·{}</td></tr>
 141 <tr·class="memdesc:ga1c19945beef1b5f54065de84e7a8641f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·8.··<br·/></td></tr>
 142 <tr·class="separator:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:ga3419af1bbd8440b0e54d041f2a8c2b80"·id="r_ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·9·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">Dune::Indices::_9</a>·=·{}</td></tr>
 144 <tr·class="memdesc:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·9.··<br·/></td></tr>
101 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>145 <tr·class="separator:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"·id="r_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> 
103 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<br·/></td></tr>146 <tr·class="memitem:gac31c1f8aded673ba67174158bd5fa33b"·id="r_gac31c1f8aded673ba67174158bd5fa33b"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·10·&gt;&#160;</td><td[·...·truncated·by·diffoscope;·len:·133,·SHA:·bd4042361ce0589d6ea7efc51d181e60cc5788ee74691479a91c9fb1ec91abe0·...·]</td></tr>
 147 <tr·class="memdesc:gac31c1f8aded673ba67174158bd5fa33b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·10.··<br·/></td></tr>
104 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>148 <tr·class="separator:gac31c1f8aded673ba67174158bd5fa33b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"·id="r_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> 
106 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr>149 <tr·class="memitem:gaac852bc693ac4fbdebac5196bcdc9a64"·id="r_gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·11·&gt;&#160;</td><td[·...·truncated·by·diffoscope;·len:·133,·SHA:·a284c4e6929186f907ffdc2fd64e6c986b2760c7da8a151fb1d5fb29742697cb·...·]</td></tr>
 150 <tr·class="memdesc:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·11.··<br·/></td></tr>
107 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>151 <tr·class="separator:gaac852bc693ac4fbdebac5196bcdc9a64"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"·id="r_gae07624c824232706454d5d6d1d1cb5c8"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8[·...·truncated·by·diffoscope;·len:·49,·SHA:·74599975851d1272c58ab749d506950083507d5dda78fc956722750d978f22db·...·]</td></tr>152 <tr·class="memitem:ga70c227071a19ea12597ebde7abc8d373"·id="r_ga70c227071a19ea12597ebde7abc8d373"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·12·&gt;&#160;</td><td·class=[·...·truncated·by·diffoscope;·len:·126,·SHA:·3782272f0a89ed218756c032d1cb61d3e9c712568ef984c2672ecfc1137210ef·...·]</td></tr>
109 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr>153 <tr·class="memdesc:ga70c227071a19ea12597ebde7abc8d373"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·12.··<br·/></td></tr>
110 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>154 <tr·class="separator:ga70c227071a19ea12597ebde7abc8d373"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"·id="r_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> 
112 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<br·/></td></tr>155 <tr·class="memitem:gab861b496b29bb9d1f32b4010434e003d"·id="r_gab861b496b29bb9d1f32b4010434e003d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·13·&gt;&#160;</td><td[·...·truncated·by·diffoscope;·len:·133,·SHA:·e84f8b30c81a708848bfbd812de4f9f6817ab0f12a5010d138311944e32b51ed·...·]</td></tr>
 156 <tr·class="memdesc:gab861b496b29bb9d1f32b4010434e003d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·13.··<br·/></td></tr>
 157 <tr·class="separator:gab861b496b29bb9d1f32b4010434e003d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:ga46aedfe3d5090a00cffcb7a652013a7f"·id="r_ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·14·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">Dune::Indices::_14</a>·=·{}</td></tr>
 159 <tr·class="memdesc:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·14.··<br·/></td></tr>
 160 <tr·class="separator:ga46aedfe3d5090a00cffcb7a652013a7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 161 <tr·class="memitem:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"·id="r_ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·15·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">Dune::Indices::_15</a>·=·{}</td></tr>
 162 <tr·class="memdesc:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·15.··<br·/></td></tr>
 163 <tr·class="separator:ga1a8ff2bb0e356684b14a2c5e3c4d60bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:ga16898b601989e869b270c43c173de953"·id="r_ga16898b601989e869b270c43c173de953"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·16·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga16898b601989e869b270c43c173de953">Dune::Indices::_16</a>·=·{}</td></tr>
 165 <tr·class="memdesc:ga16898b601989e869b270c43c173de953"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·16.··<br·/></td></tr>
 166 <tr·class="separator:ga16898b601989e869b270c43c173de953"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 167 <tr·class="memitem:gac1f450218a4ab129a04ae59bac7c57a1"·id="r_gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·17·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">Dune::Indices::_17</a>·=·{}</td></tr>
 168 <tr·class="memdesc:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·17.··<br·/></td></tr>
113 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>169 <tr·class="separator:gac1f450218a4ab129a04ae59bac7c57a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 170 <tr·class="memitem:gab50e00b1160125118d3a3f36f0d82654"·id="r_gab50e00b1160125118d3a3f36f0d82654"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·18·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">Dune::Indices::_18</a>·=·{}</td></tr>
 171 <tr·class="memdesc:gab50e00b1160125118d3a3f36f0d82654"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·18.··<br·/></td></tr>
 172 <tr·class="separator:gab50e00b1160125118d3a3f36f0d82654"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 173 <tr·class="memitem:gae846500876d7d06fe7f53c03b5c23fbf"·id="r_gae846500876d7d06fe7f53c03b5c23fbf"><td·class="memItemLeft"·align="right"·valign="top">constexpr·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;·19·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">Dune::Indices::_19</a>·=·{}</td></tr>
Max diff block lines reached; 796/24074 bytes (3.31%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
4.49 KB
html2text {}
    
Offset 6, 44 lines modifiedOffset 6, 98 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions12 Namespaces·|·Typedefs·|·Functions·|·Variables
13 path.hh·File·Reference13 indices.hh·File·Reference
14 Common·»·Utilities·»·Filesystem_Paths 
15 Utilities·for·handling·filesystem·paths.·More... 
16 #include·<string>14 #include·<cstddef>
 15 #include·<type_traits>
 16 #include·<utility>
 17 #include·<dune/common/keywords.hh>
17 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
18 ·Namespaces19 ·Namespaces
19 namespace· Dune20 namespace· Dune
20  ··········Dune·namespace.21  ··········Dune·namespace.
21  22  
 23 namespace· Dune::Indices
 24  ··········Namespace·with·predefined·compile·time·indices·for·the·range
 25 ············[0,19].
 26  
 27 ·Typedefs
 28 template<std::size_t·i>
 29 using Dune::index_constant·=·std::integral_constant<·std::size_t,·i·>
 30  ·····An·index·constant·with·value·i.
 31  
22 ·Functions32 ·Functions
23 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p) 
24  ···········concatenate·two·paths33 template<class·F·,·class·I·,·I...·i>
 34 decltype(auto)·constexpr Dune::unpackIntegerSequence·(F·&&f,·std::
 35 ··························integer_sequence<·I,·i...·>·sequence)
 36  ························Unpack·an·std::integer_sequence<I,i...>·to·std::
 37 ··························integral_constant<I,i>...
 38  
 39 ·Variables
 40 ·constexpr·index_constant<·0·> Dune::Indices::_0·=·{}
 41  ······························Compile·time·index·with·value·0.
 42  
 43 ·constexpr·index_constant<·1·> Dune::Indices::_1·=·{}
 44  ······························Compile·time·index·with·value·1.
 45  
 46 ·constexpr·index_constant<·2·> Dune::Indices::_2·=·{}
 47  ······························Compile·time·index·with·value·2.
 48  
 49 ·constexpr·index_constant<·3·> Dune::Indices::_3·=·{}
 50  ······························Compile·time·index·with·value·3.
 51  
 52 ·constexpr·index_constant<·4·> Dune::Indices::_4·=·{}
 53  ······························Compile·time·index·with·value·4.
 54  
 55 ·constexpr·index_constant<·5·> Dune::Indices::_5·=·{}
 56  ······························Compile·time·index·with·value·5.
 57  
 58 ·constexpr·index_constant<·6·> Dune::Indices::_6·=·{}
 59  ······························Compile·time·index·with·value·6.
 60  
 61 ·constexpr·index_constant<·7·> Dune::Indices::_7·=·{}
 62  ······························Compile·time·index·with·value·7.
 63  
 64 ·constexpr·index_constant<·8·> Dune::Indices::_8·=·{}
 65  ······························Compile·time·index·with·value·8.
 66  
 67 ·constexpr·index_constant<·9·> Dune::Indices::_9·=·{}
 68  ······························Compile·time·index·with·value·9.
 69  
 70 constexpr·index_constant<·10·> Dune::Indices::_10·=·{}
 71  ······························Compile·time·index·with·value·10.
 72  
 73 constexpr·index_constant<·11·> Dune::Indices::_11·=·{}
 74  ······························Compile·time·index·with·value·11.
 75  
 76 constexpr·index_constant<·12·> Dune::Indices::_12·=·{}
 77  ······························Compile·time·index·with·value·12.
 78  
 79 constexpr·index_constant<·13·> Dune::Indices::_13·=·{}
 80  ······························Compile·time·index·with·value·13.
 81  
 82 constexpr·index_constant<·14·> Dune::Indices::_14·=·{}
 83  ······························Compile·time·index·with·value·14.
25  84  
26 std::string Dune::processPath·(const·std::string·&p) 
27  ···········sanitize·a·path·for·further·processing85 constexpr·index_constant<·15·> Dune::Indices::_15·=·{}
 86  ······························Compile·time·index·with·value·15.
28  87  
29 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p) 
30  ···········check·whether·the·given·path·indicates·that·it·is·a·directory88 constexpr·index_constant<·16·> Dune::Indices::_16·=·{}
 89  ······························Compile·time·index·with·value·16.
31  90  
32 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory) 
33  ···········pretty·print·path91 constexpr·index_constant<·17·> Dune::Indices::_17·=·{}
 92  ······························Compile·time·index·with·value·17.
34  93  
35 std::string Dune::prettyPath·(const·std::string·&p) 
36  ···········pretty·print·path94 constexpr·index_constant<·18·> Dune::Indices::_18·=·{}
 95  ······························Compile·time·index·with·value·18.
37  96  
 97 constexpr·index_constant<·19·> Dune::Indices::_19·=·{}
 98  ······························Compile·time·index·with·value·19.
38 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string 
39 ·············&p) 
40  ···········compute·a·relative·path·between·two·paths 
41  99  
42 *****·Detailed·Description·***** 
43 Utilities·for·handling·filesystem·paths. 
44 ··Author 
45 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de 
  
46 ===============================================================================100 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.8101 ·····Generated·by [doxygen]·1.9.8
40.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00305_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 53 lines modifiedOffset 74, 119 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">path.hh</div></div>80 ··<div·class="headertitle"><div·class="title">indices.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00305.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00305.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PATH_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PATH_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDICES_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_INDICES_HH</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00308.html">dune/common/keywords.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
92 <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>97 <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>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>
 99 <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>
 100 <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>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
94 <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> 
95 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</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>·</div>
 104 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">
 105 <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>
 106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">···53</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·0&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">_0</a>·=·{};</div>
96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
97 <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>109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">···56</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keywor[·...·truncated·by·diffoscope;·len:·224,·SHA:·079a5411f802d296cbb0858e2bb324b5b5eb64b4e7f2efb2f594aedf476ea9ed·...·];</div>
 110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">···59</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·2&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">_2</a>·=·{};</div>
 112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">···62</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·3&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">_3</a>·=·{};</div>
 114 <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"><a·class="line"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">···65</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·4&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">_4</a>·=·{};</div>
 116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">···68</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·5&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">_5</a>·=·{};</div>
 118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 119 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">···71</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·6&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">_6</a>·=·{};</div>
 120 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">···74</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·7&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">_7</a>·=·{};</div>
 122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 123 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">···77</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·8&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">_8</a>·=·{};</div>
 124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 125 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">···80</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·9&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">_9</a>·=·{};</div>
 126 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 127 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">···83</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;10&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">_10</a>·=·{};</div>
 128 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 129 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">···86</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;11&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">_11</a>·=·{};</div>
 130 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 131 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">···89</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;12&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">_12</a>·=·{};</div>
 132 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 133 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">···92</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;13&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">_13</a>·=·{};</div>
 134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 135 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">···95</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;14&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">_14</a>·=·{};</div>
 136 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 137 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">···98</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;15&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">_15</a>·=·{};</div>
98 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>138 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 139 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga16898b601989e869b270c43c173de953">··101</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;16&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga16898b601989e869b270c43c173de953">_16</a>·=·{};</div>
99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>140 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
100 <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[·...·truncated·by·diffoscope;·len:·1,·SHA:·ba5ec51d07a4ac0e951608704431d59a02b21a4e951acc10505a8dc407c501ee·...·];</div>141 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">··104</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·223,·SHA:·5cc8cc3de2b9bbb3214b4af9947a250db1b7c188e9d19ed885c68a44b3fce491·...·];</div>
101 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>142 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 143 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">··107</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">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>
102 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
103 <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> 
104 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> 
105 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> 
106 <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> 
107 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> 
108 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> 
109 <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> 
110 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div>144 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 145 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">··110</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;19&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">_19</a>·=·{};</div>
111 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>}</div>146 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 147 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··}·<span·class="comment">//·namespace·Indices</span></div>
 148 </div>
112 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>149 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 150 <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>
 151 <div·class="foldopen"·id="foldopen00125"·data-start="{"·data-end="}">
 152 <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>
 153 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··{</div>
 154 <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>
 155 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··}</div>
 156 </div>
 157 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 158 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>}·<span·class="comment">//namespace·Dune</span></div>
 159 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
113 <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>160 <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>
114 <div·class="ttc"·id="aa00400_html_ga1b4c87bd874abdd0db9f6dc51d9588b0"><div·class="ttname"><a·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">Dune::processPath</a></div><div·class="ttdeci">std::string·processPath(const·std::string·&amp;p)</div><div·class="ttdoc">sanitize·a·path·for·further·processing</div><div·class="ttdef"><b>Definition</b>·path.cc:41</div></div> 
115 <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> 
116 <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> 
117 <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> 
118 <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><di[·...·truncated·by·diffoscope;·len:·90,·SHA:·845ad3589a260b714cc55b5c06e6fb064516bcaf5e6e35aabdc5fc85b6d07736·...·]</div></div>161 <div·class="ttc"·id="aa00308_html"><div·class="ttname"><a·href="a00308.html">keywords.hh</a></div><div·class="ttdoc">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.</div></div>
 162 <div·class="ttc"·id="aa00308_html_afd8117b5ac0497a09e3bdecafbf518a6"><div·class="ttname"><a·href="a00308.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>
 163 <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>
 164 <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>
 165 <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>
 166 <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>
 167 <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>
 168 <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>
Max diff block lines reached; 310/34171 bytes (0.91%) of diff not shown.
6.7 KB
html2text {}
    
Offset 7, 68 lines modifiedOffset 7, 185 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 path.hh12 indices.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5
19 ·5#ifndef·DUNE_COMMON_PATH_HH20 ·6#ifndef·DUNE_COMMON_INDICES_HH
20 ·6#define·DUNE_COMMON_PATH_HH21 ·7#define·DUNE_COMMON_INDICES_HH
21 ·7 
22 ·8#include·<string> 
23 ·922 ·8
 23 ·9#include·<cstddef>
 24 ·10#include·<type_traits>
 25 ·11#include·<utility>
 26 ·12
 27 ·13#include·<dune/common/keywords.hh>
 28 ·14
24 ·10namespace·Dune·{29 ·15namespace·Dune
25 ·23 
26 ·51·std::string·concatPaths(const·std::string&·base,·const·std::string&·p); 
27 ·5230 ·16{
 31 ·29·template<std::size_t·i>
 32 30·using·index_constant·=·std::integral_constant<std::size_t,·i>;
 33 ·31
 34 ·32
 35 ·33
 36 50·namespace·Indices
 37 ·51·{
 38 53·DUNE_INLINE_VARIABLE·constexpr·index_constant<_0>·_0·=·{};
28 ·5439 ·54
29 ·98·std::string·processPath(const·std::string&·p);40 56·DUNE_INLINE_VARIABLE·constexpr·index_constant<_1>·_1·=·{};
 41 ·57
 42 59·DUNE_INLINE_VARIABLE·constexpr·index_constant<_2>·_2·=·{};
 43 ·60
 44 62·DUNE_INLINE_VARIABLE·constexpr·index_constant<_3>·_3·=·{};
 45 ·63
 46 65·DUNE_INLINE_VARIABLE·constexpr·index_constant<_4>·_4·=·{};
 47 ·66
 48 68·DUNE_INLINE_VARIABLE·constexpr·index_constant<_5>·_5·=·{};
 49 ·69
 50 71·DUNE_INLINE_VARIABLE·constexpr·index_constant<_6>·_6·=·{};
 51 ·72
 52 74·DUNE_INLINE_VARIABLE·constexpr·index_constant<_7>·_7·=·{};
 53 ·75
 54 77·DUNE_INLINE_VARIABLE·constexpr·index_constant<_8>·_8·=·{};
 55 ·78
 56 80·DUNE_INLINE_VARIABLE·constexpr·index_constant<_9>·_9·=·{};
 57 ·81
 58 83·DUNE_INLINE_VARIABLE·constexpr·index_constant<10>·_10·=·{};
 59 ·84
 60 86·DUNE_INLINE_VARIABLE·constexpr·index_constant<11>·_11·=·{};
 61 ·87
 62 89·DUNE_INLINE_VARIABLE·constexpr·index_constant<12>·_12·=·{};
 63 ·90
 64 92·DUNE_INLINE_VARIABLE·constexpr·index_constant<13>·_13·=·{};
 65 ·93
 66 95·DUNE_INLINE_VARIABLE·constexpr·index_constant<14>·_14·=·{};
 67 ·96
 68 98·DUNE_INLINE_VARIABLE·constexpr·index_constant<15>·_15·=·{};
30 ·9969 ·99
 70 101·DUNE_INLINE_VARIABLE·constexpr·index_constant<16>·_16·=·{};
31 ·10171 ·102
32 ·109·bool·pathIndicatesDirectory(const·std::string&·p);72 104·DUNE_INLINE_VARIABLE·constexpr·index_constant<17>·_17·=·{};
33 ·11073 ·105
 74 107·DUNE_INLINE_VARIABLE·constexpr·index_constant<18>·_18·=·{};
34 ·112 
35 ·151·std::string·prettyPath(const·std::string&·p,·bool·isDirectory); 
36 ·152 
37 ·154 
38 ·160·std::string·prettyPath(const·std::string&·p); 
39 ·161 
40 ·163 
41 ·179·std::string·relativePath(const·std::string&·newbase,·const·std::string& 
42 p); 
43 ·18075 ·108
44 ·182}76 110·DUNE_INLINE_VARIABLE·constexpr·index_constant<19>·_19·=·{};
 77 ·111
 78 ·112·}·//·namespace·Indices
45 ·18379 ·113
 80 ·124·template<class·F,·class·I,·I...·i>
 81 125·decltype(auto)·constexpr·unpackIntegerSequence(F&&·f,·std::
 82 integer_sequence<I,·i...>·sequence)
 83 ·126·{
 84 ·127·return·f(std::integral_constant<I,·i>()...);
 85 ·128·}
 86 ·129
 87 ·130}·//namespace·Dune
 88 ·131
46 ·184#endif·//·DUNE_COMMON_PATH_HH89 ·132#endif·//·DUNE_COMMON_INDICES_HH
47 Dune::processPath 
48 std::string·processPath(const·std::string·&p) 
49 sanitize·a·path·for·further·processing 
50 Definition·path.cc:41 
51 Dune::pathIndicatesDirectory 
52 bool·pathIndicatesDirectory(const·std::string·&p) 
53 check·whether·the·given·path·indicates·that·it·is·a·directory 
54 Definition·path.cc:115 
55 Dune::prettyPath 
56 std::string·prettyPath(const·std::string·&p,·bool·isDirectory) 
57 pretty·print·path 
58 Definition·path.cc:126 
59 Dune::relativePath 
60 std::string·relativePath(const·std::string·&newbase,·const·std::string·&p) 
61 compute·a·relative·path·between·two·paths 
62 Definition·path.cc:153 
63 Dune::concatPaths 
64 std::string·concatPaths(const·std::string·&base,·const·std::string·&p) 
65 concatenate·two·paths 
66 Definition·path.cc:3290 keywords.hh
 91 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.
 92 DUNE_INLINE_VARIABLE
 93 #define·DUNE_INLINE_VARIABLE
 94 Definition·keywords.hh:19
 95 Dune::Indices::_16
 96 constexpr·index_constant<·16·>·_16
 97 Compile·time·index·with·value·16.
 98 Definition·indices.hh:101
 99 Dune::Indices::_15
Max diff block lines reached; 170/6839 bytes (2.49%) of diff not shown.
31.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 120 lines modifiedOffset 70, 63 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124; 
79 <a·href="#func-members">Functions</a>··</div>77 <a·href="#define-members">Macros</a>··</div>
80 ··<div·class="headertitle"><div·class="title">float_cmp.cc·File·Reference</div></div>78 ··<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>
81 </div><!--header-->79 </div><!--header-->
82 <div·class="contents">80 <div·class="contents">
  
 81 <p>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.··
 82 <a·href="#details">More...</a></p>
  
83 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00104_source.html">float_cmp.hh</a>&quot;</code><br·/> 
84 <code>#include·&lt;vector&gt;</code><br·/> 
85 <code>#include·&lt;limits&gt;</code><br·/> 
86 <code>#include·&lt;algorithm&gt;</code><br·/> 
87 <code>#include·&lt;cstdlib&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
89 </div> 
90 <p><a·href="a00308_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00308_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">84 <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="a01588.html">Dune::FloatCmp::EpsilonType&lt;·T·&gt;</a></td></tr> 
95 <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> 
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="a01592.html">Dune::FloatCmp::EpsilonType&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr> 
98 <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> 
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="a01596.html">Dune::FloatCmp::EpsilonType&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr> 
101 <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> 
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="a01600.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeWeak·&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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01604.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeStrong·&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="a01608.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·absolute·&gt;</a></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="namespaces"·name="namespaces"></a> 
111 Namespaces</h2></td></tr> 
112 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
113 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:a00434"·id="r_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> 
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="func-members"·name="func-members"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
119 Functions</h2></td></tr>86 Macros</h2></td></tr>
 87 <tr·class="memitem:afd8117b5ac0497a09e3bdecafbf518a6"·id="r_afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>&#160;&#160;&#160;inline</td></tr>
120 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"·id="r_ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
121 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
122 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<br·/></td></tr> 
123 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"·id="r_ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
125 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
126 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<br·/></td></tr> 
127 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"·id="r_gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
129 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
130 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<br·/></td></tr> 
131 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"·id="r_gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
133 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
134 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<br·/></td></tr> 
135 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"·id="r_gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
137 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
138 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<br·/></td></tr> 
139 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"·id="r_gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style&gt;·</td></tr> 
141 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·style·&gt;::value())</td></tr> 
142 <tr·class="memdesc:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·or·equal·second··<br·/></td></tr> 
143 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"·id="r_a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
145 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
146 <tr·class="separator:a20989b2c0619b31d8a15c85aae184d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"·id="r_af10cd25d78f35677c8d588e924792cff"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
148 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
149 <tr·class="separator:af10cd25d78f35677c8d588e924792cff"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"·id="r_a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
151 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
152 <tr·class="separator:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"·id="r_ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
154 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
155 <tr·class="separator:ac752c032096de736aa97b2c6cbcd5190"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"·id="r_a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
157 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
158 <tr·class="separator:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
159 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"·id="r_a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
160 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
161 <tr·class="separator:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"·id="r_ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle&gt;·</td></tr> 
163 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr> 
164 <tr·class="memdesc:ga510d97be4644ccab5db0b674d79633c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">round·using·epsilon··<br·/></td></tr> 
165 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"·id="r_aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle&gt;·</td></tr> 
167 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr> 
168 <tr·class="separator:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
169 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"·id="r_a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·&gt;·</td></tr> 
170 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·&gt;::value())</td></tr> 
171 <tr·class="separator:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:a97b632609f7c06170ec5e2be5729c4f0"·id="r_a97b632609f7c06170ec5e2be5729c4f0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">DUNE_GENERALIZED_CONSTEXPR</a>&#160;&#160;&#160;constexpr</td></tr>
172 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"·id="r_ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·<a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·cstyle,·<a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·rstyle&gt;·</td></tr> 
173 <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·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type·epsilon=<a·class="el"·href="a01716.html">DefaultEpsilon</a>&lt;·T,·cstyle·&gt;::value())</td></tr> 
174 <tr·class="memdesc:ga78eaf86b21236f5c55336724e911da08"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">truncate·using·epsilon··<br·/></td></tr> 
Max diff block lines reached; 1751/26217 bytes (6.68%) of diff not shown.
5.39 KB
html2text {}
    
Offset 6, 128 lines modifiedOffset 6, 31 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Macros
 13 keywords.hh·File·Reference
 14 Common·»·Utilities·»·C++_utilities_and_backports
 15 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.
 16 More...
12 Classes·|·Namespaces·|·Functions 
13 float_cmp.cc·File·Reference 
14 #include·"float_cmp.hh" 
15 #include·<vector> 
16 #include·<limits> 
17 #include·<algorithm> 
18 #include·<cstdlib> 
19 #include·<dune/common/fvector.hh> 
20 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
 18 ·Macros
 19 #define DUNE_INLINE_VARIABLE   inline
21 ·Classes 
22 struct· Dune::FloatCmp::EpsilonType<_T_> 
23  ·······Mapping·of·value·type·to·epsilon·type.·More... 
24  20  
 21 #define DUNE_GENERALIZED_CONSTEXPR   constexpr
25 struct· Dune::FloatCmp::EpsilonType<_std::vector<_T,_A_>_> 
26  ·······Specialization·of·EpsilonType·for·std::vector.·More... 
27   
28 struct· Dune::FloatCmp::EpsilonType<_FieldVector<_T,_n_>_> 
29  ·······Specialization·of·EpsilonType·for·Dune::FieldVector.·More... 
30   
31 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeWeak_> 
32   
33 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeStrong_> 
34   
35 struct· Dune::FloatCmp::DefaultEpsilon<_T,_absolute_> 
36   
37 ·Namespaces 
38 namespace· Dune 
39  ··········Dune·namespace. 
40   
41 namespace· Dune::FloatCmp 
42   
43 ·Functions 
44 template<class·T·,·CmpStyle·style> 
45 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename 
46 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
47  ····test·for·equality·using·epsilon 
48   
49 template<class·T·,·CmpStyle·style> 
50 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename 
51 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
52  ····test·for·inequality·using·epsilon 
53   
54 template<class·T·,·CmpStyle·style> 
55 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename 
56 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
57  ····test·if·first·greater·than·second 
58   
59 template<class·T·,·CmpStyle·style> 
60 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename 
61 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
62  ····test·if·first·lesser·than·second 
63   
64 template<class·T·,·CmpStyle·style> 
65 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename 
66 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
67  ····test·if·first·greater·or·equal·second 
68   
69 template<class·T·,·CmpStyle·style> 
70 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename 
71 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
72  ····test·if·first·lesser·or·equal·second 
73   
74 template<class·T·> 
75 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename 
76 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
77 ······value()) 
78   
79 template<class·T·> 
80 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename 
81 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
82 ······value()) 
83   
84 template<class·T·> 
85 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename 
86 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
87 ······value()) 
88   
89 template<class·T·> 
90 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename 
91 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
92 ······value()) 
93   
94 template<class·T·> 
95 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename 
96 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
97 ······value()) 
98   
99 template<class·T·> 
100 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename 
101 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
102 ······value()) 
103   
104 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
105 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
106 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
107  ····round·using·epsilon 
108   
109 template<class·I·,·class·T·,·CmpStyle·cstyle> 
110 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
111 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
112   
113 template<class·I·,·class·T·> 
114 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
115 ······epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::value()) 
116   
117 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
118 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
119 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
120  ····truncate·using·epsilon 
121   
122 template<class·I·,·class·T·,·CmpStyle·cstyle> 
123 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
Max diff block lines reached; 631/5492 bytes (11.49%) of diff not shown.
145 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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·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 74, 627 lines modifiedOffset 74, 39 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">float_cmp.cc</div></div>80 ··<div·class="headertitle"><div·class="title">keywords.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <a·href="a00308.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00104.html">float_cmp.hh</a>&quot;</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_KEYWORDS_HH</span></div>
 86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_KEYWORDS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>88 <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>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">···19</a></span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE·inline</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#else</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 92 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE</span></div>
95 <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> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
98 <div·class="foldopen"·id="foldopen00016"·data-start="{"·data-end="}"> 
99 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a00434.html">···16</a></span>··<span·class="keyword">namespace·</span>FloatCmp·{</div> 
100 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="comment">//·traits</span></div>93 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
102 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};"> 
103 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01588.html">···23</a></span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01588.html">EpsilonType</a>·{</div> 
104 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">···25</a></span>······<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">Type</a>;</div> 
105 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····};</div>94 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
106 </div> 
107 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>95 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 96 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·__cpp_constexpr·&gt;=·201304</span></div>
 97 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">···30</a></span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR·constexpr</span></div>
 98 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#else</span></div>
108 <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,·<span·class="keyword">typename</span>·A&gt;</div> 
109 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> 
110 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01592.html">···34</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01588.html">EpsilonType</a>&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::vector&lt;T,·A&gt;·&gt;·{</div> 
111 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01592.html#af9b3dcd72f92cde42857db23be99f94a">···36</a></span>······<span·class="keyword">typedef</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_typedef"·href="a01592.html#af9b3dcd72f92cde42857db23be99f94a">Type</a>;</div> 
112 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····};</div>99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
113 </div>100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR</span></div>
 101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif</span></div>
 102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
114 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 104 <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>
115 <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>·T,·<span·class="keywordtype">int</span>·n&gt;</div> 
116 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};"> 
117 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01596.html">···45</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01588.html">EpsilonType</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;T,·n&gt;·&gt;·{</div> 
118 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01596.html#a7f947a4f459dd6234101b5dcb6723146">···47</a></span>······<span·class="keyword">typedef</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_typedef"·href="a01596.html#a7f947a4f459dd6234101b5dcb6723146">Type</a>;</div> 
119 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····};</div> 
120 </div> 
121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
122 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·default·epsilon</span></div> 
123 <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>·T&gt;</div> 
124 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> 
125 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01600.html">···52</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a>&gt;·{</div> 
126 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}"> 
127 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01600.html#ab441e83cae956571c500c3736eee97e8">···53</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="a01600.html#ab441e83cae956571c500c3736eee97e8">value</a>()</div> 
128 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······{·<span·class="keywordflow">return</span>·std::numeric_limits&lt;typename·EpsilonType&lt;T&gt;::Type&gt;::epsilon()*8.;·}</div> 
129 </div> 
130 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····};</div> 
131 </div> 
132 <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> 
133 <div·class="foldopen"·id="foldopen00057"·data-start="{"·data-end="};"> 
134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01604.html">···57</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">relativeStrong</a>&gt;·{</div> 
135 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}"> 
136 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01604.html#a1fc180948ee6067517b931651ba299e6">···58</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="a01604.html#a1fc180948ee6067517b931651ba299e6">value</a>()</div> 
137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{·<span·class="keywordflow">return</span>·std::numeric_limits&lt;typename·EpsilonType&lt;T&gt;::Type&gt;::epsilon()*8.;·}</div> 
138 </div> 
139 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····};</div> 
140 </div> 
141 <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>·T&gt;</div> 
142 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};"> 
143 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01608.html">···62</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">absolute</a>&gt;·{</div> 
144 <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> 
145 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01608.html#a532f4ef4c1ffe37a0bf83965ab5d3615">···63</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="a01608.html#a532f4ef4c1ffe37a0bf83965ab5d3615">value</a>()</div> 
146 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{·<span·class="keywordflow">return</span>·std::max(std::numeric_limits&lt;<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>&gt;::epsilon(),·1e-6);·}</div> 
147 </div> 
148 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div> 
149 </div> 
150 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
151 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">namespace·</span>Impl·{</div> 
152 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="comment">//·basic·comparison</span></div> 
153 <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,·CmpStyle·style·=·defaultCmpStyle&gt;</div> 
154 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">struct·</span>eq_t;</div> 
155 <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>·T&gt;</div> 
156 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">struct·</span>eq_t&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a>&gt;·{</div> 
157 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keyword">static</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> 
158 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·······················<span·class="keyword">const</span>·T·&amp;second,</div> 
159 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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_function"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">DefaultEpsilon&lt;T&gt;::value</a>())</div> 
160 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div> 
161 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··········<span·class="keyword">using·</span>std::abs;</div> 
162 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········<span·class="keywordflow">return</span>·abs(first·-·second)·&lt;=·epsilon*std::max(abs(first),·abs(second));</div> 
163 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········}</div> 
164 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······};</div> 
165 <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> 
166 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keyword">struct·</span>eq_t&lt;T,·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">relativeStrong</a>&gt;·{</div> 
167 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">static</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> 
168 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·······················<span·class="keyword">const</span>·T·&amp;second,</div> 
169 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</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_function"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">DefaultEpsilon&lt;T&gt;::value</a>())</div> 
170 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>········{</div> 
171 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··········<span·class="keyword">using·</span>std::abs;</div> 
172 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········<span·class="keywordflow">return</span>·abs(first·-·second)·&lt;=·epsilon*std::min(abs(first),·abs(second));</div> 
173 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········}</div> 
174 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······};</div> 
Max diff block lines reached; 271/123614 bytes (0.22%) of diff not shown.
24.0 KB
html2text {}
    
Offset 7, 714 lines modifiedOffset 7, 35 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 float_cmp.cc12 keywords.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root15 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 17 ·3#ifndef·DUNE_COMMON_KEYWORDS_HH
 18 ·4#define·DUNE_COMMON_KEYWORDS_HH
19 ·5#include·"float_cmp.hh" 
20 ·6 
21 ·7#include·<vector> 
22 ·8#include·<limits> 
23 ·9#include·<algorithm> 
24 ·10#include·<cstdlib> 
25 ·11#include·<dune/common/fvector.hh> 
26 ·12 
27 ·13namespace·Dune·{ 
28 ·14 
29 ·1519 ·5
30 16·namespace·FloatCmp·{ 
31 ·17·//·traits 
32 ·19 
33 23·template<class·T>·struct·EpsilonType·{ 
34 25·typedef·T·Type; 
35 ·26·};20 ·18#if·__cpp_inline_variables·>=·201606
 21 19#define·DUNE_INLINE_VARIABLE·inline
 22 ·20#else
 23 ·22
 24 ·25#define·DUNE_INLINE_VARIABLE
 25 ·26#endif
 26 ·27
36 ·2827 ·28
37 ·33·template<class·T,·typename·A> 
38 34·struct·EpsilonType<std::vector<T,·A>·>·{ 
39 36·typedef·typename·EpsilonType<T>::Type·Type; 
40 ·37·};28 ·29#if·__cpp_constexpr·>=·201304
 29 30#define·DUNE_GENERALIZED_CONSTEXPR·constexpr
 30 ·31#else
 31 ·33
 32 ·36#define·DUNE_GENERALIZED_CONSTEXPR
 33 ·37#endif
 34 ·38
41 ·3935 ·39
 36 ·40#endif·//·DUNE_COMMON_KEYWORDS_HH
42 ·44·template<class·T,·int·n> 
43 45·struct·EpsilonType<FieldVector<T,·n>·>·{ 
44 47·typedef·typename·EpsilonType<T>::Type·Type; 
45 ·48·}; 
46 ·49 
47 ·50·//·default·epsilon 
48 ·51·template<class·T> 
49 52·struct·DefaultEpsilon<T,·relativeWeak>·{ 
50 53·static·typename·EpsilonType<T>::Type·value() 
51 ·54·{·return·std::numeric_limits<typename·EpsilonType<T>::Type>::epsilon()*8.; 
52 } 
53 ·55·}; 
54 ·56·template<class·T> 
55 57·struct·DefaultEpsilon<T,·relativeStrong>·{ 
56 58·static·typename·EpsilonType<T>::Type·value() 
57 ·59·{·return·std::numeric_limits<typename·EpsilonType<T>::Type>::epsilon()*8.; 
58 } 
59 ·60·}; 
60 ·61·template<class·T> 
61 62·struct·DefaultEpsilon<T,·absolute>·{ 
62 63·static·typename·EpsilonType<T>::Type·value() 
63 ·64·{·return·std::max(std::numeric_limits<typename·EpsilonType<T>::Type>:: 
64 epsilon(),·1e-6);·} 
65 ·65·}; 
66 ·66 
67 ·67·namespace·Impl·{ 
68 ·68·//·basic·comparison 
69 ·69·template<class·T,·CmpStyle·style·=·defaultCmpStyle> 
70 ·70·struct·eq_t; 
71 ·71·template<class·T> 
72 ·72·struct·eq_t<T,·relativeWeak>·{ 
73 ·73·static·bool·eq(const·T·&first, 
74 ·74·const·T·&second, 
75 ·75·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T>::value()) 
76 ·76·{ 
77 ·77·using·std::abs; 
78 ·78·return·abs(first·-·second)·<=·epsilon*std::max(abs(first),·abs(second)); 
79 ·79·} 
80 ·80·}; 
81 ·81·template<class·T> 
82 ·82·struct·eq_t<T,·relativeStrong>·{ 
83 ·83·static·bool·eq(const·T·&first, 
84 ·84·const·T·&second, 
85 ·85·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T>::value()) 
86 ·86·{ 
87 ·87·using·std::abs; 
88 ·88·return·abs(first·-·second)·<=·epsilon*std::min(abs(first),·abs(second)); 
89 ·89·} 
90 ·90·}; 
91 ·91·template<class·T> 
92 ·92·struct·eq_t<T,·absolute>·{ 
93 ·93·static·bool·eq(const·T·&first, 
94 ·94·const·T·&second, 
95 ·95·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T>::value()) 
96 ·96·{ 
97 ·97·using·std::abs; 
98 ·98·return·abs(first-second)·<=·epsilon; 
99 ·99·} 
100 ·100·}; 
101 ·101·template<class·T,·CmpStyle·cstyle> 
102 ·102·struct·eq_t_std_vec·{ 
103 ·103·typedef·std::vector<T>·V; 
104 ·104·static·bool·eq(const·V·&first, 
105 ·105·const·V·&second, 
106 ·106·typename·EpsilonType<V>::Type·epsilon·=·DefaultEpsilon<V>::value())·{ 
107 ·107·auto·size·=·first.size(); 
108 ·108·if(size·!=·second.size())·return·false; 
109 ·109·for(unsigned·int·i·=·0;·i·<·size;·++i) 
110 ·110·if(!eq_t<T,·cstyle>::eq(first[i],·second[i],·epsilon)) 
111 ·111·return·false; 
112 ·112·return·true; 
113 ·113·} 
114 ·114·}; 
115 ·115·template<·class·T> 
116 ·116·struct·eq_t<std::vector<T>,·relativeWeak>·:·eq_t_std_vec<T,·relativeWeak> 
Max diff block lines reached; 116/24585 bytes (0.47%) of diff not shown.
13.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 75 lines modifiedOffset 65, 73 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>··</div>
78 ··<div·class="headertitle"><div·class="title">parametertree.hh·File·Reference</div></div>78 ··<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>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>A·hierarchical·structure·of·string·parameters.··81 <p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.··
82 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
83 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
84 <code>#include·&lt;cstddef&gt;</code><br·/>84 <code>#include·&lt;cstddef&gt;</code><br·/>
85 <code>#include·&lt;iostream&gt;</code><br·/>85 <code>#include·&lt;iostream&gt;</code><br·/>
86 <code>#include·&lt;istream&gt;</code><br·/> 
87 <code>#include·&lt;iterator&gt;</code><br·/> 
88 <code>#include·&lt;locale&gt;</code><br·/> 
89 <code>#include·&lt;map&gt;</code><br·/>86 <code>#include·&lt;map&gt;</code><br·/>
90 <code>#include·&lt;ostream&gt;</code><br·/> 
91 <code>#include·&lt;sstream&gt;</code><br·/> 
92 <code>#include·&lt;string&gt;</code><br·/> 
93 <code>#include·&lt;typeinfo&gt;</code><br·/>87 <code>#include·&lt;type_traits&gt;</code><br·/>
94 <code>#include·&lt;vector&gt;</code><br·/> 
95 <code>#include·&lt;algorithm&gt;</code><br·/> 
96 <code>#include·&lt;bitset&gt;</code><br·/>88 <code>#include·&lt;utility&gt;</code><br·/>
 89 <code>#include·&lt;mpi.h&gt;</code><br·/>
97 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>90 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
98 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>91 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code><br·/>
99 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/classname.hh</a>&gt;</code><br·/>93 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
100 </div>94 </div>
101 <p><a·href="a00311_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00311_source.html">Go·to·the·source·code·of·this·file.</a></p>
102 <table·class="memberdecls">96 <table·class="memberdecls">
103 <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>
104 Classes</h2></td></tr>98 Classes</h2></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="a02344.html">Dune::ParameterTree</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="a01992.html">Dune::SizeOne</a></td></tr>
106 <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>100 <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>
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="a02352.html">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&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="a01996.html">Dune::VariableSize</a></td></tr>
 103 <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>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <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="a02356.html">Dune::ParameterTree::Parser&lt;·bool·&gt;</a></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="a02000.html">Dune::CommPolicy&lt;·V·&gt;</a></td></tr>
 106 <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>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <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="a02360.html">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower</a></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="a02012.html">Dune::CommPolicy&lt;·V·&gt;::CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;</a></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>
114 <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>110 <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>
 111 <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>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <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="a02368.html">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&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="a02020.html">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;</a></td></tr>
 114 <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>
117 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02024.html">Dune::BufferedCommunicator</a></td></tr>
 117 <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>
118 <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> 
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="a02376.html">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr> 
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 </table><table·class="memberdecls">119 </table><table·class="memberdecls">
123 <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>
124 Namespaces</h2></td></tr>121 Namespaces</h2></td></tr>
125 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
126 <tr·class="memdesc: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>
127 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 </table>125 </table>
129 <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>
130 <div·class="textblock"><p>A·hierarchical·structure·of·string·parameters.·</p>127 <div·class="textblock"><p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·</p>
 128 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
131 </div></div><!--·contents·-->129 </div></div><!--·contents·-->
132 <!--·start·footer·part·-->130 <!--·start·footer·part·-->
133 <hr·class="footer"/><address·class="footer"><small>131 <hr·class="footer"/><address·class="footer"><small>
134 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8132 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
135 </small></address>133 </small></address>
136 </body>134 </body>
137 </html>135 </html>
2.86 KB
html2text {}
    
Offset 6, 56 lines modifiedOffset 6, 61 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 ····*·parallel
12 Classes·|·Namespaces13 Classes·|·Namespaces
13 parametertree.hh·File·Reference 
14 A·hierarchical·structure·of·string·parameters.·More...14 communicator.hh·File·Reference
 15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 16 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.
 17 More...
15 #include·<array>18 #include·<cassert>
16 #include·<cstddef>19 #include·<cstddef>
17 #include·<iostream>20 #include·<iostream>
18 #include·<istream> 
19 #include·<iterator> 
20 #include·<locale> 
21 #include·<map>21 #include·<map>
22 #include·<ostream> 
23 #include·<sstream> 
24 #include·<string> 
25 #include·<typeinfo>22 #include·<type_traits>
 23 #include·<utility>
 24 #include·<mpi.h>
26 #include·<vector> 
27 #include·<algorithm> 
28 #include·<bitset> 
29 #include·<dune/common/exceptions.hh>25 #include·<dune/common/exceptions.hh>
30 #include·<dune/common/fvector.hh>26 #include·<dune/common/parallel/interface.hh>
 27 #include·<dune/common/parallel/remoteindices.hh>
31 #include·<dune/common/classname.hh>28 #include·<dune/common/stdstreams.hh>
32 Go_to_the_source_code_of_this_file.29 Go_to_the_source_code_of_this_file.
33 ·Classes30 ·Classes
34 ·class· Dune::ParameterTree 
35  ·······Hierarchical·structure·of·string·parameters.·More...31 struct· Dune::SizeOne
 32  ·······Flag·for·marking·indexed·data·structures·where·data·at·each·index·is
 33 ·········of·the·same·size.·More...
36  34  
37 struct· Dune::ParameterTree::Parser<_std::basic_string<_char,_traits, 
38 ·········Allocator_>_>35 struct· Dune::VariableSize
 36  ·······Flag·for·marking·indexed·data·structures·where·the·data·at·each·index
 37 ·········may·be·a·variable·multiple·of·another·type.·More...
39  38  
40 struct· Dune::ParameterTree::Parser<_bool_>39 struct· Dune::CommPolicy<_V_>
 40  ·······Default·policy·used·for·communicating·an·indexed·type.·More...
41  41  
42 struct· Dune::ParameterTree::Parser<_bool_>::ToLower42 struct· Dune::CommPolicy<_V_>::CommPolicy<_VariableBlockVector<_FieldVector<
 43 ·········K,_n_>,_A_>_>
43  44  
44 struct· Dune::ParameterTree::Parser<_FieldVector<_T,_n_>_>45 ·class· Dune::CommPolicy<_V_>::CommunicationError
 46  ·······Error·thrown·if·there·was·a·problem·with·the·communication.·More...
45  47  
46 struct· Dune::ParameterTree::Parser<_std::array<_T,_n_>_>48 struct· Dune::CommPolicy<_V_>::CopyGatherScatter<_T_>
 49  ·······GatherScatter·default·implementation·that·just·copies·data.·More...
47  50  
48 struct· Dune::ParameterTree::Parser<_std::bitset<_n_>_> 
49   
50 struct· Dune::ParameterTree::Parser<_std::vector<_T,_A_>_>51 ·class· Dune::BufferedCommunicator
 52  ·······A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be
 53 ·········send·or·received.·More...
51  54  
52 ·Namespaces55 ·Namespaces
53 namespace· Dune56 namespace· Dune
54  ··········Dune·namespace.57  ··········Dune·namespace.
55  58  
56 *****·Detailed·Description·*****59 *****·Detailed·Description·*****
57 A·hierarchical·structure·of·string·parameters.60 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.
 61 ··Author
 62 ······Markus·Blatt
  
58 ===============================================================================63 ===============================================================================
59 ·····Generated·by [doxygen]·1.9.864 ·····Generated·by [doxygen]·1.9.8
275 KB
./usr/share/doc/libdune-common-doc/doxygen/a00311_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 349 lines modifiedOffset 70, 1040 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">parametertree.hh</div></div>80 ··<div·class="headertitle"><div·class="title">communicator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <a·href="a00311.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>83 <a·href="a00311.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETERTREE_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMUNICATOR</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETERTREE_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMUNICATOR</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;locale&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div> 
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div> 
104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
106 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/fvector.hh</a>&gt;</span></div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00233.html">dune/common/classname.hh</a>&gt;</span></div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 102 <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>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00362.html">dune/common/parallel/remoteindices.hh</a>&gt;</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
109 <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>106 <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>
110 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
111 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="};">108 <div·class="foldopen"·id="foldopen00109"·data-start="{"·data-end="};">
112 <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>109 <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>
113 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> 
114 <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> 
115 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·generic·get()·method</span></div> 
116 <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> 
117 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">struct·</span>Parser;</div> 
118 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div> 
120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
121 <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> 
122 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
123 <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> 
124 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
125 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
126 <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> 
127 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
128 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
129 <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> 
130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
132 <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> 
133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
135 <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> 
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="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> 
139 <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> 
140 <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>
141 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
142 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>(<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>);</div> 
143 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
144 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
145 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>(<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>,·<span·class="keywordtype">bool</span>·fail_if_missing·=·<span·class="keyword">false</span>)·<span·class="keyword">const</span>;</div> 
146 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
147 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
148 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····std::string·<a·class="code·hl_function"·href="a02344.html#a206f94a0e28875b1d25f89d69f9c6ebc">get</a>(<span·class="keyword">const</span>·std::string&amp;·key,·<span·class="keyword">const</span>·std::string&amp;·defaultValue)·<span·class="keyword">const</span>;</div> 
149 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> 
150 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>····std::string·<a·class="code·hl_function"·href="a02344.html#a206f94a0e28875b1d25f89d69f9c6ebc">get</a>(<span·class="keyword">const</span>·std::string&amp;·key,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·defaultValue)·<span·class="keyword">const</span>;</div> 
151 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
152 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> 
153 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
154 <div·class="foldopen"·id="foldopen00158"·data-start="{"·data-end="}"> 
155 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a02344.html#aa82b23ebdc6fac07b24d77ee04076b4c">··158</a></span>····T·<a·class="code·hl_function"·href="a02344.html#aa82b23ebdc6fac07b24d77ee04076b4c">get</a>(<span·class="keyword">const</span>·std::string&amp;·key,·<span·class="keyword">const</span>·T&amp;·defaultValue)<span·class="keyword">·const·</span>{</div> 
156 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>······<span·class="keywordflow">if</span>(<a·class="code·hl_function"·href="a02344.html#a7fe0cdda98abc77aec93909e4b06d615">hasKey</a>(key))</div> 
157 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>········<span·class="keywordflow">return</span>·get&lt;T&gt;(key);</div> 
158 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>······<span·class="keywordflow">else</span></div> 
159 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>········<span·class="keywordflow">return</span>·defaultValue;</div> 
160 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····}</div> 
161 </div>111 </div>
 112 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 113 <div·class="foldopen"·id="foldopen00117"·data-start="{"·data-end="};">
 114 <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>
 115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div>
 116 </div>
 117 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 118 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</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>·V&gt;</div>
 120 <div·class="foldopen"·id="foldopen00127"·data-start="{"·data-end="};">
 121 <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>
 122 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div>
 123 <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>
 124 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
Max diff block lines reached; 209298/230800 bytes (90.68%) of diff not shown.
49.3 KB
html2text {}
    
Offset 7, 406 lines modifiedOffset 7, 1208 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 parametertree.hh12 ····*·parallel
 13 communicator.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_PARAMETERTREE_HH 
20 ·6#define·DUNE_PARAMETERTREE_HH20 ·5#ifndef·DUNE_COMMUNICATOR
 21 ·6#define·DUNE_COMMUNICATOR
21 ·722 ·7
 23 ·8#if·HAVE_MPI
 24 ·9
22 ·12#include·<array>25 ·10#include·<cassert>
23 ·13#include·<cstddef>26 ·11#include·<cstddef>
24 ·14#include·<iostream>27 ·12#include·<iostream>
25 ·15#include·<istream> 
26 ·16#include·<iterator> 
27 ·17#include·<locale> 
28 ·18#include·<map>28 ·13#include·<map>
 29 ·14#include·<type_traits>
 30 ·15#include·<utility>
 31 ·16
 32 ·17#include·<mpi.h>
 33 ·18
29 ·19#include·<ostream> 
30 ·20#include·<sstream> 
31 ·21#include·<string> 
32 ·22#include·<typeinfo> 
33 ·23#include·<vector> 
34 ·24#include·<algorithm> 
35 ·25#include·<bitset> 
36 ·26 
37 ·27#include·<dune/common/exceptions.hh>34 ·19#include·<dune/common/exceptions.hh>
38 ·28#include·<dune/common/fvector.hh>35 ·20#include·<dune/common/parallel/interface.hh>
 36 ·21#include·<dune/common/parallel/remoteindices.hh>
39 ·29#include·<dune/common/classname.hh>37 ·22#include·<dune/common/stdstreams.hh>
40 ·30 
41 ·31namespace·Dune·{ 
42 ·32 
43 36·class·ParameterTree 
44 ·37·{ 
45 ·38·//·class·providing·a·single·static·parse()·function,·used·by·the 
46 ·39·//·generic·get()·method 
47 ·40·template<typename·T> 
48 ·41·struct·Parser; 
49 ·42 
50 ·43·public: 
51 ·44 
52 47·typedef·std::vector<std::string>·KeyVector; 
53 ·48 
54 ·51·ParameterTree(); 
55 ·52 
56 ·53 
57 ·61·bool·hasKey(const·std::string&·key)·const; 
58 ·62 
59 ·63 
60 ·71·bool·hasSub(const·std::string&·sub)·const; 
61 ·72 
62 ·73 
63 ·82·std::string&·operator[](const·std::string&·key); 
64 ·83 
65 ·84 
66 ·94·const·std::string&·operator[](const·std::string&·key)·const; 
67 ·95 
68 ·96 
69 ·104·void·report(std::ostream&·stream·=·std::cout, 
70 ·105·const·std::string&·prefix·=·"")·const; 
71 ·106 
72 ·107 
73 ·113·ParameterTree&·sub(const·std::string&·sub); 
74 ·114 
75 ·115 
76 ·122·const·ParameterTree&·sub(const·std::string&·sub,·bool·fail_if_missing·= 
77 false)·const; 
78 ·12338 ·23
 39 ·24namespace·Dune
 40 ·25{
 41 109·struct·SizeOne
 42 ·110·{};
 43 ·111
 44 117·struct·VariableSize
 45 ·118·{};
 46 ·119
79 ·12447 ·120
80 ·133·std::string·get(const·std::string&·key,·const·std::string&·defaultValue) 
81 const;48 ·126·template<class·V>
 49 127·struct·CommPolicy
 50 ·128·{
 51 140·typedef·V·Type;
82 ·13452 ·141
83 ·145·std::string·get(const·std::string&·key,·const·char*·defaultValue)·const;53 147·typedef·typename·V::value_type·IndexedType;
84 ·14654 ·148
 55 153·typedef·SizeOne·IndexedTypeFlag;
85 ·14756 ·154
 57 163·static·const·void*·getAddress(const·V&·v,·int·index);
86 ·157·template<typename·T> 
87 158·T·get(const·std::string&·key,·const·T&·defaultValue)·const·{ 
88 ·159·if(hasKey(key)) 
89 ·160·return·get<T>(key); 
90 ·161·else 
91 ·162·return·defaultValue; 
92 ·163·} 
93 ·16458 ·164
 59 170·static·int·getSize(const·V&,·int·index);
 60 ·171·};
 61 ·172
 62 173·template<class·K,·int·n>·class·FieldVector;
 63 ·174
 64 175·template<class·B,·class·A>·class·VariableBlockVector;
 65 ·176
 66 ·177·template<class·K,·class·A,·int·n>
 67 178·struct·CommPolicy<VariableBlockVector<FieldVector<K,·n>,·A>·>
 68 ·179·{
 69 180·typedef·VariableBlockVector<FieldVector<K,_n>,·A>·Type;
 70 ·181
 71 182·typedef·typename·Type::B·IndexedType;
 72 ·183
 73 184·typedef·VariableSize·IndexedTypeFlag;
Max diff block lines reached; 42310/50417 bytes (83.92%) of diff not shown.
16.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 91 lines modifiedOffset 65, 51 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>··</div>
 78 ··<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>
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">poolallocator.hh·File·Reference</div></div> 
80 </div><!--header-->79 </div><!--header-->
81 <div·class="contents">80 <div·class="contents">
  
82 <p>An·stl-compliant·pool·allocator.··81 <p>See·MPI_Pack.··
83 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;numeric&gt;</code><br·/>83 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
85 <code>#include·&lt;typeinfo&gt;</code><br·/> 
86 <code>#include·&lt;iostream&gt;</code><br·/> 
87 <code>#include·&lt;cassert&gt;</code><br·/> 
88 <code>#include·&lt;new&gt;</code><br·/>84 <code>#include·&lt;mpi.h&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
89 </div>87 </div>
90 <p><a·href="a00314_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00314_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">89 <table·class="memberdecls">
92 <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>
93 Classes</h2></td></tr>91 Classes</h2></td></tr>
94 <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>92 <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>
95 <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> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="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>
97 <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> 
98 <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> 
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="a02408.html">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr> 
101 <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> 
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="a02412.html">Dune::PoolAllocator&lt;·void,·s·&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">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> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
108 <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>
109 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
110 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a00424"·id="r_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> 
114 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<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="func-members"·name="func-members"></a> 
118 Functions</h2></td></tr> 
119 <tr·class="memitem:ga67f486062c5bfb92aa3365373d491836"·id="r_ga67f486062c5bfb92aa3365373d491836"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr> 
120 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T1,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T2,·t2·&gt;·&amp;)</td></tr> 
121 <tr·class="separator:ga67f486062c5bfb92aa3365373d491836"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:gaf0e4942c0493dceaf371ba9f0ec29ab6"·id="r_gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr> 
123 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T1,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T2,·t2·&gt;·&amp;)</td></tr> 
124 <tr·class="separator:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:gab6358d63f2012e81c5066d6c6d9cb94a"·id="r_gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
126 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;p2)</td></tr> 
127 <tr·class="separator:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga2c515ca850107e6807b75f4d90ca4dcc"·id="r_ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
129 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;p2)</td></tr> 
130 <tr·class="separator:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gab00b326f648ee860460ddeec2f4b6d3b"·id="r_gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
132 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;)</td></tr> 
133 <tr·class="separator:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:gace25a69f0bcd5ba1fffd567af1d9a9cf"·id="r_gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
135 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·T,·t2·&gt;·&amp;)</td></tr> 
136 <tr·class="separator:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:ga5bc475e78eb7d029ee0782eab49d5938"·id="r_ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
138 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t2·&gt;·&amp;p2)</td></tr> 
139 <tr·class="separator:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:ga6795aefd733bd618db889c6f15f1552f"·id="r_ga6795aefd733bd618db889c6f15f1552f"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
141 <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·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t1·&gt;·&amp;p1,·const·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·void,·t2·&gt;·&amp;p2)</td></tr> 
142 <tr·class="separator:ga6795aefd733bd618db889c6f15f1552f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 </table>102 </table>
144 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>103 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
145 <div·class="textblock"><p>An·stl-compliant·pool·allocator.·</p> 
146 <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>104 <div·class="textblock"><p>See·MPI_Pack.·</p>
 105 <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>
 106 <dl·class="section·author"><dt>Author</dt><dd>Nils-Arne·Dreier·</dd></dl>
147 </div></div><!--·contents·-->107 </div></div><!--·contents·-->
148 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
149 <hr·class="footer"/><address·class="footer"><small>109 <hr·class="footer"/><address·class="footer"><small>
150 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
151 </small></address>111 </small></address>
152 </body>112 </body>
153 </html>113 </html>
3.05 KB
html2text {}
    
Offset 6, 79 lines modifiedOffset 6, 37 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 ····*·parallel
12 Classes·|·Namespaces·|·Functions13 Classes·|·Namespaces
13 poolallocator.hh·File·Reference14 mpipack.hh·File·Reference
 15 Common·»·Parallel_Communication
 16 See·MPI_Pack.·More...
14 An·stl-compliant·pool·allocator.·More... 
15 #include·<numeric> 
16 #include·<typeinfo> 
17 #include·<iostream> 
18 #include·<cassert> 
19 #include·<new>17 #include·<vector>
 18 #include·<mpi.h>
 19 #include·<dune/common/parallel/mpicommunication.hh>
 20 #include·<dune/common/parallel/mpidata.hh>
20 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
21 ·Classes22 ·Classes
 23 ·class· Dune::MPIPack
22 ·class· Dune::Pool<_T,_s_> 
23  ·······A·memory·pool·of·objects.·More... 
24  24  
 25 struct· Dune::MPIData<_P,_std::enable_if_t<_std::is_same<_std::remove_const_t<
 26 ·········P_>,_MPIPack_>::value_>_>
25 ·class· Dune::PoolAllocator<_T,_s_> 
26  ·······An·allocator·managing·a·pool·of·objects·for·reuse.·More... 
27   
28 struct· Dune::PoolAllocator<_T,_s_>::rebind<_U_> 
29  ·······Rebind·the·allocator·to·another·type.·More... 
30   
31 ·class· Dune::PoolAllocator<_void,_s_> 
32   
33 struct· Dune::PoolAllocator<_void,_s_>::rebind<_U_> 
34  27  
35 ·Namespaces28 ·Namespaces
36 namespace· Dune29 namespace· Dune
37  ··········Dune·namespace.30  ··········Dune·namespace.
38  31  
39 namespace· std 
40  ··········STL·namespace. 
41   
42 ·Functions 
43 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2> 
44 bool Dune::operator==·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator< 
45 ······T2,·t2·>·&) 
46   
47 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2> 
48 bool Dune::operator!=·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator< 
49 ······T2,·t2·>·&) 
50   
51 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
52 bool Dune::operator==·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator< 
53 ······T,·t2·>·&p2) 
54   
55 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
56 bool Dune::operator!=·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator< 
57 ······T,·t2·>·&p2) 
58   
59 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
60 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator< 
61 ······T,·t2·>·&) 
62   
63 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
64 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator< 
65 ······T,·t2·>·&) 
66   
67 template<std::size_t·t1,·std::size_t·t2> 
68 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&p1,·const 
69 ······PoolAllocator<·void,·t2·>·&p2) 
70   
71 template<std::size_t·t1,·std::size_t·t2> 
72 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&p1,·const 
73 ······PoolAllocator<·void,·t2·>·&p2) 
74   
75 *****·Detailed·Description·*****32 *****·Detailed·Description·*****
76 An·stl-compliant·pool·allocator. 
77 This·file·implements·the·classes·Pool·and·PoolAllocator·providing·memory 
78 allocation·for·objects·in·chunks.33 See·MPI_Pack.
 34 This·Wrapper·class·takes·care·of·the·memory·management·and·provides·methods·to
 35 pack·and·unpack·objects.·All·objects·that·can·be·used·for·MPI·communication·can
 36 also·be·packed·and·unpacked·to/from·MPIPack.
79 ··Author37 ··Author
80 ······Markus·Blatt38 ······Nils-Arne·Dreier
  
81 ===============================================================================39 ===============================================================================
82 ·····Generated·by [doxygen]·1.9.840 ·····Generated·by [doxygen]·1.9.8
161 KB
./usr/share/doc/libdune-common-doc/doxygen/a00314_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 523 lines modifiedOffset 70, 283 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">poolallocator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpipack.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POOLALLOCATOR_HH</span></div>87 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POOLALLOCATOR_HH</span></div>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;numeric&gt;</span></div> 
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;new&gt;</span></div> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·forward·declarations.</span></div> 
98 <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> 
99 <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> 
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">struct·</span>testPoolMain;</div> 
101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div> 
102 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>89 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
103 <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>90 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
104 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>91 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 92 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 93 <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/parallel/mpicommunication.hh</a>&gt;</span></div>
 94 <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/parallel/mpidata.hh</a>&gt;</span></div>
105 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>95 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
106 <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> 
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">class·</span>Pool;</div>96 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 97 <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>
108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>98 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
109 <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>99 <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="};">
 100 <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>
 101 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····std::vector&lt;char&gt;·_buffer;</div>
110 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">class·</span>PoolAllocator;</div>102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordtype">int</span>·_position;</div>
 103 <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>
111 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>104 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 105 <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>
 106 <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>
 107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>:</div>
 108 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}">
 109 <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="a01988.html">Communication&lt;MPI_Comm&gt;</a>·comm,·std::size_t·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·0)</div>
 110 <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>
 111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······,·_position(0)</div>
 112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······,·_comm(comm)</div>
112 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>}</div>113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····{}</div>
 114 </div>
113 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
114 <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> 
115 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> 
116 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="comment">/*</span></div> 
117 <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> 
118 <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> 
119 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·····{</span></div> 
120 <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> 
121 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">·····return·os;</span></div>116 <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>
 117 <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>
 118 <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>
 119 <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>
 120 <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>
122 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·····}</span></div> 
123 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment"></span>·</div> 
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····{</span></div> 
127 <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> 
128 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·····return·os;</span></div> 
129 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">·····}</span></div> 
130 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">···*/</span></div> 
131 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div> 
132 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
133 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
134 <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> 
135 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> 
136 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>122 <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>
137 <div·class="foldopen"·id="foldopen00089"·data-start="{"·data-end="};">123 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}">
138 <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>124 <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>
 125 <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>
 126 <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>
 127 <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>
 128 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>(!has_static_size)</div>
 129 <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>
 130 <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>
 131 <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>
 132 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keywordflow">if</span>(!has_static_size){</div>
 133 <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>
 134 <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>
 135 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·················&amp;_position,·_comm);</div>
139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div>136 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······}</div>
140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//·make·the·test·function·friend</span></div> 
141 <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>137 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······MPI_Pack(mpidata.ptr(),·mpidata.size(),</div>
 138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···············mpidata.type(),·_buffer.data(),·_buffer.size(),</div>
 139 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············&amp;_position,·_comm);</div>
 140 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
 141 </div>
 142 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 143 <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>
 144 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}">
Max diff block lines reached; 111713/139810 bytes (79.90%) of diff not shown.
24.6 KB
html2text {}
    
Offset 7, 599 lines modifiedOffset 7, 325 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 poolallocator.hh12 ····*·parallel
 13 mpipack.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_POOLALLOCATOR_HH 
20 ·6#define·DUNE_COMMON_POOLALLOCATOR_HH 
21 ·720 ·20#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH
 21 ·21#define·DUNE_COMMON_PARALLEL_MPIPACK_HH
 22 ·22
 23 ·23#include·<vector>
 24 ·24#if·HAVE_MPI
22 ·12#include·<numeric>25 ·25#include·<mpi.h>
 26 ·26#include·<dune/common/parallel/mpicommunication.hh>
 27 ·27#include·<dune/common/parallel/mpidata.hh>
 28 ·28
 29 ·29
23 ·13#include·<typeinfo> 
24 ·14#include·<iostream> 
25 ·15#include·<cassert> 
26 ·16#include·<new> 
27 ·17 
28 ·18#ifndef·DOXYGEN 
29 ·19//·forward·declarations. 
30 ·20//·we·need·to·know·the·test·function·to·declare·it·friend 
31 ·21template<std::size_t·size,·typename·T> 
32 ·22struct·testPoolMain; 
33 ·23#endif 
34 ·24 
35 ·25namespace·Dune30 ·30namespace·Dune·{
 31 ·31
 32 32·class·MPIPack·{
 33 ·33·std::vector<char>·_buffer;
 34 ·34·int·_position;
 35 35·MPI_Comm·_comm;
 36 ·36
 37 ·37·friend·struct·MPIData<MPIPack>;
 38 ·38·friend·struct·MPIData<const·MPIPack>;
 39 ·39·public:
 40 40·MPIPack(Communication<MPI_Comm>·comm,·std::size_t·size·=·0)
 41 ·41·:·_buffer(size)
 42 ·42·,·_position(0)
 43 ·43·,·_comm(comm)
36 ·26{ 
37 ·27 
38 ·28·template<typename·T,·std::size_t·s> 
39 ·29·class·Pool; 
40 ·30 
41 ·31·template<typename·T,·std::size_t·s> 
42 ·32·class·PoolAllocator; 
43 ·33 
44 ·34} 
45 ·35 
46 ·36namespace·std 
47 ·37{ 
48 ·38·/* 
49 ·39·template<class·T,·std::size_t·S> 
50 ·40·inline·ostream&·operator<<(ostream&·os,·Dune::Pool<T,S>&·pool) 
51 ·41·{ 
52 ·42·os<<"pool="<<&pool<<"·allocated_="<<pool.allocated_; 
53 ·43·return·os; 
54 ·44·}44 ·44·{}
55 ·4545 ·45
56 ·46·template<class·T,·std::size_t·S> 
57 ·47·inline·ostream&·operator<<(ostream&·os,·Dune::PoolAllocator<T,S>&·pool)46 ·46·//·Its·not·valid·to·copy·a·MPIPack·but·you·can·move·it
 47 47·MPIPack(const·MPIPack&)·=·delete;
 48 48·MPIPack&·operator_=(const·MPIPack&·other)·=·delete;
 49 49·MPIPack(MPIPack&&)·=·default;
 50 50·MPIPack&·operator_=(MPIPack&&·other)·=·default;
 51 ·51
 52 ·57·template<class·T>
 53 58·void·pack(const·T&·data){
 54 ·59·auto·mpidata·=·getMPIData(data);
 55 ·60·int·size·=·getPackSize(mpidata.size(),·_comm,·mpidata.type());
 56 ·61·constexpr·bool·has_static_size·=·decltype(getMPIData(std::declval<T&>()))::
 57 static_size;
 58 ·62·if(!has_static_size)
 59 ·63·size·+=·getPackSize(1,·_comm,·MPI_INT);
 60 ·64·if·(_position·+·size·>·0·&&·size_t(_position·+·size)·>·_buffer.size())·/
 61 /·resize·buffer·if·necessary
 62 ·65·_buffer.resize(_position·+·size);
 63 ·66·if(!has_static_size){
 64 ·67·int·size·=·mpidata.size();
 65 ·68·MPI_Pack(&size,·1,·MPI_INT,·_buffer.data(),·_buffer.size(),
 66 ·69·&_position,·_comm);
 67 ·70·}
 68 ·71·MPI_Pack(mpidata.ptr(),·mpidata.size(),
 69 ·72·mpidata.type(),·_buffer.data(),·_buffer.size(),
 70 ·73·&_position,·_comm);
 71 ·74·}
 72 ·75
 73 ·80·template<class·T>
 74 81·auto·/*void*/·unpack(T&·data)
 75 ·82·->·std::enable_if_t<decltype(getMPIData(data))::static_size,·void>
58 ·48·{76 ·83·{
 77 ·84·auto·mpidata·=·getMPIData(data);
 78 ·85·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position,
 79 ·86·mpidata.ptr(),·mpidata.size(),
 80 ·87·mpidata.type(),·_comm);
 81 ·88·}
 82 ·89
 83 ·94·template<class·T>
 84 95·auto·/*void*/·unpack(T&·data)
 85 ·96·->·std::enable_if_t<!decltype(getMPIData(data))::static_size,·void>
59 ·49·os<<pool.memoryPool_<<std::endl; 
60 ·50·return·os; 
61 ·51·} 
62 ·52·*/ 
63 ·53} 
64 ·54 
65 ·55 
66 ·56namespace·Dune 
67 ·57{ 
68 ·88·template<class·T,·std::size_t·s> 
69 89·class·Pool 
70 ·90·{86 ·97·{
 87 ·98·auto·mpidata·=·getMPIData(data);
Max diff block lines reached; 20833/25150 bytes (82.83%) of diff not shown.
4.78 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 40 lines modifiedOffset 65, 24 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary"> 
76 <a·href="#namespaces">Namespaces</a>·&#124; 
77 <a·href="#func-members">Functions</a>··</div> 
78 ··<div·class="headertitle"><div·class="title">conditional.hh·File·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh·File·Reference</div></div>
79 </div><!--header-->76 </div><!--header-->
80 <div·class="contents">77 <div·class="contents">
 78 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
 79 </div>
81 <p><a·href="a00317_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00317_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="namespaces"·name="namespaces"></a> 
84 Namespaces</h2></td></tr> 
85 <tr·class="memitem:a00425"·id="r_a00425"><td·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><table·class="memberdecls"> 
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
90 Functions</h2></td></tr> 
91 <tr·class="memitem:aa7df1a64bf1697e91502bce842535577"·id="r_aa7df1a64bf1697e91502bce842535577"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr> 
92 <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> 
93 <tr·class="memdesc:aa7df1a64bf1697e91502bce842535577"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">conditional·evaluate··<br·/></td></tr> 
94 <tr·class="separator:aa7df1a64bf1697e91502bce842535577"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 </table> 
96 </div><!--·contents·-->81 </div><!--·contents·-->
97 <!--·start·footer·part·-->82 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>83 <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.884 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
100 </small></address>85 </small></address>
101 </body>86 </body>
102 </html>87 </html>
655 B
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 14 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions 
13 conditional.hh·File·Reference12 ····*·parallel
 13 mpicollectivecommunication.hh·File·Reference
 14 #include·<dune/common/parallel/mpicommunication.hh>
14 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
15 ·Namespaces 
16 namespace· Dune 
17  ··········Dune·namespace. 
18   
19 ·Functions 
20 template<typename·T1·,·typename·T2·> 
21 const·T1 Dune::cond·(bool·b,·const·T1·&v1,·const·T2·&v2) 
22  ········conditional·evaluate 
23   
  
24 ===============================================================================16 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.817 ·····Generated·by [doxygen]·1.9.8
7.75 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 42 lines modifiedOffset 70, 27 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">conditional.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>84 <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>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONDITIONAL_HH</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_CONDITIONAL_HH</span></div> 
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> 
88 <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> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>{</div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</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">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div> 
92 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="}"> 
93 <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> 
94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div> 
95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordflow">return</span>·(b·?·v1·:·v2);</div> 
96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div> 
97 </div> 
98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·Will·be·removed·after·the·2.7·release</span></div>
 86 <div·class="line"><a·id="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>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00332.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>
 88 <div·class="ttc"·id="aa00332_html"><div·class="ttname"><a·href="a00332.html">mpicommunication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.</div></div>
100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_CONDITIONAL_HH</span></div> 
102 <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> 
103 <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> 
104 </div><!--·fragment·--></div><!--·contents·-->89 </div><!--·fragment·--></div><!--·contents·-->
105 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>91 <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.892 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>93 </small></address>
109 </body>94 </body>
110 </html>95 </html>
1.28 KB
html2text {}
    
Offset 7, 37 lines modifiedOffset 7, 23 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 conditional.hh12 ····*·parallel
 13 mpicollectivecommunication.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
15 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
16 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 18 ·3//·Will·be·removed·after·the·2.7·release
 19 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/
 20 mpicommunication.hh>·instead!"
 21 ·5#include·<dune/common/parallel/mpicommunication.hh>
 22 mpicommunication.hh
 23 Implements·an·utility·class·that·provides·MPI's·collective·communication
 24 methods.
17 ·3#ifndef·DUNE_COMMON_CONDITIONAL_HH 
18 ·4#define·DUNE_COMMON_CONDITIONAL_HH 
19 ·5 
20 ·6namespace·Dune 
21 ·7{ 
22 ·8 
23 ·27·template<typename·T1,·typename·T2> 
24 28·const·T1·cond(bool·b,·const·T1·&·v1,·const·T2·&·v2) 
25 ·29·{ 
26 ·30·return·(b·?·v1·:·v2); 
27 ·31·} 
28 ·32 
29 ·33}·//·end·namespace·Dune 
30 ·34 
31 ·35#endif·//·DUNE_COMMON_CONDITIONAL_HH 
32 Dune 
33 Dune·namespace. 
34 Definition·alignedallocator.hh:13 
35 Dune::cond 
36 const·T1·cond(bool·b,·const·T1·&v1,·const·T2·&v2) 
37 conditional·evaluate 
38 Definition·conditional.hh:28 
  
39 ===============================================================================25 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.826 ·····Generated·by [doxygen]·1.9.8
12.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00320.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 73, 53 lines modifiedOffset 73, 59 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.··83 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.··
84 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>85 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00335_source.html">localindex.hh</a>&quot;</code><br·/>
 86 <code>#include·&quot;<a·class="el"·href="a00329_source.html">indexset.hh</a>&quot;</code><br·/>
 87 <code>#include·&quot;<a·class="el"·href="a00323_source.html">mpitraits.hh</a>&quot;</code><br·/>
86 <code>#include·&lt;string&gt;</code><br·/>88 <code>#include·&lt;iostream&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
90 </div>89 </div>
91 <p><a·href="a00320_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00320_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">91 <table·class="memberdecls">
93 <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>
94 Classes</h2></td></tr>93 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="a02168.html">Dune::MPIData&lt;·T,·Enable·&gt;</a></td></tr>94 <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>
 95 <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>
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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html">Dune::MPIData&lt;·void·&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="a02224.html">Dune::LocalIndexComparator&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></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">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[·...·truncated·by·diffoscope;·len:·25,·SHA:·bef892011d58b78b0cf0b179cab496067daa008677abfa61c242404bba886473·...·]·&gt;·&gt;</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02228.html">Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
108 <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>
109 Functions</h2></td></tr>109 Functions</h2></td></tr>
110 <tr·class="memitem:a60e5c2863bb763524cbc65eaea515adb"·id="r_a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
111 <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>110 <tr·class="memitem:ga1cc47465a5be4434d0f4d5a99f56f952"·id="r_ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 111 <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·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;index)</td></tr>
 112 <tr·class="memdesc:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·the·local·index·to·a·stream.··<br·/></td></tr>
 113 <tr·class="separator:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:ga3f656ae09bca24998c26b42304a9d1b2"·id="r_ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 115 <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·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;p1,·const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;p2)</td></tr>
112 <tr·class="separator:a60e5c2863bb763524cbc65eaea515adb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:ga773d38fd187016eb6fef134776f7d761"·id="r_ga773d38fd187016eb6fef134776f7d761"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 118 <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·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;p1,·const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;p2)</td></tr>
 119 <tr·class="separator:ga773d38fd187016eb6fef134776f7d761"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table>120 </table>
114 <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>
 122 <div·class="textblock"><p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·</p>
 123 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
115 <div·class="textblock"><p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·</p> 
116 <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> 
117 <p>To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·<code>MPIData</code>·or·overload·<code>getMPIData</code>.·</p> 
118 </div></div><!--·contents·-->124 </div></div><!--·contents·-->
119 <!--·start·footer·part·-->125 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>126 <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.8127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>128 </small></address>
123 </body>129 </body>
124 </html>130 </html>
2.49 KB
html2text {}
    
Offset 8, 44 lines modifiedOffset 8, 51 lines modified
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 Classes·|·Namespaces·|·Functions14 Classes·|·Namespaces·|·Functions
15 mpidata.hh·File·Reference15 plocalindex.hh·File·Reference
16 Common·»·Parallel_Communication 
17 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for 
18 MPI·calls.·More... 
19 #include·<vector>16 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 17 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed
 18 computing.·More...
 19 #include·"localindex.hh"
 20 #include·"indexset.hh"
 21 #include·"mpitraits.hh"
20 #include·<string>22 #include·<iostream>
21 #include·<dune/common/typetraits.hh> 
22 #include·<dune/common/std/type_traits.hh> 
23 #include·<dune/common/parallel/mpitraits.hh> 
24 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
25 ·Classes24 ·Classes
26 struct· Dune::MPIData<_T,_Enable_>25 ·class· Dune::ParallelLocalIndex<_T_>
 26  ·······An·index·present·on·the·local·process·with·an·additional·attribute
 27 ·········flag.·More...
27  28  
28 struct· Dune::MPIData<_void_>29 struct· Dune::LocalIndexComparator<_ParallelLocalIndex<_T_>_>
29  30  
 31 ·class· Dune::MPITraits<_ParallelLocalIndex<_T_>_>
30 struct· Dune::MPIData<_T,_std::void_t<_std::tuple<_decltype(std::declval<_T_> 
31 ·········().data()),_decltype(std::declval<_T_>().size()),_typename_std:: 
32 ·········decay_t<_T_>::value_type_>_>_> 
33  32  
34 ·Namespaces33 ·Namespaces
35 namespace· Dune34 namespace· Dune
36  ··········Dune·namespace.35  ··········Dune·namespace.
37  36  
38 ·Functions37 ·Functions
39 template<class·T·>38 template<class·T·>
40 auto Dune::getMPIData·(T·&t)39 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelLocalIndex<·T
 40 ················>·&index)
 41  ··············Print·the·local·index·to·a·stream.
 42  
 43 template<typename·T·>
 44 ··········bool Dune::operator==·(const·ParallelLocalIndex<·T·>·&p1,·const
 45 ················ParallelLocalIndex<·T·>·&p2)
 46  
 47 template<typename·T·>
 48 ··········bool Dune::operator!=·(const·ParallelLocalIndex<·T·>·&p1,·const
 49 ················ParallelLocalIndex<·T·>·&p2)
41  50  
42 *****·Detailed·Description·*****51 *****·Detailed·Description·*****
 52 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed
 53 computing.
 54 ··Author
 55 ······Markus·Blatt
43 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for 
44 MPI·calls. 
45 Furthermore·it·can·be·used·to·resize·the·object·if·possible.·This·makes·it 
46 possible·to·receive·a·message·with·variable·size.·See·Communication::rrecv. 
47 To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·MPIData·or 
48 overload·getMPIData. 
  
49 ===============================================================================56 ===============================================================================
50 ·····Generated·by [doxygen]·1.9.857 ·····Generated·by [doxygen]·1.9.8
91.4 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 192 lines modifiedOffset 74, 302 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpidata.hh</div></div>80 ··<div·class="headertitle"><div·class="title">plocalindex.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_PLOCALINDEX_HH</span></div>
89 <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>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_PLOCALINDEX_HH</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00335.html">localindex.hh</a>&quot;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00329.html">indexset.hh</a>&quot;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00323.html">mpitraits.hh</a>&quot;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·HAVE_MPI</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <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>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/std/type_traits.hh</a>&gt;</span></div> 
98 <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/parallel/mpitraits.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 101 <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>
 102 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
100 <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>103 <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>
 104 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
 105 <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>
101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>106 <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="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>&gt;</div>107 <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>
 108 <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>
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>MPIData;</div>109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">return</span>·os;</div>
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
105 <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> 
106 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> 
107 <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> 
108 <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> 
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div>
110 </div>111 </div>
111 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
112 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="comment">//·Default·implementation·for·static·datatypes</span></div> 
113 <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>113 <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>
114 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};">114 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">
115 <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>115 <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>
116 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>
117 <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>117 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 118 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·friend·declaration·needed·for·MPITraits</span></div>
 119 <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>
118 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">protected</span>:</div>120 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div>
119 <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>121 <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[·...·truncated·by·diffoscope;·len:·25,·SHA:·3ddcef00a17d98d34a97227cbd41169c18f86badafea8d5ae8877f04f77ef9b2·...·];</div>
120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>122 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
121 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> 
122 <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> 
123 <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> 
124 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{}</div> 
125 </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">public</span>:</div>123 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>
 124 <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>
 125 <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>
128 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> 
129 <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> 
130 <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> 
131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> 
132 </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">//·indicates·whether·the·datatype·can·be·resized</span></div> 
135 <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> 
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
137 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}"> 
138 <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> 
139 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·1;</div> 
140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div> 
141 </div> 
142 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
143 <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> 
144 <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> 
145 <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> 
146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div> 
147 </div> 
148 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··};</div>126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 127 <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>
 128 <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>
149 </div> 
150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·dummy·implementation·for·void</span></div> 
152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>&lt;&gt;</div> 
153 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="};"> 
154 <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> 
155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">protected</span>:</div> 
156 <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> 
157 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">public</span>:</div> 
159 <div·class="foldopen"·id="foldopen00083"·data-start="{"·data-end="}"> 
160 <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> 
161 <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> 
162 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div> 
163 </div> 
164 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}"> 
165 <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> 
166 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·0;</div> 
167 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
168 </div> 
Max diff block lines reached; 48591/79450 bytes (61.16%) of diff not shown.
13.7 KB
html2text {}
    
Offset 8, 218 lines modifiedOffset 8, 326 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 mpidata.hh14 plocalindex.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·521 ·5
22 ·6#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH 
23 ·7#define·DUNE_COMMON_PARALLEL_MPIDATA_HH22 ·6#ifndef·DUNE_PLOCALINDEX_HH
 23 ·7#define·DUNE_PLOCALINDEX_HH
24 ·824 ·8
25 ·9#include·<vector>25 ·9#include·"localindex.hh"
 26 ·10#include·"indexset.hh"
 27 ·11#include·"mpitraits.hh"
 28 ·12
26 ·10#include·<string>29 ·13#include·<iostream>
 30 ·14
 31 ·15namespace·Dune
 32 ·16{
27 ·11 
28 ·12#if·HAVE_MPI 
29 ·13 
30 ·14#include·<dune/common/typetraits.hh> 
31 ·15#include·<dune/common/std/type_traits.hh> 
32 ·16#include·<dune/common/parallel/mpitraits.hh> 
33 ·1733 ·17
 34 ·18
 35 ·29·template<class·T>·class·ParallelLocalIndex;
 36 ·30
34 ·37namespace·Dune{ 
35 ·38 
36 ·39·template<class,·class·=·void> 
37 ·40·struct·MPIData; 
38 ·41 
39 ·42·template<class·T>37 ·36·template<class·T>
40 43·auto·getMPIData(T&·t){ 
41 ·44·return·MPIData<T>(t);38 37·std::ostream&·operator<<(std::ostream&·os,·const·ParallelLocalIndex<T>&
 39 index)
 40 ·38·{
 41 ·39·os<<"{local="<<index.localIndex_<<",·attr="<<T(index.attribute_)<<",
 42 public="
 43 ·40·<<(index.public_·?·true·:·false)<<"}";
 44 ·41·return·os;
42 ·45·}45 ·42·}
 46 ·43
 47 ·47·template<typename·T>
 48 48·class·ParallelLocalIndex
 49 ·49·{
 50 ·50#if·HAVE_MPI
 51 ·51·//·friend·declaration·needed·for·MPITraits
 52 ·52·friend·struct·MPITraits<ParallelLocalIndex<T>·>;
 53 ·53#endif
 54 ·54·friend·std::ostream&·operator<<<>(std::ostream&·os,·const
 55 ParallelLocalIndex<T>&·index);
 56 ·55
43 ·46 
44 ·47·//·Default·implementation·for·static·datatypes 
45 ·48·template<class·T,·class·Enable> 
46 49·struct·MPIData 
47 ·50·{ 
48 ·51·friend·auto·getMPIData<T>(T&); 
49 ·52·protected: 
50 53·T&·data_; 
51 ·54 
52 55·MPIData(T&·t) 
53 ·56·:·data_(t) 
54 ·57·{} 
55 ·58 
56 ·59·public:57 ·56·public:
 58 64·typedef·T·Attribute;
 59 ·73·ParallelLocalIndex(const·Attribute&·attribute,·bool·isPublic);
 60 ·74
 61 ·83·ParallelLocalIndex(size_t·localIndex,·const·Attribute&·attribute,·bool
 62 isPublic=true);
 63 ·89·ParallelLocalIndex();
 64 ·90
 65 ·91#if·0
 66 ·101·ParallelLocalIndex(const·Attribute&·attribute,·size_t·local,·bool
 67 isPublic);
 68 ·102#endif
57 60·void*·ptr()·const·{ 
58 ·61·return·(void*)&data_; 
59 ·62·} 
60 ·63 
61 ·64·//·indicates·whether·the·datatype·can·be·resized 
62 65·static·constexpr·bool·static_size·=·true; 
63 ·66 
64 67·int·size()·const{ 
65 ·68·return·1; 
66 ·69·} 
67 ·70 
68 71·MPI_Datatype·type()·const·{ 
69 ·72·return·MPITraits<std::decay_t<T>>::getType(); 
70 ·73·} 
71 ·74·}; 
72 ·75 
73 ·76·//·dummy·implementation·for·void 
74 ·77·template<> 
75 78·struct·MPIData<void>{ 
76 ·79·protected: 
77 80·MPIData()·{} 
78 ·81 
79 ·82·public: 
80 83·void*·ptr(){ 
81 ·84·return·nullptr; 
82 ·85·} 
83 86·int·size(){ 
84 ·87·return·0; 
85 ·88·} 
86 89·void·get(){} 
87 90·MPI_Datatype·type()·const{ 
88 ·91·return·MPI_INT; 
89 ·92·} 
90 ·93·}; 
91 ·94 
92 ·95·//·specializations: 
93 ·96·//·std::vector·of·static·sized·elements·or·std::string 
94 ·97·template<class·T> 
95 98·struct·MPIData<T,·std::void_t<std::tuple<decltype(std::declval<T>().data()), 
Max diff block lines reached; 10026/13998 bytes (71.62%) of diff not shown.
5.34 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 20 lines modifiedOffset 69, 47 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh·File·Reference</div></div>75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>··</div>
 78 ··<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>
76 </div><!--header-->79 </div><!--header-->
77 <div·class="contents">80 <div·class="contents">
78 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
 81 <p>Traits·classes·for·mapping·types·onto·MPI_Datatype.··
 82 <a·href="#details">More...</a></p>
 83 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;cstdint&gt;</code><br·/>
 85 <code>#include·&lt;type_traits&gt;</code><br·/>
 86 <code>#include·&lt;utility&gt;</code><br·/>
 87 <code>#include·&lt;complex&gt;</code><br·/>
 88 <code>#include·&lt;mpi.h&gt;</code><br·/>
79 </div>89 </div>
80 <p><a·href="a00323_source.html">Go·to·the·source·code·of·this·file.</a></p>90 <p><a·href="a00323_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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="a01288.html">Dune::MPITraits&lt;·T·&gt;</a></td></tr>
 95 <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>
 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="namespaces"·name="namespaces"></a>
 99 Namespaces</h2></td></tr>
 100 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memdesc: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="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 </table>
 104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 105 <div·class="textblock"><p>Traits·classes·for·mapping·types·onto·MPI_Datatype.·</p>
 106 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
81 </div><!--·contents·-->107 </div></div><!--·contents·-->
82 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>109 <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.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
85 </small></address>111 </small></address>
86 </body>112 </body>
87 </html>113 </html>
954 B
html2text {}
    
Offset 7, 13 lines modifiedOffset 7, 34 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 collectivecommunication.hh·File·Reference 
14 #include·<dune/common/parallel/communication.hh>13 Classes·|·Namespaces
 14 mpitraits.hh·File·Reference
 15 Common·»·Parallel_Communication
 16 Traits·classes·for·mapping·types·onto·MPI_Datatype.·More...
 17 #include·<cstddef>
 18 #include·<cstdint>
 19 #include·<type_traits>
 20 #include·<utility>
 21 #include·<complex>
 22 #include·<mpi.h>
15 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
 24 ·Classes
 25 struct· Dune::MPITraits<_T_>
 26  ·······A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.
 27 ·········More...
 28  
 29 ·Namespaces
 30 namespace· Dune
 31  ··········Dune·namespace.
 32  
 33 *****·Detailed·Description·*****
 34 Traits·classes·for·mapping·types·onto·MPI_Datatype.
 35 ··Author
 36 ······Markus·Blatt
  
16 ===============================================================================37 ===============================================================================
17 ·····Generated·by [doxygen]·1.9.838 ·····Generated·by [doxygen]·1.9.8
39.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 23 lines modifiedOffset 74, 214 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpitraits.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MPITRAITS_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MPITRAITS_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 91 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 92 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 93 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 94 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 95 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 97 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 98 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 99 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 100 <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>
 101 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
 102 <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>
 103 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};">
 104 <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>
 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>··<span·class="keyword">private</span>:</div>
 107 <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>
 108 <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>
 109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div>
 110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div>
 111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">public</span>:</div>
 112 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}">
 113 <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>
 114 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div>
 115 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div>
 116 <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>
 117 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········MPI_Type_commit(&amp;datatype);</div>
 118 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div>
 119 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·datatype;</div>
 120 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div>
 121 </div>
 122 <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>
 123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div>
 124 </div>
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 128 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 129 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 130 <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>
 131 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#define·ComposeMPITraits(p,m)···················\</span></div>
 132 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">··template&lt;&gt;····································\</span></div>
 133 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">··struct·MPITraits&lt;p&gt;{··························\</span></div>
 134 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">····static·inline·MPI_Datatype·getType(){·······\</span></div>
 135 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">······return·m;·································\</span></div>
 136 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">····}···········································\</span></div>
 137 <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>
 138 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">··}</span></div>
 139 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 140 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··ComposeMPITraits(<span·class="keywordtype">char</span>,·MPI_CHAR);</div>
 141 <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>
 142 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··ComposeMPITraits(<span·class="keywordtype">short</span>,MPI_SHORT);</div>
 143 <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>
 144 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··ComposeMPITraits(<span·class="keywordtype">int</span>,MPI_INT);</div>
 145 <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>
 146 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··ComposeMPITraits(<span·class="keywordtype">long</span>,MPI_LONG);</div>
 147 <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>
 148 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··ComposeMPITraits(<span·class="keywordtype">float</span>,MPI_FLOAT);</div>
 149 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··ComposeMPITraits(<span·class="keywordtype">double</span>,MPI_DOUBLE);</div>
 150 <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>
 151 <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>
 152 <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>
 153 <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>
 154 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 155 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 156 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#undef·ComposeMPITraits</span></div>
 157 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 158 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>;</div>
 159 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 160 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;</div>
 161 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,n&gt;·&gt;</div>
 162 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div>
 163 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div>
 164 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div>
 165 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 166 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·<a·class="code·hl_function"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>()</div>
 167 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····{</div>
 168 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div>
 169 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········MPI_Type_contiguous(n,·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;K&gt;::getType</a>(),·&amp;vectortype);</div>
 170 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>········MPI_Type_commit(&amp;vectortype);</div>
 171 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<a·class="code·hl_class"·href="a01412.html">FieldVector&lt;K,n&gt;</a>·fvector;</div>
 172 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········MPI_Aint·base;</div>
 173 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········MPI_Aint·displ;</div>
 174 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········MPI_Get_address(&amp;fvector,·&amp;base);</div>
 175 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>········MPI_Get_address(&amp;(fvector[0]),·&amp;displ);</div>
 176 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>········displ·-=·base;</div>
 177 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>········<span·class="keywordtype">int</span>·length[1]={1};</div>
 178 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 179 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>········MPI_Type_create_struct(1,·length,·&amp;displ,·&amp;vectortype,·&amp;datatype);</div>
 180 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>········MPI_Type_commit(&amp;datatype);</div>
 181 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>······}</div>
 182 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······<span·class="keywordflow">return</span>·datatype;</div>
 183 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····}</div>
Max diff block lines reached; 271/33503 bytes (0.81%) of diff not shown.
6.65 KB
html2text {}
    
Offset 8, 22 lines modifiedOffset 8, 223 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 collectivecommunication.hh14 mpitraits.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
 16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
18 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·3//·Will·be·removed·after·the·2.7·release 
20 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/ 
21 communication.hh>·instead!" 
22 ·5#include·<dune/common/parallel/communication.hh> 
23 communication.hh 
24 Implements·an·utility·class·that·provides·collective·communication·methods·for 
25 sequential·programs.21 ·5#ifndef·DUNE_MPITRAITS_HH
 22 ·6#define·DUNE_MPITRAITS_HH
 23 ·7
 24 ·18#if·HAVE_MPI
 25 ·19
 26 ·20#include·<cstddef>
 27 ·21#include·<cstdint>
 28 ·22#include·<type_traits>
 29 ·23#include·<utility>
 30 ·24#include·<complex>
 31 ·25
 32 ·26#include·<mpi.h>
 33 ·27
 34 ·28namespace·Dune
 35 ·29{
 36 ·39·template<typename·T>
 37 40·struct·MPITraits
 38 ·41·{
 39 ·42·private:
 40 ·43·MPITraits(){}
 41 ·44·MPITraits(const·MPITraits&){}
 42 ·45·static·MPI_Datatype·datatype;
 43 ·46·static·MPI_Datatype·vectortype;
 44 ·47·public:
 45 48·static·inline·MPI_Datatype·getType()
 46 ·49·{
 47 ·50·if(datatype==MPI_DATATYPE_NULL)·{
 48 ·51·MPI_Type_contiguous(sizeof(T),MPI_BYTE,&datatype);
 49 ·52·MPI_Type_commit(&datatype);
 50 ·53·}
 51 ·54·return·datatype;
 52 ·55·}
 53 56·static·constexpr·bool·is_intrinsic·=·false;
 54 ·57·};
 55 ·58·template<class·T>
 56 ·59·MPI_Datatype·MPITraits<T>::datatype·=·MPI_DATATYPE_NULL;
 57 ·60
 58 ·61#ifndef·DOXYGEN
 59 ·62
 60 ·63·//·A·Macro·for·defining·traits·for·the·primitive·data·types
 61 ·64#define·ComposeMPITraits(p,m)·\
 62 ·65·template<>·\
 63 ·66·struct·MPITraits<p>{·\
 64 ·67·static·inline·MPI_Datatype·getType(){·\
 65 ·68·return·m;·\
 66 ·69·}·\
 67 ·70·static·constexpr·bool·is_intrinsic·=·true;·\
 68 ·71·}
 69 ·72
 70 ·73·ComposeMPITraits(char,·MPI_CHAR);
 71 ·74·ComposeMPITraits(unsigned·char,MPI_UNSIGNED_CHAR);
 72 ·75·ComposeMPITraits(short,MPI_SHORT);
 73 ·76·ComposeMPITraits(unsigned·short,MPI_UNSIGNED_SHORT);
 74 ·77·ComposeMPITraits(int,MPI_INT);
 75 ·78·ComposeMPITraits(unsigned·int,MPI_UNSIGNED);
 76 ·79·ComposeMPITraits(long,MPI_LONG);
 77 ·80·ComposeMPITraits(unsigned·long,MPI_UNSIGNED_LONG);
 78 ·81·ComposeMPITraits(float,MPI_FLOAT);
 79 ·82·ComposeMPITraits(double,MPI_DOUBLE);
 80 ·83·ComposeMPITraits(long·double,MPI_LONG_DOUBLE);
 81 ·84·ComposeMPITraits(std::complex<double>,·MPI_CXX_DOUBLE_COMPLEX);
 82 ·85·ComposeMPITraits(std::complex<long·double>,·MPI_CXX_LONG_DOUBLE_COMPLEX);
 83 ·86·ComposeMPITraits(std::complex<float>,·MPI_CXX_FLOAT_COMPLEX);
 84 ·87
 85 ·88
 86 ·89#undef·ComposeMPITraits
 87 ·90
 88 ·91·template<class·K,·int·n>·class·FieldVector;
 89 ·92
 90 ·93·template<class·K,·int·n>
 91 ·94·struct·MPITraits<FieldVector<K,n>·>
 92 ·95·{
 93 ·96·static·MPI_Datatype·datatype;
 94 ·97·static·MPI_Datatype·vectortype;
 95 ·98
 96 ·99·static·inline·MPI_Datatype·getType()
 97 ·100·{
 98 ·101·if(datatype==MPI_DATATYPE_NULL)·{
 99 ·102·MPI_Type_contiguous(n,·MPITraits<K>::getType(),·&vectortype);
 100 ·103·MPI_Type_commit(&vectortype);
 101 ·104·FieldVector<K,n>·fvector;
 102 ·105·MPI_Aint·base;
 103 ·106·MPI_Aint·displ;
 104 ·107·MPI_Get_address(&fvector,·&base);
 105 ·108·MPI_Get_address(&(fvector[0]),·&displ);
 106 ·109·displ·-=·base;
 107 ·110·int·length[1]={1};
 108 ·111
 109 ·112·MPI_Type_create_struct(1,·length,·&displ,·&vectortype,·&datatype);
 110 ·113·MPI_Type_commit(&datatype);
 111 ·114·}
 112 ·115·return·datatype;
 113 ·116·}
 114 ·117
 115 ·118·};
 116 ·119
 117 ·120·template<class·K,·int·n>
 118 ·121·MPI_Datatype·MPITraits<FieldVector<K,n>·>::datatype·=·MPI_DATATYPE_NULL;
 119 ·122·template<class·K,·int·n>
 120 ·123·MPI_Datatype·MPITraits<FieldVector<K,n>·>::vectortype·=
 121 {MPI_DATATYPE_NULL};
 122 ·124
 123 ·125
 124 ·126·template<int·k>
 125 ·127·class·bigunsignedint;
 126 ·128
 127 ·129·template<int·k>
Max diff block lines reached; 116/6786 bytes (1.71%) of diff not shown.
8.48 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 49 lines modifiedOffset 71, 46 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
 79 ··<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>
79 <a·href="#enum-members">Enumerations</a>··</div> 
80 ··<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> 
81 </div><!--header-->80 </div><!--header-->
82 <div·class="contents">81 <div·class="contents">
  
83 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.··82 <p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.··
84 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>84 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00347_source.html">mpihelper.hh</a>&quot;</code><br·/>
 85 <code>#include·&quot;<a·class="el"·href="a00359_source.html">communication.hh</a>&quot;</code><br·/>
 86 <code>#include·&quot;<a·class="el"·href="a00332_source.html">mpicommunication.hh</a>&quot;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
86 </div>88 </div>
87 <p><a·href="a00326_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00326_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">90 <table·class="memberdecls">
89 <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>
90 Classes</h2></td></tr>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="a02196.html">Dune::MPIGuardError</a></td></tr>
 94 <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>
 95 <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="a02156.html">Dune::LocalIndex</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="a02200.html">Dune::MPIGuard</a></td></tr>
92 <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>97 <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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
95 <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>
96 Namespaces</h2></td></tr>101 Namespaces</h2></td></tr>
97 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <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="enum-members"·name="enum-members"></a> 
102 Enumerations</h2></td></tr> 
103 <tr·class="memitem:ga4f24bf6f596bf963429e084ecf3a0835"·id="r_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> 
104 ,·<a·class="el"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">Dune::DELETED</a> 
105 ·}</td></tr> 
106 <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> 
107 <tr·class="separator:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 </table>105 </table>
109 <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>
110 <div·class="textblock"><p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·</p>107 <div·class="textblock"><p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·</p>
111 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>108 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>
112 </div></div><!--·contents·-->109 </div></div><!--·contents·-->
113 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>111 <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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
116 </small></address>113 </small></address>
117 </body>114 </body>
118 </html>115 </html>
1.52 KB
html2text {}
    
Offset 7, 32 lines modifiedOffset 7, 36 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces·|·Enumerations 
14 localindex.hh·File·Reference 
15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
16 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·More... 
17 #include·<cstddef>13 Classes·|·Namespaces
 14 mpiguard.hh·File·Reference
 15 Common·»·Parallel_Communication
 16 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·More...
 17 #include·"mpihelper.hh"
 18 #include·"communication.hh"
 19 #include·"mpicommunication.hh"
 20 #include·<dune/common/exceptions.hh>
18 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
19 ·Classes22 ·Classes
20 class· Dune::LocalIndex 
21  ······An·index·present·on·the·local·process.·More...23 class· Dune::MPIGuardError
 24  ······This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote
 25 ········process.·More...
 26  
 27 class· Dune::MPIGuard
 28  ······detects·a·thrown·exception·and·communicates·to·all·other·processes
 29 ········More...
22  30  
23 ·Namespaces31 ·Namespaces
24 namespace· Dune32 namespace· Dune
25  ··········Dune·namespace.33  ··········Dune·namespace.
26  34  
27 ·Enumerations 
28 enum· Dune::LocalIndexState·{·Dune::VALID·,·Dune::DELETED·} 
29  ·····The·states·available·for·the·local·indices.·More... 
30   
31 *****·Detailed·Description·*****35 *****·Detailed·Description·*****
32 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.36 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.
33 ··Author37 ··Author
34 ······Markus·Blatt38 ······Christian·Engwer
  
35 ===============================================================================39 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.840 ·····Generated·by [doxygen]·1.9.8
54.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·mpiguard.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 74, 113 lines modifiedOffset 74, 208 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">localindex.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpiguard.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LOCALINDEX_HH</span></div>88 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MPIGUARD_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_LOCALINDEX_HH</span></div>89 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·DUNE_COMMON_MPIGUARD_HH</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>90 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 91 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00347.html">mpihelper.hh</a>&quot;</span></div>
 92 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00359.html">communication.hh</a>&quot;</span></div>
 93 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00332.html">mpicommunication.hh</a>&quot;</span></div>
 94 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
93 <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>96 <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>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>98 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>99 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">···28</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·{<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>,·<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">DELETED</a>};</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>100 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 101 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="comment">/*</span></div>
 102 <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>
 103 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">···*/</span></div>
 104 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">struct·</span>GuardCommunicator</div>
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>105 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div>
100 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> 
101 <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> 
102 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>106 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//·cleanup</span></div>
 107 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">virtual</span>·~GuardCommunicator()·{};</div>
 108 <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>
 109 <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>
 110 <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>
 111 <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>
 112 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="comment">//·create·a·new·GuardCommunicator·pointer</span></div>
 113 <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>
 114 <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>
 115 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
103 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">inline</span></div>
 117 <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>
104 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="}"> 
105 <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> 
106 <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> 
107 </div> 
108 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>118 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif</span></div>
109 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>119 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div>
110 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="}"> 
111 <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> 
112 <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> 
113 </div> 
114 <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> 
115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>120 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>{</div>
 122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="comment">/*</span></div>
 123 <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>
 124 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·····*/</span></div>
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator</div>
 128 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div>
 129 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{};</div>
 130 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·specialization·for·Communication</span></div>
116 <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>131 <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>
 132 <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>
 133 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div>
 134 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 135 <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>
 136 <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>
 137 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········comm(c)·{}</div>
 138 <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>
 139 <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>
 140 <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>
 141 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div>
117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>142 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
118 <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> 
119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>143 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
120 <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#gaa2f12589[·...·truncated·by·diffoscope;·len:·73,·SHA:·44f2956c36013c3d920c272289b2f8ec2b4b4c3b9432c57000cdcee1551b33e5·...·]</div>144 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·specialization·for·MPI_Comm</span></div>
 145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">template</span>·&lt;&gt;</div>
 146 <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>
 147 <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>
121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>148 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····{</div>
122 <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>149 <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>
 150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;(</div>
 151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··········Communication&lt;MPI_Comm&gt;(c))·{}</div>
 152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····};</div>
 153 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div>
 154 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}···<span·class="comment">//·anonymous·namespace</span></div>
123 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>155 <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">private</span>:</div>156 <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>
 157 <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>
125 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····std::size_t·localIndex_;</div>158 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>
 159 <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>
 160 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div>
126 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>161 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">char</span>·state_;</div>162 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 163 <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>
128 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>164 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div>
 165 <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>
 166 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div>
 167 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif</span></div>
129 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div>168 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
Max diff block lines reached; 25162/46879 bytes (53.67%) of diff not shown.
8.41 KB
html2text {}
    
Offset 8, 122 lines modifiedOffset 8, 229 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 localindex.hh14 mpiguard.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·521 ·5
22 ·6#ifndef·DUNE_COMMON_LOCALINDEX_HH22 ·13#ifndef·DUNE_COMMON_MPIGUARD_HH
23 ·7#define·DUNE_COMMON_LOCALINDEX_HH23 ·14#define·DUNE_COMMON_MPIGUARD_HH
24 ·8 
25 ·9#include·<cstddef> 
26 ·1024 ·15
 25 ·16#include·"mpihelper.hh"
 26 ·17#include·"communication.hh"
 27 ·18#include·"mpicommunication.hh"
 28 ·19#include·<dune/common/exceptions.hh>
 29 ·20
27 ·11namespace·Dune30 ·21namespace·Dune
28 ·12{31 ·22{
29 ·13 
30 ·14 
31 28·enum·LocalIndexState·{VALID,·DELETED}; 
32 ·29 
33 ·30 
34 34·class·LocalIndex32 ·23
 33 ·24#ifndef·DOXYGEN
 34 ·25
 35 ·26·/*
 36 ·27·Interface·class·for·the·communication·needed·by·MPIGuard
 37 ·28·*/
 38 ·29·struct·GuardCommunicator
35 ·35·{39 ·30·{
36 ·36·public: 
37 41·LocalIndex()·: 
38 ·42·localIndex_(0),·state_(VALID){} 
39 ·43 
40 ·44 
41 49·LocalIndex(std::size_t·index)·: 
42 ·50·localIndex_(index),·state_(VALID){} 
43 ·55·inline·const·std::size_t&·local()·const; 
44 ·56 
45 ·60·inline·operator·std::size_t()·const; 
46 ·61 
47 ·67·inline·LocalIndex&·operator=(std::size_t·index); 
48 ·68 
49 ·73·inline·LocalIndexState·state()·const; 
50 ·74 
51 ·79·inline·void·setState(LocalIndexState·state);40 ·31·//·cleanup
 41 ·32·virtual·~GuardCommunicator()·{};
 42 ·33·//·all·the·communication·methods·we·need
 43 ·34·virtual·int·rank()·=·0;
 44 ·35·virtual·int·size()·=·0;
 45 ·36·virtual·int·sum(int·i)·=·0;
 46 ·37·//·create·a·new·GuardCommunicator·pointer
 47 ·38·template·<class·C>
 48 ·39·static·GuardCommunicator·*·create(const·Communication<C>·&·c);
 49 ·40#if·HAVE_MPI
 50 ·41·inline
 51 ·42·static·GuardCommunicator·*·create(const·MPI_Comm·&·c);
 52 ·43#endif
 53 ·44·};
 54 ·45
 55 ·46·namespace·{
 56 ·47·/*
 57 ·48·templated·implementation·of·different·communication·classes
 58 ·49·*/
 59 ·50·//·the·default·class·will·always·fail,·due·to·the·missing·implementation·of
 60 "sum"
 61 ·51·template·<class·Imp>
 62 ·52·struct·GenericGuardCommunicator
 63 ·53·:·public·GuardCommunicator
 64 ·54·{};
 65 ·55·//·specialization·for·Communication
 66 ·56·template·<class·T>
 67 ·57·struct·GenericGuardCommunicator<·Communication<T>·>
 68 ·58·:·public·GuardCommunicator
 69 ·59·{
 70 ·60·const·Communication<T>·comm;
 71 ·61·GenericGuardCommunicator(const·Communication<T>·&·c)·:
 72 ·62·comm(c)·{}
 73 ·63·int·rank()·override·{·return·comm.rank();·};
 74 ·64·int·size()·override·{·return·comm.size();·};
 75 ·65·int·sum(int·i)·override·{·return·comm.sum(i);·}
 76 ·66·};
 77 ·67
 78 ·68#if·HAVE_MPI
 79 ·69·//·specialization·for·MPI_Comm
 80 ·70·template·<>
 81 ·71·struct·GenericGuardCommunicator<MPI_Comm>
 82 ·72·:·public·GenericGuardCommunicator<·Communication<MPI_Comm>·>
 83 ·73·{
 84 ·74·GenericGuardCommunicator(const·MPI_Comm·&·c)·:
 85 ·75·GenericGuardCommunicator<·Communication<MPI_Comm>·>(
 86 ·76·Communication<MPI_Comm>(c))·{}
 87 ·77·};
 88 ·78#endif
 89 ·79·}·//·anonymous·namespace
52 ·8090 ·80
53 ·81·private: 
54 ·83·std::size_t·localIndex_; 
55 ·84 
56 ·91·char·state_; 
57 ·92 
58 ·93·}; 
59 ·9491 ·81·template<class·C>
 92 ·82·GuardCommunicator·*·GuardCommunicator::create(const·Communication<C>·&
 93 comm)
 94 ·83·{
 95 ·84·return·new·GenericGuardCommunicator<·Communication<C>·>(comm);
 96 ·85·}
 97 ·86
 98 ·87#if·HAVE_MPI
 99 ·88·GuardCommunicator·*·GuardCommunicator::create(const·MPI_Comm·&·comm)
 100 ·89·{
 101 ·90·return·new·GenericGuardCommunicator<·Communication<MPI_Comm>·>(comm);
 102 ·91·}
 103 ·92#endif
 104 ·93
 105 ·94#endif
Max diff block lines reached; 5063/8591 bytes (58.93%) of diff not shown.
26.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 64 lines modifiedOffset 72, 117 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#typedef-members">Typedefs</a>·&#124;79 <a·href="#enum-members">Enumerations</a>·&#124;
80 <a·href="#func-members">Functions</a>··</div>80 <a·href="#func-members">Functions</a>··</div>
81 ··<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></div></div></div>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.··84 <p>Provides·a·map·between·global·and·local·indices.··
85 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>86 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
87 <code>#include·&lt;complex&gt;</code><br·/> 
88 <code>#include·&lt;algorithm&gt;</code><br·/> 
89 <code>#include·&lt;vector&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/arraylist.hh</a>&gt;</code><br·/>
91 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;iostream&gt;</code><br·/>
92 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>90 <code>#include·&quot;<a·class="el"·href="a00335_source.html">localindex.hh</a>&quot;</code><br·/>
 91 <code>#include·&lt;stdint.h&gt;</code><br·/>
93 </div>92 </div>
94 <p><a·href="a00329_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00329_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">94 <table·class="memberdecls">
96 <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>
97 Classes</h2></td></tr>96 Classes</h2></td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01984.html">Dune::No_Comm</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02092.html">Dune::IndexPair&lt;·TG,·TL·&gt;</a></td></tr>
 98 <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>
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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02096.html">Dune::InvalidIndexSetState</a></td></tr>
 101 <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>
 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="a02104.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</a></td></tr>
 104 <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>
 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="a02108.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator</a></td></tr>
 107 <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>
 108 <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="a01988.html">Dune::Communication&lt;·Communicator·&gt;</a></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="a02100.html">Dune::GlobalLookupIndexSet&lt;·I·&gt;</a></td></tr>
101 <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>110 <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>
 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="a02112.html">Dune::LocalIndexComparator&lt;·T·&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="a02116.html">Dune::IndexSetSortFunctor&lt;·TG,·TL·&gt;</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">116 </table><table·class="memberdecls">
104 <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>
105 Namespaces</h2></td></tr>118 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table><table·class="memberdecls">122 </table><table·class="memberdecls">
110 <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="enum-members"·name="enum-members"></a>
111 Typedefs</h2></td></tr> 
112 <tr·class="memitem:a51c6057d41509cc616fb60f483d7d6dd"·id="r_a51c6057d41509cc616fb60f483d7d6dd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
113 <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::CollectiveC[·...·truncated·by·diffoscope;·len:·80,·SHA:·d9b7cf94ada90137b8e26f3e776a4565aca0cff325095db80d2f3ee83e3b9421·...·]</td></tr>124 Enumerations</h2></td></tr>
 125 <tr·class="memitem:ga1b1dd66b80964351e68f44bddb32593e"·id="r_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>
 126 ,·<a·class="el"·href="a00416.html#gga1b1dd66b80964351e68f44bddb32593ea2fbc0ce9b92442e69a405a452f2ef416">Dune::RESIZE</a>
 127 ·}</td></tr>
 128 <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>
114 <tr·class="separator:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>129 <tr·class="separator:ga1b1dd66b80964351e68f44bddb32593e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table><table·class="memberdecls">130 </table><table·class="memberdecls">
116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>131 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
117 Functions</h2></td></tr>132 Functions</h2></td></tr>
118 <tr·class="memitem:aee0776cda12fa2fc183e2796bcc23743"·id="r_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·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;,·const·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;)</td></tr> 
119 <tr·class="memdesc:aee0776cda12fa2fc183e2796bcc23743"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<br·/></td></tr>133 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"·id="r_ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 134 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;pair)</td></tr>
 135 <tr·class="memdesc:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·an·index·pair.··<br·/></td></tr>
120 <tr·class="separator:aee0776cda12fa2fc183e2796bcc23743"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:a02c039e6b551a3771cc8c60e84e9bcdc"·id="r_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·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;,·const·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;)</td></tr> 
122 <tr·class="memdesc:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<br·/></td></tr>137 <tr·class="memitem:ga7795b290702a59497007270c46e2b8c6"·id="r_ga7795b290702a59497007270c46e2b8c6"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 138 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 139 <tr·class="separator:ga7795b290702a59497007270c46e2b8c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:ga3a50aa86c8ff96eee7ef68200531326d"·id="r_ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 141 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 142 <tr·class="separator:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:ga0d9a1c3873a538aa66c22b03b406db87"·id="r_ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 144 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 145 <tr·class="separator:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:ga0bc63043e58d66643b64cbd6b08dfb82"·id="r_ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 147 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 148 <tr·class="separator:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:ga6cdf9614911aa5cd70ed58663de013c2"·id="r_ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 150 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr>
123 <tr·class="separator:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>151 <tr·class="separator:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:ga5c5245f4fd0352faad94ca8e9c1f6c6f"·id="r_ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 153 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 154 <tr·class="separator:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 155 <tr·class="memitem:ga239e646b27f7f35ac944aebb59380913"·id="r_ga239e646b27f7f35ac944aebb59380913"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 156 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 157 <tr·class="separator:ga239e646b27f7f35ac944aebb59380913"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"·id="r_gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 159 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gadf0b39a244a69d9e7f71811f960a5728">Dune::operator!=</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 160 <tr·class="separator:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 161 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"·id="r_ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 162 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga912a9eba5f4d34e7e50ef4335b7ba108">Dune::operator&lt;</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 163 <tr·class="separator:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"·id="r_gab4b337bd4e613e88381306db889e811f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 165 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gab4b337bd4e613e88381306db889e811f">Dune::operator&gt;</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 166 <tr·class="separator:gab4b337bd4e613e88381306db889e811f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 167 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"·id="r_gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 168 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gad6d5923b72e3214d9f20349b722ea874">Dune::operator&lt;=</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 169 <tr·class="separator:gad6d5923b72e3214d9f20349b722ea874"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 170 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"·id="r_ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 171 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7d670d228f6635f587d21ef117951fd9">Dune::operator&gt;=</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 172 <tr·class="separator:ga7d670d228f6635f587d21ef117951fd9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 173 <tr·class="memitem:gac377e14b5944471054bdb0012008393b"·id="r_gac377e14b5944471054bdb0012008393b"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·,·int·N&gt;·</td></tr>
 174 <tr·class="memitem:gac377e14b5944471054bdb0012008393b"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gac377e14b5944471054bdb0012008393b">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·<a·class="el"·href="a02104.html">ParallelIndexSet</a>&lt;·TG,·TL,·N·&gt;·&amp;indexSet)</td></tr>
Max diff block lines reached; 783/22343 bytes (3.50%) of diff not shown.
4.57 KB
html2text {}
    
Offset 7, 50 lines modifiedOffset 7, 109 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces·|·Typedefs·|·Functions13 Classes·|·Namespaces·|·Enumerations·|·Functions
 14 indexset.hh·File·Reference
 15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 16 Provides·a·map·between·global·and·local·indices.·More...
14 communication.hh·File·Reference 
15 Common·»·Parallel_Communication 
16 Implements·an·utility·class·that·provides·collective·communication·methods·for 
17 sequential·programs.·More... 
18 #include·<iostream> 
19 #include·<complex> 
20 #include·<algorithm>17 #include·<algorithm>
21 #include·<vector> 
22 #include·<dune/common/binaryfunctions.hh>18 #include·<dune/common/arraylist.hh>
23 #include·<dune/common/exceptions.hh>19 #include·<dune/common/exceptions.hh>
24 #include·<dune/common/parallel/future.hh>20 #include·<iostream>
 21 #include·"localindex.hh"
 22 #include·<stdint.h>
25 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
26 ·Classes24 ·Classes
27 struct· Dune::No_Comm25 ·class· Dune::IndexPair<_TG,_TL_>
 26  ·······A·pair·consisting·of·a·global·and·local·index.·More...
 27  
 28 ·class· Dune::InvalidIndexSetState
 29  ·······Exception·indicating·that·the·index·set·is·not·in·the·expected·state.
 30 ·········More...
 31  
 32 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>
 33  ·······Manager·class·for·the·mapping·between·local·indices·and·globally
 34 ·········unique·indices.·More...
 35  
 36 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>::iterator
 37  ·······The·iterator·over·the·pairs.·More...
28  38  
29 ·class· Dune::Communication<_Communicator_> 
30  ·······Collective·communication·interface·and·sequential·default 
31 ·········implementation.·More...39 ·class· Dune::GlobalLookupIndexSet<_I_>
 40  ·······Decorates·an·index·set·with·the·possibility·to·find·a·global·index
 41 ·········that·is·mapped·to·a·specific·local.·More...
 42  
 43 struct· Dune::LocalIndexComparator<_T_>
 44  
 45 struct· Dune::IndexSetSortFunctor<_TG,_TL_>
32  46  
33 ·Namespaces47 ·Namespaces
34 namespace· Dune48 namespace· Dune
35  ··········Dune·namespace.49  ··········Dune·namespace.
36  50  
37 ·Typedefs 
38 template<class·T·> 
39 using Dune::CollectiveCommunication·=·Communication<·T·>51 ·Enumerations
 52 enum· Dune::ParallelIndexSetState·{·Dune::GROUND·,·Dune::RESIZE·}
 53  ·····The·states·the·index·set·can·be·in.·More...
40  54  
41 ·Functions55 ·Functions
42 bool Dune::operator==·(const·No_Comm·&,·const·No_Comm·&) 
43  ····Comparison·operator·for·MPI·compatibility.56 template<class·TG·,·class·TL·>
 57 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·IndexPair<·TG,·TL·>
 58 ················&pair)
 59  ··············Print·an·index·pair.
 60  
 61 template<class·TG·,·class·TL·>
 62 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 63 ················TG,·TL·>·&)
 64  
 65 template<class·TG·,·class·TL·>
 66 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 67 ················TG,·TL·>·&)
 68  
 69 template<class·TG·,·class·TL·>
 70 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 71 ················TG,·TL·>·&)
 72  
 73 template<class·TG·,·class·TL·>
 74 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 75 ················TG,·TL·>·&)
 76  
 77 template<class·TG·,·class·TL·>
 78 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 79 ················TG,·TL·>·&)
 80  
 81 template<class·TG·,·class·TL·>
 82 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 83 ················TG,·TL·>·&)
 84  
 85 template<class·TG·,·class·TL·>
 86 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 87  
 88 template<class·TG·,·class·TL·>
 89 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 90  
 91 template<class·TG·,·class·TL·>
 92 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 93  
 94 template<class·TG·,·class·TL·>
 95 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 96  
 97 template<class·TG·,·class·TL·>
 98 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 99  
 100 template<class·TG·,·class·TL·>
 101 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
44  102  
45 bool Dune::operator!=·(const·No_Comm·&,·const·No_Comm·&) 
46  ····Comparison·operator·for·MPI·compatibility.103 template<class·TG·,·class·TL·,·int·N>
 104 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelIndexSet<·TG,
 105 ················TL,·N·>·&indexSet)
 106  ··············Print·an·index·set.
47  107  
48 *****·Detailed·Description·*****108 *****·Detailed·Description·*****
 109 Provides·a·map·between·global·and·local·indices.
 110 ··Author
 111 ······Markus·Blatt
49 Implements·an·utility·class·that·provides·collective·communication·methods·for 
50 sequential·programs. 
51 An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the 
52 message-passing·paradigm. 
  
53 ===============================================================================112 ===============================================================================
54 ·····Generated·by [doxygen]·1.9.8113 ·····Generated·by [doxygen]·1.9.8
284 KB
./usr/share/doc/libdune-common-doc/doxygen/a00329_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 413 lines modifiedOffset 74, 957 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">communication.hh</div></div>80 ··<div·class="headertitle"><div·class="title">indexset.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDEXSET_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDEXSET_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00299.html">dune/common/arraylist.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00335.html">localindex.hh</a>&quot;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
90 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>97 <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="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
92 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>99 <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>
93 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
 101 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="comment">//·forward·declarations</span></div>
94 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/binaryfunctions.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00353.html">dune/common/parallel/future.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
98 <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>103 <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>
 104 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">class·</span>IndexPair;</div>
 105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 106 <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>
 107 <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>
 108 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 109 <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>
 110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 112 <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>
 113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
101 <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> 
102 <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>115 <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>
 116 <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>
103 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>117 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
104 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> 
105 <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#gaa43d9[·...·truncated·by·diffoscope;·len:·239,·SHA:·fc5a9b1ccc703a583b8daa60b184b2cb05b3e243279530f92826475b5c7c0031·...·]</div>118 <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>
 119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">operator&gt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
107 <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>121 <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>
 122 <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>
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div>123 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
109 </div>124 <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>
 125 <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>
110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>126 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
111 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> 
112 <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#gae5cc[·...·truncated·by·diffoscope;·len:·240,·SHA:·94450dd515c096d34c3e1fb87b2800283a4fcd7d48c7a3f61a17cf6606efee5d·...·]</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>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 128 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>129 <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>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>130 <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>
 131 <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>
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div>132 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
116 </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>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 134 <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>
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</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">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 137 <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>
 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>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 140 <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>
 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="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 143 <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>
 144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
118 <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>145 <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>
 146 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">struct·</span>MPITraits;</div>
 147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 148 <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>
119 <div·class="foldopen"·id="foldopen00099"·data-start="{"·data-end="};">149 <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="};">
120 <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>150 <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>
 151 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··{</div>
 152 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">friend</span>·std::ostream&amp;·operator&lt;&lt;&lt;&gt;(std::ostream&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 153 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator==&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 154 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator!=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 155 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;·&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 156 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 157 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 158 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div>
 159 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator==&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div>
 160 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator!=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div>
 161 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;·&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div>
 162 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;·&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div>
 163 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div>
 164 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00416.html#gac56f63a1893eb6178552c12f89661016">···98</a></span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div>
 165 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a02092.html">IndexPair</a>&lt;TG,TL&gt;·&gt;;</div>
121 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>166 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
122 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">public</span>:</div>167 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">public</span>:</div>
 168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">··107</a></span>····<span·class="keyword">typedef</span>·TG·<a·class="code·hl_typedef"·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">GlobalIndex</a>;</div>
123 <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> 
124 <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> 
125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{}</div> 
126 </div> 
127 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>169 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 170 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga43eed1b88f2bc2e0b683465638df39fb">··120</a></span>····<span·class="keyword">typedef</span>·TL·<a·class="code·hl_typedef"·href="a00416.html#ga43eed1b88f2bc2e0b683465638df39fb">LocalIndex</a>;</div>
128 <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}"> 
129 <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> 
130 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{}</div> 
Max diff block lines reached; 211119/244357 bytes (86.40%) of diff not shown.
45.6 KB
html2text {}
    
Offset 8, 481 lines modifiedOffset 8, 1115 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 communication.hh14 indexset.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 21 ·5#ifndef·DUNE_INDEXSET_HH
 22 ·6#define·DUNE_INDEXSET_HH
 23 ·7
21 ·5#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH 
22 ·6#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH 
23 ·14#include·<iostream> 
24 ·15#include·<complex> 
25 ·16#include·<algorithm>24 ·8#include·<algorithm>
26 ·17#include·<vector> 
27 ·18 
28 ·19#include·<dune/common/binaryfunctions.hh>25 ·9#include·<dune/common/arraylist.hh>
29 ·20#include·<dune/common/exceptions.hh>26 ·10#include·<dune/common/exceptions.hh>
30 ·21#include·<dune/common/parallel/future.hh> 
31 ·2227 ·11#include·<iostream>
 28 ·12
 29 ·13#include·"localindex.hh"
 30 ·14
 31 ·15#include·<stdint.h>·//·for·uint32_t
 32 ·16
32 ·42namespace·Dune33 ·17namespace·Dune
 34 ·18{
 35 ·28·//·forward·declarations
 36 ·29
 37 ·30·template<class·TG,·class·TL>
 38 ·31·class·IndexPair;
 39 ·32
 40 ·38·template<class·TG,·class·TL>
 41 ·39·std::ostream&·operator<<(std::ostream&·os,·const·IndexPair<TG,TL>&·pair);
 42 ·40
 43 ·41·template<class·TG,·class·TL>
 44 ·42·bool·operator==(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
33 ·43{45 ·43
34 ·44 
35 ·45·/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/ 
36 46·struct·No_Comm·{}; 
37 ·47 
38 52·inline·bool·operator==(const·No_Comm&,·const·No_Comm&)46 ·44·template<class·TG,·class·TL>
 47 ·45·bool·operator!=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 48 ·46
 49 ·47·template<class·TG,·class·TL>
 50 ·48·bool·operator<(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 51 ·49
 52 ·50·template<class·TG,·class·TL>
 53 ·51·bool·operator>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 54 ·52
 55 ·53·template<class·TG,·class·TL>
 56 ·54·bool·operator<=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 57 ·55
 58 ·56·template<class·TG,·class·TL>
 59 ·57·bool·operator_>=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 60 ·58
 61 ·59·template<class·TG,·class·TL>
 62 ·60·bool·operator==(const·IndexPair<TG,TL>&,·const·TG&);
 63 ·61
 64 ·62·template<class·TG,·class·TL>
 65 ·63·bool·operator!=(const·IndexPair<TG,TL>&,·const·TG&);
 66 ·64
 67 ·65·template<class·TG,·class·TL>
 68 ·66·bool·operator<(const·IndexPair<TG,TL>&,·const·TG&);
 69 ·67
 70 ·68·template<class·TG,·class·TL>
 71 ·69·bool·operator>(const·IndexPair<TG,TL>&,·const·TG&);
 72 ·70
 73 ·71·template<class·TG,·class·TL>
 74 ·72·bool·operator<=(const·IndexPair<TG,TL>&,·const·TG&);
 75 ·73
 76 ·74·template<class·TG,·class·TL>
 77 ·75·bool·operator_>=(const·IndexPair<TG,TL>&,·const·TG&);
 78 ·76
 79 ·77·template<typename·T>
 80 ·78·struct·MPITraits;
 81 ·79
 82 ·83·template<class·TG,·class·TL>
 83 84·class·IndexPair
39 ·53·{84 ·85·{
40 ·54·return·true; 
41 ·55·} 
42 ·56 
43 61·inline·bool·operator!=(const·No_Comm&,·const·No_Comm&) 
44 ·62·{ 
45 ·63·return·false; 
46 ·64·} 
47 ·65 
48 ·98·template<typename·Communicator> 
49 99·class·Communication85 ·86·friend·std::ostream&·operator<<<>(std::ostream&,·const·IndexPair<TG,TL>&);
 86 ·87·friend·bool·operator==<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 87 ·88·friend·bool·operator!=<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 88 ·89·friend·bool·operator<·<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 89 ·90·friend·bool·operator><>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 90 ·91·friend·bool·operator<=<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 91 ·92·friend·bool·operator>=<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 92 ·93·friend·bool·operator==<>(const·IndexPair<TG,TL>&,·const·TG·&);
 93 ·94·friend·bool·operator!=<>(const·IndexPair<TG,TL>&,·const·TG·&);
 94 ·95·friend·bool·operator<·<>(const·IndexPair<TG,TL>&,·const·TG·&);
 95 ·96·friend·bool·operator>·<>(const·IndexPair<TG,TL>&,·const·TG·&);
 96 ·97·friend·bool·operator<=<>(const·IndexPair<TG,TL>&,·const·TG·&);
 97 98·friend·bool·operator>=<>(const·IndexPair<TG,TL>&,·const·TG·&);
 98 ·99·friend·struct·MPITraits<IndexPair<TG,TL>·>;
50 ·100·{99 ·100
51 ·101·public:100 ·101·public:
 101 107·typedef·TG·GlobalIndex;
52 103·Communication() 
53 ·104·{} 
54 ·105102 ·108
 103 120·typedef·TL·LocalIndex;
55 110·Communication·(const·Communicator&) 
56 ·111·{} 
57 ·112 
58 114·int·rank·()·const 
59 ·115·{ 
60 ·116·return·0; 
61 ·117·} 
62 ·118 
Max diff block lines reached; 41812/46641 bytes (89.65%) of diff not shown.
12.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 20 lines modifiedOffset 69, 110 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh·File·Reference</div></div>75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#define-members">Macros</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
 80 ··<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>
76 </div><!--header-->81 </div><!--header-->
77 <div·class="contents">82 <div·class="contents">
  
 83 <p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.··
 84 <a·href="#details">More...</a></p>
 85 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 86 <code>#include·&lt;functional&gt;</code><br·/>
 87 <code>#include·&lt;memory&gt;</code><br·/>
 88 <code>#include·&lt;mpi.h&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
78 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>91 <code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
79 </div>95 </div>
80 <p><a·href="a00332_source.html">Go·to·the·source·code·of·this·file.</a></p>96 <p><a·href="a00332_source.html">Go·to·the·source·code·of·this·file.</a></p>
 97 <table·class="memberdecls">
 98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 99 Classes</h2></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="a02160.html">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&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="a02164.html">Dune::Communication&lt;·MPI_Comm·&gt;</a></td></tr>
 103 <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>
 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"·id="r_a00425"><td·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 </table><table·class="memberdecls">
 112 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 113 Macros</h2></td></tr>
 114 <tr·class="memitem:abf4b9767826441f78c43351f92490b89"·id="r_abf4b9767826441f78c43351f92490b89"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(func,··op)</td></tr>
 115 <tr·class="separator:abf4b9767826441f78c43351f92490b89"><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="func-members"·name="func-members"></a>
 118 Functions</h2></td></tr>
 119 <tr·class="memitem:a59a2fa61f1387001cea29f6934ff2316"·id="r_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>
 120 <tr·class="separator:a59a2fa61f1387001cea29f6934ff2316"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a8b1b0f5e50429120ba7fc972b022c620"·id="r_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>
 122 <tr·class="separator:a8b1b0f5e50429120ba7fc972b022c620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a428c0ab2a3d2fd8f57aaf06a51bcc558"·id="r_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>·(<a·class="el"·href="a01312.html">Min</a>,·MPI_MIN)</td></tr>
 124 <tr·class="separator:a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ac6814315ac90b4c03e394688a30c63d9"·id="r_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>·(<a·class="el"·href="a01316.html">Max</a>,·MPI_MAX)</td></tr>
 126 <tr·class="separator:ac6814315ac90b4c03e394688a30c63d9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 </table>
 128 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 129 <div·class="textblock"><p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·</p>
 130 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 131 <a·id="abf4b9767826441f78c43351f92490b89"·name="abf4b9767826441f78c43351f92490b89"></a>
 132 <h2·class="memtitle"><span·class="permalink"><a·href="#abf4b9767826441f78c43351f92490b89">&#9670;&#160;</a></span>ComposeMPIOp</h2>
  
 133 <div·class="memitem">
 134 <div·class="memproto">
 135 ······<table·class="memname">
 136 ········<tr>
 137 ··········<td·class="memname">#define·ComposeMPIOp</td>
 138 ··········<td>(</td>
 139 ··········<td·class="paramtype">&#160;</td>
 140 ··········<td·class="paramname">func,·</td>
 141 ········</tr>
 142 ········<tr>
 143 ··········<td·class="paramkey"></td>
 144 ··········<td></td>
 145 ··········<td·class="paramtype">&#160;</td>
 146 ··········<td·class="paramname">op&#160;</td>
 147 ········</tr>
 148 ········<tr>
 149 ··········<td></td>
 150 ··········<td>)</td>
 151 ··········<td></td><td></td>
 152 ········</tr>
 153 ······</table>
 154 </div><div·class="memdoc">
 155 <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>
 156 <div·class="line">··<span·class="keyword">class·</span>Generic_MPI_Op&lt;T,·func&lt;S&gt;,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::enable_if_t&lt;MPITraits&lt;S&gt;::is_intrinsic&gt;·&gt;{·\</div>
 157 <div·class="line">··<span·class="keyword">public</span>:·······························································\</div>
 158 <div·class="line">··<span·class="keyword">static</span>·MPI_Op·get(){··················································\</div>
 159 <div·class="line">····<span·class="keywordflow">return</span>·op;··························································\</div>
 160 <div·class="line">··}·····································································\</div>
 161 <div·class="line">··<span·class="keyword">private</span>:······························································\</div>
 162 <div·class="line">··Generic_MPI_Op·()·{}··················································\</div>
 163 <div·class="line">··Generic_MPI_Op·(<span·class="keyword">const</span>·Generic_MPI_Op·&amp;·)·{}···························\</div>
 164 <div·class="line">··}</div>
 165 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
 166 </div><!--·fragment·-->
 167 </div>
 168 </div>
81 </div><!--·contents·-->169 </div><!--·contents·-->
82 <!--·start·footer·part·-->170 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>171 <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.8172 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
85 </small></address>173 </small></address>
86 </body>174 </body>
87 </html>175 </html>
1.91 KB
html2text {}
    
Offset 7, 13 lines modifiedOffset 7, 70 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
 13 Classes·|·Namespaces·|·Macros·|·Functions
13 mpicollectivecommunication.hh·File·Reference14 mpicommunication.hh·File·Reference
 15 Common·»·Parallel_Communication
 16 Implements·an·utility·class·that·provides·MPI's·collective·communication
 17 methods.·More...
 18 #include·<algorithm>
 19 #include·<functional>
 20 #include·<memory>
 21 #include·<mpi.h>
 22 #include·<dune/common/binaryfunctions.hh>
 23 #include·<dune/common/exceptions.hh>
14 #include·<dune/common/parallel/mpicommunication.hh>24 #include·<dune/common/parallel/communication.hh>
 25 #include·<dune/common/parallel/mpitraits.hh>
 26 #include·<dune/common/parallel/mpifuture.hh>
 27 #include·<dune/common/parallel/mpidata.hh>
15 Go_to_the_source_code_of_this_file.28 Go_to_the_source_code_of_this_file.
 29 ·Classes
 30 class· Dune::Generic_MPI_Op<_Type,_BinaryFunction,_Enable_>
 31  
 32 class· Dune::Communication<_MPI_Comm_>
 33  ······Specialization·of·Communication·for·MPI.·More...
 34  
 35 ·Namespaces
 36 namespace· Dune
 37  ··········Dune·namespace.
 38  
 39 ·Macros
 40 #define ComposeMPIOp(func,·op)
 41  
 42 ·Functions
 43  Dune::ComposeMPIOp·(std::plus,·MPI_SUM)
 44  
 45  Dune::ComposeMPIOp·(std::multiplies,·MPI_PROD)
 46  
 47  Dune::ComposeMPIOp·(Min,·MPI_MIN)
 48  
 49  Dune::ComposeMPIOp·(Max,·MPI_MAX)
 50  
 51 *****·Detailed·Description·*****
 52 Implements·an·utility·class·that·provides·MPI's·collective·communication
 53 methods.
 54 *****·Macro·Definition·Documentation·*****
 55 *****·◆ ComposeMPIOp·*****
 56 #define·ComposeMPIOp·(· func,
 57 ······················· op 
 58 ·····················)
 59 Value:
 60 template<class·T,·class·S>·\
 61 class·Generic_MPI_Op<T,·func<S>,·std::enable_if_t<MPITraits<S>::is_intrinsic>·>
 62 {·\
 63 public:·\
 64 static·MPI_Op·get(){·\
 65 return·op;·\
 66 }·\
 67 private:·\
 68 Generic_MPI_Op·()·{}·\
 69 Generic_MPI_Op·(const·Generic_MPI_Op·&·)·{}·\
 70 }
 71 std
 72 STL·namespace.
  
16 ===============================================================================73 ===============================================================================
17 ·····Generated·by [doxygen]·1.9.874 ·····Generated·by [doxygen]·1.9.8
122 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 23 lines modifiedOffset 74, 575 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpicommunication.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <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>
 88 <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>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 91 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 92 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 93 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
85 <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>94 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
86 <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>95 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 96 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 98 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00032.html">dune/common/binaryfunctions.hh</a>&gt;</span></div>
87 <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>99 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
88 <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>100 <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/parallel/communication.hh</a>&gt;</span></div>
 101 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00323.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
 102 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00350.html">dune/common/parallel/mpifuture.hh</a>&gt;</span></div>
 103 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00341.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>
 104 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 105 <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>
 106 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>
 107 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 108 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//=======================================================</span></div>
 109 <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>
 110 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="comment">//·generate·MPI·operations</span></div>
 111 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="comment">//=======================================================</span></div>
 112 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 113 <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>
 114 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};">
 115 <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>
 116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
 117 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 118 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>
 119 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">
 120 <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>
 121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div>
 122 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(!op)</div>
 123 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······{</div>
 124 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········op·=·std::make_unique&lt;MPI_Op&gt;();</div>
 125 <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>
 126 <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>
 127 <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>
 128 <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>
 129 <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>
 130 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······}</div>
 131 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·*op;</div>
 132 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</div>
 133 </div>
 134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div>
 135 <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>
 136 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······BinaryFunction·func;</div>
 138 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 139 <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>
 140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········Type·temp;</div>
 141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········temp·=·func(*in,·*inout);</div>
 142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········*inout·=·temp;</div>
 143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······}</div>
 144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>
 145 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····Generic_MPI_Op·()·{}</div>
 146 <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>
 147 <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>
 148 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div>
 149 </div>
 150 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 151 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 152 <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>
 153 <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>
 154 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 155 <div·class="foldopen"·id="foldopen00077"·data-start=""·data-end="">
 156 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00332.html#abf4b9767826441f78c43351f92490b89">···77</a></span><span·class="preprocessor">#define·ComposeMPIOp(func,op)···········································\</span></div>
 157 <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>
 158 <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>
 159 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">··public:·······························································\</span></div>
 160 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="preprocessor">··static·MPI_Op·get(){··················································\</span></div>
 161 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">····return·op;··························································\</span></div>
 162 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">··}·····································································\</span></div>
 163 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="preprocessor">··private:······························································\</span></div>
 164 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="preprocessor">··Generic_MPI_Op·()·{}··················································\</span></div>
 165 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">··Generic_MPI_Op·(const·Generic_MPI_Op·&amp;·)·{}···························\</span></div>
 166 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">··}</span></div>
 167 </div>
 168 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 169 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 170 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">···90</a></span>··<a·class="code·hl_define"·href="a00332.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(std::plus,·MPI_SUM);</div>
 171 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00425.html#a8b1b0f5e50429120ba7fc972b022c620">···91</a></span>··<a·class="code·hl_define"·href="a00332.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(std::multiplies,·MPI_PROD);</div>
 172 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00425.html#a428c0ab2a3d2fd8f57aaf06a51bcc558">···92</a></span>··<a·class="code·hl_define"·href="a00332.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(<a·class="code·hl_struct"·href="a01312.html">Min</a>,·MPI_MIN);</div>
 173 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00425.html#ac6814315ac90b4c03e394688a30c63d9">···93</a></span>··<a·class="code·hl_define"·href="a00332.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(<a·class="code·hl_struct"·href="a01316.html">Max</a>,·MPI_MAX);</div>
 174 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 175 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">#undef·ComposeMPIOp</span></div>
 176 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 177 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 178 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="comment">//=======================================================</span></div>
 179 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="comment">//·use·singleton·pattern·and·template·specialization·to</span></div>
 180 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="comment">//·generate·MPI·operations</span></div>
 181 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="comment">//=======================================================</span></div>
 182 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 183 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="keyword">template</span>&lt;&gt;</div>
Max diff block lines reached; 271/101624 bytes (0.27%) of diff not shown.
22.2 KB
html2text {}
    
Offset 8, 22 lines modifiedOffset 8, 666 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 mpicollectivecommunication.hh14 mpicommunication.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
 16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
18 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·3//·Will·be·removed·after·the·2.7·release 
20 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/ 
21 mpicommunication.hh>·instead!"21 ·5#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH
 22 ·6#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH
 23 ·7
 24 ·16#if·HAVE_MPI
 25 ·17
 26 ·18#include·<algorithm>
 27 ·19#include·<functional>
 28 ·20#include·<memory>
 29 ·21
 30 ·22#include·<mpi.h>
 31 ·23
 32 ·24#include·<dune/common/binaryfunctions.hh>
 33 ·25#include·<dune/common/exceptions.hh>
22 ·5#include·<dune/common/parallel/mpicommunication.hh>34 ·26#include·<dune/common/parallel/communication.hh>
 35 ·27#include·<dune/common/parallel/mpitraits.hh>
 36 ·28#include·<dune/common/parallel/mpifuture.hh>
 37 ·29#include·<dune/common/parallel/mpidata.hh>
 38 ·30
 39 ·31namespace·Dune
 40 ·32{
 41 ·33
 42 ·34·//=======================================================
 43 ·35·//·use·singleton·pattern·and·template·specialization·to
 44 ·36·//·generate·MPI·operations
 45 ·37·//=======================================================
 46 ·38
 47 ·39·template<typename·Type,·typename·BinaryFunction,·typename·Enable=void>
 48 40·class·Generic_MPI_Op
 49 ·41·{
 50 ·42
 51 ·43·public:
 52 44·static·MPI_Op·get·()
 53 ·45·{
 54 ·46·if·(!op)
 55 ·47·{
 56 ·48·op·=·std::make_unique<MPI_Op>();
 57 ·49·//·The·following·line·leaks·an·MPI·operation·object,·because·the
 58 corresponding
 59 ·50·//`MPI_Op_free`·is·never·called.·It·is·never·called·because·there·is·no
 60 easy
 61 ·51·//·way·to·call·it·at·the·right·moment:·right·before·the·call·to
 62 MPI_Finalize.
 63 ·52·//·See·https://gitlab.dune-project.org/core/dune-istl/issues/80
 64 ·53·MPI_Op_create((void·(*)(void*,·void*,·int*,
 65 MPI_Datatype*))&operation,true,op.get());
 66 ·54·}
 67 ·55·return·*op;
 68 ·56·}
 69 ·57·private:
 70 ·58·static·void·operation·(Type·*in,·Type·*inout,·int·*len,·MPI_Datatype*)
 71 ·59·{
 72 ·60·BinaryFunction·func;
 73 ·61
 74 ·62·for·(int·i=0;·i<·*len;·++i,·++in,·++inout)·{
 75 ·63·Type·temp;
 76 ·64·temp·=·func(*in,·*inout);
 77 ·65·*inout·=·temp;
 78 ·66·}
 79 ·67·}
 80 ·68·Generic_MPI_Op·()·{}
 81 ·69·Generic_MPI_Op·(const·Generic_MPI_Op&·)·{}
 82 ·70·static·std::unique_ptr<MPI_Op>·op;
 83 ·71·};
 84 ·72
 85 ·73
 86 ·74·template<typename·Type,·typename·BinaryFunction,·typename·Enable>
 87 ·75·std::unique_ptr<MPI_Op>·Generic_MPI_Op<Type,BinaryFunction,·Enable>::op;
 88 ·76
 89 77#define·ComposeMPIOp(func,op)·\
 90 ·78·template<class·T,·class·S>·\
 91 ·79·class·Generic_MPI_Op<T,·func<S>,·std::enable_if_t<MPITraits<S>::
 92 is_intrinsic>·>{·\
 93 ·80·public:·\
 94 ·81·static·MPI_Op·get(){·\
 95 ·82·return·op;·\
 96 ·83·}·\
 97 ·84·private:·\
 98 ·85·Generic_MPI_Op·()·{}·\
 99 ·86·Generic_MPI_Op·(const·Generic_MPI_Op·&·)·{}·\
 100 ·87·}
 101 ·88
 102 ·89
 103 90·ComposeMPIOp(std::plus,·MPI_SUM);
 104 91·ComposeMPIOp(std::multiplies,·MPI_PROD);
 105 92·ComposeMPIOp(Min,·MPI_MIN);
 106 93·ComposeMPIOp(Max,·MPI_MAX);
 107 ·94
 108 ·95#undef·ComposeMPIOp
 109 ·96
 110 ·97
 111 ·98·//=======================================================
 112 ·99·//·use·singleton·pattern·and·template·specialization·to
 113 ·100·//·generate·MPI·operations
 114 ·101·//=======================================================
 115 ·102
 116 ·106·template<>
 117 107·class·Communication<MPI_Comm>
 118 ·108·{
 119 ·109·public:
 120 111·Communication·(const·MPI_Comm&·c·=·MPI_COMM_WORLD)
 121 ·112·:·communicator(c)
 122 ·113·{
 123 ·114·if(communicator!=MPI_COMM_NULL)·{
 124 ·115·int·initialized·=·0;
 125 ·116·MPI_Initialized(&initialized);
 126 ·117·if·(!initialized)
 127 ·118·DUNE_THROW(ParallelError,"You·must·call·MPIHelper::instance(argc,argv)·in
 128 your·main()·function·before·using·the·MPI·Communication!");
 129 ·119·MPI_Comm_rank(communicator,&me);
 130 ·120·MPI_Comm_size(communicator,&procs);
 131 ·121·}else{
Max diff block lines reached; 116/22682 bytes (0.51%) of diff not shown.
16.6 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 78 lines modifiedOffset 72, 47 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>79 <a·href="#enum-members">Enumerations</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.··83 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.··
84 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
 85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
85 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00356_source.html">indexset.hh</a>&quot;</code><br·/> 
86 <code>#include·&quot;<a·class="el"·href="a00377_source.html">remoteindices.hh</a>&quot;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/sllist.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;cassert&gt;</code><br·/> 
90 <code>#include·&lt;cmath&gt;</code><br·/> 
91 <code>#include·&lt;limits&gt;</code><br·/> 
92 <code>#include·&lt;algorithm&gt;</code><br·/> 
93 <code>#include·&lt;functional&gt;</code><br·/> 
94 <code>#include·&lt;map&gt;</code><br·/> 
95 <code>#include·&lt;tuple&gt;</code><br·/> 
96 </div>86 </div>
97 <p><a·href="a00335_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00335_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">88 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>90 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="a02120.html">Dune::IndicesSyncer&lt;·T·&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="a02156.html">Dune::LocalIndex</a></td></tr>
102 <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>92 <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>
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"·id="r_a00425"><td·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"·id="r_a00425"><td·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><table·class="memberdecls">100 </table><table·class="memberdecls">
111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
112 Functions</h2></td></tr>102 Enumerations</h2></td></tr>
113 <tr·class="memitem:gaf61fa30bf15e87a0f910b9068f775067"·id="r_gaf61fa30bf15e87a0f910b9068f775067"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
114 <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·<a·clas[·...·truncated·by·diffoscope;·len:·179,·SHA:·132cb8e897b85e9a6a1209087a43e6a23b157fede07454f3f3fc9f340d61490f·...·]>103 <tr·class="memitem:ga4f24bf6f596bf963429e084ecf3a0835"·id="r_ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">Dune[·...·truncated·by·diffoscope;·len:·140,·SHA:·7431aa0d2131ba22387038e0af10a61701f1531e089ab1e1a75ccacadfce9214·...·]>
 104 ,·<a·class="el"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">Dune::DELETED</a>
 105 ·}</td></tr>
 106 <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>
115 <tr·class="separator:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 <tr·class="memitem:gae5b7bd4e69ee01360e666f12913c1459"·id="r_gae5b7bd4e69ee01360e666f12913c1459"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
117 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i2)</td></tr> 
118 <tr·class="separator:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ga058ac87cbdd5c6c4bf3166e8f55efa30"·id="r_ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
120 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr> 
121 <tr·class="separator:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:ga94296b1fafb04cd392611a43968df582"·id="r_ga94296b1fafb04cd392611a43968df582"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
123 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr> 
124 <tr·class="separator:ga94296b1fafb04cd392611a43968df582"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:ga300a4a465d5bb251de3953c682d314cb"·id="r_ga300a4a465d5bb251de3953c682d314cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
126 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr> 
127 <tr·class="separator:ga300a4a465d5bb251de3953c682d314cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga114537d071365593e8ec0ac11de6ac31"·id="r_ga114537d071365593e8ec0ac11de6ac31"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
129 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr> 
130 <tr·class="separator:ga114537d071365593e8ec0ac11de6ac31"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gac603bb313a217401041e4afc6fe4fa3a"·id="r_gac603bb313a217401041e4afc6fe4fa3a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr> 
132 <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,·<a·class="el"·href="a02856.html">SLList</a>&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·const·<a·class="el"·href="a02236.html">RemoteIndices</a>&lt;·T,·A1·&gt;·&amp;remoteIndices)</td></tr> 
133 <tr·class="memdesc:gac603bb313a217401041e4afc6fe4fa3a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stores·the·corresponding·global·indices·of·the·remote·index·information.··<br·/></td></tr> 
134 <tr·class="separator:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ga33d784101a8baf32ce462c484a90674c"·id="r_ga33d784101a8baf32ce462c484a90674c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr> 
136 <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,·<a·class="el"·href="a02856.html">SLList</a>&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·<a·class="el"·href="a02236.html">RemoteIndices</a>&lt;·T,·A1·&gt;·&amp;remoteIndices,·const·T·&amp;indexSet)</td></tr> 
137 <tr·class="memdesc:ga33d784101a8baf32ce462c484a90674c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Repair·the·pointers·to·the·local·indices·in·the·remote·indices.··<br·/></td></tr> 
138 <tr·class="separator:ga33d784101a8baf32ce462c484a90674c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 </table>108 </table>
140 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
141 <div·class="textblock"><p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·</p>110 <div·class="textblock"><p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·</p>
142 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>111 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
143 </div></div><!--·contents·-->112 </div></div><!--·contents·-->
144 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
145 <hr·class="footer"/><address·class="footer"><small>114 <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.8115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
147 </small></address>116 </small></address>
148 </body>117 </body>
3.14 KB
html2text {}
    
Offset 7, 78 lines modifiedOffset 7, 32 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces·|·Functions13 Classes·|·Namespaces·|·Enumerations
14 indicessyncer.hh·File·Reference14 localindex.hh·File·Reference
15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 16 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·More...
16 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local 
17 communication.·More... 
18 #include·"indexset.hh" 
19 #include·"remoteindices.hh" 
20 #include·<dune/common/stdstreams.hh> 
21 #include·<dune/common/sllist.hh> 
22 #include·<cassert>17 #include·<cstddef>
23 #include·<cmath> 
24 #include·<limits> 
25 #include·<algorithm> 
26 #include·<functional> 
27 #include·<map> 
28 #include·<tuple> 
29 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
30 ·Classes19 ·Classes
 20 class· Dune::LocalIndex
 21  ······An·index·present·on·the·local·process.·More...
31 class· Dune::IndicesSyncer<_T_> 
32  ······Class·for·recomputing·missing·indices·of·a·distributed·index·set. 
33 ········More... 
34  22  
35 ·Namespaces23 ·Namespaces
36 namespace· Dune24 namespace· Dune
37  ··········Dune·namespace.25  ··········Dune·namespace.
38  26  
 27 ·Enumerations
 28 enum· Dune::LocalIndexState·{·Dune::VALID·,·Dune::DELETED·}
 29  ·····The·states·available·for·the·local·indices.·More...
39 ·Functions 
40 template<typename·TG·,·typename·TA·> 
41 bool Dune::operator<·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1, 
42 ······const·std::pair<·TG,·TA·>·&i2) 
43   
44 template<typename·TG·,·typename·TA·> 
45 bool Dune::operator<·(const·std::pair<·TG,·TA·>·&i1,·const·IndexPair<·TG, 
46 ······ParallelLocalIndex<·TA·>·>·&i2) 
47   
48 template<typename·TG·,·typename·TA·> 
49 bool Dune::operator==·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1, 
50 ······const·std::pair<·TG,·TA·>·&i2) 
51   
52 template<typename·TG·,·typename·TA·> 
53 bool Dune::operator!=·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1, 
54 ······const·std::pair<·TG,·TA·>·&i2) 
55   
56 template<typename·TG·,·typename·TA·> 
57 bool Dune::operator==·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG, 
58 ······ParallelLocalIndex<·TA·>·>·&i1) 
59   
60 template<typename·TG·,·typename·TA·> 
61 bool Dune::operator!=·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG, 
62 ······ParallelLocalIndex<·TA·>·>·&i1) 
63   
64 template<typename·T·,·typename·A·,·typename·A1·> 
65 void Dune::storeGlobalIndicesOfRemoteIndices·(std::map<·int,·SLList<·std:: 
66 ······pair<·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·> 
67 ······&globalMap,·const·RemoteIndices<·T,·A1·>·&remoteIndices) 
68  ····Stores·the·corresponding·global·indices·of·the·remote·index·information. 
69   
70 template<typename·T·,·typename·A·,·typename·A1·> 
71 void Dune::repairLocalIndexPointers·(std::map<·int,·SLList<·std::pair< 
72 ······typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·> 
73 ······&globalMap,·RemoteIndices<·T,·A1·>·&remoteIndices,·const·T·&indexSet) 
74  ····Repair·the·pointers·to·the·local·indices·in·the·remote·indices. 
75  30  
76 *****·Detailed·Description·*****31 *****·Detailed·Description·*****
 32 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.
77 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local 
78 communication. 
79 ··Author33 ··Author
80 ······Markus·Blatt34 ······Markus·Blatt
  
81 ===============================================================================35 ===============================================================================
82 ·····Generated·by [doxygen]·1.9.836 ·····Generated·by [doxygen]·1.9.8
230 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 1047 lines modifiedOffset 74, 113 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">indicessyncer.hh</div></div>80 ··<div·class="headertitle"><div·class="title">localindex.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDICESSYNCER_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDICESSYNCER_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LOCALINDEX_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_LOCALINDEX_HH</span></div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00356.html">indexset.hh</a>&quot;</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00377.html">remoteindices.hh</a>&quot;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div> 
93 <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/sllist.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
103 <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>93 <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>
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
105 <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>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 97 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">···28</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·{<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>,·<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">DELETED</a>};</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
106 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};">100 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02120.html">···40</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a></div>101 <div·class="line"><a·id="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>
108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> 
109 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">public</span>:</div> 
110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>102 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
111 <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> 
112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
113 <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> 
114 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
115 <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> 
116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
117 <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> 
118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
119 <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> 
120 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a>(<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>&amp;·indexSet,</div> 
122 <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> 
123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
124 <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> 
125 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
126 <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> 
127 <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> 
128 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
129 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">private</span>:</div> 
130 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
131 <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> 
132 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
133 <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> 
134 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordtype">char</span>**·sendBuffers_;</div> 
136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
137 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordtype">char</span>*·receiveBuffer_;</div> 
138 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
139 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····std::size_t*·sendBufferSizes_;</div> 
140 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
141 <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> 
142 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> 
143 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keyword">struct·</span>MessageInformation</div> 
144 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div> 
145 <div·class="foldopen"·id="foldopen00122"·data-start="{"·data-end="}"> 
146 <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> 
147 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········:·<a·class="code·hl_variable"·href="a00416.html#ga33a819e22b0d3a4540505de7694bfa01">publish</a>(),·<a·class="code·hl_variable"·href="a00416.html#ga54eb54f050784a2edf79b2d54527af7a">pairs</a>()</div> 
148 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······{}</div> 
149 </div> 
150 <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> 
151 <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> 
152 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····};</div> 
153 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> 
154 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<span·class="keyword">class·</span>DefaultNumberer</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">public</span>:</div>103 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>
157 <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·<a·class="code·hl_function"·href="a00416.html#ga95b26bf4ede4e9df1297c1735a299caa">operator()</a>([[maybe_unused]]·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00416.html#ga44992bb99b3f3f3d7c9badb9c7ff74c2">GlobalIndex</a>&amp;·global)</div> 
158 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>······{</div> 
159 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>········<span·class="keywordflow">return</span>·std::numeric_limits&lt;size_t&gt;::max();</div> 
160 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>······}</div> 
161 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····};</div> 
162 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
163 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>····MPI_Datatype·datatype_;</div> 
164 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> 
165 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····<span·class="keywordtype">int</span>·rank_;</div> 
166 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> 
167 <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> 
168 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>·</div> 
169 <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> 
170 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>·</div> 
171 <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> 
172 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····GlobalIndexIterator;</div> 
173 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> 
174 <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> 
175 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> 
176 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>····GlobalIndicesMap·globalMap_;</div> 
Max diff block lines reached; 135934/192686 bytes (70.55%) of diff not shown.
41.7 KB
html2text {}
    
Offset 8, 1208 lines modifiedOffset 8, 122 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 indicessyncer.hh14 localindex.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 21 ·5
 22 ·6#ifndef·DUNE_COMMON_LOCALINDEX_HH
 23 ·7#define·DUNE_COMMON_LOCALINDEX_HH
 24 ·8
 25 ·9#include·<cstddef>
 26 ·10
21 ·5#ifndef·DUNE_INDICESSYNCER_HH 
22 ·6#define·DUNE_INDICESSYNCER_HH 
23 ·7 
24 ·8#include·"indexset.hh" 
25 ·9#include·"remoteindices.hh" 
26 ·10#include·<dune/common/stdstreams.hh> 
27 ·11#include·<dune/common/sllist.hh> 
28 ·12#include·<cassert> 
29 ·13#include·<cmath> 
30 ·14#include·<limits> 
31 ·15#include·<algorithm> 
32 ·16#include·<functional> 
33 ·17#include·<map> 
34 ·18#include·<tuple> 
35 ·19 
36 ·20#if·HAVE_MPI 
37 ·21namespace·Dune27 ·11namespace·Dune
38 ·22{28 ·12{
39 ·39·template<typename·T> 
40 40·class·IndicesSyncer 
41 ·41·{29 ·13
 30 ·14
 31 28·enum·LocalIndexState·{VALID,·DELETED};
 32 ·29
 33 ·30
 34 34·class·LocalIndex
 35 ·35·{
42 ·42·public:36 ·36·public:
 37 41·LocalIndex()·:
 38 ·42·localIndex_(0),·state_(VALID){}
43 ·4339 ·43
44 45·typedef·T·ParallelIndexSet; 
45 ·46 
46 48·typedef·typename·ParallelIndexSet::IndexPair·IndexPair; 
47 ·49 
48 51·typedef·typename·ParallelIndexSet::GlobalIndex·GlobalIndex; 
49 ·52 
50 54·typedef·typename·ParallelIndexSet::LocalIndex::Attribute·Attribute; 
51 ·55 
52 59·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices; 
53 ·60 
54 ·70·IndicesSyncer(ParallelIndexSet&·indexSet, 
55 ·71·RemoteIndices&·remoteIndices); 
56 ·72 
57 ·82·void·sync(); 
58 ·83 
59 ·94·template<typename·T1> 
60 ·95·void·sync(T1&·numberer);40 ·44
 41 49·LocalIndex(std::size_t·index)·:
 42 ·50·localIndex_(index),·state_(VALID){}
 43 ·55·inline·const·std::size_t&·local()·const;
 44 ·56
 45 ·60·inline·operator·std::size_t()·const;
 46 ·61
 47 ·67·inline·LocalIndex&·operator=(std::size_t·index);
 48 ·68
 49 ·73·inline·LocalIndexState·state()·const;
 50 ·74
 51 ·79·inline·void·setState(LocalIndexState·state);
 52 ·80
 53 ·81·private:
 54 ·83·std::size_t·localIndex_;
 55 ·84
 56 ·91·char·state_;
 57 ·92
 58 ·93·};
 59 ·94
 60 ·95
61 ·9661 ·96
62 ·97·private: 
63 ·98 
64 ·100·ParallelIndexSet&·indexSet_;62 97·inline·const·std::size_t&·LocalIndex::local()·const·{
 63 ·98·return·localIndex_;
 64 ·99·}
65 ·10165 ·100
66 ·103·RemoteIndices&·remoteIndices_;66 101·inline·LocalIndex::operator·std::size_t()·const·{
 67 ·102·return·localIndex_;
 68 ·103·}
67 ·10469 ·104
68 ·106·char**·sendBuffers_;70 105·inline·LocalIndex&·LocalIndex::operator=(std::size_t·index){
 71 ·106·localIndex_·=·index;
 72 ·107·return·*this;
 73 ·108·}
69 ·10774 ·109
70 ·109·char*·receiveBuffer_; 
71 ·110 
72 ·112·std::size_t*·sendBufferSizes_;75 110·inline·LocalIndexState·LocalIndex::state()·const·{
 76 ·111·return·static_cast<LocalIndexState>(state_);
 77 ·112·}
Diff chunk too large, falling back to line-by-line diff (33 lines added, 1090 lines removed)
73 ·11378 ·113
74 ·115·int·receiveBufferSize_;·//·int·because·of·MPI79 114·inline·void·LocalIndex::setState(LocalIndexState·state){
75 ·11680 ·115·state_·=·static_cast<char>(state);
76 ·120·struct·MessageInformation81 ·116·}
77 ·121·{82 ·117
78 122·MessageInformation()83 ·120}·//·namespace·Dune
79 ·123·:·publish(),·pairs()84 ·121
80 ·124·{}85 ·122#endif
81 126·int·publish;86 Dune::LocalIndexState
82 131·int·pairs;87 LocalIndexState
83 ·132·};88 The·states·available·for·the·local·indices.
84 ·13389 Definition·localindex.hh:28
85 ·137·class·DefaultNumberer90 Dune::LocalIndex::operator=
86 ·138·{91 LocalIndex·&·operator=(std::size_t·index)
87 ·139·public:92 Assign·a·new·local·index.
88 145·std::size_t·operator()([[maybe_unused]]·const·GlobalIndex&·global)93 Definition·localindex.hh:105
89 ·146·{94 Dune::LocalIndex::state
Max diff block lines reached; 2006/42710 bytes (4.70%) of diff not shown.
19.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 73, 58 lines modifiedOffset 73, 77 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.··83 <p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.··
84 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00326_source.html">localindex.hh</a>&quot;</code><br·/>85 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00329_source.html">indexset.hh</a>&quot;</code><br·/>
86 <code>#include·&quot;<a·class="el"·href="a00356_source.html">indexset.hh</a>&quot;</code><br·/>86 <code>#include·&quot;<a·class="el"·href="a00362_source.html">remoteindices.hh</a>&quot;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00341_source.html">mpitraits.hh</a>&quot;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/sllist.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;cassert&gt;</code><br·/>
 90 <code>#include·&lt;cmath&gt;</code><br·/>
 91 <code>#include·&lt;limits&gt;</code><br·/>
 92 <code>#include·&lt;algorithm&gt;</code><br·/>
 93 <code>#include·&lt;functional&gt;</code><br·/>
 94 <code>#include·&lt;map&gt;</code><br·/>
88 <code>#include·&lt;iostream&gt;</code><br·/>95 <code>#include·&lt;tuple&gt;</code><br·/>
89 </div>96 </div>
90 <p><a·href="a00338_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00338_source.html">Go·to·the·source·code·of·this·file.</a></p>
91 <table·class="memberdecls">98 <table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
93 Classes</h2></td></tr>100 Classes</h2></td></tr>
94 <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>101 <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>
 102 <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="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> 
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="a02224.html">Dune::LocalIndexComparator&lt;·ParallelLocalIndex&lt;·T·&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="a02228.html">Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">110 </table><table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
109 Functions</h2></td></tr>112 Functions</h2></td></tr>
 113 <tr·class="memitem:gaf61fa30bf15e87a0f910b9068f775067"·id="r_gaf61fa30bf15e87a0f910b9068f775067"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 114 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr>
110 <tr·class="memitem:ga1cc47465a5be4434d0f4d5a99f56f952"·id="r_ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
111 <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·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;index)</td></tr> 
112 <tr·class="memdesc:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·the·local·index·to·a·stream.··<br·/></td></tr> 
113 <tr·class="separator:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:ga3f656ae09bca24998c26b42304a9d1b2"·id="r_ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
115 <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·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;p1,·const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;p2)</td></tr> 
116 <tr·class="separator:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:ga773d38fd187016eb6fef134776f7d761"·id="r_ga773d38fd187016eb6fef134776f7d761"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
118 <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·<a·class=[·...·truncated·by·diffoscope;·len:·148,·SHA:·dd633a7439eda59de76c80c0ae84cff03a6ad8ca0838a25339918d6fe448cd99·...·]</td></tr>116 <tr·class="memitem:gae5b7bd4e69ee01360e666f12913c1459"·id="r_gae5b7bd4e69ee01360e666f12913c1459"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 117 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i2)</td></tr>
119 <tr·class="separator:ga773d38fd187016eb6fef134776f7d761"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ga058ac87cbdd5c6c4bf3166e8f55efa30"·id="r_ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 120 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr>
 121 <tr·class="separator:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:ga94296b1fafb04cd392611a43968df582"·id="r_ga94296b1fafb04cd392611a43968df582"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 123 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr>
 124 <tr·class="separator:ga94296b1fafb04cd392611a43968df582"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ga300a4a465d5bb251de3953c682d314cb"·id="r_ga300a4a465d5bb251de3953c682d314cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 126 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr>
 127 <tr·class="separator:ga300a4a465d5bb251de3953c682d314cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:ga114537d071365593e8ec0ac11de6ac31"·id="r_ga114537d071365593e8ec0ac11de6ac31"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 129 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr>
 130 <tr·class="separator:ga114537d071365593e8ec0ac11de6ac31"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:gac603bb313a217401041e4afc6fe4fa3a"·id="r_gac603bb313a217401041e4afc6fe4fa3a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr>
 132 <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,·<a·class="el"·href="a02856.html">SLList</a>&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·const·<a·class="el"·href="a02236.html">RemoteIndices</a>&lt;·T,·A1·&gt;·&amp;remoteIndices)</td></tr>
 133 <tr·class="memdesc:gac603bb313a217401041e4afc6fe4fa3a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stores·the·corresponding·global·indices·of·the·remote·index·information.··<br·/></td></tr>
 134 <tr·class="separator:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ga33d784101a8baf32ce462c484a90674c"·id="r_ga33d784101a8baf32ce462c484a90674c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr>
 136 <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,·<a·class="el"·href="a02856.html">SLList</a>&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·<a·class="el"·href="a02236.html">RemoteIndices</a>&lt;·T,·A1·&gt;·&amp;remoteIndices,·const·T·&amp;indexSet)</td></tr>
 137 <tr·class="memdesc:ga33d784101a8baf32ce462c484a90674c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Repair·the·pointers·to·the·local·indices·in·the·remote·indices.··<br·/></td></tr>
 138 <tr·class="separator:ga33d784101a8baf32ce462c484a90674c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>139 </table>
121 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>140 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
122 <div·class="textblock"><p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·</p>141 <div·class="textblock"><p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·</p>
123 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>142 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
124 </div></div><!--·contents·-->143 </div></div><!--·contents·-->
125 <!--·start·footer·part·-->144 <!--·start·footer·part·-->
126 <hr·class="footer"/><address·class="footer"><small>145 <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.8146 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
128 </small></address>147 </small></address>
129 </body>148 </body>
3.71 KB
html2text {}
    
Offset 8, 51 lines modifiedOffset 8, 77 lines modified
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 Classes·|·Namespaces·|·Functions14 Classes·|·Namespaces·|·Functions
15 plocalindex.hh·File·Reference15 indicessyncer.hh·File·Reference
16 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets16 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
17 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed17 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local
18 computing.·More...18 communication.·More...
19 #include·"localindex.hh" 
20 #include·"indexset.hh"19 #include·"indexset.hh"
21 #include·"mpitraits.hh" 
22 #include·<iostream>20 #include·"remoteindices.hh"
 21 #include·<dune/common/stdstreams.hh>
 22 #include·<dune/common/sllist.hh>
 23 #include·<cassert>
 24 #include·<cmath>
 25 #include·<limits>
 26 #include·<algorithm>
 27 #include·<functional>
 28 #include·<map>
 29 #include·<tuple>
23 Go_to_the_source_code_of_this_file.30 Go_to_the_source_code_of_this_file.
24 ·Classes31 ·Classes
25 ·class· Dune::ParallelLocalIndex<_T_> 
26  ·······An·index·present·on·the·local·process·with·an·additional·attribute32 class· Dune::IndicesSyncer<_T_>
 33  ······Class·for·recomputing·missing·indices·of·a·distributed·index·set.
27 ·········flag.·More...34 ········More...
28   
29 struct· Dune::LocalIndexComparator<_ParallelLocalIndex<_T_>_> 
30   
31 ·class· Dune::MPITraits<_ParallelLocalIndex<_T_>_> 
32  35  
33 ·Namespaces36 ·Namespaces
34 namespace· Dune37 namespace· Dune
35  ··········Dune·namespace.38  ··········Dune·namespace.
36  39  
37 ·Functions40 ·Functions
 41 template<typename·TG·,·typename·TA·>
 42 bool Dune::operator<·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1,
 43 ······const·std::pair<·TG,·TA·>·&i2)
38 template<class·T·> 
39 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelLocalIndex<·T 
40 ················>·&index) 
41  ··············Print·the·local·index·to·a·stream. 
42  44  
43 template<typename·T·> 
44 ··········bool Dune::operator==·(const·ParallelLocalIndex<·T·>·&p1,·const45 template<typename·TG·,·typename·TA·>
 46 bool Dune::operator<·(const·std::pair<·TG,·TA·>·&i1,·const·IndexPair<·TG,
45 ················ParallelLocalIndex<·T·>·&p2)47 ······ParallelLocalIndex<·TA·>·>·&i2)
46  48  
47 template<typename·T·>49 template<typename·TG·,·typename·TA·>
 50 bool Dune::operator==·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1,
 51 ······const·std::pair<·TG,·TA·>·&i2)
 52  
 53 template<typename·TG·,·typename·TA·>
48 ··········bool Dune::operator!=·(const·ParallelLocalIndex<·T·>·&p1,·const54 bool Dune::operator!=·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1,
 55 ······const·std::pair<·TG,·TA·>·&i2)
 56  
 57 template<typename·TG·,·typename·TA·>
 58 bool Dune::operator==·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG,
49 ················ParallelLocalIndex<·T·>·&p2)59 ······ParallelLocalIndex<·TA·>·>·&i1)
 60  
 61 template<typename·TG·,·typename·TA·>
 62 bool Dune::operator!=·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG,
 63 ······ParallelLocalIndex<·TA·>·>·&i1)
 64  
 65 template<typename·T·,·typename·A·,·typename·A1·>
 66 void Dune::storeGlobalIndicesOfRemoteIndices·(std::map<·int,·SLList<·std::
 67 ······pair<·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·>
 68 ······&globalMap,·const·RemoteIndices<·T,·A1·>·&remoteIndices)
 69  ····Stores·the·corresponding·global·indices·of·the·remote·index·information.
 70  
 71 template<typename·T·,·typename·A·,·typename·A1·>
 72 void Dune::repairLocalIndexPointers·(std::map<·int,·SLList<·std::pair<
 73 ······typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·>
 74 ······&globalMap,·RemoteIndices<·T,·A1·>·&remoteIndices,·const·T·&indexSet)
 75  ····Repair·the·pointers·to·the·local·indices·in·the·remote·indices.
50  76  
51 *****·Detailed·Description·*****77 *****·Detailed·Description·*****
52 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed 
53 computing.78 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local
 79 communication.
54 ··Author80 ··Author
55 ······Markus·Blatt81 ······Markus·Blatt
  
56 ===============================================================================82 ===============================================================================
57 ·····Generated·by [doxygen]·1.9.883 ·····Generated·by [doxygen]·1.9.8
265 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 302 lines modifiedOffset 74, 1047 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">plocalindex.hh</div></div>80 ··<div·class="headertitle"><div·class="title">indicessyncer.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDICESSYNCER_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDICESSYNCER_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_PLOCALINDEX_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_PLOCALINDEX_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00326.html">localindex.hh</a>&quot;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00356.html">indexset.hh</a>&quot;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00329.html">indexset.hh</a>&quot;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00362.html">remoteindices.hh</a>&quot;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00038.html">dune/common/sllist.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00341.html">mpitraits.hh</a>&quot;</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <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>103 <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>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
101 <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> 
102 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
103 <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>105 <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>
104 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">106 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};">
 107 <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>
105 <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> 
106 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> 
107 <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> 
108 <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> 
109 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">return</span>·os;</div> 
110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div>108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
111 </div>109 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">public</span>:</div>
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
113 <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> 
114 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> 
115 <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>111 <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>
 112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 113 <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>
116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>114 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 115 <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>
117 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
118 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·friend·declaration·needed·for·MPITraits</span></div> 
119 <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> 
120 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div>116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
121 <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>117 <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#ga6087[·...·truncated·by·diffoscope;·len:·43,·SHA:·10784265ae25cae79658fc59a040c99886754ddfd018b8007edd1834afd62035·...·];</div>
122 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 119 <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>
123 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div> 
124 <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> 
125 <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> 
126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>120 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a>(<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>&amp;·indexSet,</div>
 122 <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>
 123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 124 <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>
 125 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 126 <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>
 127 <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>
 128 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
130 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#if·0</span></div>129 <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="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> 
132 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#endif</span></div>130 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 131 <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>
133 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>132 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
134 <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=[·...·truncated·by·diffoscope;·len:·99,·SHA:·51a13e472c874256c267b67a6dc2572f767a44584ab53c1a9bf12cebca2de7ab·...·];</div>133 <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>
135 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>134 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
136 <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">co[·...·truncated·by·diffoscope;·len:·206,·SHA:·5ac5089fc0f12d0b4e2100b37747eb67890f6b1e40fa4396f263b17acd54aea8·...·];</div>135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordtype">char</span>**·sendBuffers_;</div>
 136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 137 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordtype">char</span>*·receiveBuffer_;</div>
137 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>138 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
138 <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[·...·truncated·by·diffoscope;·len:·7,·SHA:·411fdb22d8d9298e5d32f2cdcc7e865f8f3bf55c5ad15133b18e1b86bb7a2499·...·];</div>139 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····std::size_t*·sendBufferSizes_;</div>
 140 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 141 <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>
 142 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 143 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keyword">struct·</span>MessageInformation</div>
139 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>144 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div>
140 <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>145 <div·class="foldopen"·id="foldopen00122"·data-start="{"·data-end="}">
 146 <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>
 147 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········:·<a·class="code·hl_variable"·href="a00416.html#ga33a819e22b0d3a4540505de7694bfa01">publish</a>(),·<a·class="code·hl_variable"·href="a00416.html#ga54eb54f050784a2edf79b2d54527af7a">pairs</a>()</div>
 148 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······{}</div>
 149 </div>
 150 <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>
 151 <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>
141 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>152 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····};</div>
142 <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> 
143 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>153 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>
144 <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[·...·truncated·by·diffoscope;·len:·8,·SHA:·f1951ae6fa54eae4ba3cf45e9fe38e2218f2980b07b12c9a9b14d961a5c8a402·...·]</div>154 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<span·class="keyword">class·</span>DefaultNumberer</div>
145 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div>155 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>····{</div>
146 <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#ga9ee41fe1[·...·truncated·by·diffoscope;·len:·73,·SHA:·897c9ebe39dd7cf8a111f89913240300e4aa73b3c2a9f7652081dfc555c179d6·...·]</div>156 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····<span·class="keyword">public</span>:</div>
Max diff block lines reached; 193457/223428 bytes (86.59%) of diff not shown.
46.9 KB
html2text {}
    
Offset 8, 326 lines modifiedOffset 8, 1208 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 plocalindex.hh14 indicessyncer.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 21 ·5#ifndef·DUNE_INDICESSYNCER_HH
 22 ·6#define·DUNE_INDICESSYNCER_HH
 23 ·7
21 ·5 
22 ·6#ifndef·DUNE_PLOCALINDEX_HH 
23 ·7#define·DUNE_PLOCALINDEX_HH 
24 ·8 
25 ·9#include·"localindex.hh" 
26 ·10#include·"indexset.hh"24 ·8#include·"indexset.hh"
27 ·11#include·"mpitraits.hh" 
28 ·12 
29 ·13#include·<iostream> 
30 ·1425 ·9#include·"remoteindices.hh"
 26 ·10#include·<dune/common/stdstreams.hh>
 27 ·11#include·<dune/common/sllist.hh>
 28 ·12#include·<cassert>
 29 ·13#include·<cmath>
 30 ·14#include·<limits>
 31 ·15#include·<algorithm>
 32 ·16#include·<functional>
 33 ·17#include·<map>
 34 ·18#include·<tuple>
 35 ·19
 36 ·20#if·HAVE_MPI
31 ·15namespace·Dune37 ·21namespace·Dune
 38 ·22{
 39 ·39·template<typename·T>
 40 40·class·IndicesSyncer
 41 ·41·{
 42 ·42·public:
32 ·16{ 
33 ·17 
34 ·18 
35 ·29·template<class·T>·class·ParallelLocalIndex; 
36 ·30 
37 ·36·template<class·T> 
38 37·std::ostream&·operator<<(std::ostream&·os,·const·ParallelLocalIndex<T>& 
39 index) 
40 ·38·{ 
41 ·39·os<<"{local="<<index.localIndex_<<",·attr="<<T(index.attribute_)<<", 
42 public=" 
43 ·40·<<(index.public_·?·true·:·false)<<"}"; 
44 ·41·return·os; 
45 ·42·} 
46 ·4343 ·43
47 ·47·template<typename·T> 
48 48·class·ParallelLocalIndex44 45·typedef·T·ParallelIndexSet;
 45 ·46
 46 48·typedef·typename·ParallelIndexSet::IndexPair·IndexPair;
49 ·49·{47 ·49
 48 51·typedef·typename·ParallelIndexSet::GlobalIndex·GlobalIndex;
 49 ·52
 50 54·typedef·typename·ParallelIndexSet::LocalIndex::Attribute·Attribute;
50 ·50#if·HAVE_MPI 
51 ·51·//·friend·declaration·needed·for·MPITraits 
52 ·52·friend·struct·MPITraits<ParallelLocalIndex<T>·>; 
53 ·53#endif 
54 ·54·friend·std::ostream&·operator<<<>(std::ostream&·os,·const 
55 ParallelLocalIndex<T>&·index); 
56 ·5551 ·55
57 ·56·public: 
58 64·typedef·T·Attribute; 
59 ·73·ParallelLocalIndex(const·Attribute&·attribute,·bool·isPublic); 
60 ·74 
61 ·83·ParallelLocalIndex(size_t·localIndex,·const·Attribute&·attribute,·bool 
62 isPublic=true); 
63 ·89·ParallelLocalIndex(); 
64 ·90 
65 ·91#if·0 
66 ·101·ParallelLocalIndex(const·Attribute&·attribute,·size_t·local,·bool 
67 isPublic); 
68 ·102#endif52 59·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices;
 53 ·60
 54 ·70·IndicesSyncer(ParallelIndexSet&·indexSet,
 55 ·71·RemoteIndices&·remoteIndices);
 56 ·72
 57 ·82·void·sync();
 58 ·83
 59 ·94·template<typename·T1>
 60 ·95·void·sync(T1&·numberer);
 61 ·96
 62 ·97·private:
 63 ·98
 64 ·100·ParallelIndexSet&·indexSet_;
69 ·10365 ·101
70 ·108·inline·const·Attribute·attribute()·const;66 ·103·RemoteIndices&·remoteIndices_;
71 ·10967 ·104
72 ·114·inline·void·setAttribute(const·Attribute&·attribute);68 ·106·char**·sendBuffers_;
 69 ·107
 70 ·109·char*·receiveBuffer_;
73 ·11571 ·110
74 ·120·inline·size_t·local()·const;72 ·112·std::size_t*·sendBufferSizes_;
 73 ·113
 74 ·115·int·receiveBufferSize_;·//·int·because·of·MPI
 75 ·116
 76 ·120·struct·MessageInformation
75 ·12177 ·121·{
76 ·125·inline·operator·size_t()·const; 
77 ·126 
78 ·132·inline·ParallelLocalIndex<Attribute>&·operator=(size_t·index);78 122·MessageInformation()
 79 ·123·:·publish(),·pairs()
 80 ·124·{}
 81 126·int·publish;
 82 131·int·pairs;
 83 ·132·};
79 ·13384 ·133
80 ·138·inline·bool·isPublic()·const; 
81 ·139 
82 ·144·inline·LocalIndexState·state()·const;85 ·137·class·DefaultNumberer
 86 ·138·{
 87 ·139·public:
 88 145·std::size_t·operator()([[maybe_unused]]·const·GlobalIndex&·global)
 89 ·146·{
Max diff block lines reached; 43803/47984 bytes (91.29%) of diff not shown.
8.82 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 45 lines modifiedOffset 71, 55 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#func-members">Functions</a>··</div>
79 ··<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>80 ··<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>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
  
82 <p>Traits·classes·for·mapping·types·onto·MPI_Datatype.··83 <p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.··
83 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
85 <code>#include·&lt;cstdint&gt;</code><br·/>86 <code>#include·&lt;string&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;type_traits&gt;</code><br·/> 
87 <code>#include·&lt;utility&gt;</code><br·/> 
88 <code>#include·&lt;complex&gt;</code><br·/> 
89 <code>#include·&lt;mpi.h&gt;</code><br·/> 
90 </div>90 </div>
91 <p><a·href="a00341_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00341_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">92 <table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
94 Classes</h2></td></tr>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="a02168.html">Dune::MPIData&lt;·T,·Enable·&gt;</a></td></tr>
 96 <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="a01288.html">Dune::MPITraits&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="a02172.html">Dune::MPIData&lt;·void·&gt;</a></td></tr>
96 <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>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="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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
100 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>105 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 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:a60e5c2863bb763524cbc65eaea515adb"·id="r_a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 111 <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>
 112 <tr·class="separator:a60e5c2863bb763524cbc65eaea515adb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>113 </table>
105 <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>
106 <div·class="textblock"><p>Traits·classes·for·mapping·types·onto·MPI_Datatype.·</p> 
107 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>115 <div·class="textblock"><p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·</p>
 116 <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>
 117 <p>To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·<code>MPIData</code>·or·overload·<code>getMPIData</code>.·</p>
108 </div></div><!--·contents·-->118 </div></div><!--·contents·-->
109 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>120 <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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>122 </small></address>
113 </body>123 </body>
114 </html>124 </html>
1.82 KB
html2text {}
    
Offset 7, 34 lines modifiedOffset 7, 45 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces13 Classes·|·Namespaces·|·Functions
14 mpitraits.hh·File·Reference14 mpidata.hh·File·Reference
15 Common·»·Parallel_Communication15 Common·»·Parallel_Communication
16 Traits·classes·for·mapping·types·onto·MPI_Datatype.·More... 
17 #include·<cstddef>16 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for
 17 MPI·calls.·More...
 18 #include·<vector>
18 #include·<cstdint>19 #include·<string>
 20 #include·<dune/common/typetraits.hh>
 21 #include·<dune/common/std/type_traits.hh>
 22 #include·<dune/common/parallel/mpitraits.hh>
19 #include·<type_traits> 
20 #include·<utility> 
21 #include·<complex> 
22 #include·<mpi.h> 
23 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
24 ·Classes24 ·Classes
 25 struct· Dune::MPIData<_T,_Enable_>
 26  
25 struct· Dune::MPITraits<_T_>27 struct· Dune::MPIData<_void_>
26  ·······A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes. 
27 ·········More...28  
 29 struct· Dune::MPIData<_T,_std::void_t<_std::tuple<_decltype(std::declval<_T_>
 30 ·········().data()),_decltype(std::declval<_T_>().size()),_typename_std::
 31 ·········decay_t<_T_>::value_type_>_>_>
28  32  
29 ·Namespaces33 ·Namespaces
30 namespace· Dune34 namespace· Dune
31  ··········Dune·namespace.35  ··········Dune·namespace.
32  36  
 37 ·Functions
 38 template<class·T·>
 39 auto Dune::getMPIData·(T·&t)
 40  
33 *****·Detailed·Description·*****41 *****·Detailed·Description·*****
34 Traits·classes·for·mapping·types·onto·MPI_Datatype. 
35 ··Author 
36 ······Markus·Blatt42 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for
 43 MPI·calls.
 44 Furthermore·it·can·be·used·to·resize·the·object·if·possible.·This·makes·it
 45 possible·to·receive·a·message·with·variable·size.·See·Communication::rrecv.
 46 To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·MPIData·or
 47 overload·getMPIData.
  
37 ===============================================================================48 ===============================================================================
38 ·····Generated·by [doxygen]·1.9.849 ·····Generated·by [doxygen]·1.9.8
70.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpitraits.hh·Source·File</title>8 <title>dune-common:·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 74, 214 lines modifiedOffset 74, 192 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpitraits.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpidata.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MPITRAITS_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MPITRAITS_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <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>
 89 <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>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
90 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·HAVE_MPI</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
91 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
92 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
93 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
94 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
95 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
97 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
98 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 98 <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/parallel/mpitraits.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
100 <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>100 <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>
101 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</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="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>&gt;</div>
102 <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>103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>MPIData;</div>
103 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> 
104 <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> 
105 <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>
106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">private</span>:</div>105 <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>
107 <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> 
108 <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> 
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div> 
110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div> 
111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">public</span>:</div> 
112 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}">106 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};">
 107 <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>
 108 <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>
113 <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> 
114 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> 
115 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div> 
116 <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> 
117 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········MPI_Type_commit(&amp;datatype);</div> 
118 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div> 
119 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·datatype;</div> 
120 <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>··}</div>
121 </div>110 </div>
122 <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="c[·...·truncated·by·diffoscope;·len:·124,·SHA:·c0d9971ede1a41e105b24712e8024b1707caaa6877ae167b65922b9b2a8511f3·...·]</div>111 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 112 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="comment">//·Default·implementation·for·static·datatypes</span></div>
 113 <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>
 114 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};">
 115 <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>
 116 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>
 117 <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>
 118 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">protected</span>:</div>
 119 <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>
 120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 121 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}">
 122 <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>
 123 <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>
123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div>124 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{}</div>
124 </div>125 </div>
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>126 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
128 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>127 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div>
 128 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}">
 129 <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>
 130 <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>
129 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>131 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
 132 </div>
 133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
130 <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>134 <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>
 135 <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>
 136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 137 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}">
 138 <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>
131 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#define·ComposeMPITraits(p,m)···················\</span></div> 
132 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">··template&lt;&gt;····································\</span></div> 
133 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">··struct·MPITraits&lt;p&gt;{··························\</span></div> 
134 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">····static·inline·MPI_Datatype·getType(){·······\</span></div> 
135 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">······return·m;·································\</span></div> 
136 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">····}···········································\</span></div> 
137 <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> 
138 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">··}</span></div>139 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·1;</div>
 140 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div>
 141 </div>
139 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>142 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 143 <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}">
 144 <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>
 145 <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>
 146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div>
 147 </div>
 148 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··};</div>
 149 </div>
140 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··ComposeMPITraits(<span·class="keywordtype">char</span>,·MPI_CHAR);</div> 
141 <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> 
142 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··ComposeMPITraits(<span·class="keywordtype">short</span>,MPI_SHORT);</div> 
143 <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> 
Max diff block lines reached; 21718/60506 bytes (35.89%) of diff not shown.
11.1 KB
html2text {}
    
Offset 8, 223 lines modifiedOffset 8, 218 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 mpitraits.hh14 mpidata.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·5#ifndef·DUNE_MPITRAITS_HH 
22 ·6#define·DUNE_MPITRAITS_HH 
23 ·721 ·5
 22 ·6#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH
 23 ·7#define·DUNE_COMMON_PARALLEL_MPIDATA_HH
 24 ·8
 25 ·9#include·<vector>
 26 ·10#include·<string>
 27 ·11
24 ·18#if·HAVE_MPI28 ·12#if·HAVE_MPI
 29 ·13
 30 ·14#include·<dune/common/typetraits.hh>
 31 ·15#include·<dune/common/std/type_traits.hh>
 32 ·16#include·<dune/common/parallel/mpitraits.hh>
 33 ·17
25 ·19 
26 ·20#include·<cstddef> 
27 ·21#include·<cstdint> 
28 ·22#include·<type_traits> 
29 ·23#include·<utility> 
30 ·24#include·<complex> 
31 ·25 
32 ·26#include·<mpi.h> 
33 ·27 
34 ·28namespace·Dune34 ·37namespace·Dune{
35 ·29{ 
36 ·39·template<typename·T>35 ·38
 36 ·39·template<class,·class·=·void>
37 40·struct·MPITraits37 ·40·struct·MPIData;
38 ·41·{38 ·41
39 ·42·private: 
40 ·43·MPITraits(){} 
41 ·44·MPITraits(const·MPITraits&){} 
42 ·45·static·MPI_Datatype·datatype; 
43 ·46·static·MPI_Datatype·vectortype; 
44 ·47·public: 
45 48·static·inline·MPI_Datatype·getType() 
46 ·49·{ 
47 ·50·if(datatype==MPI_DATATYPE_NULL)·{ 
48 ·51·MPI_Type_contiguous(sizeof(T),MPI_BYTE,&datatype); 
49 ·52·MPI_Type_commit(&datatype); 
50 ·53·} 
51 ·54·return·datatype; 
52 ·55·} 
53 56·static·constexpr·bool·is_intrinsic·=·false; 
54 ·57·}; 
55 ·58·template<class·T>39 ·42·template<class·T>
56 ·59·MPI_Datatype·MPITraits<T>::datatype·=·MPI_DATATYPE_NULL; 
57 ·60 
58 ·61#ifndef·DOXYGEN40 43·auto·getMPIData(T&·t){
 41 ·44·return·MPIData<T>(t);
 42 ·45·}
 43 ·46
 44 ·47·//·Default·implementation·for·static·datatypes
 45 ·48·template<class·T,·class·Enable>
 46 49·struct·MPIData
 47 ·50·{
 48 ·51·friend·auto·getMPIData<T>(T&);
 49 ·52·protected:
 50 53·T&·data_;
 51 ·54
 52 55·MPIData(T&·t)
 53 ·56·:·data_(t)
 54 ·57·{}
 55 ·58
 56 ·59·public:
 57 60·void*·ptr()·const·{
 58 ·61·return·(void*)&data_;
59 ·6259 ·62·}
60 ·63·//·A·Macro·for·defining·traits·for·the·primitive·data·types 
61 ·64#define·ComposeMPITraits(p,m)·\ 
62 ·65·template<>·\ 
63 ·66·struct·MPITraits<p>{·\ 
64 ·67·static·inline·MPI_Datatype·getType(){·\60 ·63
 61 ·64·//·indicates·whether·the·datatype·can·be·resized
 62 65·static·constexpr·bool·static_size·=·true;
 63 ·66
 64 67·int·size()·const{
65 ·68·return·m;·\65 ·68·return·1;
66 ·69·}·\66 ·69·}
67 ·70·static·constexpr·bool·is_intrinsic·=·true;·\67 ·70
 68 71·MPI_Datatype·type()·const·{
 69 ·72·return·MPITraits<std::decay_t<T>>::getType();
68 ·71·}70 ·73·}
 71 ·74·};
 72 ·75
 73 ·76·//·dummy·implementation·for·void
 74 ·77·template<>
 75 78·struct·MPIData<void>{
 76 ·79·protected:
 77 80·MPIData()·{}
 78 ·81
 79 ·82·public:
 80 83·void*·ptr(){
 81 ·84·return·nullptr;
 82 ·85·}
 83 86·int·size(){
 84 ·87·return·0;
69 ·72 
70 ·73·ComposeMPITraits(char,·MPI_CHAR); 
71 ·74·ComposeMPITraits(unsigned·char,MPI_UNSIGNED_CHAR); 
72 ·75·ComposeMPITraits(short,MPI_SHORT); 
73 ·76·ComposeMPITraits(unsigned·short,MPI_UNSIGNED_SHORT); 
74 ·77·ComposeMPITraits(int,MPI_INT); 
75 ·78·ComposeMPITraits(unsigned·int,MPI_UNSIGNED); 
76 ·79·ComposeMPITraits(long,MPI_LONG); 
77 ·80·ComposeMPITraits(unsigned·long,MPI_UNSIGNED_LONG); 
78 ·81·ComposeMPITraits(float,MPI_FLOAT); 
79 ·82·ComposeMPITraits(double,MPI_DOUBLE); 
80 ·83·ComposeMPITraits(long·double,MPI_LONG_DOUBLE); 
81 ·84·ComposeMPITraits(std::complex<double>,·MPI_CXX_DOUBLE_COMPLEX); 
82 ·85·ComposeMPITraits(std::complex<long·double>,·MPI_CXX_LONG_DOUBLE_COMPLEX); 
83 ·86·ComposeMPITraits(std::complex<float>,·MPI_CXX_FLOAT_COMPLEX); 
Max diff block lines reached; 6281/11368 bytes (55.25%) of diff not shown.
8.67 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 46 lines modifiedOffset 72, 42 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<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>79 ··<div·class="headertitle"><div·class="title">future.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
 82 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
  
82 <p>Provides·classes·for·selecting·indices·based·on·attribute·flags.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00356_source.html">indexset.hh</a>&quot;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
86 </div>84 </div>
87 <p><a·href="a00344_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00344_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">86 <table·class="memberdecls">
89 <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>
90 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="a02068.html">Dune::InvalidFutureException</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code>get()</code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code>get()</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>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html">Dune::SelectionIterator&lt;·TS,·TG,·TL,·N·&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="a02076.html">Dune::Future&lt;·T·&gt;</a></td></tr>
92 <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>93 <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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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>95 <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>
95 <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>96 <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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <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="a02272.html">Dune::Selection&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html">Dune::PseudoFuture&lt;·void·&gt;</a></td></tr>
98 <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> 
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 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
101 <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>
102 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table>106 </table>
107 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
108 <div·class="textblock"><p>Provides·classes·for·selecting·indices·based·on·attribute·flags.·</p> 
109 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
110 </div></div><!--·contents·-->107 </div><!--·contents·-->
111 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>109 <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.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
114 </small></address>111 </small></address>
115 </body>112 </body>
116 </html>113 </html>
1.66 KB
html2text {}
    
Offset 8, 34 lines modifiedOffset 8, 33 lines modified
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 Classes·|·Namespaces14 Classes·|·Namespaces
 15 future.hh·File·Reference
 16 #include·<memory>
15 selection.hh·File·Reference 
16 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
17 Provides·classes·for·selecting·indices·based·on·attribute·flags.·More... 
18 #include·"indexset.hh" 
19 #include·<dune/common/iteratorfacades.hh>17 #include·<dune/common/exceptions.hh>
20 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
21 ·Classes19 ·Classes
22 class· Dune::SelectionIterator<_TS,_TG,_TL,_N_> 
23  ······A·const·iterator·over·an·uncached·selection.·More...20 class· Dune::InvalidFutureException
 21 ········This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an
 22  ······invalid·future.·A·future·is·valid·until·get()·is·called·and·if·it·is
 23 ········not·default-constructed·and·it·was·not·moved·from.·More...
24  24  
25 class· Dune::UncachedSelection<_TS,_TG,_TL,_N_> 
26  ······An·uncached·selection·of·indices.·More...25 class· Dune::Future<_T_>
 26  ······Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object
 27 ········satisfying·the·interface·of·FutureBase.·More...
27  28  
28 class· Dune::Selection<_TS,_TG,_TL,_N_> 
29  ······A·cached·selection·of·indices.·More...29 class· Dune::PseudoFuture<_T_>
 30  ······A·wrapper-class·for·a·object·which·is·ready·immediately.·More...
 31  
 32 class· Dune::PseudoFuture<_void_>
30  33  
31 ·Namespaces34 ·Namespaces
32 namespace· Dune35 namespace· Dune
33  ··········Dune·namespace.36  ··········Dune·namespace.
34  37  
35 *****·Detailed·Description·***** 
36 Provides·classes·for·selecting·indices·based·on·attribute·flags. 
37 ··Author 
38 ······Markus·Blatt 
  
39 ===============================================================================38 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.839 ·····Generated·by [doxygen]·1.9.8
106 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 318 lines modifiedOffset 74, 250 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">selection.hh</div></div>80 ··<div·class="headertitle"><div·class="title">future.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SELECTION_HH</span></div>87 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SELECTION_HH</span></div>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00356.html">indexset.hh</a>&quot;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
93 <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>93 <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>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
95 <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="ke[·...·truncated·by·diffoscope;·len:·32,·SHA:·88d72e3944a55e5ced9593350b335adec3c902dab78e9171253b1ba4daeec919·...·]>95 <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="};">
 96 <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>
 97 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{};</div>
 98 </div>
 99 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 100 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="comment">//·forward·declaration</span></div>
 101 <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>
 102 <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>
 103 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 104 <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>
96 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};">105 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};">
97 <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>106 <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>
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·Future·interface:</span></div>
 108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">class·</span>FutureBase{</div>
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">public</span>:</div>109 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div>
100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">···39</a></span>····<span·class="keyword">typedef</span>·TS·<a·class="code·hl_typedef"·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">Attri[·...·truncated·by·diffoscope;·len:·10,·SHA:·84a3b8c27cd249103d3055511b2e5d82829316d6a9dfcb61dc83c8c45703931a·...·]>;</div>110 <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>
 111 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·wait()·=·0;</div>
 112 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·ready()·<span·class="keyword">const</span>·=·0;</div>
 113 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·valid()·<span·class="keyword">const</span>·=·0;</div>
 114 <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="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>()·=·0;</div>
 115 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····};</div>
 116 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 117 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·model·class</span></div>
 118 <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>
 119 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>FutureModel</div>
 120 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······:·<span·class="keyword">public</span>·FutureBase</div>
 121 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div>
 122 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······F·_future;</div>
 123 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div>
 124 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······FutureModel(F&amp;&amp;·f)</div>
 125 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········:·_future(std::forward&lt;F&gt;(f))</div>
 126 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{}</div>
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>127 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
102 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02264.html#a886346234b927463117431b844788c1b">···44</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02104.html">Dune::ParallelIndexSet&lt;TG,TL,N&gt;</a>·<[·...·truncated·by·diffoscope;·len:·100,·SHA:·4d7d65fc4b01bc94b1ea6ee5b41ef97f0ef21f4b0d2ce2f1ea6b64ca2ddbbbff·...·]</div>128 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·wait()<span·class="keyword">·override</span></div>
 129 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">······</span>{</div>
 130 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········_future.wait();</div>
 131 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div>
103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>132 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
104 <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>133 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·ready()<span·class="keyword">·const·override</span></div>
105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>134 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">······</span>{</div>
 135 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_future.ready();</div>
106 <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> 
107 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> 
108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="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> 
109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······:·iter_(iter),·end_(end)</div> 
110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>136 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div>
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········++iter_;</div> 
114 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div> 
115 </div> 
116 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
117 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> 
118 <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">operat[·...·truncated·by·diffoscope;·len:·10,·SHA:·66a1eafdd561297bbcd725dff8be0aafb1e9afa8bd2926f79727a269f7c179ec·...·]</div>138 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·valid()<span·class="keyword">·const·override</span></div>
 139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">······</span>{</div>
 140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·_future.valid();</div>
119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{</div>141 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······}</div>
120 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······assert(iter_!=end_);</div>142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 143 <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="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>()<span·class="keyword">·override</span>{</div>
121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">for</span>(++iter_;·iter_!=end_;·++iter_)</div> 
122 <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> 
123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········<span·class="keywordflow">break</span>;</div>144 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·(T)_future.get();</div>
 145 <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>146 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····};</div>
125 </div> 
126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>147 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 148 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::unique_ptr&lt;FutureBase&gt;·_future;</div>
127 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>149 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">public</span>:</div>
 150 <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>
128 <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}">151 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}">
 152 <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>
 153 <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>
129 <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> 
130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">····</span>{</div> 
131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·iter_-&gt;local().local();</div> 
132 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>154 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{}</div>
133 </div>155 </div>
134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>156 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 157 <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>
135 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">158 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}">
 159 <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>
 160 <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>
136 <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> 
137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">····</span>{</div> 
138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="keywordflow">return</span>·iter_·==·other.iter_;</div> 
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····}</div>161 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>
140 </div>162 </div>
141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 164 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02076.html#ab7c3bdcec8ee8d0240d99de0b5f85fb0">···82</a></span>····<a·class="code·hl_function"·href="a02076.html#ab7c3bdcec8ee8d0240d99de0b5f85fb0">Future</a>()·=·<span·class="keywordflow">default</span>;</div>
Max diff block lines reached; 67163/91484 bytes (73.42%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
16.5 KB
html2text {}
    
Offset 8, 387 lines modifiedOffset 8, 265 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 selection.hh14 future.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·5#ifndef·DUNE_SELECTION_HH 
22 ·6#define·DUNE_SELECTION_HH21 ·5#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH
 22 ·6#define·DUNE_COMMON_PARALLEL_FUTURE_HH
23 ·723 ·7
24 ·8#include·"indexset.hh"24 ·8#include·<memory>
25 ·9#include·<dune/common/iteratorfacades.hh>25 ·9#include·<dune/common/exceptions.hh>
26 ·1026 ·10
27 ·11namespace·Dune27 ·11namespace·Dune{
28 ·12{28 ·12
29 ·27·template<typename·TS,·typename·TG,·typename·TL,·int·N> 
30 28·class·SelectionIterator 
31 ·29·{29 17·class·InvalidFutureException·:·public·InvalidStateException
 30 ·18·{};
 31 ·19
 32 ·20·//·forward·declaration
 33 ·21·template<class·T>
 34 ·22·class·PseudoFuture;
 35 ·23
 36 ·27·template<class·T>
 37 28·class·Future{
 38 ·29·//·Future·interface:
 39 ·30·class·FutureBase{
32 ·30·public:40 ·31·public:
33 39·typedef·TS·AttributeSet; 
34 ·40 
35 44·typedef·Dune::ParallelIndexSet<TG,TL,N>·ParallelIndexSet; 
36 ·45 
37 ·46·//typedef·typename·ParallelIndexSet::const_iterator 
38 ParallelIndexSetIterator; 
39 ·47 
40 48·typedef·ConstArrayListIterator<IndexPair<TG,TL>,·N,·std::allocator<Dune:: 
41 IndexPair<TG,TL>·>·>·ParallelIndexSetIterator; 
42 54·SelectionIterator(const·ParallelIndexSetIterator&·iter,·const 
43 ParallelIndexSetIterator&·end) 
44 ·55·:·iter_(iter),·end_(end)41 ·32·virtual·~FutureBase()·=·default;
 42 ·33·virtual·void·wait()·=·0;
 43 ·34·virtual·bool·ready()·const·=·0;
 44 ·35·virtual·bool·valid()·const·=·0;
 45 ·36·virtual·T·get()·=·0;
 46 ·37·};
 47 ·38
 48 ·39·//·model·class
 49 ·40·template<class·F>
 50 ·41·class·FutureModel
 51 ·42·:·public·FutureBase
 52 ·43·{
 53 ·44·F·_future;
 54 ·45·public:
 55 ·46·FutureModel(F&&·f)
 56 ·47·:·_future(std::forward<F>(f))
 57 ·48·{}
 58 ·49
 59 ·50·virtual·void·wait()·override
 60 ·51·{
 61 ·52·_future.wait();
 62 ·53·}
 63 ·54
 64 ·55·virtual·bool·ready()·const·override
45 ·56·{65 ·56·{
 66 ·57·return·_future.ready();
 67 ·58·}
 68 ·59
 69 ·60·virtual·bool·valid()·const·override
46 ·57·//·Step·to·the·first·valid·entry 
47 ·58·while(iter_!=end_·&&·!AttributeSet::contains(iter_->local().attribute())) 
48 ·59·++iter_; 
49 ·60·} 
50 ·61 
51 62·void·operator++() 
52 ·63·{70 ·61·{
53 ·64·assert(iter_!=end_); 
54 ·65·for(++iter_;·iter_!=end_;·++iter_) 
55 ·66·if(AttributeSet::contains(iter_->local().attribute())) 
56 ·67·break;71 ·62·return·_future.valid();
 72 ·63·}
 73 ·64
 74 ·65·virtual·T·get()·override{
 75 ·66·return·(T)_future.get();
 76 ·67·}
57 ·68·}77 ·68·};
58 ·6978 ·69
 79 ·70·std::unique_ptr<FutureBase>·_future;
 80 ·71·public:
 81 ·72·template<class·F>
 82 73·Future(F&&·f)
 83 ·74·:·_future(std::make_unique<FutureModel<F>>(std::forward<F>(f)))
 84 ·75·{}
 85 ·76
 86 ·77·template<class·U,·std::enable_if_t<std::is_same<U,T>::value·&&·!std::
 87 is_same<T,void>::value>>
 88 78·Future(U&&·data)
 89 ·79·:·_future(std::make_unique<FutureModel<PseudoFuture<T>>>(PseudoFuture<T>
 90 (std::forward<U>(data))))
 91 ·80·{}
 92 ·81
 93 82·Future()·=·default;
 94 ·83
 95 87·void·wait(){
 96 ·88·_future->wait();
59 ·70 
60 71·uint32_t·operator*()·const 
61 ·72·{ 
62 ·73·return·iter_->local().local(); 
63 ·74·} 
64 ·75 
65 76·bool·operator==(const·SelectionIterator<TS,TG,TL,N>&·other)·const 
66 ·77·{ 
67 ·78·return·iter_·==·other.iter_; 
68 ·79·} 
69 ·80 
70 81·bool·operator!=(const·SelectionIterator<TS,TG,TL,N>&·other)·const 
71 ·82·{ 
72 ·83·return·iter_·!=·other.iter_; 
Max diff block lines reached; 13320/16884 bytes (78.89%) of diff not shown.
1.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a00347.html
    
Offset 81, 18 lines modifiedOffset 81, 18 lines modified
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Helpers·for·dealing·with·MPI.··82 <p>Helpers·for·dealing·with·MPI.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
85 <code>#include·&lt;mpi.h&gt;</code><br·/>85 <code>#include·&lt;mpi.h&gt;</code><br·/>
86 <code>#include·&lt;mutex&gt;</code><br·/>86 <code>#include·&lt;mutex&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
88 <code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
90 <code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>90 <code>#include·&lt;<a·class="el"·href="a00164_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>
91 </div>91 </div>
92 <p><a·href="a00347_source.html">Go·to·the·source·code·of·this·file.</a></p>92 <p><a·href="a00347_source.html">Go·to·the·source·code·of·this·file.</a></p>
93 <table·class="memberdecls">93 <table·class="memberdecls">
94 <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>
95 Classes</h2></td></tr>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="a02204.html">Dune::FakeMPIHelper</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="a02204.html">Dune::FakeMPIHelper</a></td></tr>
97 <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>97 <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>
22.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00347_source.html
    
Offset 91, 33 lines modifiedOffset 91, 33 lines modified
91 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>91 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
92 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>92 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
93 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>93 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
94 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>94 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>
95 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>95 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
96 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;mutex&gt;</span></div>96 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;mutex&gt;</span></div>
97 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>97 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
98 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00329.html">dune/common/parallel/communication.hh</a>&gt;</span></div>98 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00359.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>99 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
100 <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>100 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00332.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>
101 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>101 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
102 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#endif</span></div>102 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#endif</span></div>
103 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00095.html">dune/common/visibility.hh</a>&gt;</span></div>103 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00164.html">dune/common/visibility.hh</a>&gt;</span></div>
104 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>104 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
105 <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>105 <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>
106 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>106 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
107 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};">107 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};">
108 <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>108 <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>
109 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>109 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>
110 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">public</span>:</div>110 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">public</span>:</div>
111 <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>111 <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>
112 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>112 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
113 <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>113 <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>
114 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>114 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
115 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}">115 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="}">
116 <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="a00095.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>116 <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="a00164.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>
117 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>117 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>
118 <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>118 <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>
119 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keywordflow">return</span>·comm;</div>119 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keywordflow">return</span>·comm;</div>
120 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div>120 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div>
121 </div>121 </div>
122 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>122 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
123 <div·class="foldopen"·id="foldopen00105"·data-start="{"·data-end="}">123 <div·class="foldopen"·id="foldopen00105"·data-start="{"·data-end="}">
Offset 142, 23 lines modifiedOffset 142, 23 lines modified
142 <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>142 <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>
143 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····{</div>143 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····{</div>
144 <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>144 <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>
145 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····}</div>145 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····}</div>
146 </div>146 </div>
147 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>147 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>
148 <div·class="foldopen"·id="foldopen00144"·data-start="{"·data-end="}">148 <div·class="foldopen"·id="foldopen00144"·data-start="{"·data-end="}">
149 <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="a00095.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>149 <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="a00164.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>
150 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>···············································[[maybe_unused]]·<span·class="keywordtype">char</span>**·argv)</div>150 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>···············································[[maybe_unused]]·<span·class="keywordtype">char</span>**·argv)</div>
151 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····{</div>151 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····{</div>
152 <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>152 <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>
153 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····}</div>153 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····}</div>
154 </div>154 </div>
155 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div>155 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div>
156 <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="}">156 <div·class="foldopen"·id="foldopen00150"·data-start="{"·data-end="}">
157 <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="a00095.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>157 <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="a00164.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>
158 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····{</div>158 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····{</div>
159 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>······<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a>·singleton;</div>159 <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>
160 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>······<span·class="keywordflow">return</span>·singleton;</div>160 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>······<span·class="keywordflow">return</span>·singleton;</div>
161 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····}</div>161 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····}</div>
162 </div>162 </div>
163 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>·</div>163 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>·</div>
164 <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>164 <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>
Offset 207, 29 lines modifiedOffset 207, 29 lines modified
207 <div·class="foldopen"·id="foldopen00227"·data-start="{"·data-end="}">207 <div·class="foldopen"·id="foldopen00227"·data-start="{"·data-end="}">
208 <div·class="line"><a·id="l00227"·name="l00227"></a><span·class="lineno"><a·class="line"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">··227</a></span>····<a·class="code·hl_function"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">getCommunication</a>()</div>208 <div·class="line"><a·id="l00227"·name="l00227"></a><span·class="lineno"><a·class="line"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">··227</a></span>····<a·class="code·hl_function"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">getCommunication</a>()</div>
209 <div·class="line"><a·id="l00228"·name="l00228"></a><span·class="lineno">··228</span>····{</div>209 <div·class="line"><a·id="l00228"·name="l00228"></a><span·class="lineno">··228</span>····{</div>
210 <div·class="line"><a·id="l00229"·name="l00229"></a><span·class="lineno">··229</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="a02208.html#a9a512ea0eb356230aee39b93af2eceaf">getCommunicator</a>());</div>210 <div·class="line"><a·id="l00229"·name="l00229"></a><span·class="lineno">··229</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="a02208.html#a9a512ea0eb356230aee39b93af2eceaf">getCommunicator</a>());</div>
211 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>····}</div>211 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>····}</div>
212 </div>212 </div>
213 <div·class="foldopen"·id="foldopen00246"·data-start="{"·data-end="}">213 <div·class="foldopen"·id="foldopen00246"·data-start="{"·data-end="}">
214 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno"><a·class="line"·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">··246</a></span>····<a·class="code·hl_define"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02208.html">MPIHelper</a>&amp;·<a·class="code·hl_function"·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">instance</a>(<span·class="keywordtype">int</span>&amp;·argc,·<span·class="keywordtype">char</span>**&amp;·argv)</div>214 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno"><a·class="line"·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">··246</a></span>····<a·class="code·hl_define"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02208.html">MPIHelper</a>&amp;·<a·class="code·hl_function"·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">instance</a>(<span·class="keywordtype">int</span>&amp;·argc,·<span·class="keywordtype">char</span>**&amp;·argv)</div>
215 <div·class="line"><a·id="l00247"·name="l00247"></a><span·class="lineno">··247</span>····{</div>215 <div·class="line"><a·id="l00247"·name="l00247"></a><span·class="lineno">··247</span>····{</div>
216 <div·class="line"><a·id="l00248"·name="l00248"></a><span·class="lineno">··248</span>······<span·class="comment">//·create·singleton·instance</span></div>216 <div·class="line"><a·id="l00248"·name="l00248"></a><span·class="lineno">··248</span>······<span·class="comment">//·create·singleton·instance</span></div>
217 <div·class="line"><a·id="l00249"·name="l00249"></a><span·class="lineno">··249</span>······<span·class="keywordflow">if</span>·(!instance_){</div>217 <div·class="line"><a·id="l00249"·name="l00249"></a><span·class="lineno">··249</span>······<span·class="keywordflow">if</span>·(!instance_){</div>
218 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>········<span·class="keyword">static</span>·std::mutex·mutex;</div>218 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>········<span·class="keyword">static</span>·std::mutex·mutex;</div>
219 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>········std::lock_guard&lt;std::mutex&gt;·guard(mutex);</div>219 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>········std::lock_guard&lt;std::mutex&gt;·guard(mutex);</div>
220 <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno">··252</span>········<span·class="keywordflow">if</span>(!instance_)</div>220 <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno">··252</span>········<span·class="keywordflow">if</span>(!instance_)</div>
221 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>··········instance_.reset(<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a02208.html">MPIHelper</a>(argc,argv));</div>221 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>··········instance_.reset(<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a02208.html">MPIHelper</a>(argc,argv));</div>
222 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>······}</div>222 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>······}</div>
223 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>······<span·class="keywordflow">return</span>·*instance_;</div>223 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>······<span·class="keywordflow">return</span>·*instance_;</div>
224 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>····}</div>224 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>····}</div>
225 </div>225 </div>
226 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span>·</div>226 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span>·</div>
227 <div·class="foldopen"·id="foldopen00258"·data-start="{"·data-end="}">227 <div·class="foldopen"·id="foldopen00258"·data-start="{"·data-end="}">
228 <div·class="line"><a·id="l00258"·name="l00258"></a><span·class="lineno"><a·class="line"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">··258</a></span>····<a·class="code·hl_define"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02208.html">MPIHelper</a>&amp;·<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">instance</a>()</div>228 <div·class="line"><a·id="l00258"·name="l00258"></a><span·class="lineno"><a·class="line"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">··258</a></span>····<a·class="code·hl_define"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02208.html">MPIHelper</a>&amp;·<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">instance</a>()</div>
229 <div·class="line"><a·id="l00259"·name="l00259"></a><span·class="lineno">··259</span>····{</div>229 <div·class="line"><a·id="l00259"·name="l00259"></a><span·class="lineno">··259</span>····{</div>
230 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>······<span·class="keywordflow">if</span>(!instance_)</div>230 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>······<span·class="keywordflow">if</span>(!instance_)</div>
231 <div·class="line"><a·id="l00261"·name="l00261"></a><span·class="lineno">··261</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;MPIHelper·not·initialized!·Call·MPIHelper::instance(argc,·argv)·with·arguments·first.&quot;</span>);</div>231 <div·class="line"><a·id="l00261"·name="l00261"></a><span·class="lineno">··261</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;MPIHelper·not·initialized!·Call·MPIHelper::instance(argc,·argv)·with·arguments·first.&quot;</span>);</div>
232 <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno">··262</span>······<span·class="keywordflow">return</span>·*instance_;</div>232 <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno">··262</span>······<span·class="keywordflow">return</span>·*instance_;</div>
233 <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span>····}</div>233 <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span>····}</div>
234 </div>234 </div>
235 <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>·</div>235 <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>·</div>
Offset 289, 19 lines modifiedOffset 289, 19 lines modified
289 <div·class="line"><a·id="l00323"·name="l00323"></a><span·class="lineno">··323</span>··<span·class="comment">//·is·the·MPIHelper</span></div>289 <div·class="line"><a·id="l00323"·name="l00323"></a><span·class="lineno">··323</span>··<span·class="comment">//·is·the·MPIHelper</span></div>
290 <div·class="line"><a·id="l00328"·name="l00328"></a><span·class="lineno">··328</span>··<span·class="keyword">typedef</span>·FakeMPIHelper·MPIHelper;</div>290 <div·class="line"><a·id="l00328"·name="l00328"></a><span·class="lineno">··328</span>··<span·class="keyword">typedef</span>·FakeMPIHelper·MPIHelper;</div>
291 <div·class="line"><a·id="l00329"·name="l00329"></a><span·class="lineno">··329</span>·</div>291 <div·class="line"><a·id="l00329"·name="l00329"></a><span·class="lineno">··329</span>·</div>
292 <div·class="line"><a·id="l00330"·name="l00330"></a><span·class="lineno">··330</span><span·class="preprocessor">#endif·</span><span·class="comment">//·!HAVE_MPI</span></div>292 <div·class="line"><a·id="l00330"·name="l00330"></a><span·class="lineno">··330</span><span·class="preprocessor">#endif·</span><span·class="comment">//·!HAVE_MPI</span></div>
293 <div·class="line"><a·id="l00331"·name="l00331"></a><span·class="lineno">··331</span>·</div>293 <div·class="line"><a·id="l00331"·name="l00331"></a><span·class="lineno">··331</span>·</div>
294 <div·class="line"><a·id="l00332"·name="l00332"></a><span·class="lineno">··332</span>}·<span·class="comment">//·end·namespace·Dune</span></div>294 <div·class="line"><a·id="l00332"·name="l00332"></a><span·class="lineno">··332</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
295 <div·class="line"><a·id="l00333"·name="l00333"></a><span·class="lineno">··333</span><span·class="preprocessor">#endif</span></div>295 <div·class="line"><a·id="l00333"·name="l00333"></a><span·class="lineno">··333</span><span·class="preprocessor">#endif</span></div>
 296 <div·class="ttc"·id="aa00029_html"><div·class="ttname"><a·href="a00029.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>
296 <div·class="ttc"·id="aa00095_html"><div·class="ttname"><a·href="a00095.html">visibility.hh</a></div><div·class="ttdoc">Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.</div></div>297 <div·class="ttc"·id="aa00164_html"><div·class="ttname"><a·href="a00164.html">visibility.hh</a></div><div·class="ttdoc">Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.</div></div>
297 <div·class="ttc"·id="aa00095_html_a392e8fb5628732502467b715b88974b4"><div·class="ttname"><a·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a></div><div·class="ttdeci">#define·DUNE_EXPORT</div><div·class="ttdoc">Export·a·symbol·as·part·of·the·public·ABI.</div><div·class="ttdef"><b>Definition</b>·visibility.hh:20</div></div>298 <div·class="ttc"·id="aa00164_html_a392e8fb5628732502467b715b88974b4"><div·class="ttname"><a·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a></div><div·class="ttdeci">#define·DUNE_EXPORT</div><div·class="ttdoc">Export·a·symbol·as·part·of·the·public·ABI.</div><div·class="ttdef"><b>Definition</b>·visibility.hh:20</div></div>
298 <div·class="ttc"·id="aa00146_html"><div·class="ttname"><a·href="a00146.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>299 <div·class="ttc"·id="aa00332_html"><div·class="ttname"><a·href="a00332.html">mpicommunication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.</div></div>
299 <div·class="ttc"·id="aa00329_html"><div·class="ttname"><a·href="a00329.html">communication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.</div></div>300 <div·class="ttc"·id="aa00359_html"><div·class="ttname"><a·href="a00359.html">communication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.</div></div>
300 <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> 
301 <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>301 <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>
302 <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>302 <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>
303 <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>303 <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>
304 <div·class="ttc"·id="aa01580_html"><div·class="ttname"><a·href="a01580.html">Dune::InvalidStateException</a></div><div·class="ttdoc">Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function...</div><div·class="ttdef"><b>Definition</b>·exceptions.hh:281</div></div>304 <div·class="ttc"·id="aa01580_html"><div·class="ttname"><a·href="a01580.html">Dune::InvalidStateException</a></div><div·class="ttdoc">Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function...</div><div·class="ttdef"><b>Definition</b>·exceptions.hh:281</div></div>
305 <div·class="ttc"·id="aa01984_html"><div·class="ttname"><a·href="a01984.html">Dune::No_Comm</a></div><div·class="ttdef"><b>Definition</b>·communication.hh:46</div></div>305 <div·class="ttc"·id="aa01984_html"><div·class="ttname"><a·href="a01984.html">Dune::No_Comm</a></div><div·class="ttdef"><b>Definition</b>·communication.hh:46</div></div>
306 <div·class="ttc"·id="aa01988_html"><div·class="ttname"><a·href="a01988.html">Dune::Communication</a></div><div·class="ttdoc">Collective·communication·interface·and·sequential·default·implementation.</div><div·class="ttdef"><b>Definition</b>·communication.hh:100</div></div>306 <div·class="ttc"·id="aa01988_html"><div·class="ttname"><a·href="a01988.html">Dune::Communication</a></div><div·class="ttdoc">Collective·communication·interface·and·sequential·default·implementation.</div><div·class="ttdef"><b>Definition</b>·communication.hh:100</div></div>
307 <div·class="ttc"·id="aa02204_html"><div·class="ttname"><a·href="a02204.html">Dune::FakeMPIHelper</a></div><div·class="ttdoc">A·fake·mpi·helper.</div><div·class="ttdef"><b>Definition</b>·mpihelper.hh:74</div></div>307 <div·class="ttc"·id="aa02204_html"><div·class="ttname"><a·href="a02204.html">Dune::FakeMPIHelper</a></div><div·class="ttdoc">A·fake·mpi·helper.</div><div·class="ttdef"><b>Definition</b>·mpihelper.hh:74</div></div>
991 B
html2text {}
    
Offset 196, 28 lines modifiedOffset 196, 28 lines modified
196 ·323·//·is·the·MPIHelper196 ·323·//·is·the·MPIHelper
197 ·328·typedef·FakeMPIHelper·MPIHelper;197 ·328·typedef·FakeMPIHelper·MPIHelper;
198 ·329198 ·329
199 ·330#endif·//·!HAVE_MPI199 ·330#endif·//·!HAVE_MPI
200 ·331200 ·331
201 ·332}·//·end·namespace·Dune201 ·332}·//·end·namespace·Dune
202 ·333#endif202 ·333#endif
 203 stdstreams.hh
 204 Standard·Dune·debug·streams.
203 visibility.hh205 visibility.hh
204 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.206 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.
205 DUNE_EXPORT207 DUNE_EXPORT
206 #define·DUNE_EXPORT208 #define·DUNE_EXPORT
207 Export·a·symbol·as·part·of·the·public·ABI.209 Export·a·symbol·as·part·of·the·public·ABI.
208 Definition·visibility.hh:20210 Definition·visibility.hh:20
209 stdstreams.hh 
210 Standard·Dune·debug·streams. 
211 communication.hh 
212 Implements·an·utility·class·that·provides·collective·communication·methods·for 
213 sequential·programs. 
214 mpicommunication.hh211 mpicommunication.hh
215 Implements·an·utility·class·that·provides·MPI's·collective·communication212 Implements·an·utility·class·that·provides·MPI's·collective·communication
216 methods.213 methods.
 214 communication.hh
 215 Implements·an·utility·class·that·provides·collective·communication·methods·for
 216 sequential·programs.
217 DUNE_THROW217 DUNE_THROW
218 #define·DUNE_THROW(E,·m)218 #define·DUNE_THROW(E,·m)
219 Definition·exceptions.hh:218219 Definition·exceptions.hh:218
220 Dune::dverb220 Dune::dverb
221 DVerbType·dverb(std::cout)221 DVerbType·dverb(std::cout)
222 Singleton·of·verbose·debug·stream.222 Singleton·of·verbose·debug·stream.
223 Definition·stdstreams.hh:116223 Definition·stdstreams.hh:116
10.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 72 lines modifiedOffset 72, 44 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</[·...·truncated·by·diffoscope;·len:·8,·SHA:·0d52c43cfb41a3b12016175146b60c7095f5e5782b3ae43bf05a6e057b1729c6·...·]</div></div>79 ··<div·class="headertitle"><div·class="title">mpifuture.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>82 <div·class="textblock"><code>#include·&lt;optional&gt;</code><br·/>
85 <code>#include·&lt;cassert&gt;</code><br·/> 
86 <code>#include·&lt;cstddef&gt;</code><br·/> 
87 <code>#include·&lt;functional&gt;</code><br·/> 
88 <code>#include·&lt;map&gt;</code><br·/> 
89 <code>#include·&lt;memory&gt;</code><br·/> 
90 <code>#include·&lt;utility&gt;</code><br·/> 
91 <code>#include·&lt;vector&gt;</code><br·/> 
92 <code>#include·&lt;mpi.h&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/concept.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
94 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>
95 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
96 </div>86 </div>
97 <p><a·href="a00350_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00350_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">88 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>90 Classes</h2></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="a02276.html">Dune::Concept::HasFixedSize</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="a02180.html">Dune::impl::Buffer&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="a02184.html">Dune::impl::Buffer&lt;·T·&amp;·&gt;</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <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="a02288.html">Dune::VariableSizeCommunicator&lt;·Allocator·&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="a02188.html">Dune::impl::Buffer&lt;·void·&gt;</a></td></tr>
104 <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>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="a02192.html">Dune::MPIFuture&lt;·R,·S·&gt;</a></td></tr>
 98 <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>
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 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
107 <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>
108 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00427"·id="r_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>106 <tr·class="memitem:a00445"·id="r_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>
113 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table>108 </table>
116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
117 <div·class="textblock"><p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·</p> 
118 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
119 </div><h2·class="groupheader">Variable·Documentation</h2> 
120 <a·id="ab8808b7c88a6c9013967559c8eae5e8c"·name="ab8808b7c88a6c9013967559c8eae5e8c"></a> 
121 <h2·class="memtitle"><span·class="permalink"><a·href="#ab8808b7c88a6c9013967559c8eae5e8c">&#9670;&#160;</a></span>fixedSize</h2> 
  
122 <div·class="memitem"> 
123 <div·class="memproto"> 
124 ······<table·class="memname"> 
125 ········<tr> 
126 ··········<td·class="memname">std::size_t·fixedSize</td> 
127 ········</tr> 
128 ······</table> 
129 </div><div·class="memdoc"> 
  
130 <p>The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise.·</p> 
  
131 </div> 
132 </div> 
133 </div><!--·contents·-->109 </div><!--·contents·-->
134 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
135 <hr·class="footer"/><address·class="footer"><small>111 <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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>113 </small></address>
138 </body>114 </body>
139 </html>115 </html>
2.04 KB
html2text {}
    
Offset 8, 50 lines modifiedOffset 8, 35 lines modified
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 Classes·|·Namespaces14 Classes·|·Namespaces
 15 mpifuture.hh·File·Reference
15 variablesizecommunicator.hh·File·Reference 
16 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
17 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the 
18 sender·side.·More... 
19 #include·<algorithm> 
20 #include·<cassert> 
21 #include·<cstddef> 
22 #include·<functional>16 #include·<optional>
23 #include·<map> 
24 #include·<memory> 
25 #include·<utility> 
26 #include·<vector> 
27 #include·<mpi.h> 
28 #include·<dune/common/concept.hh>17 #include·<dune/common/parallel/communication.hh>
29 #include·<dune/common/parallel/interface.hh>18 #include·<dune/common/parallel/future.hh>
30 #include·<dune/common/parallel/mpitraits.hh>19 #include·<dune/common/parallel/mpidata.hh>
31 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
32 ·Classes21 ·Classes
33 struct· Dune::Concept::HasFixedSize22 struct· Dune::impl::Buffer<_T_>
34  23  
35 ·class· Dune::VariableSizeCommunicator<_Allocator_> 
36  ·······A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to 
37 ·········be·known·a·priori.·More...24 struct· Dune::impl::Buffer<_T_&_>
 25  
 26 struct· Dune::impl::Buffer<_void_>
 27  
 28 ·class· Dune::MPIFuture<_R,_S_>
 29 ·········Provides·a·future-like·object·for·MPI·communication.·It·contains·the
 30  ·······object·that·will·be·received·and·might·contain·also·a·sending·object,
 31 ·········which·must·be·hold·(keep·alive)·until·the·communication·has·been
 32 ·········completed.·More...
38  33  
39 ·Namespaces34 ·Namespaces
40 namespace· Dune35 namespace· Dune
41  ··········Dune·namespace.36  ··········Dune·namespace.
42  37  
43 namespace· Dune::Concept38 namespace· Dune::impl
44  ··········Namespace·for·concepts. 
45  39  
46 *****·Detailed·Description·***** 
47 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the 
48 sender·side. 
49 ··Author 
50 ······Markus·Blatt 
51 *****·Variable·Documentation·***** 
52 *****·◆ fixedSize·***** 
53 std::size_t·fixedSize 
54 The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise. 
  
55 ===============================================================================40 ===============================================================================
56 ·····Generated·by [doxygen]·1.9.841 ·····Generated·by [doxygen]·1.9.8
211 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 910 lines modifiedOffset 74, 286 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">mpifuture.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <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>
88 <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>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00359.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00344.html">dune/common/parallel/future.hh</a>&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>94 <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/parallel/mpidata.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 97 <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>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00059.html">dune/common/concept.hh</a>&gt;</span></div> 
105 <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> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00341.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>99 <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="}">
 100 <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>
 101 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 102 <div·class="foldopen"·id="foldopen00019"·data-start="{"·data-end="};">
 103 <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>
 104 <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}">
 105 <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>
 106 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>········<span·class="keywordflow">if</span>(valid)</div>
 107 <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>
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>108 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······}</div>
108 <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>109 </div>
 110 <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>
 111 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}">
 112 <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>
 113 <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>
 114 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{}</div>
 115 </div>
 116 <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>
 117 <div·class="foldopen"·id="foldopen00029"·data-start="{"·data-end="}">
 118 <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>
 119 <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>
 120 <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>
 121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········<span·class="keywordflow">return</span>·tmp;</div>
 122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······}</div>
 123 </div>
 124 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}">
 125 <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>
 126 <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>
 127 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······}</div>
 128 </div>
 129 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}">
 130 <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>
 131 <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>132 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······}</div>
 133 </div>
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>134 <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="keyword">namespace·</span>Concept·{</div>135 </div>
112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>136 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 137 <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>
Diff chunk too large, falling back to line-by-line diff (182 lines added, 844 lines removed)
113 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};">138 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};">
114 <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>139 <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>
115 <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">a[·...·truncated·by·diffoscope;·len:·183,·SHA:·2430ca58827cb016c1c0bca8a5fe1edefa368df14b65fedd8762544cd7523e7d·...·]>140 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}">
116 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div>141 <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>
117 </div>142 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······{</div>
118 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>143 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">if</span>(valid)</div>
119 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·Concept</span></div>144 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··········value·=·T();</div>
120 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>145 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······}</div>
121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span>Impl·{</div>146 </div>
122 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>147 <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>
123 <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>148 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}">
124 <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>149 <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>
125 <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>150 <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>
126 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordflow">return</span>·handle.fixedSize();</div>151 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{}</div>
127 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>152 </div>
128 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>153 <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#a445a5078c366120fc0ba3d0[·...·truncated·by·diffoscope;·len:·21,·SHA:·66184165811d129d738fb22e1186e7fc0a7955fe6c2af4f3746b9bbeaad1f414·...·]</div>
129 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}·<span·class="comment">//·namespace·Impl</span></div>154 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}">
130 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>155 <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>
131 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">namespace</span></div>156 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········T&amp;·tmp·=·*value;</div>
132 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>{</div>157 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········value.reset();</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>·T,·<span·class="keyword">class</span>·Allocator=std::allocator&lt;T&gt;·&gt;</div>158 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·tmp;</div>
134 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">class·</span>MessageBuffer</div>159 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div>
135 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div>160 </div>
136 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">public</span>:</div>161 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}">
137 <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>162 <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>
138 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····:·buffer_(new·T[size]),·size_(size),·position_(0)</div>163 <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>
139 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{}</div>164 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······}</div>
140 <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>165 </div>
141 <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>166 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}">
142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>167 <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="keyw[·...·truncated·by·diffoscope;·len:·18,·SHA:·bd1c40181c2dd2409559df00e45524a131d57053ee2edbf1bcb30ec333e77dd5·...·]{</div>
143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div>168 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·*value;</div>
144 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··~MessageBuffer()</div>169 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······}</div>
145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div>170 </div>
146 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">delete</span>[]·buffer_;</div>171 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div>
147 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div>172 </div>
148 <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>173 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
149 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>174 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span>&lt;&gt;</div>
Max diff block lines reached; 15922/177244 bytes (8.98%) of diff not shown.
38.1 KB
html2text {}
    
Offset 8, 1003 lines modifiedOffset 8, 298 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 variablesizecommunicator.hh14 mpifuture.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 21 ·5#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH
 22 ·6#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH
21 ·5#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·//·Still·fits·the 
22 line! 
23 ·6#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH 
24 ·723 ·7
25 ·8#if·HAVE_MPI24 ·8#include·<optional>
Diff chunk too large, falling back to line-by-line diff (180 lines added, 912 lines removed)
26 ·925 ·9
27 ·10#include·<algorithm>26 ·10#include·<dune/common/parallel/communication.hh>
28 ·11#include·<cassert>27 ·11#include·<dune/common/parallel/future.hh>
29 ·12#include·<cstddef>28 ·12#include·<dune/common/parallel/mpidata.hh>
30 ·13#include·<functional>29 ·13
31 ·14#include·<map>30 ·14#if·HAVE_MPI
32 ·15#include·<memory>31 ·15namespace·Dune{
33 ·16#include·<utility>32 ·16
34 ·17#include·<vector>33 17·namespace·impl{
35 ·18#include·<algorithm>34 ·18·template<class·T>
36 ·1935 19·struct·Buffer{
37 ·20#include·<mpi.h>36 20·Buffer(bool·valid){
38 ·2137 ·21·if(valid)
39 ·22#include·<dune/common/concept.hh>38 ·22·value·=·std::make_unique<T>();
40 ·23#include·<dune/common/parallel/interface.hh>39 ·23·}
41 ·24#include·<dune/common/parallel/mpitraits.hh>40 ·24·template<class·V>
42 ·2541 25·Buffer(V&&·t)
43 ·38namespace·Dune42 ·26·:·value(std::make_unique<T>(std::forward<V>(t)))
44 ·39{43 ·27·{}
45 ·4044 28·std::unique_ptr<T>·value;
46 ·41namespace·Concept·{45 29·T·get(){
47 ·4246 ·30·T·tmp·=·std::move(*value);
48 43struct·HasFixedSize·{47 ·31·value.reset();
49 44·template·<typename·H>·auto·require(H·&&h)·->·decltype(h.fixedSize());48 ·32·return·tmp;
50 ·45};49 ·33·}
51 ·4650 34·operator·bool·()·const·{
52 ·47}·//·namespace·Concept51 ·35·return·(bool)value;
53 ·4852 ·36·}
54 ·49namespace·Impl·{53 37·T&·operator_*()·const{
55 ·5054 ·38·return·*value;
56 ·51template·<typename·H,55 ·39·}
57 ·52·std::enable_if_t<models<Concept::HasFixedSize,·H>(),·int>·=·0>56 ·40·};
58 ·53constexpr·bool·callFixedSize(H·&&handle)·{57 ·41
59 ·54·return·handle.fixedSize();58 ·42·template<class·T>
60 ·55}59 43·struct·Buffer<T&>{
61 ·5660 44·Buffer(bool·valid·=·false)
62 ·57}·//·namespace·Impl61 ·45·{
63 ·5862 ·46·if(valid)
64 ·59namespace63 ·47·value·=·T();
65 ·60{64 ·48·}
66 ·65template<class·T,·class·Allocator=std::allocator<T>·>65 ·49·template<class·V>
67 ·66class·MessageBuffer66 50·Buffer(V&&·t)
68 ·67{67 ·51·:·value(std::forward<V>(t))
69 ·68public:68 ·52·{}
70 ·73·explicit·MessageBuffer(int·size)69 53·std::optional<std::reference_wrapper<T>>·value;
71 ·74·:·buffer_(new·T[size]),·size_(size),·position_(0)70 54·T&·get(){
72 ·75·{}71 ·55·T&·tmp·=·*value;
73 ·80·explicit·MessageBuffer(const·MessageBuffer&·o)72 ·56·value.reset();
74 ·81·:·buffer_(new·T[o.size_]),·size_(o.size_),·position_(o.position_)73 ·57·return·tmp;
75 ·82·{74 ·58·}
76 ·83·}75 59·operator·bool·()·const{
77 ·85·~MessageBuffer()76 ·60·return·(bool)value;
78 ·86·{77 ·61·}
79 ·87·delete[]·buffer_;78 62·T&·operator_*()·const{
80 ·88·}79 ·63·return·*value;
81 ·93·void·write(const·T&·data)80 ·64·}
82 ·94·{81 ·65·};
83 ·95·buffer_[position_++]=data;82 ·66
84 ·96·}83 ·67·template<>
85 ·9784 68·struct·Buffer<void>{
86 ·102·void·read(T&·data)85 69·bool·valid_;
87 ·103·{86 70·Buffer(bool·valid·=·false)
88 ·104·data=buffer_[position_++];87 ·71·:·valid_(valid)
89 ·105·}88 ·72·{}
90 ·10689 73·operator·bool·()·const{
91 ·112·void·reset()90 ·74·return·valid_;
92 ·113·{91 ·75·}
93 ·114·position_=0;92 76·void·get(){}
94 ·115·}93 ·77·};
95 ·11694 ·78·}
96 ·121·bool·finished()95 ·79
97 ·122·{96 ·84·template<class·R,·class·S·=·void>
98 ·123·return·position_==size_;97 85·class·MPIFuture{
99 ·124·}98 ·86·mutable·MPI_Request·req_;
100 ·12599 ·87·mutable·MPI_Status·status_;
101 ·131·bool·hasSpaceForItems(int·noItems)100 ·88·impl::Buffer<R>·data_;
102 ·132·{101 89·impl::Buffer<S>·send_data_;
103 ·133·return·position_+noItems<=size_;102 ·90·friend·class·Communication<MPI_Comm>;
104 ·134·}103 ·91·public:
105 ·139·std::size_t·size()·const104 92·MPIFuture(bool·valid·=·false)
106 ·140·{105 ·93·:·req_(MPI_REQUEST_NULL)
107 ·141·return·size_;106 ·94·,·data_(valid)
108 ·142·}107 ·95·{}
109 ·147·operator·T*()108 ·96
110 ·148·{109 ·97·//·Hide·this·constructor·if·R·or·S·is·void
111 ·149·return·buffer_;110 ·98·template<class·V·=·R,·class·U·=·S>
112 ·150·}111 99·MPIFuture(V&&·recv_data,·U&&·send_data,·typename·std::enable_if_t<!std::
113 ·151112 is_void<V>::value·&&·!std::is_void<U>::value>*·=·0)·:
114 ·152private:113 ·100·req_(MPI_REQUEST_NULL)
115 ·156·T*·buffer_;114 ·101·,·data_(std::forward<R>(recv_data))
116 ·160·std::size_t·size_;115 ·102·,·send_data_(std::forward<S>(send_data))
117 ·164·std::size_t·position_;116 ·103·{}
118 ·165};117 ·104
119 ·166118 ·105·//·hide·this·constructor·if·R·is·void
120 ·170class·InterfaceTracker119 ·106·template<class·V·=·R>
121 ·171{120 107·MPIFuture(V&&·recv_data,·typename·std::enable_if_t<!std::is_void<V>::
122 ·172public:121 value>*·=·0)
123 ·178·InterfaceTracker(int·rank,·InterfaceInformation·info,·std::size_t122 ·108·:·req_(MPI_REQUEST_NULL)
124 fixedsize=0,123 ·109·,·data_(std::forward<V>(recv_data))
125 ·179·bool·allocateSizes=false)124 ·110·{}
126 ·180·:·fixedSize(fixedsize),rank_(rank),·index_(),·interface_(info),·sizes_()125 ·111
127 ·181·{126 112·~MPIFuture()·{
128 ·182·if(allocateSizes)127 ·113·if(req_·!=·MPI_REQUEST_NULL){
129 ·183·{128 ·114·try{·//·might·fail·when·it·is·a·collective·communication
130 ·184·sizes_.resize(info.size());129 ·115·MPI_Cancel(&req_);
Max diff block lines reached; 5834/38968 bytes (14.97%) of diff not shown.
10.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 42 lines modifiedOffset 72, 72 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">future.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</[·...·truncated·by·diffoscope;·len:·8,·SHA:·0d52c43cfb41a3b12016175146b60c7095f5e5782b3ae43bf05a6e057b1729c6·...·]</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
 82 <p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.··
 83 <a·href="#details">More...</a></p>
82 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 85 <code>#include·&lt;cassert&gt;</code><br·/>
 86 <code>#include·&lt;cstddef&gt;</code><br·/>
 87 <code>#include·&lt;functional&gt;</code><br·/>
 88 <code>#include·&lt;map&gt;</code><br·/>
 89 <code>#include·&lt;memory&gt;</code><br·/>
 90 <code>#include·&lt;utility&gt;</code><br·/>
 91 <code>#include·&lt;vector&gt;</code><br·/>
 92 <code>#include·&lt;mpi.h&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>93 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/concept.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/>
 95 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
84 </div>96 </div>
85 <p><a·href="a00353_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00353_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">98 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
88 Classes</h2></td></tr>100 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="a02068.html">Dune::InvalidFutureException</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code>get()</code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code>get()</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> 
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="a02076.html">Dune::Future&lt;·T·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02276.html">Dune::Concept::HasFixedSize</a></td></tr>
93 <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> 
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="a02072.html">Dune::PseudoFuture&lt;·T·&gt;</a></td></tr> 
96 <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> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <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="a02088.html">Dune::PseudoFuture&lt;·void·&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="a02288.html">Dune::VariableSizeCommunicator&lt;·Allocator·&gt;</a></td></tr>
 104 <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>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
101 <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>
102 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>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>
105 <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:a00427"·id="r_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>
 113 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table>115 </table>
 116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 117 <div·class="textblock"><p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·</p>
 118 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
 119 </div><h2·class="groupheader">Variable·Documentation</h2>
 120 <a·id="ab8808b7c88a6c9013967559c8eae5e8c"·name="ab8808b7c88a6c9013967559c8eae5e8c"></a>
 121 <h2·class="memtitle"><span·class="permalink"><a·href="#ab8808b7c88a6c9013967559c8eae5e8c">&#9670;&#160;</a></span>fixedSize</h2>
  
 122 <div·class="memitem">
 123 <div·class="memproto">
 124 ······<table·class="memname">
 125 ········<tr>
 126 ··········<td·class="memname">std::size_t·fixedSize</td>
 127 ········</tr>
 128 ······</table>
 129 </div><div·class="memdoc">
  
 130 <p>The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise.·</p>
  
 131 </div>
 132 </div>
107 </div><!--·contents·-->133 </div><!--·contents·-->
108 <!--·start·footer·part·-->134 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>135 <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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
111 </small></address>137 </small></address>
112 </body>138 </body>
113 </html>139 </html>
2.06 KB
html2text {}
    
Offset 8, 33 lines modifiedOffset 8, 50 lines modified
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 Classes·|·Namespaces14 Classes·|·Namespaces
15 future.hh·File·Reference15 variablesizecommunicator.hh·File·Reference
 16 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 17 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the
 18 sender·side.·More...
 19 #include·<algorithm>
 20 #include·<cassert>
 21 #include·<cstddef>
 22 #include·<functional>
 23 #include·<map>
16 #include·<memory>24 #include·<memory>
 25 #include·<utility>
 26 #include·<vector>
 27 #include·<mpi.h>
17 #include·<dune/common/exceptions.hh>28 #include·<dune/common/concept.hh>
 29 #include·<dune/common/parallel/interface.hh>
 30 #include·<dune/common/parallel/mpitraits.hh>
18 Go_to_the_source_code_of_this_file.31 Go_to_the_source_code_of_this_file.
19 ·Classes32 ·Classes
 33 struct· Dune::Concept::HasFixedSize
20 class· Dune::InvalidFutureException 
21 ········This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an 
22  ······invalid·future.·A·future·is·valid·until·get()·is·called·and·if·it·is 
23 ········not·default-constructed·and·it·was·not·moved·from.·More... 
24  34  
 35 ·class· Dune::VariableSizeCommunicator<_Allocator_>
 36  ·······A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to
 37 ·········be·known·a·priori.·More...
25 class· Dune::Future<_T_> 
26  ······Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object 
27 ········satisfying·the·interface·of·FutureBase.·More... 
28   
29 class· Dune::PseudoFuture<_T_> 
30  ······A·wrapper-class·for·a·object·which·is·ready·immediately.·More... 
31   
32 class· Dune::PseudoFuture<_void_> 
33  38  
34 ·Namespaces39 ·Namespaces
35 namespace· Dune40 namespace· Dune
36  ··········Dune·namespace.41  ··········Dune·namespace.
37  42  
 43 namespace· Dune::Concept
 44  ··········Namespace·for·concepts.
 45  
 46 *****·Detailed·Description·*****
 47 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the
 48 sender·side.
 49 ··Author
 50 ······Markus·Blatt
 51 *****·Variable·Documentation·*****
 52 *****·◆ fixedSize·*****
 53 std::size_t·fixedSize
 54 The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise.
  
38 ===============================================================================55 ===============================================================================
39 ·····Generated·by [doxygen]·1.9.856 ·····Generated·by [doxygen]·1.9.8
204 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 250 lines modifiedOffset 74, 910 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">future.hh</div></div>80 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <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>
88 <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>88 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
93 <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> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
95 <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="};"> 
96 <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> 
97 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{};</div> 
98 </div> 
99 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
100 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="comment">//·forward·declaration</span></div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
101 <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> 
102 <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> 
103 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/concept.hh</a>&gt;</span></div>
 105 <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>
 106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00323.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
104 <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> 
105 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> 
106 <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> 
107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·Future·interface:</span></div> 
108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">class·</span>FutureBase{</div> 
109 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div> 
110 <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> 
111 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·wait()·=·0;</div> 
112 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·ready()·<span·class="keyword">const</span>·=·0;</div> 
113 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·valid()·<span·class="keyword">const</span>·=·0;</div> 
114 <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="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>()·=·0;</div> 
115 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····};</div> 
116 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
117 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·model·class</span></div> 
118 <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> 
119 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>FutureModel</div> 
120 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······:·<span·class="keyword">public</span>·FutureBase</div> 
121 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> 
122 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······F·_future;</div> 
123 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div> 
124 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······FutureModel(F&amp;&amp;·f)</div> 
125 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········:·_future(std::forward&lt;F&gt;(f))</div> 
126 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{}</div> 
127 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
128 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·wait()<span·class="keyword">·override</span></div> 
129 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">······</span>{</div> 
130 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········_future.wait();</div> 
131 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div> 
132 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 108 <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>
133 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·ready()<span·class="keyword">·const·override</span></div> 
134 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">······</span>{</div> 
135 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_future.ready();</div> 
136 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div> 
137 <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>
138 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·valid()<span·class="keyword">·const·override</span></div> 
139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">······</span>{</div> 
140 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·_future.valid();</div> 
141 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······}</div> 
142 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
143 <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="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>()<span·class="keyword">·override</span>{</div> 
144 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·(T)_future.get();</div>111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Concept·{</div>
145 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······}</div> 
146 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····};</div> 
147 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
148 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::unique_ptr&lt;FutureBase&gt;·_future;</div> 
149 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">public</span>:</div> 
150 <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> 
151 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}">113 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};">
152 <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> 
153 <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>114 <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>
 115 <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>
154 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{}</div>116 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div>
155 </div>117 </div>
156 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>118 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 119 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·Concept</span></div>
157 <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> 
158 <div·class="foldopen"·id="foldopen00078"·data-start="{"·data-end="}"> 
159 <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> 
160 <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> 
161 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div> 
162 </div> 
163 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>120 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
164 <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:·13,·SHA:·d98bb794e415569d187e76b2491b7a312ecd0f1e4198b95792578df27f5b1120·...·]</div>121 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span>Impl·{</div>
 122 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 123 <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>
 124 <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>
 125 <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>
Max diff block lines reached; 144999/170585 bytes (85.00%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
36.8 KB
html2text {}
    
Offset 8, 265 lines modifiedOffset 8, 1003 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 future.hh14 variablesizecommunicator.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·5#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH21 ·5#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·//·Still·fits·the
 22 line!
22 ·6#define·DUNE_COMMON_PARALLEL_FUTURE_HH23 ·6#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH
23 ·724 ·7
 25 ·8#if·HAVE_MPI
 26 ·9
 27 ·10#include·<algorithm>
 28 ·11#include·<cassert>
 29 ·12#include·<cstddef>
 30 ·13#include·<functional>
 31 ·14#include·<map>
24 ·8#include·<memory>32 ·15#include·<memory>
 33 ·16#include·<utility>
 34 ·17#include·<vector>
 35 ·18#include·<algorithm>
25 ·9#include·<dune/common/exceptions.hh> 
26 ·10 
27 ·11namespace·Dune{ 
28 ·12 
29 17·class·InvalidFutureException·:·public·InvalidStateException 
30 ·18·{}; 
31 ·1936 ·19
32 ·20·//·forward·declaration 
33 ·21·template<class·T> 
34 ·22·class·PseudoFuture; 
35 ·23 
36 ·27·template<class·T> 
37 28·class·Future{ 
38 ·29·//·Future·interface: 
39 ·30·class·FutureBase{37 ·20#include·<mpi.h>
 38 ·21
 39 ·22#include·<dune/common/concept.hh>
 40 ·23#include·<dune/common/parallel/interface.hh>
 41 ·24#include·<dune/common/parallel/mpitraits.hh>
 42 ·25
 43 ·38namespace·Dune
 44 ·39{
 45 ·40
 46 ·41namespace·Concept·{
 47 ·42
 48 43struct·HasFixedSize·{
 49 44·template·<typename·H>·auto·require(H·&&h)·->·decltype(h.fixedSize());
 50 ·45};
 51 ·46
 52 ·47}·//·namespace·Concept
 53 ·48
 54 ·49namespace·Impl·{
 55 ·50
 56 ·51template·<typename·H,
 57 ·52·std::enable_if_t<models<Concept::HasFixedSize,·H>(),·int>·=·0>
 58 ·53constexpr·bool·callFixedSize(H·&&handle)·{
 59 ·54·return·handle.fixedSize();
 60 ·55}
 61 ·56
 62 ·57}·//·namespace·Impl
 63 ·58
 64 ·59namespace
 65 ·60{
 66 ·65template<class·T,·class·Allocator=std::allocator<T>·>
 67 ·66class·MessageBuffer
 68 ·67{
40 ·31·public:69 ·68public:
 70 ·73·explicit·MessageBuffer(int·size)
 71 ·74·:·buffer_(new·T[size]),·size_(size),·position_(0)
41 ·32·virtual·~FutureBase()·=·default; 
42 ·33·virtual·void·wait()·=·0; 
43 ·34·virtual·bool·ready()·const·=·0; 
44 ·35·virtual·bool·valid()·const·=·0; 
45 ·36·virtual·T·get()·=·0; 
46 ·37·}; 
47 ·38 
48 ·39·//·model·class 
49 ·40·template<class·F> 
50 ·41·class·FutureModel 
51 ·42·:·public·FutureBase 
52 ·43·{ 
53 ·44·F·_future; 
54 ·45·public: 
55 ·46·FutureModel(F&&·f) 
56 ·47·:·_future(std::forward<F>(f)) 
57 ·48·{} 
58 ·49 
59 ·50·virtual·void·wait()·override 
60 ·51·{ 
61 ·52·_future.wait(); 
62 ·53·} 
63 ·54 
64 ·55·virtual·bool·ready()·const·override 
65 ·56·{ 
66 ·57·return·_future.ready(); 
67 ·58·} 
68 ·59 
69 ·60·virtual·bool·valid()·const·override 
70 ·61·{ 
71 ·62·return·_future.valid(); 
72 ·63·} 
73 ·64 
74 ·65·virtual·T·get()·override{ 
75 ·66·return·(T)_future.get(); 
76 ·67·} 
77 ·68·}; 
78 ·69 
79 ·70·std::unique_ptr<FutureBase>·_future; 
80 ·71·public: 
81 ·72·template<class·F> 
82 73·Future(F&&·f) 
83 ·74·:·_future(std::make_unique<FutureModel<F>>(std::forward<F>(f))) 
84 ·75·{}72 ·75·{}
 73 ·80·explicit·MessageBuffer(const·MessageBuffer&·o)
 74 ·81·:·buffer_(new·T[o.size_]),·size_(o.size_),·position_(o.position_)
 75 ·82·{
85 ·76 
86 ·77·template<class·U,·std::enable_if_t<std::is_same<U,T>::value·&&·!std:: 
Max diff block lines reached; 33862/37638 bytes (89.97%) of diff not shown.
24.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 117 lines modifiedOffset 71, 46 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>··</div>
79 <a·href="#enum-members">Enumerations</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div> 
81 ··<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>79 ··<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>
82 </div><!--header-->80 </div><!--header-->
83 <div·class="contents">81 <div·class="contents">
  
84 <p>Provides·a·map·between·global·and·local·indices.··82 <p>Provides·classes·for·selecting·indices·based·on·attribute·flags.··
85 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>84 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00329_source.html">indexset.hh</a>&quot;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/arraylist.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>
88 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;iostream&gt;</code><br·/> 
90 <code>#include·&quot;<a·class="el"·href="a00326_source.html">localindex.hh</a>&quot;</code><br·/> 
91 <code>#include·&lt;stdint.h&gt;</code><br·/> 
92 </div>86 </div>
93 <p><a·href="a00356_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00356_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">88 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
96 Classes</h2></td></tr>90 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="a02092.html">Dune::IndexPair&lt;·TG,·TL·&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="a02264.html">Dune::SelectionIterator&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr>
98 <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>92 <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>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <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="a02096.html">Dune::InvalidIndexSetState</a></td></tr>94 <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>
101 <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>95 <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>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <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="a02104.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html">Dune::Selection&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr>
104 <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> 
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="a02108.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator</a></td></tr> 
107 <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>98 <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>
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="a02100.html">Dune::GlobalLookupIndexSet&lt;·I·&gt;</a></td></tr> 
110 <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> 
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="a02112.html">Dune::LocalIndexComparator&lt;·T·&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="a02116.html">Dune::IndexSetSortFunctor&lt;·TG,·TL·&gt;</a></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
117 <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>
118 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
119 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <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="enum-members"·name="enum-members"></a> 
124 Enumerations</h2></td></tr> 
125 <tr·class="memitem:ga1b1dd66b80964351e68f44bddb32593e"·id="r_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> 
126 ,·<a·class="el"·href="a00416.html#gga1b1dd66b80964351e68f44bddb32593ea2fbc0ce9b92442e69a405a452f2ef416">Dune::RESIZE</a> 
127 ·}</td></tr> 
128 <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> 
129 <tr·class="separator:ga1b1dd66b80964351e68f44bddb32593e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 </table><table·class="memberdecls"> 
131 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
132 Functions</h2></td></tr> 
133 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"·id="r_ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
134 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;pair)</td></tr> 
135 <tr·class="memdesc:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·an·index·pair.··<br·/></td></tr> 
136 <tr·class="separator:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:ga7795b290702a59497007270c46e2b8c6"·id="r_ga7795b290702a59497007270c46e2b8c6"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
138 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
139 <tr·class="separator:ga7795b290702a59497007270c46e2b8c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:ga3a50aa86c8ff96eee7ef68200531326d"·id="r_ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
141 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
142 <tr·class="separator:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:ga0d9a1c3873a538aa66c22b03b406db87"·id="r_ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
144 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
145 <tr·class="separator:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:ga0bc63043e58d66643b64cbd6b08dfb82"·id="r_ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
147 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
148 <tr·class="separator:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:ga6cdf9614911aa5cd70ed58663de013c2"·id="r_ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
150 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
151 <tr·class="separator:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:ga5c5245f4fd0352faad94ca8e9c1f6c6f"·id="r_ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
153 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
154 <tr·class="separator:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
155 <tr·class="memitem:ga239e646b27f7f35ac944aebb59380913"·id="r_ga239e646b27f7f35ac944aebb59380913"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
156 <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·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
157 <tr·class="separator:ga239e646b27f7f35ac944aebb59380913"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"·id="r_gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
159 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gadf0b39a244a69d9e7f71811f960a5728">Dune::operator!=</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
160 <tr·class="separator:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
161 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"·id="r_ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
162 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga912a9eba5f4d34e7e50ef4335b7ba108">Dune::operator&lt;</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
163 <tr·class="separator:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
164 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"·id="r_gab4b337bd4e613e88381306db889e811f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
165 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gab4b337bd4e613e88381306db889e811f">Dune::operator&gt;</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
166 <tr·class="separator:gab4b337bd4e613e88381306db889e811f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
167 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"·id="r_gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
168 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gad6d5923b72e3214d9f20349b722ea874">Dune::operator&lt;=</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
169 <tr·class="separator:gad6d5923b72e3214d9f20349b722ea874"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
170 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"·id="r_ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
171 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7d670d228f6635f587d21ef117951fd9">Dune::operator&gt;=</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
172 <tr·class="separator:ga7d670d228f6635f587d21ef117951fd9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
173 <tr·class="memitem:gac377e14b5944471054bdb0012008393b"·id="r_gac377e14b5944471054bdb0012008393b"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·,·int·N&gt;·</td></tr> 
174 <tr·class="memitem:gac377e14b5944471054bdb0012008393b"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gac377e14b5944471054bdb0012008393b">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·<a·class="el"·href="a02104.html">ParallelIndexSet</a>&lt;·TG,·TL,·N·&gt;·&amp;indexSet)</td></tr> 
175 <tr·class="memdesc:gac377e14b5944471054bdb0012008393b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·an·index·set.··<br·/></td></tr> 
176 <tr·class="separator:gac377e14b5944471054bdb0012008393b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
177 </table>106 </table>
178 <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>
179 <div·class="textblock"><p>Provides·a·map·between·global·and·local·indices.·</p>108 <div·class="textblock"><p>Provides·classes·for·selecting·indices·based·on·attribute·flags.·</p>
180 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>109 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
Max diff block lines reached; 262/20324 bytes (1.29%) of diff not shown.
4.09 KB
html2text {}
    
Offset 7, 109 lines modifiedOffset 7, 35 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces·|·Enumerations·|·Functions13 Classes·|·Namespaces
14 indexset.hh·File·Reference14 selection.hh·File·Reference
15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 16 Provides·classes·for·selecting·indices·based·on·attribute·flags.·More...
16 Provides·a·map·between·global·and·local·indices.·More... 
17 #include·<algorithm> 
18 #include·<dune/common/arraylist.hh> 
19 #include·<dune/common/exceptions.hh> 
20 #include·<iostream> 
21 #include·"localindex.hh"17 #include·"indexset.hh"
22 #include·<stdint.h>18 #include·<dune/common/iteratorfacades.hh>
23 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
24 ·Classes20 ·Classes
25 ·class· Dune::IndexPair<_TG,_TL_> 
26  ·······A·pair·consisting·of·a·global·and·local·index.·More...21 class· Dune::SelectionIterator<_TS,_TG,_TL,_N_>
 22  ······A·const·iterator·over·an·uncached·selection.·More...
27  23  
 24 class· Dune::UncachedSelection<_TS,_TG,_TL,_N_>
 25  ······An·uncached·selection·of·indices.·More...
28 ·class· Dune::InvalidIndexSetState 
29  ·······Exception·indicating·that·the·index·set·is·not·in·the·expected·state. 
30 ·········More... 
31  26  
 27 class· Dune::Selection<_TS,_TG,_TL,_N_>
 28  ······A·cached·selection·of·indices.·More...
32 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_> 
33  ·······Manager·class·for·the·mapping·between·local·indices·and·globally 
34 ·········unique·indices.·More... 
35   
36 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>::iterator 
37  ·······The·iterator·over·the·pairs.·More... 
38   
39 ·class· Dune::GlobalLookupIndexSet<_I_> 
40  ·······Decorates·an·index·set·with·the·possibility·to·find·a·global·index 
41 ·········that·is·mapped·to·a·specific·local.·More... 
42   
43 struct· Dune::LocalIndexComparator<_T_> 
44   
45 struct· Dune::IndexSetSortFunctor<_TG,_TL_> 
46  29  
47 ·Namespaces30 ·Namespaces
48 namespace· Dune31 namespace· Dune
49  ··········Dune·namespace.32  ··········Dune·namespace.
50  33  
51 ·Enumerations 
52 enum· Dune::ParallelIndexSetState·{·Dune::GROUND·,·Dune::RESIZE·} 
53  ·····The·states·the·index·set·can·be·in.·More... 
54   
55 ·Functions 
56 template<class·TG·,·class·TL·> 
57 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·IndexPair<·TG,·TL·> 
58 ················&pair) 
59  ··············Print·an·index·pair. 
60   
61 template<class·TG·,·class·TL·> 
62 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
63 ················TG,·TL·>·&) 
64   
65 template<class·TG·,·class·TL·> 
66 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
67 ················TG,·TL·>·&) 
68   
69 template<class·TG·,·class·TL·> 
70 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
71 ················TG,·TL·>·&) 
72   
73 template<class·TG·,·class·TL·> 
74 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
75 ················TG,·TL·>·&) 
76   
77 template<class·TG·,·class·TL·> 
78 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
79 ················TG,·TL·>·&) 
80   
81 template<class·TG·,·class·TL·> 
82 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
83 ················TG,·TL·>·&) 
84   
85 template<class·TG·,·class·TL·> 
86 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
87   
88 template<class·TG·,·class·TL·> 
89 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
90   
91 template<class·TG·,·class·TL·> 
92 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
93   
94 template<class·TG·,·class·TL·> 
95 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
96   
97 template<class·TG·,·class·TL·> 
98 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
99   
100 template<class·TG·,·class·TL·> 
101 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
102   
103 template<class·TG·,·class·TL·,·int·N> 
104 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelIndexSet<·TG, 
105 ················TL,·N·>·&indexSet) 
106  ··············Print·an·index·set. 
107   
108 *****·Detailed·Description·*****34 *****·Detailed·Description·*****
109 Provides·a·map·between·global·and·local·indices.35 Provides·classes·for·selecting·indices·based·on·attribute·flags.
110 ··Author36 ··Author
111 ······Markus·Blatt37 ······Markus·Blatt
  
112 ===============================================================================38 ===============================================================================
113 ·····Generated·by [doxygen]·1.9.839 ·····Generated·by [doxygen]·1.9.8
267 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 957 lines modifiedOffset 74, 318 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">indexset.hh</div></div>80 ··<div·class="headertitle"><div·class="title">selection.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDEXSET_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SELECTION_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDEXSET_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SELECTION_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00329.html">indexset.hh</a>&quot;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00074.html">dune/common/arraylist.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <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>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
 95 <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>
 96 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};">
 97 <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>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00326.html">localindex.hh</a>&quot;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <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> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <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> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div> 
101 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="comment">//·forward·declarations</span></div> 
102 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>
103 <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> 
104 <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">···30</span>··<span·class="keyword">public</span>:</div>
 100 <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>
105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
106 <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> 
107 <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> 
108 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 102 <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>
109 <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> 
110 <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> 
111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</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>····<span·class="comment">//typedef·typename·ParallelIndexSet::const_iterator·ParallelIndexSetIterator;</span></div>
112 <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> 
113 <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> 
114 <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>·</div>
115 <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> 
116 <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>·IndexP[·...·truncated·by·diffoscope;·len:·22,·SHA:·c98ffe50ace533184048f87818ebbf019f11a2262c36d91ab7b7a88a6fd96052·...·];</div>106 <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::Index[·...·truncated·by·diffoscope;·len:·136,·SHA:·462c3987baa828d6faea17c785bee00fa525927ded6e3c6d49233a0226c1d4ad·...·];</div>
 107 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}">
 108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="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>
117 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······:·iter_(iter),·end_(end)</div>
118 <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> 
119 <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> 
120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>
121 <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> 
122 <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;[·...·truncated·by·diffoscope;·len:·66,·SHA:·28401bce3798c0f9a76068cb045070a0d074f08c0f3a88890c1eed173364d01e·...·]</div>111 <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>
 112 <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>
 113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········++iter_;</div>
123 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>114 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>
 115 </div>
124 <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> 
125 <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> 
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>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
128 <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> 
129 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>116 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
130 <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> 
131 <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[·...·truncated·by·diffoscope;·len:·66,·SHA:·a68f20fbfd62aad3428f9e6b337183d0759df75bb31c9e2525b4ef54e64f4d24·...·]>117 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}">
 118 <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>
 119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{</div>
 120 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······assert(iter_!=end_);</div>
 121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">for</span>(++iter_;·iter_!=end_;·++iter_)</div>
 122 <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>
 123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········<span·class="keywordflow">break</span>;</div>
 124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····}</div>
 125 </div>
132 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</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>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
134 <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> 
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">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
137 <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> 
138 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>127 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
139 <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> 
140 <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[·...·truncated·by·diffoscope;·len:·69,·SHA:·321e17de63e7e05c08ac03fba73bb830bd10bf2e54b817bcff66995bdc329edb·...·]>128 <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}">
 129 <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>
 130 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">····</span>{</div>
 131 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·iter_-&gt;local().local();</div>
 132 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
 133 </div>
141 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 135 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">
 136 <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>
142 <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> 
143 <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> 
144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
145 <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> 
146 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">struct·</span>MPITraits;</div>137 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">····</span>{</div>
 138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="keywordflow">return</span>·iter_·==·other.iter_;</div>
147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····}</div>
148 <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>140 </div>
 141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
149 <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="};">142 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}">
150 <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>143 <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:·173,·SHA:·7040b0bbefa0b30325961f8e7c10ec016abe0e57a074272f5a6537d9f488929b·...·]></div>
 144 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">····</span>{</div>
 145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·iter_·!=·other.iter_;</div>
 146 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>
 147 </div>
Max diff block lines reached; 198511/230183 bytes (86.24%) of diff not shown.
42.2 KB
html2text {}
    
Offset 8, 1115 lines modifiedOffset 8, 387 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 indexset.hh14 selection.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·5#ifndef·DUNE_INDEXSET_HH21 ·5#ifndef·DUNE_SELECTION_HH
22 ·6#define·DUNE_INDEXSET_HH22 ·6#define·DUNE_SELECTION_HH
23 ·723 ·7
24 ·8#include·<algorithm> 
25 ·9#include·<dune/common/arraylist.hh> 
26 ·10#include·<dune/common/exceptions.hh> 
27 ·11#include·<iostream> 
28 ·12 
29 ·13#include·"localindex.hh"24 ·8#include·"indexset.hh"
 25 ·9#include·<dune/common/iteratorfacades.hh>
 26 ·10
30 ·14 
31 ·15#include·<stdint.h>·//·for·uint32_t 
32 ·16 
33 ·17namespace·Dune27 ·11namespace·Dune
34 ·18{28 ·12{
35 ·28·//·forward·declarations29 ·27·template<typename·TS,·typename·TG,·typename·TL,·int·N>
 30 28·class·SelectionIterator
36 ·2931 ·29·{
 32 ·30·public:
 33 39·typedef·TS·AttributeSet;
37 ·30·template<class·TG,·class·TL> 
38 ·31·class·IndexPair; 
39 ·32 
40 ·38·template<class·TG,·class·TL> 
41 ·39·std::ostream&·operator<<(std::ostream&·os,·const·IndexPair<TG,TL>&·pair); 
42 ·4034 ·40
 35 44·typedef·Dune::ParallelIndexSet<TG,TL,N>·ParallelIndexSet;
 36 ·45
 37 ·46·//typedef·typename·ParallelIndexSet::const_iterator
 38 ParallelIndexSetIterator;
 39 ·47
 40 48·typedef·ConstArrayListIterator<IndexPair<TG,TL>,·N,·std::allocator<Dune::
 41 IndexPair<TG,TL>·>·>·ParallelIndexSetIterator;
 42 54·SelectionIterator(const·ParallelIndexSetIterator&·iter,·const
 43 ParallelIndexSetIterator&·end)
 44 ·55·:·iter_(iter),·end_(end)
 45 ·56·{
 46 ·57·//·Step·to·the·first·valid·entry
 47 ·58·while(iter_!=end_·&&·!AttributeSet::contains(iter_->local().attribute()))
 48 ·59·++iter_;
 49 ·60·}
43 ·41·template<class·TG,·class·TL> 
44 ·42·bool·operator==(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
45 ·43 
46 ·44·template<class·TG,·class·TL> 
47 ·45·bool·operator!=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
48 ·46 
49 ·47·template<class·TG,·class·TL> 
50 ·48·bool·operator<(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
51 ·49 
52 ·50·template<class·TG,·class·TL> 
53 ·51·bool·operator>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
54 ·52 
55 ·53·template<class·TG,·class·TL> 
56 ·54·bool·operator<=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
57 ·55 
58 ·56·template<class·TG,·class·TL> 
59 ·57·bool·operator_>=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
60 ·58 
61 ·59·template<class·TG,·class·TL> 
62 ·60·bool·operator==(const·IndexPair<TG,TL>&,·const·TG&); 
63 ·6150 ·61
64 ·62·template<class·TG,·class·TL> 
65 ·63·bool·operator!=(const·IndexPair<TG,TL>&,·const·TG&); 
66 ·64 
67 ·65·template<class·TG,·class·TL> 
68 ·66·bool·operator<(const·IndexPair<TG,TL>&,·const·TG&); 
69 ·67 
70 ·68·template<class·TG,·class·TL> 
71 ·69·bool·operator>(const·IndexPair<TG,TL>&,·const·TG&);51 62·void·operator++()
 52 ·63·{
 53 ·64·assert(iter_!=end_);
 54 ·65·for(++iter_;·iter_!=end_;·++iter_)
 55 ·66·if(AttributeSet::contains(iter_->local().attribute()))
 56 ·67·break;
 57 ·68·}
 58 ·69
72 ·7059 ·70
73 ·71·template<class·TG,·class·TL> 
74 ·72·bool·operator<=(const·IndexPair<TG,TL>&,·const·TG&); 
75 ·73 
76 ·74·template<class·TG,·class·TL> 
77 ·75·bool·operator_>=(const·IndexPair<TG,TL>&,·const·TG&); 
78 ·76 
79 ·77·template<typename·T> 
80 ·78·struct·MPITraits;60 71·uint32_t·operator*()·const
 61 ·72·{
 62 ·73·return·iter_->local().local();
 63 ·74·}
 64 ·75
 65 76·bool·operator==(const·SelectionIterator<TS,TG,TL,N>&·other)·const
 66 ·77·{
 67 ·78·return·iter_·==·other.iter_;
81 ·7968 ·79·}
82 ·83·template<class·TG,·class·TL> 
83 84·class·IndexPair69 ·80
 70 81·bool·operator!=(const·SelectionIterator<TS,TG,TL,N>&·other)·const
84 ·85·{71 ·82·{
 72 ·83·return·iter_·!=·other.iter_;
 73 ·84·}
 74 ·85
 75 ·86·private:
 76 ·87·ParallelIndexSetIterator·iter_;
 77 ·88·const·ParallelIndexSetIterator·end_;
 78 ·89·};
 79 ·90
 80 ·91
 81 ·95·template<typename·TS,·typename·TG,·typename·TL,·int·N>
 82 96·class·UncachedSelection
 83 ·97·{
85 ·86·friend·std::ostream&·operator<<<>(std::ostream&,·const·IndexPair<TG,TL>&); 
86 ·87·friend·bool·operator==<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
Max diff block lines reached; 38133/43145 bytes (88.38%) of diff not shown.
10.6 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 45 lines modifiedOffset 71, 65 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
 79 <a·href="#typedef-members">Typedefs</a>·&#124;
 80 <a·href="#func-members">Functions</a>··</div>
79 ··<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>81 ··<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></div></div></div>
80 </div><!--header-->82 </div><!--header-->
81 <div·class="contents">83 <div·class="contents">
  
82 <p>See·MPI_Pack.··84 <p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.··
83 <a·href="#details">More...</a></p>85 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>86 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
85 <code>#include·&lt;mpi.h&gt;</code><br·/>87 <code>#include·&lt;complex&gt;</code><br·/>
 88 <code>#include·&lt;algorithm&gt;</code><br·/>
 89 <code>#include·&lt;vector&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>90 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>92 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>
88 </div>93 </div>
89 <p><a·href="a00359_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00359_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">95 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>97 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="a02212.html">Dune::MPIPack</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="a01984.html">Dune::No_Comm</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <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="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>100 <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>
 101 <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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
98 <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>
99 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
100 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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="memdesc: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>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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>
 111 Typedefs</h2></td></tr>
 112 <tr·class="memitem:a51c6057d41509cc616fb60f483d7d6dd"·id="r_a51c6057d41509cc616fb60f483d7d6dd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 113 <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>·=·<a·class="el"·href="a01988.html">Communication</a>&lt;·T·&gt;</td></tr>
 114 <tr·class="separator:a51c6057d41509cc616fb60f483d7d6dd"><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="func-members"·name="func-members"></a>
 117 Functions</h2></td></tr>
 118 <tr·class="memitem:aee0776cda12fa2fc183e2796bcc23743"·id="r_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·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;,·const·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;)</td></tr>
 119 <tr·class="memdesc:aee0776cda12fa2fc183e2796bcc23743"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<br·/></td></tr>
 120 <tr·class="separator:aee0776cda12fa2fc183e2796bcc23743"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a02c039e6b551a3771cc8c60e84e9bcdc"·id="r_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·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;,·const·<a·class="el"·href="a01984.html">No_Comm</a>·&amp;)</td></tr>
 122 <tr·class="memdesc:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<br·/></td></tr>
 123 <tr·class="separator:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table>124 </table>
104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 126 <div·class="textblock"><p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·</p>
 127 <p>An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the·message-passing·paradigm.</p>
105 <div·class="textblock"><p>See·MPI_Pack.·</p> 
106 <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> 
107 <dl·class="section·author"><dt>Author</dt><dd>Nils-Arne·Dreier·</dd></dl> 
108 </div></div><!--·contents·-->128 </div></div><!--·contents·-->
109 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>130 <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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>132 </small></address>
113 </body>133 </body>
114 </html>134 </html>
2.05 KB
html2text {}
    
Offset 7, 36 lines modifiedOffset 7, 50 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces13 Classes·|·Namespaces·|·Typedefs·|·Functions
14 mpipack.hh·File·Reference14 communication.hh·File·Reference
15 Common·»·Parallel_Communication15 Common·»·Parallel_Communication
16 See·MPI_Pack.·More...16 Implements·an·utility·class·that·provides·collective·communication·methods·for
 17 sequential·programs.·More...
 18 #include·<iostream>
 19 #include·<complex>
 20 #include·<algorithm>
17 #include·<vector>21 #include·<vector>
18 #include·<mpi.h> 
19 #include·<dune/common/parallel/mpicommunication.hh>22 #include·<dune/common/binaryfunctions.hh>
 23 #include·<dune/common/exceptions.hh>
20 #include·<dune/common/parallel/mpidata.hh>24 #include·<dune/common/parallel/future.hh>
21 Go_to_the_source_code_of_this_file.25 Go_to_the_source_code_of_this_file.
22 ·Classes26 ·Classes
23 ·class· Dune::MPIPack27 struct· Dune::No_Comm
24  28  
25 struct· Dune::MPIData<_P,_std::enable_if_t<_std::is_same<_std::remove_const_t< 
26 ·········P_>,_MPIPack_>::value_>_>29 ·class· Dune::Communication<_Communicator_>
 30  ·······Collective·communication·interface·and·sequential·default
 31 ·········implementation.·More...
27  32  
28 ·Namespaces33 ·Namespaces
29 namespace· Dune34 namespace· Dune
30  ··········Dune·namespace.35  ··········Dune·namespace.
31  36  
 37 ·Typedefs
 38 template<class·T·>
 39 using Dune::CollectiveCommunication·=·Communication<·T·>
 40  
 41 ·Functions
 42 bool Dune::operator==·(const·No_Comm·&,·const·No_Comm·&)
 43  ····Comparison·operator·for·MPI·compatibility.
 44  
 45 bool Dune::operator!=·(const·No_Comm·&,·const·No_Comm·&)
 46  ····Comparison·operator·for·MPI·compatibility.
 47  
32 *****·Detailed·Description·*****48 *****·Detailed·Description·*****
 49 Implements·an·utility·class·that·provides·collective·communication·methods·for
 50 sequential·programs.
 51 An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the
 52 message-passing·paradigm.
33 See·MPI_Pack. 
34 This·Wrapper·class·takes·care·of·the·memory·management·and·provides·methods·to 
35 pack·and·unpack·objects.·All·objects·that·can·be·used·for·MPI·communication·can 
36 also·be·packed·and·unpacked·to/from·MPIPack. 
37 ··Author 
38 ······Nils-Arne·Dreier 
  
39 ===============================================================================53 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.854 ·····Generated·by [doxygen]·1.9.8
136 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 279 lines modifiedOffset 74, 413 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpipack.hh</div></div>80 ··<div·class="headertitle"><div·class="title">communication.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH</span></div>87 <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>
88 <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>88 <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>
 89 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 90 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 91 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 92 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 93 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 94 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00032.html">dune/common/binaryfunctions.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00344.html">dune/common/parallel/future.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
90 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
91 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
92 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
93 <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> 
94 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00320.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
96 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
97 <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="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>
98 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</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>·</div>
 101 <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>
 102 <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>
 103 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
99 <div·class="foldopen"·id="foldopen00032"·data-start="{"·data-end="};">104 <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}">
 105 <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>
100 <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> 
101 <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="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordtype">int</span>·_position;</div> 
103 <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> 
104 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
105 <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> 
106 <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> 
107 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>:</div>107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
108 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}"> 
109 <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="a01988.html">Communication&lt;MPI_Comm&gt;</a>·comm,·std::size_t·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·0)</div> 
110 <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> 
111 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······,·_position(0)</div> 
112 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······,·_comm(comm)</div> 
113 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····{}</div>108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div>
114 </div>109 </div>
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
116 <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> 
117 <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> 
118 <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> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
122 <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> 
123 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="}">111 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}">
 112 <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>
124 <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> 
125 <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> 
126 <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> 
127 <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> 
128 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>(!has_static_size)</div> 
129 <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> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keywordflow">if</span>(!has_static_size){</div> 
133 <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> 
134 <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> 
135 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·················&amp;_position,·_comm);</div> 
136 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······}</div>113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
137 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······MPI_Pack(mpidata.ptr(),·mpidata.size(),</div> 
138 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···············mpidata.type(),·_buffer.data(),·_buffer.size(),</div> 
139 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············&amp;_position,·_comm);</div> 
140 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div>
141 </div>116 </div>
142 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
143 <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>118 <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>
 119 <div·class="foldopen"·id="foldopen00099"·data-start="{"·data-end="};">
 120 <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>
 121 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>
 122 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">public</span>:</div>
144 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}">123 <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}">
 124 <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>
145 <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> 
146 <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> 
147 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div>125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{}</div>
148 <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> 
149 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div> 
150 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·················mpidata.ptr(),·mpidata.size(),</div> 
151 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·················mpidata.type(),·_comm);</div> 
152 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
153 </div>126 </div>
154 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>127 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
155 <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> 
156 <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="}">128 <div·class="foldopen"·id="foldopen00110"·data-start="{"·data-end="}">
 129 <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>
157 <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> 
158 <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> 
159 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····{</div> 
160 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div> 
161 <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> 
162 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div> 
Max diff block lines reached; 87979/116360 bytes (75.61%) of diff not shown.
22.7 KB
html2text {}
    
Offset 8, 324 lines modifiedOffset 8, 481 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 mpipack.hh14 communication.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·20#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH21 ·5#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH
22 ·21#define·DUNE_COMMON_PARALLEL_MPIPACK_HH22 ·6#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH
 23 ·14#include·<iostream>
 24 ·15#include·<complex>
 25 ·16#include·<algorithm>
 26 ·17#include·<vector>
 27 ·18
 28 ·19#include·<dune/common/binaryfunctions.hh>
 29 ·20#include·<dune/common/exceptions.hh>
 30 ·21#include·<dune/common/parallel/future.hh>
23 ·2231 ·22
24 ·23#include·<vector> 
25 ·24#if·HAVE_MPI 
26 ·25#include·<mpi.h> 
27 ·26#include·<dune/common/parallel/mpicommunication.hh> 
28 ·27#include·<dune/common/parallel/mpidata.hh> 
29 ·28 
30 ·29 
31 ·30namespace·Dune·{32 ·42namespace·Dune
 33 ·43{
 34 ·44
 35 ·45·/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/
 36 46·struct·No_Comm·{};
 37 ·47
 38 52·inline·bool·operator==(const·No_Comm&,·const·No_Comm&)
32 ·31 
33 32·class·MPIPack·{ 
34 ·33·std::vector<char>·_buffer; 
35 ·34·int·_position; 
36 35·MPI_Comm·_comm; 
37 ·36 
38 ·37·friend·struct·MPIData<MPIPack>; 
39 ·38·friend·struct·MPIData<const·MPIPack>; 
40 ·39·public: 
41 40·MPIPack(Communication<MPI_Comm>·comm,·std::size_t·size·=·0) 
42 ·41·:·_buffer(size) 
43 ·42·,·_position(0) 
44 ·43·,·_comm(comm) 
45 ·44·{} 
46 ·45 
47 ·46·//·Its·not·valid·to·copy·a·MPIPack·but·you·can·move·it 
48 47·MPIPack(const·MPIPack&)·=·delete; 
49 48·MPIPack&·operator_=(const·MPIPack&·other)·=·delete; 
50 49·MPIPack(MPIPack&&)·=·default; 
51 50·MPIPack&·operator_=(MPIPack&&·other)·=·default; 
52 ·51 
53 ·57·template<class·T> 
54 58·void·pack(const·T&·data){ 
55 ·59·auto·mpidata·=·getMPIData(data); 
56 ·60·int·size·=·getPackSize(mpidata.size(),·_comm,·mpidata.type()); 
57 ·61·constexpr·bool·has_static_size·=·decltype(getMPIData(std::declval<T&>())):: 
58 static_size; 
59 ·62·if(!has_static_size) 
60 ·63·size·+=·getPackSize(1,·_comm,·MPI_INT); 
61 ·64·if·(_position·+·size·>·0·&&·size_t(_position·+·size)·>·_buffer.size())·/ 
62 /·resize·buffer·if·necessary 
63 ·65·_buffer.resize(_position·+·size); 
64 ·66·if(!has_static_size){ 
65 ·67·int·size·=·mpidata.size(); 
66 ·68·MPI_Pack(&size,·1,·MPI_INT,·_buffer.data(),·_buffer.size(), 
67 ·69·&_position,·_comm); 
68 ·70·} 
69 ·71·MPI_Pack(mpidata.ptr(),·mpidata.size(), 
70 ·72·mpidata.type(),·_buffer.data(),·_buffer.size(), 
71 ·73·&_position,·_comm); 
72 ·74·} 
73 ·75 
74 ·80·template<class·T> 
75 81·auto·/*void*/·unpack(T&·data) 
76 ·82·->·std::enable_if_t<decltype(getMPIData(data))::static_size,·void> 
77 ·83·{39 ·53·{
 40 ·54·return·true;
 41 ·55·}
 42 ·56
 43 61·inline·bool·operator!=(const·No_Comm&,·const·No_Comm&)
 44 ·62·{
 45 ·63·return·false;
 46 ·64·}
 47 ·65
 48 ·98·template<typename·Communicator>
 49 99·class·Communication
 50 ·100·{
 51 ·101·public:
 52 103·Communication()
78 ·84·auto·mpidata·=·getMPIData(data); 
79 ·85·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position, 
80 ·86·mpidata.ptr(),·mpidata.size(), 
81 ·87·mpidata.type(),·_comm); 
82 ·88·} 
83 ·89 
84 ·94·template<class·T> 
85 95·auto·/*void*/·unpack(T&·data) 
86 ·96·->·std::enable_if_t<!decltype(getMPIData(data))::static_size,·void> 
87 ·97·{ 
88 ·98·auto·mpidata·=·getMPIData(data); 
89 ·99·int·size·=·0; 
90 ·100·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position, 
91 ·101·&size,·1, 
92 ·102·MPI_INT,·_comm); 
93 ·103·mpidata.resize(size); 
94 ·104·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position, 
95 ·105·mpidata.ptr(),·mpidata.size(), 
96 ·106·mpidata.type(),·_comm); 
97 ·107·}53 ·104·{}
98 ·10854 ·105
99 ·109 
100 ·111·template<typename·T> 
101 112·friend·MPIPack&·operator_<<(MPIPack&·p,·const·T&·t){ 
102 ·113·p.pack(t);55 110·Communication·(const·Communicator&)
 56 ·111·{}
 57 ·112
 58 114·int·rank·()·const
 59 ·115·{
Max diff block lines reached; 18949/23170 bytes (81.78%) of diff not shown.
20.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 107 lines modifiedOffset 72, 82 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>·&#124;78 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#define-members">Macros</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div>79 <a·href="#func-members">Functions</a>··</div>
81 ··<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>80 ··<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>
82 </div><!--header-->81 </div><!--header-->
83 <div·class="contents">82 <div·class="contents">
  
84 <p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.··83 <p>Classes·describing·a·distributed·indexset.··
85 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 86 <code>#include·&lt;iostream&gt;</code><br·/>
 87 <code>#include·&lt;ostream&gt;</code><br·/>
87 <code>#include·&lt;functional&gt;</code><br·/>88 <code>#include·&lt;map&gt;</code><br·/>
88 <code>#include·&lt;memory&gt;</code><br·/>89 <code>#include·&lt;memory&gt;</code><br·/>
 90 <code>#include·&lt;set&gt;</code><br·/>
 91 <code>#include·&lt;utility&gt;</code><br·/>
 92 <code>#include·&lt;vector&gt;</code><br·/>
89 <code>#include·&lt;mpi.h&gt;</code><br·/>93 <code>#include·&lt;mpi.h&gt;</code><br·/>
90 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>94 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
92 <code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>95 <code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.hh</a>&gt;</code><br·/>
93 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>96 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
94 <code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>97 <code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code><br·/>
 98 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/sllist.hh</a>&gt;</code><br·/>
 99 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
96 </div>100 </div>
97 <p><a·href="a00362_source.html">Go·to·the·source·code·of·this·file.</a></p>101 <p><a·href="a00362_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">102 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>104 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="a02160.html">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02232.html">Dune::MPITraits&lt;·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&gt;</a></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <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="a02164.html">Dune::Communication&lt;·MPI_Comm·&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="a02240.html">Dune::RemoteIndex&lt;·T1,·T2·&gt;</a></td></tr>
104 <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>108 <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>
 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="a02236.html">Dune::RemoteIndices&lt;·T,·A·&gt;</a></td></tr>
 111 <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>
 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="a02244.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;</a></td></tr>
 114 <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>
 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="a02256.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition</a></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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02248.html">Dune::CollectiveIterator&lt;·T,·A·&gt;</a></td></tr>
 119 <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>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <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>
 122 <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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">124 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>125 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>126 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>127 <tr·class="memitem:a00425"·id="r_a00425"><td·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>128 <tr·class="memdesc: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>129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">130 </table><table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
114 Macros</h2></td></tr> 
115 <tr·class="memitem:abf4b9767826441f78c43351f92490b89"·id="r_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> 
116 <tr·class="separator:abf4b9767826441f78c43351f92490b89"><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="func-members"·name="func-members"></a>131 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
119 Functions</h2></td></tr>132 Functions</h2></td></tr>
 133 <tr·class="memitem:ga3e5f972e5d5b0623aeaae8ea76610ef4"·id="r_ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr>
 134 <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·<a·class="el"·href="a02240.html">RemoteIndex</a>&lt;·T1,·T2·&gt;·&amp;index)</td></tr>
120 <tr·class="memitem:a59a2fa61f1387001cea29f6934ff2316"·id="r_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> 
121 <tr·class="separator:a59a2fa61f1387001cea29f6934ff2316"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 <tr·class="memitem:a8b1b0f5e50429120ba7fc972b022c620"·id="r_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> 
123 <tr·class="separator:a8b1b0f5e50429120ba7fc972b022c620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>135 <tr·class="separator:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 <tr·class="memitem:a428c0ab2a3d2fd8f57aaf06a51bcc558"·id="r_a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a428c0ab2a3d2fd8f57aaf06a51bcc558">Dune::Comp[·...·truncated·by·diffoscope;·len:·64,·SHA:·a62dd1d5d799955a30751596f848801048d3ccf90b442eab553b711cb012e6a8·...·]</td></tr>136 <tr·class="memitem:ga4298476f0be2dd2f85d9fb856ff228a1"·id="r_ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class·A·&gt;·</td></tr>
 137 <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·<a·class="el"·href="a02236.html">RemoteIndices</a>&lt;·T,·A·&gt;·&amp;indices)</td></tr>
125 <tr·class="separator:a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memSeparator"·colspan="2">&#160;</td></tr>138 <tr·class="separator:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
126 <tr·class="memitem:ac6814315ac90b4c03e394688a30c63d9"·id="r_ac6814315ac90b4c03e394688a30c63d9"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ac6814315ac90b4c03e394688a30c63d9">Dune::Compo[·...·truncated·by·diffoscope;·len:·63,·SHA:·e6e3ef18600c5329637cb506c2dfc5e053a9a5841cb69c1e0cf2516c52ca4929·...·]</td></tr>139 <tr·class="memitem:a048ab774ecd43e33a5026deafb1c9a8c"·id="r_a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 140 <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·<a·class="el"·href="a02240.html">RemoteIndex</a>&lt;·TG,·TA·&gt;·&amp;index)</td></tr>
127 <tr·class="separator:ac6814315ac90b4c03e394688a30c63d9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>141 <tr·class="separator:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 </table>142 </table>
129 <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>
 144 <div·class="textblock"><p>Classes·describing·a·distributed·indexset.·</p>
 145 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
130 <div·class="textblock"><p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·</p> 
131 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
132 <a·id="abf4b9767826441f78c43351f92490b89"·name="abf4b9767826441f78c43351f92490b89"></a> 
133 <h2·class="memtitle"><span·class="permalink"><a·href="#abf4b9767826441f78c43351f92490b89">&#9670;&#160;</a></span>ComposeMPIOp</h2> 
  
134 <div·class="memitem"> 
135 <div·class="memproto"> 
136 ······<table·class="memname"> 
137 ········<tr> 
138 ··········<td·class="memname">#define·ComposeMPIOp</td> 
139 ··········<td>(</td> 
140 ··········<td·class="paramtype">&#160;</td> 
141 ··········<td·class="paramname">func,·</td> 
142 ········</tr> 
143 ········<tr> 
144 ··········<td·class="paramkey"></td> 
145 ··········<td></td> 
146 ··········<td·class="paramtype">&#160;</td> 
147 ··········<td·class="paramname">op&#160;</td> 
148 ········</tr> 
149 ········<tr> 
150 ··········<td></td> 
151 ··········<td>)</td> 
152 ··········<td></td><td></td> 
153 ········</tr> 
Max diff block lines reached; 243/16737 bytes (1.45%) of diff not shown.
3.6 KB
html2text {}
    
Offset 7, 70 lines modifiedOffset 7, 73 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces·|·Macros·|·Functions13 Classes·|·Namespaces·|·Functions
14 mpicommunication.hh·File·Reference 
15 Common·»·Parallel_Communication 
16 Implements·an·utility·class·that·provides·MPI's·collective·communication 
17 methods.·More... 
18 #include·<algorithm> 
19 #include·<functional>14 remoteindices.hh·File·Reference
 15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 16 Classes·describing·a·distributed·indexset.·More...
 17 #include·<cassert>
 18 #include·<iostream>
 19 #include·<ostream>
 20 #include·<map>
20 #include·<memory>21 #include·<memory>
 22 #include·<set>
 23 #include·<utility>
 24 #include·<vector>
21 #include·<mpi.h>25 #include·<mpi.h>
22 #include·<dune/common/binaryfunctions.hh> 
23 #include·<dune/common/exceptions.hh>26 #include·<dune/common/exceptions.hh>
24 #include·<dune/common/parallel/communication.hh>27 #include·<dune/common/parallel/indexset.hh>
25 #include·<dune/common/parallel/mpitraits.hh>28 #include·<dune/common/parallel/mpitraits.hh>
26 #include·<dune/common/parallel/mpifuture.hh> 
27 #include·<dune/common/parallel/mpidata.hh>29 #include·<dune/common/parallel/plocalindex.hh>
 30 #include·<dune/common/sllist.hh>
 31 #include·<dune/common/stdstreams.hh>
28 Go_to_the_source_code_of_this_file.32 Go_to_the_source_code_of_this_file.
29 ·Classes33 ·Classes
30 class· Dune::Generic_MPI_Op<_Type,_BinaryFunction,_Enable_>34 class· Dune::MPITraits<_IndexPair<_TG,_ParallelLocalIndex<_TA_>_>_>
31  35  
32 class· Dune::Communication<_MPI_Comm_> 
33  ······Specialization·of·Communication·for·MPI.·More...36 class· Dune::RemoteIndex<_T1,_T2_>
 37  ······Information·about·an·index·residing·on·another·processor.·More...
34  38  
 39 class· Dune::RemoteIndices<_T,_A_>
 40  ······The·indices·present·on·remote·processes.·More...
35 ·Namespaces 
36 namespace· Dune 
37  ··········Dune·namespace. 
38  41  
39 ·Macros 
40 #define ComposeMPIOp(func,·op)42 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>
 43  ······Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote
 44 ········index·list.·More...
41  45  
 46 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>::InvalidPosition
42 ·Functions 
43  Dune::ComposeMPIOp·(std::plus,·MPI_SUM) 
44  47  
45  Dune::ComposeMPIOp·(std::multiplies,·MPI_PROD)48 class· Dune::CollectiveIterator<_T,_A_>
 49  ······A·collective·iterator·for·moving·over·the·remote·indices·for·all
 50 ········processes·collectively.·More...
46  51  
47  Dune::ComposeMPIOp·(Min,·MPI_MIN)52 class· Dune::CollectiveIterator<_T,_A_>::iterator
 53  ······Iterator·over·the·valid·underlying·iterators.·More...
48  54  
49  Dune::ComposeMPIOp·(Max,·MPI_MAX)55 ·Namespaces
 56 namespace· Dune
 57  ··········Dune·namespace.
 58  
 59 ·Functions
 60 template<typename·T1·,·typename·T2·>
 61 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·T1,·T2·>
 62 ················&index)
 63  
 64 template<class·T·,·class·A·>
 65 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndices<·T,·A·>
 66 ················&indices)
 67  
 68 template<typename·TG·,·typename·TA·>
 69 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·TG,·TA·>
 70 ················&index)
50  71  
51 *****·Detailed·Description·*****72 *****·Detailed·Description·*****
 73 Classes·describing·a·distributed·indexset.
 74 ··Author
 75 ······Markus·Blatt
52 Implements·an·utility·class·that·provides·MPI's·collective·communication 
53 methods. 
54 *****·Macro·Definition·Documentation·***** 
55 *****·◆ ComposeMPIOp·***** 
56 #define·ComposeMPIOp·(· func, 
57 ······················· op  
58 ·····················) 
59 Value: 
60 template<class·T,·class·S>·\ 
61 class·Generic_MPI_Op<T,·func<S>,·std::enable_if_t<MPITraits<S>::is_intrinsic>·> 
62 {·\ 
63 public:·\ 
64 static·MPI_Op·get(){·\ 
65 return·op;·\ 
66 }·\ 
67 private:·\ 
68 Generic_MPI_Op·()·{}·\ 
69 Generic_MPI_Op·(const·Generic_MPI_Op·&·)·{}·\ 
70 } 
71 std 
72 STL·namespace. 
  
73 ===============================================================================76 ===============================================================================
74 ·····Generated·by [doxygen]·1.9.877 ·····Generated·by [doxygen]·1.9.8
458 KB
./usr/share/doc/libdune-common-doc/doxygen/a00362_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 575 lines modifiedOffset 74, 1693 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpicommunication.hh</div></div>80 ··<div·class="headertitle"><div·class="title">remoteindices.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_REMOTEINDICES_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_REMOTEINDICES_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
 95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;set&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
91 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
92 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
93 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
94 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
95 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
96 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
98 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/binaryfunctions.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
100 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00329.html">dune/common/parallel/communication.hh</a>&gt;</span></div>104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00329.html">dune/common/parallel/indexset.hh</a>&gt;</span></div>
101 <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/parallel/mpitraits.hh</a>&gt;</span></div>105 <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/parallel/mpitraits.hh</a>&gt;</span></div>
102 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/parallel/mpifuture.hh</a>&gt;</span></div>106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00320.html">dune/common/parallel/plocalindex.hh</a>&gt;</span></div>
103 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00320.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00038.html">dune/common/sllist.hh</a>&gt;</span></div>
 108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
104 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
105 <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>110 <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>
 111 <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>
106 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> 
107 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
108 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//=======================================================</span></div> 
109 <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> 
110 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="comment">//·generate·MPI·operations</span></div> 
111 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="comment">//=======================================================</span></div> 
112 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
113 <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> 
114 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};">112 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};">
 113 <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>
115 <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> 
116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> 
117 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>114 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
118 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>115 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>
 116 <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>
119 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> 
120 <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> 
121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div> 
122 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(!op)</div>117 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">private</span>:</div>
 118 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·type;</div>
123 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······{</div>119 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div>
124 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········op·=·std::make_unique&lt;MPI_Op&gt;();</div> 
125 <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> 
126 <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> 
127 <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> 
128 <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> 
129 <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> 
130 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······}</div> 
131 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·*op;</div> 
132 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</div> 
133 </div>120 </div>
 121 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 122 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 123 <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>
 124 <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>
 125 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 126 <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>
 127 <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>
 128 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 129 <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>
134 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div>130 <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>
135 <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>131 <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>
136 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>132 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
137 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······BinaryFunction·func;</div>133 <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>
 134 <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>
138 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>135 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
139 <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> 
140 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········Type·temp;</div>136 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
141 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········temp·=·func(*in,·*inout);</div> 
142 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········*inout·=·temp;</div>137 <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>
 138 <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>
143 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······}</div>139 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
144 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>140 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 141 <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>
 142 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};">
 143 <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>
145 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····Generic_MPI_Op·()·{}</div> 
146 <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> 
147 <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> 
148 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div> 
149 </div> 
150 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
151 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
152 <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>145 <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>
153 <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>146 <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>
154 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>147 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 148 <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>
Max diff block lines reached; 338937/386526 bytes (87.69%) of diff not shown.
80.5 KB
html2text {}
    
Offset 8, 666 lines modifiedOffset 8, 1931 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 mpicommunication.hh14 remoteindices.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:17 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
19 LICENSE.md·in·module·root19 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·5#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH 
22 ·6#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH21 ·5#ifndef·DUNE_REMOTEINDICES_HH
 22 ·6#define·DUNE_REMOTEINDICES_HH
23 ·723 ·7
24 ·16#if·HAVE_MPI24 ·8#if·HAVE_MPI
25 ·17 
26 ·18#include·<algorithm> 
27 ·19#include·<functional>25 ·9
 26 ·10#include·<cassert>
 27 ·11#include·<iostream>
 28 ·12#include·<ostream>
 29 ·13#include·<map>
28 ·20#include·<memory>30 ·14#include·<memory>
29 ·2131 ·15#include·<set>
 32 ·16#include·<utility>
 33 ·17#include·<vector>
 34 ·18
30 ·22#include·<mpi.h>35 ·19#include·<mpi.h>
 36 ·20
31 ·23 
32 ·24#include·<dune/common/binaryfunctions.hh> 
33 ·25#include·<dune/common/exceptions.hh>37 ·21#include·<dune/common/exceptions.hh>
34 ·26#include·<dune/common/parallel/communication.hh>38 ·22#include·<dune/common/parallel/indexset.hh>
35 ·27#include·<dune/common/parallel/mpitraits.hh>39 ·23#include·<dune/common/parallel/mpitraits.hh>
36 ·28#include·<dune/common/parallel/mpifuture.hh> 
37 ·29#include·<dune/common/parallel/mpidata.hh>40 ·24#include·<dune/common/parallel/plocalindex.hh>
38 ·3041 ·25#include·<dune/common/sllist.hh>
 42 ·26#include·<dune/common/stdstreams.hh>
 43 ·27
39 ·31namespace·Dune44 ·28namespace·Dune·{
 45 ·40·template<typename·TG,·typename·TA>
 46 41·class·MPITraits<IndexPair<TG,ParallelLocalIndex<TA>·>·>
40 ·32{ 
41 ·33 
42 ·34·//======================================================= 
43 ·35·//·use·singleton·pattern·and·template·specialization·to 
44 ·36·//·generate·MPI·operations 
45 ·37·//======================================================= 
46 ·38 
47 ·39·template<typename·Type,·typename·BinaryFunction,·typename·Enable=void> 
48 40·class·Generic_MPI_Op 
49 ·41·{47 ·42·{
50 ·42 
51 ·43·public:48 ·43·public:
 49 ·44·inline·static·MPI_Datatype·getType();
52 44·static·MPI_Op·get·() 
53 ·45·{ 
54 ·46·if·(!op) 
55 ·47·{ 
56 ·48·op·=·std::make_unique<MPI_Op>(); 
57 ·49·//·The·following·line·leaks·an·MPI·operation·object,·because·the 
58 corresponding 
59 ·50·//`MPI_Op_free`·is·never·called.·It·is·never·called·because·there·is·no 
60 easy 
61 ·51·//·way·to·call·it·at·the·right·moment:·right·before·the·call·to 
62 MPI_Finalize. 
63 ·52·//·See·https://gitlab.dune-project.org/core/dune-istl/issues/80 
64 ·53·MPI_Op_create((void·(*)(void*,·void*,·int*, 
65 MPI_Datatype*))&operation,true,op.get()); 
66 ·54·} 
67 ·55·return·*op; 
68 ·56·} 
69 ·57·private:50 ·45·private:
 51 ·46·static·MPI_Datatype·type;
70 ·58·static·void·operation·(Type·*in,·Type·*inout,·int·*len,·MPI_Datatype*) 
71 ·59·{ 
72 ·60·BinaryFunction·func; 
73 ·61 
74 ·62·for·(int·i=0;·i<·*len;·++i,·++in,·++inout)·{ 
75 ·63·Type·temp; 
76 ·64·temp·=·func(*in,·*inout); 
77 ·65·*inout·=·temp; 
78 ·66·} 
79 ·67·} 
80 ·68·Generic_MPI_Op·()·{} 
81 ·69·Generic_MPI_Op·(const·Generic_MPI_Op&·)·{} 
82 ·70·static·std::unique_ptr<MPI_Op>·op; 
83 ·71·};52 ·47·};
84 ·7253 ·48
 54 ·49
 55 ·50·template<typename·T,·typename·A>
 56 ·51·class·RemoteIndices;
 57 ·52
 58 ·53·template<typename·T1,·typename·T2>
 59 ·54·class·RemoteIndex;
 60 ·55
 61 ·56·//·forward·declaration·needed·for·friend·declaration.
 62 ·57·template<typename·T>
 63 ·58·class·IndicesSyncer;
 64 ·59
 65 ·60·template<typename·T1,·typename·T2>
 66 61·std::ostream&·operator<<(std::ostream&·os,·const·RemoteIndex<T1,T2>&·index);
 67 ·62
 68 ·63
 69 ·64·template<typename·T,·typename·A,·bool·mode>
 70 ·65·class·RemoteIndexListModifier;
 71 ·66
 72 ·67
 73 ·71·template<typename·T1,·typename·T2>
 74 72·class·RemoteIndex
85 ·7375 ·73·{
86 ·74·template<typename·Type,·typename·BinaryFunction,·typename·Enable> 
87 ·75·std::unique_ptr<MPI_Op>·Generic_MPI_Op<Type,BinaryFunction,·Enable>::op;76 ·74·template<typename·T>
 77 75·friend·class·IndicesSyncer;
88 ·7678 ·76
89 77#define·ComposeMPIOp(func,op)·\79 ·77·template<typename·T,·typename·A,·typename·A1>
 80 78·friend·void·repairLocalIndexPointers(std::map<int,SLList<std::pair<typename
 81 T::GlobalIndex,·typename·T::LocalIndex::Attribute>,A>·>&,
 82 ·79·RemoteIndices<T,A1>&,
 83 ·80·const·T&);
 84 ·81
 85 ·82·template<typename·T,·typename·A,·bool·mode>
 86 83·friend·class·RemoteIndexListModifier;
Max diff block lines reached; 74660/82414 bytes (90.59%) of diff not shown.
9.86 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 69, 69 lines modifiedOffset 69, 20 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh·File·Reference</div></div>
75 ··<div·class="summary"> 
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>··</div> 
78 ··<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> 
79 </div><!--header-->76 </div><!--header-->
80 <div·class="contents">77 <div·class="contents">
  
81 <p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·· 
82 <a·href="#details">More...</a></p> 
83 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/> 
84 <code>#include·&lt;cstddef&gt;</code><br·/> 
85 <code>#include·&lt;iostream&gt;</code><br·/> 
86 <code>#include·&lt;map&gt;</code><br·/> 
87 <code>#include·&lt;type_traits&gt;</code><br·/> 
88 <code>#include·&lt;utility&gt;</code><br·/> 
89 <code>#include·&lt;mpi.h&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
93 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
94 </div>79 </div>
95 <p><a·href="a00365_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00365_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls"> 
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
98 Classes</h2></td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01992.html">Dune::SizeOne</a></td></tr> 
100 <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> 
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="a01996.html">Dune::VariableSize</a></td></tr> 
103 <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> 
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="a02000.html">Dune::CommPolicy&lt;·V·&gt;</a></td></tr> 
106 <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> 
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="a02012.html">Dune::CommPolicy&lt;·V·&gt;::CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02016.html">Dune::CommPolicy&lt;·V·&gt;::CommunicationError</a></td></tr> 
111 <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> 
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="a02020.html">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;</a></td></tr> 
114 <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> 
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="a02024.html">Dune::BufferedCommunicator</a></td></tr> 
117 <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> 
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 </table><table·class="memberdecls"> 
120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
121 Namespaces</h2></td></tr> 
122 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
123 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 </table> 
126 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
127 <div·class="textblock"><p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·</p> 
128 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
129 </div></div><!--·contents·-->81 </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.884 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
133 </small></address>85 </small></address>
134 </body>86 </body>
135 </html>87 </html>
2.0 KB
html2text {}
    
Offset 7, 60 lines modifiedOffset 7, 13 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel12 ····*·parallel
13 Classes·|·Namespaces 
14 communicator.hh·File·Reference13 collectivecommunication.hh·File·Reference
15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
16 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication. 
17 More... 
18 #include·<cassert> 
19 #include·<cstddef> 
20 #include·<iostream> 
21 #include·<map> 
22 #include·<type_traits> 
23 #include·<utility> 
24 #include·<mpi.h> 
25 #include·<dune/common/exceptions.hh> 
26 #include·<dune/common/parallel/interface.hh> 
27 #include·<dune/common/parallel/remoteindices.hh>14 #include·<dune/common/parallel/communication.hh>
28 #include·<dune/common/stdstreams.hh> 
29 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
30 ·Classes 
31 struct· Dune::SizeOne 
32  ·······Flag·for·marking·indexed·data·structures·where·data·at·each·index·is 
33 ·········of·the·same·size.·More... 
34   
35 struct· Dune::VariableSize 
36  ·······Flag·for·marking·indexed·data·structures·where·the·data·at·each·index 
37 ·········may·be·a·variable·multiple·of·another·type.·More... 
38   
39 struct· Dune::CommPolicy<_V_> 
40  ·······Default·policy·used·for·communicating·an·indexed·type.·More... 
41   
42 struct· Dune::CommPolicy<_V_>::CommPolicy<_VariableBlockVector<_FieldVector< 
43 ·········K,_n_>,_A_>_> 
44   
45 ·class· Dune::CommPolicy<_V_>::CommunicationError 
46  ·······Error·thrown·if·there·was·a·problem·with·the·communication.·More... 
47   
48 struct· Dune::CommPolicy<_V_>::CopyGatherScatter<_T_> 
49  ·······GatherScatter·default·implementation·that·just·copies·data.·More... 
50   
51 ·class· Dune::BufferedCommunicator 
52  ·······A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be 
53 ·········send·or·received.·More... 
54   
55 ·Namespaces 
56 namespace· Dune 
57  ··········Dune·namespace. 
58   
59 *****·Detailed·Description·***** 
60 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication. 
61 ··Author 
62 ······Markus·Blatt 
  
63 ===============================================================================16 ===============================================================================
64 ·····Generated·by [doxygen]·1.9.817 ·····Generated·by [doxygen]·1.9.8
208 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 1036 lines modifiedOffset 74, 23 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">communicator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (6 lines added, 1019 lines removed)
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <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>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·Will·be·removed·after·the·2.7·release</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMUNICATOR</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00359.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMUNICATOR</span></div>88 <div·class="ttc"·id="aa00359_html"><div·class="ttname"><a·href="a00359.html">communication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.</div></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
102 <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> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00377.html">dune/common/parallel/remoteindices.hh</a>&gt;</span></div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div> 
105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
106 <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> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> 
108 <div·class="foldopen"·id="foldopen00109"·data-start="{"·data-end="};"> 
109 <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> 
110 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{};</div> 
111 </div> 
112 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
113 <div·class="foldopen"·id="foldopen00117"·data-start="{"·data-end="};"> 
114 <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> 
115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div> 
116 </div> 
117 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
118 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</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>·V&gt;</div> 
120 <div·class="foldopen"·id="foldopen00127"·data-start="{"·data-end="};"> 
121 <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> 
122 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div> 
123 <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> 
124 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
125 <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> 
126 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> 
127 <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> 
128 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> 
129 <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> 
130 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div> 
131 <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> 
132 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>··};</div> 
133 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div> 
134 <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> 
135 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> 
136 <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> 
137 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> 
138 <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> 
139 <div·class="foldopen"·id="foldopen00178"·data-start="{"·data-end="};"> 
140 <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> 
141 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··{</div> 
142 <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> 
143 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div> 
144 <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> 
145 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div> 
146 <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> 
147 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div> 
148 <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> 
149 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>·</div> 
150 <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> 
151 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>··};</div> 
152 </div> 
153 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div> 
154 <div·class="foldopen"·id="foldopen00194"·data-start="{"·data-end="};"> 
155 <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> 
156 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··{};</div> 
157 </div> 
158 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
159 <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> 
160 <div·class="foldopen"·id="foldopen00201"·data-start="{"·data-end="};"> 
161 <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> 
162 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>··{</div> 
163 <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> 
164 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>·</div> 
165 <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> 
166 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div> 
167 <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> 
168 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div> 
169 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··};</div> 
170 </div> 
171 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>·</div> 
172 <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> 
173 <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> 
174 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>··{</div> 
175 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>··<span·class="keyword">public</span>:</div> 
176 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span>·</div> 
177 <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> 
178 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div> 
179 <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> 
180 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div> 
181 <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> 
182 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</span>·</div> 
Max diff block lines reached; 271/173438 bytes (0.16%) of diff not shown.
38.4 KB
html2text {}
    
Offset 8, 1207 lines modifiedOffset 8, 22 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·parallel13 ····*·parallel
14 communicator.hh14 collectivecommunication.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
17 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
18 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
Diff chunk too large, falling back to line-by-line diff (8 lines added, 1191 lines removed)
19 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
20 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
21 ·5#ifndef·DUNE_COMMUNICATOR19 ·3//·Will·be·removed·after·the·2.7·release
22 ·6#define·DUNE_COMMUNICATOR20 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/
23 ·721 communication.hh>·instead!"
24 ·8#if·HAVE_MPI22 ·5#include·<dune/common/parallel/communication.hh>
25 ·923 communication.hh
26 ·10#include·<cassert>24 Implements·an·utility·class·that·provides·collective·communication·methods·for
27 ·11#include·<cstddef>25 sequential·programs.
28 ·12#include·<iostream> 
29 ·13#include·<map> 
30 ·14#include·<type_traits> 
31 ·15#include·<utility> 
32 ·16 
33 ·17#include·<mpi.h> 
34 ·18 
35 ·19#include·<dune/common/exceptions.hh> 
36 ·20#include·<dune/common/parallel/interface.hh> 
37 ·21#include·<dune/common/parallel/remoteindices.hh> 
38 ·22#include·<dune/common/stdstreams.hh> 
39 ·23 
40 ·24namespace·Dune 
41 ·25{ 
42 109·struct·SizeOne 
43 ·110·{}; 
44 ·111 
45 117·struct·VariableSize 
46 ·118·{}; 
47 ·119 
48 ·120 
49 ·126·template<class·V> 
50 127·struct·CommPolicy 
51 ·128·{ 
52 140·typedef·V·Type; 
53 ·141 
54 147·typedef·typename·V::value_type·IndexedType; 
55 ·148 
56 153·typedef·SizeOne·IndexedTypeFlag; 
57 ·154 
58 163·static·const·void*·getAddress(const·V&·v,·int·index); 
59 ·164 
60 170·static·int·getSize(const·V&,·int·index); 
61 ·171·}; 
62 ·172 
63 173·template<class·K,·int·n>·class·FieldVector; 
64 ·174 
65 175·template<class·B,·class·A>·class·VariableBlockVector; 
66 ·176 
67 ·177·template<class·K,·class·A,·int·n> 
68 178·struct·CommPolicy<VariableBlockVector<FieldVector<K,·n>,·A>·> 
69 ·179·{ 
70 180·typedef·VariableBlockVector<FieldVector<K,_n>,·A>·Type; 
71 ·181 
72 182·typedef·typename·Type::B·IndexedType; 
73 ·183 
74 184·typedef·VariableSize·IndexedTypeFlag; 
75 ·185 
76 186·static·const·void*·getAddress(const·Type&·v,·int·i); 
77 ·187 
78 188·static·int·getSize(const·Type&·v,·int·i); 
79 ·189·}; 
80 ·190 
81 194·class·CommunicationError·:·public·IOError 
82 ·195·{}; 
83 ·196 
84 ·200·template<class·T> 
85 201·struct·CopyGatherScatter 
86 ·202·{ 
87 203·typedef·typename·CommPolicy<T>::IndexedType·IndexedType; 
88 ·204 
89 205·static·const·IndexedType&·gather(const·T&·vec,·std::size_t·i); 
90 ·206 
91 207·static·void·scatter(T&·vec,·const·IndexedType&·v,·std::size_t·i); 
92 ·208 
93 ·209·}; 
94 ·210 
95 ·222·template<typename·T> 
96 ·223·class·DatatypeCommunicator·:·public·InterfaceBuilder 
97 ·224·{ 
98 ·225·public: 
99 ·226 
100 ·230·typedef·T·ParallelIndexSet; 
101 ·231 
102 ·235·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices; 
103 ·236 
104 ·240·typedef·typename·RemoteIndices::GlobalIndex·GlobalIndex; 
105 ·241 
106 ·245·typedef·typename·RemoteIndices::Attribute·Attribute; 
107 ·246 
108 ·250·typedef·typename·RemoteIndices::LocalIndex·LocalIndex; 
109 ·251 
110 ·255·DatatypeCommunicator(); 
111 ·256 
112 ·260·~DatatypeCommunicator(); 
113 ·261 
114 ·288·template<class·T1,·class·T2,·class·V> 
115 ·289·void·build(const·RemoteIndices&·remoteIndices,·const·T1&·sourceFlags,·V& 
116 sendData,·const·T2&·destFlags,·V&·receiveData); 
117 ·290 
118 ·294·void·forward(); 
119 ·295 
120 ·299·void·backward(); 
121 ·300 
122 ·304·void·free(); 
123 ·305·private: 
124 ·309·constexpr·static·int·commTag_·=·234; 
125 ·310 
126 ·314·const·RemoteIndices*·remoteIndices_; 
127 ·315 
128 ·316·typedef·std::map<int,std::pair<MPI_Datatype,MPI_Datatype>·> 
129 ·317·MessageTypeMap; 
130 ·318 
131 ·322·MessageTypeMap·messageTypes; 
132 ·323 
Max diff block lines reached; 116/39323 bytes (0.29%) of diff not shown.
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00368.html
    
Offset 80, 17 lines modifiedOffset 80, 17 lines modified
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
82 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>82 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
83 <code>#include·&lt;iostream&gt;</code><br·/>83 <code>#include·&lt;iostream&gt;</code><br·/>
84 <code>#include·&lt;iomanip&gt;</code><br·/>84 <code>#include·&lt;iomanip&gt;</code><br·/>
85 <code>#include·&lt;thread&gt;</code><br·/>85 <code>#include·&lt;thread&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/timer.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/timer.hh</a>&gt;</code><br·/>
88 <code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parametertreeparser.hh</a>&gt;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/parametertreeparser.hh</a>&gt;</code><br·/>
90 </div><table·class="memberdecls">90 </div><table·class="memberdecls">
91 <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>
92 Functions</h2></td></tr>92 Functions</h2></td></tr>
93 <tr·class="memitem:afb912825e02284a6c9ff4f616d528d86"·id="r_afb912825e02284a6c9ff4f616d528d86"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>93 <tr·class="memitem:afb912825e02284a6c9ff4f616d528d86"·id="r_afb912825e02284a6c9ff4f616d528d86"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>
94 <tr·class="memitem:afb912825e02284a6c9ff4f616d528d86"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00368.html#afb912825e02284a6c9ff4f616d528d86">communicate</a>·(CC·&amp;cc)</td></tr>94 <tr·class="memitem:afb912825e02284a6c9ff4f616d528d86"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00368.html#afb912825e02284a6c9ff4f616d528d86">communicate</a>·(CC·&amp;cc)</td></tr>
95 <tr·class="separator:afb912825e02284a6c9ff4f616d528d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:afb912825e02284a6c9ff4f616d528d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:aec1abd976c753f5575c4f77b754364b3"·id="r_aec1abd976c753f5575c4f77b754364b3"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>96 <tr·class="memitem:aec1abd976c753f5575c4f77b754364b3"·id="r_aec1abd976c753f5575c4f77b754364b3"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>
7.05 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 65, 52 lines modifiedOffset 65, 45 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>··</div>
78 ··<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>78 ··<div·class="headertitle"><div·class="title">interfaces.hh·File·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.··81 <p>Provides·interfaces·for·detection·of·specific·behavior.··
82 <a·href="#details">More...</a></p>82 <a·href="#details">More...</a></p>
  
83 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00347_source.html">mpihelper.hh</a>&quot;</code><br·/> 
84 <code>#include·&quot;<a·class="el"·href="a00329_source.html">communication.hh</a>&quot;</code><br·/> 
85 <code>#include·&quot;<a·class="el"·href="a00362_source.html">mpicommunication.hh</a>&quot;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
87 </div> 
88 <p><a·href="a00371_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00371_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">84 <table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
91 Classes</h2></td></tr>86 Classes</h2></td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02196.html">Dune::MPIGuardError</a></td></tr> 
93 <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> 
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="a02200.html">Dune::MPIGuard</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="a01868.html">Dune::Cloneable</a></td></tr>
96 <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>88 <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>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
99 <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>
100 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>96 </table>
105 <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>
106 <div·class="textblock"><p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·</p>98 <div·class="textblock"><p>Provides·interfaces·for·detection·of·specific·behavior.·</p>
107 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>99 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn·</dd></dl>
108 </div></div><!--·contents·-->100 </div></div><!--·contents·-->
109 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>102 <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.8103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>104 </small></address>
113 </body>105 </body>
114 </html>106 </html>
1.27 KB
html2text {}
    
Offset 6, 37 lines modifiedOffset 6, 26 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel 
13 Classes·|·Namespaces12 Classes·|·Namespaces
 13 interfaces.hh·File·Reference
 14 Provides·interfaces·for·detection·of·specific·behavior.·More...
14 mpiguard.hh·File·Reference 
15 Common·»·Parallel_Communication 
16 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·More... 
17 #include·"mpihelper.hh" 
18 #include·"communication.hh" 
19 #include·"mpicommunication.hh" 
20 #include·<dune/common/exceptions.hh> 
21 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
22 ·Classes16 ·Classes
 17 struct· Dune::Cloneable
 18  ·······An·interface·class·for·cloneable·objects.·More...
23 class· Dune::MPIGuardError 
24  ······This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote 
25 ········process.·More... 
26   
27 class· Dune::MPIGuard 
28  ······detects·a·thrown·exception·and·communicates·to·all·other·processes 
29 ········More... 
30  19  
31 ·Namespaces20 ·Namespaces
32 namespace· Dune21 namespace· Dune
33  ··········Dune·namespace.22  ··········Dune·namespace.
34  23  
35 *****·Detailed·Description·*****24 *****·Detailed·Description·*****
36 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.25 Provides·interfaces·for·detection·of·specific·behavior.
37 ··Author26 ··Author
38 ······Christian·Engwer27 ······Robert·Kloefkorn
  
39 ===============================================================================28 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.829 ·····Generated·by [doxygen]·1.9.8
41.8 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 212 lines modifiedOffset 70, 49 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpiguard.hh</div></div>80 ··<div·class="headertitle"><div·class="title">interfaces.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACES_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACES_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MPIGUARD_HH</span></div> 
89 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·DUNE_COMMON_MPIGUARD_HH</span></div> 
90 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
91 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00347.html">mpihelper.hh</a>&quot;</span></div> 
92 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00329.html">communication.hh</a>&quot;</span></div> 
93 <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> 
94 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
96 <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>90 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
97 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> 
98 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
99 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
100 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
101 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="comment">/*</span></div> 
102 <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> 
103 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">···*/</span></div> 
104 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">struct·</span>GuardCommunicator</div> 
105 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div> 
106 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//·cleanup</span></div> 
107 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">virtual</span>·~GuardCommunicator()·{};</div> 
108 <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> 
109 <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> 
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="comment">//·create·a·new·GuardCommunicator·pointer</span></div> 
113 <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> 
114 <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> 
115 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">inline</span></div> 
117 <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> 
118 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif</span></div> 
119 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div> 
120 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>91 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>{</div> 
122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="comment">/*</span></div> 
123 <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> 
124 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·····*/</span></div> 
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator</div> 
128 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div> 
129 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{};</div> 
130 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·specialization·for·Communication</span></div> 
131 <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> 
132 <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> 
133 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div> 
134 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> 
135 <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> 
136 <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> 
137 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········comm(c)·{}</div> 
138 <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> 
139 <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> 
140 <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> 
141 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div> 
142 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
143 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
144 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·specialization·for·MPI_Comm</span></div> 
145 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">template</span>·&lt;&gt;</div> 
146 <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> 
147 <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> 
148 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····{</div> 
149 <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> 
150 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;(</div> 
151 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··········Communication&lt;MPI_Comm&gt;(c))·{}</div> 
152 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····};</div> 
153 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div> 
154 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}···<span·class="comment">//·anonymous·namespace</span></div> 
155 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
156 <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> 
157 <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> 
158 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> 
159 <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> 
160 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> 
161 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
162 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
163 <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> 
164 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div> 
165 <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> 
166 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> 
167 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif</span></div> 
168 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
169 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#endif</span></div> 
170 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
171 <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> 
172 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
173 <div·class="foldopen"·id="foldopen00133"·data-start="{"·data-end="};"> 
174 <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> 
175 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··{</div> 
176 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····GuardCommunicator·*·comm_;</div> 
177 <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; 4869/35736 bytes (13.62%) of diff not shown.
6.77 KB
html2text {}
    
Offset 7, 230 lines modifiedOffset 7, 47 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 interfaces.hh
12 ····*·parallel 
13 mpiguard.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_INTERFACES_HH
 20 ·6#define·DUNE_INTERFACES_HH
 21 ·7
20 ·5 
21 ·13#ifndef·DUNE_COMMON_MPIGUARD_HH 
22 ·14#define·DUNE_COMMON_MPIGUARD_HH 
23 ·15 
24 ·16#include·"mpihelper.hh" 
25 ·17#include·"communication.hh" 
26 ·18#include·"mpicommunication.hh" 
27 ·19#include·<dune/common/exceptions.hh> 
28 ·20 
29 ·21namespace·Dune22 ·13namespace·Dune·{
30 ·22{ 
31 ·23 
32 ·24#ifndef·DOXYGEN 
33 ·25 
34 ·26·/* 
35 ·27·Interface·class·for·the·communication·needed·by·MPIGuard 
36 ·28·*/ 
37 ·29·struct·GuardCommunicator23 ·14
 24 16·struct·Cloneable·{
 25 ·17
 26 23·virtual·Cloneable*·clone()·const·=·0;
 27 ·24
 28 26·virtual·~Cloneable()
 29 ·27·{}
 30 ·28
 31 ·29·};
38 ·30·{32 ·30
 33 ·31}·//·end·namespace·Dune
39 ·31·//·cleanup 
40 ·32·virtual·~GuardCommunicator()·{}; 
41 ·33·//·all·the·communication·methods·we·need 
42 ·34·virtual·int·rank()·=·0; 
43 ·35·virtual·int·size()·=·0; 
44 ·36·virtual·int·sum(int·i)·=·0; 
45 ·37·//·create·a·new·GuardCommunicator·pointer 
46 ·38·template·<class·C> 
47 ·39·static·GuardCommunicator·*·create(const·Communication<C>·&·c); 
48 ·40#if·HAVE_MPI 
49 ·41·inline 
50 ·42·static·GuardCommunicator·*·create(const·MPI_Comm·&·c); 
51 ·43#endif34 ·32#endif
52 ·44·}; 
53 ·45 
54 ·46·namespace·{ 
55 ·47·/* 
56 ·48·templated·implementation·of·different·communication·classes 
57 ·49·*/ 
58 ·50·//·the·default·class·will·always·fail,·due·to·the·missing·implementation·of 
59 "sum" 
60 ·51·template·<class·Imp> 
61 ·52·struct·GenericGuardCommunicator 
62 ·53·:·public·GuardCommunicator 
63 ·54·{}; 
64 ·55·//·specialization·for·Communication 
65 ·56·template·<class·T> 
66 ·57·struct·GenericGuardCommunicator<·Communication<T>·> 
67 ·58·:·public·GuardCommunicator 
68 ·59·{ 
69 ·60·const·Communication<T>·comm; 
70 ·61·GenericGuardCommunicator(const·Communication<T>·&·c)·: 
71 ·62·comm(c)·{} 
72 ·63·int·rank()·override·{·return·comm.rank();·}; 
73 ·64·int·size()·override·{·return·comm.size();·}; 
74 ·65·int·sum(int·i)·override·{·return·comm.sum(i);·} 
75 ·66·}; 
76 ·67 
77 ·68#if·HAVE_MPI 
78 ·69·//·specialization·for·MPI_Comm 
79 ·70·template·<> 
80 ·71·struct·GenericGuardCommunicator<MPI_Comm> 
81 ·72·:·public·GenericGuardCommunicator<·Communication<MPI_Comm>·> 
82 ·73·{ 
83 ·74·GenericGuardCommunicator(const·MPI_Comm·&·c)·: 
84 ·75·GenericGuardCommunicator<·Communication<MPI_Comm>·>( 
85 ·76·Communication<MPI_Comm>(c))·{} 
86 ·77·}; 
87 ·78#endif 
88 ·79·}·//·anonymous·namespace 
89 ·80 
90 ·81·template<class·C> 
91 ·82·GuardCommunicator·*·GuardCommunicator::create(const·Communication<C>·& 
92 comm) 
93 ·83·{ 
94 ·84·return·new·GenericGuardCommunicator<·Communication<C>·>(comm); 
95 ·85·} 
96 ·86 
97 ·87#if·HAVE_MPI 
98 ·88·GuardCommunicator·*·GuardCommunicator::create(const·MPI_Comm·&·comm) 
99 ·89·{ 
100 ·90·return·new·GenericGuardCommunicator<·Communication<MPI_Comm>·>(comm); 
101 ·91·} 
102 ·92#endif 
103 ·93 
104 ·94#endif 
105 ·95 
106 99·class·MPIGuardError·:·public·ParallelError·{}; 
107 ·100 
108 133·class·MPIGuard 
109 ·134·{ 
110 ·135·GuardCommunicator·*·comm_; 
111 ·136·bool·active_; 
112 ·137 
113 ·138·//·we·don't·want·to·copy·this·class 
114 ·139·MPIGuard·(const·MPIGuard·&); 
115 ·140 
116 ·141·public: 
117 146·MPIGuard·(bool·active=true)·: 
118 ·147·comm_(GuardCommunicator::create( 
Max diff block lines reached; 1891/6905 bytes (27.39%) of diff not shown.
29.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·iteratorfacades.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 51 lines modifiedOffset 65, 106 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#func-members">Functions</a>··</div>
78 ··<div·class="headertitle"><div·class="title">mpifuture.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh·File·Reference</div></div>
79 </div><!--header-->80 </div><!--header-->
80 <div·class="contents">81 <div·class="contents">
  
 82 <p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.··
 83 <a·href="#details">More...</a></p>
81 <div·class="textblock"><code>#include·&lt;optional&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;iterator&gt;</code><br·/>
 85 <code>#include·&lt;type_traits&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>86 <code>#include·&quot;<a·class="el"·href="a00113_source.html">typetraits.hh</a>&quot;</code><br·/>
85 </div>87 </div>
86 <p><a·href="a00374_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00374_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">89 <table·class="memberdecls">
88 <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>
89 Classes</h2></td></tr>91 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="a02180.html">Dune::impl::Buffer&lt;·T·&gt;</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01876.html">Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·stl·conformant·forward·iterators.··<a·href="a01876.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="a02184.html">Dune::impl::Buffer&lt;·T·&amp;·&gt;</a></td></tr> 
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html">Dune::impl::Buffer&lt;·void·&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="a01880.html">Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
 96 <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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html">Dune::MPIFuture&lt;·R,·S·&gt;</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01884.html">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
97 <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>99 <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="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
100 <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>
101 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
102 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:a00445"·id="r_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>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:gaa43d9510bcda16267820bafa84be5369"·id="r_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>
 111 <tr·class="memitem:gaa43d9510bcda16267820bafa84be5369"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">Dune::operator==</a>·(const·<a·class="el"·href="a01876.html">ForwardIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01876.html">ForwardIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 112 <tr·class="memdesc:gaa43d9510bcda16267820bafa84be5369"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<br·/></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:gaa43d9510bcda16267820bafa84be5369"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:gae5cc1a15c24afcf14896e20a7d265c35"·id="r_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>
 115 <tr·class="memitem:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">Dune::operator!=</a>·(const·<a·class="el"·href="a01876.html">ForwardIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01876.html">ForwardIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 116 <tr·class="memdesc:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<br·/></td></tr>
 117 <tr·class="separator:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"·id="r_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>
 119 <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·<a·class="el"·href="a01880.html">BidirectionalIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01880.html">BidirectionalIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 120 <tr·class="memdesc:ga20da041c39864baffcdb12c036fd1c37"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<br·/></td></tr>
 121 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"·id="r_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>
 123 <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·<a·class="el"·href="a01880.html">BidirectionalIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01880.html">BidirectionalIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 124 <tr·class="memdesc:ga20da041c39864baffcdb12c036fd1c37"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<br·/></td></tr>
 125 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:ga920ece963b8c9993e176bcfde00c9224"·id="r_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>
 127 <tr·class="memitem:ga920ece963b8c9993e176bcfde00c9224"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga920ece963b8c9993e176bcfde00c9224">Dune::operator!=</a>·(const·<a·class="el"·href="a01880.html">BidirectionalIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01880.html">BidirectionalIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 128 <tr·class="memdesc:ga920ece963b8c9993e176bcfde00c9224"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<br·/></td></tr>
 129 <tr·class="separator:ga920ece963b8c9993e176bcfde00c9224"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:ga49f87500d6251c950ff02c42c91c2ec0"·id="r_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>
 131 <tr·class="memitem:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga49f87500d6251c950ff02c42c91c2ec0">Dune::operator==</a>·(const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 132 <tr·class="memdesc:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<br·/></td></tr>
 133 <tr·class="separator:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:ga9052c16ab85627534c5c3eb9ebed7d87"·id="r_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>
 135 <tr·class="memitem:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga9052c16ab85627534c5c3eb9ebed7d87">Dune::operator!=</a>·(const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 136 <tr·class="memdesc:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<br·/></td></tr>
 137 <tr·class="separator:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:ga2c43cd511159faaeafc9ec92874ea5f2"·id="r_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>
 139 <tr·class="memitem:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&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·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 140 <tr·class="memdesc:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<br·/></td></tr>
 141 <tr·class="separator:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:ga798235d5677109c73826c07eda54642a"·id="r_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>
 143 <tr·class="memitem:ga798235d5677109c73826c07eda54642a"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&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·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 144 <tr·class="memdesc:ga798235d5677109c73826c07eda54642a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<br·/></td></tr>
 145 <tr·class="separator:ga798235d5677109c73826c07eda54642a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:ga4e05f002f8262357d9bdd7874fcb0f68"·id="r_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>
 147 <tr·class="memitem:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&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·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 148 <tr·class="memdesc:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<br·/></td></tr>
 149 <tr·class="separator:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:gad3b5d2384ffc58bc20968c4b6c6fcefb"·id="r_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>
 151 <tr·class="memitem:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&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·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 152 <tr·class="memdesc:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<br·/></td></tr>
 153 <tr·class="separator:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ga7185b695129604b07bfddf92f3a01c04"·id="r_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>
 155 <tr·class="memitem:ga7185b695129604b07bfddf92f3a01c04"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a03092.html">EnableIfInterOperable</a>&lt;·T1,·T2,·D·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga7185b695129604b07bfddf92f3a01c04">Dune::operator-</a>·(const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·<a·class="el"·href="a01884.html">RandomAccessIteratorFacade</a>&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 156 <tr·class="memdesc:ga7185b695129604b07bfddf92f3a01c04"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·difference·between·two·pointers.··<br·/></td></tr>
 157 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>158 </table>
 159 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 160 <div·class="textblock"><p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.·</p>
 161 <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>
108 </div><!--·contents·-->162 </div></div><!--·contents·-->
109 <!--·start·footer·part·-->163 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>164 <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.8165 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>166 </small></address>
113 </body>167 </body>
114 </html>168 </html>
8.86 KB
html2text {}
    
Offset 6, 37 lines modifiedOffset 6, 137 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel 
13 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
14 mpifuture.hh·File·Reference 
15 #include·<optional> 
16 #include·<dune/common/parallel/communication.hh> 
17 #include·<dune/common/parallel/future.hh> 
18 #include·<dune/common/parallel/mpidata.hh>13 iteratorfacades.hh·File·Reference
 14 This·file·implements·iterator·facade·classes·for·writing·stl·conformant
 15 iterators.·More...
 16 #include·<iterator>
 17 #include·<type_traits>
 18 #include·"typetraits.hh"
19 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
20 ·Classes20 ·Classes
21 struct· Dune::impl::Buffer<_T_>21 class· Dune::ForwardIteratorFacade<_T,_V,_R,_D_>
 22  ······Base·class·for·stl·conformant·forward·iterators.·More...
22  23  
23 struct· Dune::impl::Buffer<_T_&_>24 class· Dune::BidirectionalIteratorFacade<_T,_V,_R,_D_>
 25  ······Facade·class·for·stl·conformant·bidirectional·iterators.·More...
24  26  
 27 class· Dune::RandomAccessIteratorFacade<_T,_V,_R,_D_>
 28  ······Base·class·for·stl·conformant·forward·iterators.·More...
25 struct· Dune::impl::Buffer<_void_> 
26   
27 ·class· Dune::MPIFuture<_R,_S_> 
28 ·········Provides·a·future-like·object·for·MPI·communication.·It·contains·the 
29  ·······object·that·will·be·received·and·might·contain·also·a·sending·object, 
30 ·········which·must·be·hold·(keep·alive)·until·the·communication·has·been 
31 ·········completed.·More... 
32  29  
33 ·Namespaces30 ·Namespaces
34 namespace· Dune31 namespace· Dune
35  ··········Dune·namespace.32  ··········Dune·namespace.
36  33  
37 namespace· Dune::impl34 ·Functions
 35 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 36 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const
 37 ························································ForwardIteratorFacade<·T1,
 38 ························································V1,·R1,·D·>·&lhs,·const
 39 ························································ForwardIteratorFacade<·T2,
 40 ························································V2,·R2,·D·>·&rhs)
 41  ······················································Checks·for·equality.
38  42  
 43 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 44 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const
 45 ························································ForwardIteratorFacade<·T1,
 46 ························································V1,·R1,·D·>·&lhs,·const
 47 ························································ForwardIteratorFacade<·T2,
 48 ························································V2,·R2,·D·>·&rhs)
 49  ······················································Checks·for·inequality.
 50  
 51 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 52 ··std::enable_if<·std::is_convertible<·T2,·T1·>::value,·Dune::operator==·(const
 53 ··········································bool·>::type BidirectionalIteratorFacade<
 54 ························································T1,·V1,·R1,·D·>·&lhs,·const
 55 ························································BidirectionalIteratorFacade<
 56 ························································T2,·V2,·R2,·D·>·&rhs)
 57  ······················································Checks·for·equality.
 58  
 59 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 60 ···std::enable_if<·std::is_convertible<·T1,·T2·>::value·Dune::operator==·(const
 61 ·&&!std::is_convertible<·T2,·T1·>::value,·bool·>::type BidirectionalIteratorFacade<
 62 ························································T1,·V1,·R1,·D·>·&lhs,·const
 63 ························································BidirectionalIteratorFacade<
 64 ························································T2,·V2,·R2,·D·>·&rhs)
 65  ······················································Checks·for·equality.
 66  
 67 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 68 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const
 69 ························································BidirectionalIteratorFacade<
 70 ························································T1,·V1,·R1,·D·>·&lhs,·const
 71 ························································BidirectionalIteratorFacade<
 72 ························································T2,·V2,·R2,·D·>·&rhs)
 73  ······················································Checks·for·inequality.
 74  
 75 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 76 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const
 77 ························································RandomAccessIteratorFacade<
 78 ························································T1,·V1,·R1,·D·>·&lhs,·const
 79 ························································RandomAccessIteratorFacade<
 80 ························································T2,·V2,·R2,·D·>·&rhs)
 81  ······················································Checks·for·equality.
 82  
 83 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 84 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const
 85 ························································RandomAccessIteratorFacade<
 86 ························································T1,·V1,·R1,·D·>·&lhs,·const
 87 ························································RandomAccessIteratorFacade<
 88 ························································T2,·V2,·R2,·D·>·&rhs)
 89  ······················································Checks·for·inequality.
 90  
 91 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 92 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator<·(const
 93 ························································RandomAccessIteratorFacade<
 94 ························································T1,·V1,·R1,·D·>·&lhs,·const
 95 ························································RandomAccessIteratorFacade<
 96 ························································T2,·V2,·R2,·D·>·&rhs)
 97  ······················································Comparison·operator.
 98  
 99 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 100 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator<=·(const
 101 ························································RandomAccessIteratorFacade<
 102 ························································T1,·V1,·R1,·D·>·&lhs,·const
 103 ························································RandomAccessIteratorFacade<
 104 ························································T2,·V2,·R2,·D·>·&rhs)
 105  ······················································Comparison·operator.
 106  
 107 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 108 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator>·(const
 109 ························································RandomAccessIteratorFacade<
 110 ························································T1,·V1,·R1,·D·>·&lhs,·const
 111 ························································RandomAccessIteratorFacade<
 112 ························································T2,·V2,·R2,·D·>·&rhs)
 113  ······················································Comparison·operator.
 114  
 115 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 116 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator>=·(const
 117 ························································RandomAccessIteratorFacade<
 118 ························································T1,·V1,·R1,·D·>·&lhs,·const
 119 ························································RandomAccessIteratorFacade<
Max diff block lines reached; 116/9051 bytes (1.28%) of diff not shown.
169 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 290 lines modifiedOffset 70, 511 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">mpifuture.hh</div></div>80 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ITERATORFACADES_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ITERATORFACADES_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00329.html">dune/common/parallel/communication.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00353.html">dune/common/parallel/future.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00320.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00113.html">typetraits.hh</a>&quot;</span></div>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·HAVE_MPI</span></div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
97 <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>95 <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>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 97 <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>
99 <div·class="foldopen"·id="foldopen00017"·data-start="{"·data-end="}"> 
100 <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> 
101 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
102 <div·class="foldopen"·id="foldopen00019"·data-start="{"·data-end="};"> 
103 <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> 
104 <div·class="foldopen"·id="foldopen00020"·data-start="{"·data-end="}"> 
105 <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> 
106 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>········<span·class="keywordflow">if</span>(valid)</div> 
107 <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> 
108 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······}</div> 
109 </div> 
110 <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> 
111 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}"> 
112 <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> 
113 <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> 
114 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{}</div> 
115 </div> 
116 <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> 
117 <div·class="foldopen"·id="foldopen00029"·data-start="{"·data-end="}"> 
118 <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> 
119 <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> 
120 <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> 
121 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········<span·class="keywordflow">return</span>·tmp;</div> 
122 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······}</div> 
123 </div> 
124 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="}"> 
125 <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> 
126 <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> 
127 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······}</div> 
128 </div> 
129 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}"> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······}</div> 
133 </div> 
134 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····};</div> 
135 </div> 
136 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
137 <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> 
138 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> 
139 <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> 
140 <div·class="foldopen"·id="foldopen00044"·data-start="{"·data-end="}"> 
141 <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> 
142 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······{</div> 
143 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">if</span>(valid)</div> 
144 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··········value·=·T();</div> 
145 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······}</div> 
146 </div> 
147 <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> 
148 <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="}"> 
149 <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> 
150 <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> 
151 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{}</div> 
152 </div> 
153 <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> 
154 <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> 
155 <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> 
156 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········T&amp;·tmp·=·*value;</div> 
157 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········value.reset();</div> 
158 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·tmp;</div> 
159 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div> 
160 </div> 
161 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="}"> 
162 <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> 
163 <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> 
164 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······}</div> 
165 </div> 
166 <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="}"> 
167 <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> 
168 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·*value;</div> 
169 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······}</div> 
170 </div> 
171 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div> 
172 </div> 
173 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
174 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span>&lt;&gt;</div> 
175 <div·class="foldopen"·id="foldopen00068"·data-start="{"·data-end="};"> 
176 <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> 
177 <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> 
Max diff block lines reached; 115841/145864 bytes (79.42%) of diff not shown.
26.4 KB
html2text {}
    
Offset 7, 299 lines modifiedOffset 7, 617 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 iteratorfacades.hh
12 ····*·parallel 
13 mpifuture.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
20 ·5#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH 
21 ·6#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH19 ·5#ifndef·DUNE_ITERATORFACADES_HH
 20 ·6#define·DUNE_ITERATORFACADES_HH
22 ·721 ·7
 22 ·8#include·<iterator>
 23 ·9#include·<type_traits>
 24 ·10
 25 ·11#include·"typetraits.hh"
 26 ·12
23 ·8#include·<optional> 
24 ·9 
25 ·10#include·<dune/common/parallel/communication.hh> 
26 ·11#include·<dune/common/parallel/future.hh> 
27 ·12#include·<dune/common/parallel/mpidata.hh> 
28 ·13 
29 ·14#if·HAVE_MPI 
30 ·15namespace·Dune{27 ·13namespace·Dune
31 ·16 
32 17·namespace·impl{ 
33 ·18·template<class·T> 
34 19·struct·Buffer{ 
35 20·Buffer(bool·valid){ 
36 ·21·if(valid) 
37 ·22·value·=·std::make_unique<T>(); 
38 ·23·} 
39 ·24·template<class·V> 
40 25·Buffer(V&&·t) 
41 ·26·:·value(std::make_unique<T>(std::forward<V>(t))) 
42 ·27·{} 
43 28·std::unique_ptr<T>·value; 
44 29·T·get(){ 
45 ·30·T·tmp·=·std::move(*value); 
46 ·31·value.reset(); 
47 ·32·return·tmp; 
48 ·33·} 
49 34·operator·bool·()·const·{ 
50 ·35·return·(bool)value; 
51 ·36·} 
52 37·T&·operator_*()·const{ 
53 ·38·return·*value; 
54 ·39·} 
55 ·40·}; 
56 ·41 
57 ·42·template<class·T> 
58 43·struct·Buffer<T&>{ 
59 44·Buffer(bool·valid·=·false) 
60 ·45·{ 
61 ·46·if(valid) 
62 ·47·value·=·T(); 
63 ·48·} 
64 ·49·template<class·V> 
65 50·Buffer(V&&·t) 
66 ·51·:·value(std::forward<V>(t)) 
67 ·52·{} 
68 53·std::optional<std::reference_wrapper<T>>·value; 
69 54·T&·get(){ 
70 ·55·T&·tmp·=·*value; 
71 ·56·value.reset(); 
72 ·57·return·tmp; 
73 ·58·} 
74 59·operator·bool·()·const{ 
75 ·60·return·(bool)value; 
76 ·61·} 
77 62·T&·operator_*()·const{ 
78 ·63·return·*value; 
79 ·64·} 
80 ·65·}; 
81 ·66 
82 ·67·template<> 
83 68·struct·Buffer<void>{ 
84 69·bool·valid_; 
85 70·Buffer(bool·valid·=·false) 
86 ·71·:·valid_(valid) 
87 ·72·{} 
88 73·operator·bool·()·const{ 
89 ·74·return·valid_; 
90 ·75·} 
91 76·void·get(){} 
92 ·77·}; 
93 ·78·} 
94 ·79 
95 ·84·template<class·R,·class·S·=·void> 
96 85·class·MPIFuture{ 
97 ·86·mutable·MPI_Request·req_; 
98 ·87·mutable·MPI_Status·status_; 
99 ·88·impl::Buffer<R>·data_; 
100 89·impl::Buffer<S>·send_data_; 
101 ·90·friend·class·Communication<MPI_Comm>; 
102 ·91·public: 
103 92·MPIFuture(bool·valid·=·false) 
104 ·93·:·req_(MPI_REQUEST_NULL) 
105 ·94·,·data_(valid) 
106 ·95·{} 
107 ·96 
108 ·97·//·Hide·this·constructor·if·R·or·S·is·void 
109 ·98·template<class·V·=·R,·class·U·=·S> 
110 99·MPIFuture(V&&·recv_data,·U&&·send_data,·typename·std::enable_if_t<!std:: 
111 is_void<V>::value·&&·!std::is_void<U>::value>*·=·0)·: 
112 ·100·req_(MPI_REQUEST_NULL) 
113 ·101·,·data_(std::forward<R>(recv_data)) 
114 ·102·,·send_data_(std::forward<S>(send_data)) 
115 ·103·{} 
116 ·10428 ·14{
 29 ·139·template<class·T,·class·V,·class·R·=·V&,·class·D·=·std::ptrdiff_t>
 30 140·class·ForwardIteratorFacade
117 ·105·//·hide·this·constructor·if·R·is·void 
118 ·106·template<class·V·=·R> 
119 107·MPIFuture(V&&·recv_data,·typename·std::enable_if_t<!std::is_void<V>:: 
120 value>*·=·0) 
121 ·108·:·req_(MPI_REQUEST_NULL) 
122 ·109·,·data_(std::forward<V>(recv_data)) 
Max diff block lines reached; 23096/27015 bytes (85.49%) of diff not shown.
17.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·debugstream.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 89 lines modifiedOffset 65, 69 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124;76 <a·href="#nested-classes">Classes</a>·&#124;
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<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">Para[·...·truncated·by·diffoscope;·len:·49,·SHA:·9563d19d1e8faca913db393abc4b8faf4f0d9af67f9b7000963428eac2a1aebd·...·]</div>78 <a·href="#typedef-members">Typedefs</a>··</div>
 79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Classes·describing·a·distributed·indexset.··82 <p>Defines·several·output·streams·for·messages·of·different·importance.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
85 <code>#include·&lt;iostream&gt;</code><br·/> 
86 <code>#include·&lt;ostream&gt;</code><br·/> 
87 <code>#include·&lt;map&gt;</code><br·/> 
88 <code>#include·&lt;memory&gt;</code><br·/> 
89 <code>#include·&lt;set&gt;</code><br·/>85 <code>#include·&lt;stack&gt;</code><br·/>
90 <code>#include·&lt;utility&gt;</code><br·/> 
91 <code>#include·&lt;vector&gt;</code><br·/> 
92 <code>#include·&lt;mpi.h&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
94 <code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
96 <code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code><br·/> 
97 <code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/sllist.hh</a>&gt;</code><br·/> 
98 <code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
99 </div>87 </div>
100 <p><a·href="a00377_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00377_source.html">Go·to·the·source·code·of·this·file.</a></p>
101 <table·class="memberdecls">89 <table·class="memberdecls">
102 <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>
103 Classes</h2></td></tr>91 Classes</h2></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="a02232.html">Dune::MPITraits&lt;·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&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="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>
 93 <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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <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="a02240.html">Dune::RemoteIndex&lt;·T1,·T2·&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="a01380.html">Dune::common_bits&lt;·current,·mask·&gt;</a></td></tr>
107 <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>96 <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>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <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="a02236.html">Dune::RemoteIndices&lt;·T,·A·&gt;</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01384.html">Dune::DebugStreamError</a></td></tr>
110 <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>99 <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>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <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>101 <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>
113 <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> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <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="a02256.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition</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="a01392.html">Dune::DebugStreamState</a></td></tr>
 104 <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>
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <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>106 <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>
118 <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> 
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="a02260.html">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator</a></td></tr> 
121 <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>107 <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>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
125 Namespaces</h2></td></tr>111 Namespaces</h2></td></tr>
126 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
127 <tr·class="memdesc: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="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
129 </table><table·class="memberdecls">115 </table><table·class="memberdecls">
130 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 117 Typedefs</h2></td></tr>
 118 <tr·class="memitem:ga7b78ef57d1b77933ab277ebe66c79d94"·id="r_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>
 119 <tr·class="memdesc:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·for·debug·levels.··<br·/></td></tr>
131 Functions</h2></td></tr> 
132 <tr·class="memitem:ga3e5f972e5d5b0623aeaae8ea76610ef4"·id="r_ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr> 
133 <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·<a·class="el"·href="a02240.html">RemoteIndex</a>&lt;·T1,·T2·&gt;·&amp;index)</td></tr> 
134 <tr·class="separator:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ga4298476f0be2dd2f85d9fb856ff228a1"·id="r_ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class·A·&gt;·</td></tr> 
136 <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·<a·class="el"·href="a02236.html">RemoteIndices</a>&lt;·T,·A·&gt;·&amp;indices)</td></tr> 
137 <tr·class="separator:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:a048ab774ecd43e33a5026deafb1c9a8c"·id="r_a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
139 <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·<a·class="el"·href="a02240.html">RemoteIndex</a>&lt;·TG,·TA·&gt;·&amp;index)</td></tr> 
140 <tr·class="separator:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
141 </table>121 </table>
142 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>122 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
143 <div·class="textblock"><p>Classes·describing·a·distributed·indexset.·</p> 
144 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>123 <div·class="textblock"><p>Defines·several·output·streams·for·messages·of·different·importance.·</p>
 124 <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>
145 </div></div><!--·contents·-->125 </div></div><!--·contents·-->
146 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
147 <hr·class="footer"/><address·class="footer"><small>127 <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.8128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
149 </small></address>129 </small></address>
150 </body>130 </body>
151 </html>131 </html>
3.39 KB
html2text {}
    
Offset 6, 74 lines modifiedOffset 6, 49 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel 
13 Classes·|·Namespaces·|·Functions12 Classes·|·Namespaces·|·Typedefs
 13 debugstream.hh·File·Reference
 14 Common·»·Debug_output
 15 Defines·several·output·streams·for·messages·of·different·importance.·More...
14 remoteindices.hh·File·Reference 
15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
16 Classes·describing·a·distributed·indexset.·More... 
17 #include·<cassert> 
18 #include·<iostream>16 #include·<iostream>
19 #include·<ostream> 
20 #include·<map> 
21 #include·<memory> 
22 #include·<set>17 #include·<stack>
23 #include·<utility> 
24 #include·<vector> 
25 #include·<mpi.h> 
26 #include·<dune/common/exceptions.hh>18 #include·<dune/common/exceptions.hh>
27 #include·<dune/common/parallel/indexset.hh> 
28 #include·<dune/common/parallel/mpitraits.hh> 
29 #include·<dune/common/parallel/plocalindex.hh> 
30 #include·<dune/common/sllist.hh> 
31 #include·<dune/common/stdstreams.hh> 
32 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
33 ·Classes20 ·Classes
34 class· Dune::MPITraits<_IndexPair<_TG,_ParallelLocalIndex<_TA_>_>_>21 struct· Dune::greater_or_equal<_current,_threshold_>
 22  ·······Greater·or·equal·template·test.·More...
35  23  
36 class· Dune::RemoteIndex<_T1,_T2_> 
37  ······Information·about·an·index·residing·on·another·processor.·More...24 struct· Dune::common_bits<_current,_mask_>
 25  ·······activate·if·current·and·mask·have·common·bits·switched·on.·More...
38  26  
39 class· Dune::RemoteIndices<_T,_A_> 
40  ······The·indices·present·on·remote·processes.·More...27 ·class· Dune::DebugStreamError
 28  ·······standard·exception·for·the·debugstream·More...
41  29  
 30 ·class· Dune::StreamWrap
42 class· Dune::RemoteIndexListModifier<_T,_A,_mode_> 
43  ······Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote 
44 ········index·list.·More... 
45  31  
46 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>::InvalidPosition32 ·class· Dune::DebugStreamState
 33  ·······Intermediate·class·to·implement·tie-operation·of·DebugStream.·More...
47  34  
 35 ·class· Dune::DebugStream<_thislevel,_dlevel,_alevel,_activator_>
 36  ·······Generic·class·to·implement·debug·output·streams.·More...
48 class· Dune::CollectiveIterator<_T,_A_> 
49  ······A·collective·iterator·for·moving·over·the·remote·indices·for·all 
50 ········processes·collectively.·More... 
51   
52 class· Dune::CollectiveIterator<_T,_A_>::iterator 
53  ······Iterator·over·the·valid·underlying·iterators.·More... 
54  37  
55 ·Namespaces38 ·Namespaces
56 namespace· Dune39 namespace· Dune
57  ··········Dune·namespace.40  ··········Dune·namespace.
58  41  
 42 ·Typedefs
 43 typedef·unsigned·int Dune::DebugLevel
 44  ····················Type·for·debug·levels.
59 ·Functions 
60 template<typename·T1·,·typename·T2·> 
61 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·T1,·T2·> 
62 ················&index) 
63   
64 template<class·T·,·class·A·> 
65 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndices<·T,·A·> 
66 ················&indices) 
67   
68 template<typename·TG·,·typename·TA·> 
69 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·TG,·TA·> 
70 ················&index) 
71  45  
72 *****·Detailed·Description·*****46 *****·Detailed·Description·*****
73 Classes·describing·a·distributed·indexset. 
74 ··Author 
75 ······Markus·Blatt47 Defines·several·output·streams·for·messages·of·different·importance.
 48 This·file·implements·the·class·DebugStream·to·support·output·in·a·variety·of
 49 debug·levels.·Additionally,·template·parameters·control·if·the·output·operation
 50 is·really·performed·so·that·unused·debug·levels·can·be·deactivated
  
76 ===============================================================================51 ===============================================================================
77 ·····Generated·by [doxygen]·1.9.852 ·····Generated·by [doxygen]·1.9.8
408 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 1697 lines modifiedOffset 70, 337 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">remoteindices.hh</div></div>80 ··<div·class="headertitle"><div·class="title">debugstream.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_REMOTEINDICES_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_REMOTEINDICES_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_DEBUGSTREAM_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_DEBUGSTREAM_HH</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;set&gt;</span></div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;stack&gt;</span></div>
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00356.html">dune/common/parallel/indexset.hh</a>&gt;</span></div> 
105 <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/parallel/mpitraits.hh</a>&gt;</span></div> 
106 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00338.html">dune/common/parallel/plocalindex.hh</a>&gt;</span></div> 
107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00287.html">dune/common/sllist.hh</a>&gt;</span></div> 
108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
109 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
110 <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>96 <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>
111 <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> 
112 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> 
113 <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> 
114 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> 
115 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div> 
116 <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> 
117 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">private</span>:</div> 
118 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·type;</div> 
119 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div> 
120 </div> 
121 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
122 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 98 <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>
123 <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> 
124 <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> 
125 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
126 <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> 
127 <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> 
128 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
129 <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> 
130 <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> 
131 <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> 
132 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
133 <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> 
134 <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> 
135 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
136 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
137 <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> 
138 <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> 
139 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
140 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
141 <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> 
142 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="};"> 
143 <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> 
144 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div> 
145 <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> 
146 <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> 
147 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
148 <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> 
149 <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> 
150 <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> 
151 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·········································<span·class="keyword">const</span>·T&amp;);</div> 
152 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
153 <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> 
154 <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> 
155 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
156 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">public</span>:</div> 
157 <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> 
158 <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> 
159 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
160 <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> 
161 <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> 
162 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
163 <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> 
164 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
165 <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> 
166 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>99 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
167 <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>100 <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>
 101 <div·class="foldopen"·id="foldopen00130"·data-start="{"·data-end="};">
 102 <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>
 103 <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>
168 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>104 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··};</div>
 105 </div>
169 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
170 <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> 
171 <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> 
172 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>106 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>
173 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>107 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
Max diff block lines reached; 316416/346991 bytes (91.19%) of diff not shown.
68.9 KB
html2text {}
    
Offset 7, 1932 lines modifiedOffset 7, 377 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 debugstream.hh
12 ····*·parallel 
13 remoteindices.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5
 20 ·6#ifndef·DUNE_DEBUGSTREAM_HH
 21 ·7#define·DUNE_DEBUGSTREAM_HH
 22 ·8
20 ·5#ifndef·DUNE_REMOTEINDICES_HH 
21 ·6#define·DUNE_REMOTEINDICES_HH 
22 ·7 
23 ·8#if·HAVE_MPI 
24 ·9 
25 ·10#include·<cassert> 
26 ·11#include·<iostream>23 ·13#include·<iostream>
27 ·12#include·<ostream> 
28 ·13#include·<map> 
29 ·14#include·<memory> 
30 ·15#include·<set>24 ·14#include·<stack>
 25 ·15
31 ·16#include·<utility> 
32 ·17#include·<vector> 
33 ·18 
34 ·19#include·<mpi.h> 
35 ·20 
36 ·21#include·<dune/common/exceptions.hh>26 ·16#include·<dune/common/exceptions.hh>
 27 ·17
37 ·22#include·<dune/common/parallel/indexset.hh> 
38 ·23#include·<dune/common/parallel/mpitraits.hh> 
39 ·24#include·<dune/common/parallel/plocalindex.hh> 
40 ·25#include·<dune/common/sllist.hh> 
41 ·26#include·<dune/common/stdstreams.hh> 
42 ·27 
43 ·28namespace·Dune·{28 ·18namespace·Dune·{
 29 ·19
 30 118·typedef·unsigned·int·DebugLevel;
44 ·40·template<typename·TG,·typename·TA> 
45 41·class·MPITraits<IndexPair<TG,ParallelLocalIndex<TA>·>·> 
46 ·42·{ 
47 ·43·public: 
48 ·44·inline·static·MPI_Datatype·getType(); 
49 ·45·private: 
50 ·46·static·MPI_Datatype·type; 
51 ·47·}; 
52 ·48 
53 ·49 
54 ·50·template<typename·T,·typename·A> 
55 ·51·class·RemoteIndices; 
56 ·52 
57 ·53·template<typename·T1,·typename·T2> 
58 ·54·class·RemoteIndex; 
59 ·55 
60 ·56·//·forward·declaration·needed·for·friend·declaration. 
61 ·57·template<typename·T> 
62 ·58·class·IndicesSyncer; 
63 ·59 
64 ·60·template<typename·T1,·typename·T2> 
65 61·std::ostream&·operator<<(std::ostream&·os,·const·RemoteIndex<T1,T2>&·index); 
66 ·62 
67 ·63 
68 ·64·template<typename·T,·typename·A,·bool·mode> 
69 ·65·class·RemoteIndexListModifier; 
70 ·66 
71 ·67 
72 ·71·template<typename·T1,·typename·T2> 
73 72·class·RemoteIndex 
74 ·73·{ 
75 ·74·template<typename·T> 
76 75·friend·class·IndicesSyncer; 
77 ·76 
78 ·77·template<typename·T,·typename·A,·typename·A1> 
79 78·friend·void·repairLocalIndexPointers(std::map<int,SLList<std::pair<typename 
80 T::GlobalIndex,·typename·T::LocalIndex::Attribute>,A>·>&, 
81 ·79·RemoteIndices<T,A1>&, 
82 ·80·const·T&); 
83 ·81 
84 ·82·template<typename·T,·typename·A,·bool·mode> 
85 83·friend·class·RemoteIndexListModifier; 
86 ·84 
87 ·85·public: 
88 90·typedef·T1·GlobalIndex; 
89 99·typedef·T2·Attribute; 
90 ·100 
91 ·104·typedef·IndexPair<GlobalIndex,ParallelLocalIndex<Attribute>·> 
92 105·PairType; 
93 ·106 
94 ·111·const·Attribute·attribute()·const; 
95 ·112 
96 ·118·const·PairType&·localIndexPair()·const; 
97 ·11931 ·119
 32 ·129·template·<DebugLevel·current,·DebugLevel·threshold>
 33 130·struct·greater_or_equal·{
 34 131·constexpr·static·bool·value·=·(current·>=·threshold);
 35 ·132·};
98 ·123·RemoteIndex(); 
99 ·124 
100 ·125 
101 ·131·RemoteIndex(const·T2&·attribute, 
102 ·132·const·PairType*·local); 
103 ·13336 ·133
104 ·13437 ·134
105 ·140·RemoteIndex(const·T2&·attribute);38 ·141·template·<DebugLevel·current,·DebugLevel·mask>
 39 142·struct·common_bits·{
 40 143·constexpr·static·bool·value·=·((current·&·mask)·!=·0);
 41 ·144·};
106 ·14142 ·145
107 ·142·bool·operator==(const·RemoteIndex&·ri)·const; 
108 ·14343 ·146
 44 148·class·DebugStreamError·:·public·IOError·{};
109 ·144·bool·operator!=(const·RemoteIndex&·ri)·const; 
110 ·145·private: 
111 ·147·const·PairType*·localIndex_; 
112 ·14845 ·149
113 ·150·char·attribute_;46 150·class·StreamWrap·{
 47 ·151·public:
Max diff block lines reached; 66278/70567 bytes (93.92%) of diff not shown.
10.7 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 44 lines modifiedOffset 72, 53 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
78 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
79 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh·File·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">transpose.hh·File·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>utility·functions·to·compute·eigenvalues·for·dense·matrices.·· 
83 <a·href="#details">More...</a></p> 
84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>82 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
85 <code>#include·&lt;memory&gt;</code><br·/>83 <code>#include·&lt;functional&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/referencehelper.hh</a>&gt;</code><br·/>
86 <code>#include·&quot;<a·class="el"·href="a00188_source.html">dynmatrix.hh</a>&quot;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/dynmatrix.hh</a>&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00080_source.html">fmatrixev.hh</a>&quot;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>
88 </div>90 </div>
89 <p><a·href="a00380_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00380_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">92 <table·class="memberdecls">
91 <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>
92 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:a00433"·id="r_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> 
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="func-members"·name="func-members"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
100 Functions</h2></td></tr>100 Functions</h2></td></tr>
101 <tr·class="memitem:a3a886253fd1bce66e013df6cf7548749"·id="r_a3a886253fd1bce66e013df6cf7548749"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·class·C·&gt;·</td></tr> 
102 <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·<a·class="el"·href="a01500.html">DynamicMatrix</a>&lt;·K·&gt;·&amp;matrix,·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·C·&gt;·&amp;eigenValues,·std::vector&lt;·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·K·&gt;·&gt;·*eigenVectors=nullptr)</td></tr> 
103 <tr·class="memdesc:a3a886253fd1bce66e013df6cf7548749"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<br·/></td></tr>101 <tr·class="memitem:ad090bea53c1598805a721f989ffea309"·id="r_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>
 102 <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>
 103 <tr·class="memdesc:ad090bea53c1598805a721f989ffea309"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·transposed·of·the·given·matrix.··<br·/></td></tr>
 104 <tr·class="separator:ad090bea53c1598805a721f989ffea309"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a15675202af9ce6f9282065c808f24a82"·id="r_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>
 106 <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>
 107 <tr·class="memdesc:a15675202af9ce6f9282065c808f24a82"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<br·/></td></tr>
104 <tr·class="separator:a3a886253fd1bce66e013df6cf7548749"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:a15675202af9ce6f9282065c808f24a82"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:a7fd3975f961a390371400a55a41b6209"·id="r_a7fd3975f961a390371400a55a41b6209"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr>
 110 <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>
 111 <tr·class="memdesc:a7fd3975f961a390371400a55a41b6209"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<br·/></td></tr>
 112 <tr·class="separator:a7fd3975f961a390371400a55a41b6209"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:ae4a7b79043c218c135e2762d5874ce15"·id="r_ae4a7b79043c218c135e2762d5874ce15"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr>
 114 <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>
 115 <tr·class="memdesc:ae4a7b79043c218c135e2762d5874ce15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·view·modelling·the·transposed·matrix.··<br·/></td></tr>
 116 <tr·class="separator:ae4a7b79043c218c135e2762d5874ce15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table>117 </table>
106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
107 <div·class="textblock"><p>utility·functions·to·compute·eigenvalues·for·dense·matrices.·</p> 
108 </div></div><!--·contents·-->118 </div><!--·contents·-->
109 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>120 <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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>122 </small></address>
113 </body>123 </body>
114 </html>124 </html>
1.98 KB
html2text {}
    
Offset 7, 32 lines modifiedOffset 7, 43 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Namespaces·|·Functions12 Namespaces·|·Functions
13 dynmatrixev.hh·File·Reference13 transpose.hh·File·Reference
14 utility·functions·to·compute·eigenvalues·for·dense·matrices.·More... 
15 #include·<algorithm> 
16 #include·<memory> 
17 #include·"dynmatrix.hh" 
18 #include·"fmatrixev.hh"14 #include·<cstddef>
 15 #include·<functional>
 16 #include·<dune/common/std/type_traits.hh>
 17 #include·<dune/common/fmatrix.hh>
 18 #include·<dune/common/promotiontraits.hh>
 19 #include·<dune/common/referencehelper.hh>
 20 #include·<dune/common/dynmatrix.hh>
 21 #include·<dune/common/matrixconcepts.hh>
19 Go_to_the_source_code_of_this_file.22 Go_to_the_source_code_of_this_file.
20 ·Namespaces23 ·Namespaces
21 namespace· Dune24 namespace· Dune
22  ··········Dune·namespace.25  ··········Dune·namespace.
23  26  
24 namespace· Dune::DynamicMatrixHelp 
25   
26 ·Functions27 ·Functions
27 template<typename·K·,·class·C·> 
28 static·void Dune::DynamicMatrixHelp::eigenValuesNonSym·(const·DynamicMatrix<·K 
29 ·············>·&matrix,·DynamicVector<·C·>·&eigenValues,·std::vector< 
30 ·············DynamicVector<·K·>·>·*eigenVectors=nullptr) 
31  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix28 template<class·Matrix·,·std::enable_if_t<·Impl::HasMemberFunctionTransposed<
 29 Matrix·>::value,·int·>·=·0>
 30 auto Dune::transpose·(const·Matrix·&matrix)
 31  ····Return·the·transposed·of·the·given·matrix.
 32  
 33 template<class·Matrix·,·std::enable_if_t<·not·Impl::
 34 HasMemberFunctionTransposed<·std::decay_t<·Matrix·>·>::value,·int·>·=·0>
 35 auto Dune::transpose·(Matrix·&&matrix)
 36  ····Create·a·wrapper·modelling·the·transposed·matrix.
 37  
 38 template<class·Matrix·>
 39 auto Dune::transpose·(const·std::reference_wrapper<·Matrix·>·&matrix)
 40  ····Create·a·wrapper·modelling·the·transposed·matrix.
 41  
 42 template<class·Matrix·>
 43 auto Dune::transposedView·(const·Matrix·&matrix)
 44  ····Create·a·view·modelling·the·transposed·matrix.
32  45  
33 *****·Detailed·Description·***** 
34 utility·functions·to·compute·eigenvalues·for·dense·matrices. 
  
35 ===============================================================================46 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.847 ·····Generated·by [doxygen]·1.9.8
65.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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 123 lines modifiedOffset 74, 248 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh</div></div>80 ··<div·class="headertitle"><div·class="title">transpose.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TRANSPOSE_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TRANSPOSE_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00188.html">dynmatrix.hh</a>&quot;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00170.html">dune/common/fmatrix.hh</a>&gt;</span></div>
 95 <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/promotiontraits.hh</a>&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00080.html">fmatrixev.hh</a>&quot;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/referencehelper.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00383.html">dune/common/dynmatrix.hh</a>&gt;</span></div>
 98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00062.html">dune/common/matrixconcepts.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
96 <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>100 <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>
 101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
98 <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="}">106 <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>
99 <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>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">struct·</span>TransposedDenseMatrixTraits</div>
100 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>108 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
 109 <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>
101 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div> 
102 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>Dune::FMatrixHelp::eigenValuesNonsymLapackCall;</div> 
103 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div>110 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··};</div>
104 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>111 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
105 <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>112 <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>
 113 <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>
106 <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}"> 
107 <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> 
108 <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;·eigenValues,</div> 
109 <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> 
110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······)</div> 
111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div>114 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>
 115 <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>
 116 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>
 117 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 118 <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>
 119 <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>
 120 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 121 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>122 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 123 <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>
 124 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="comment">//·namely·enums·rows·and·cols.</span></div>
 125 <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>
 126 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">class·</span>TransposedMatrixWrapperMixin·{};</div>
113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>127 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 128 <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>
 129 <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="l00046"·name="l00046"></a><span·class="lineno">···46</span>······{</div>130 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div>
 131 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div>
115 <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> 
116 <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> 
117 <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> 
118 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>132 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 133 <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>
 134 <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>
 135 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··};</div>
119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>136 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="comment">//·matrix·to·put·into·dgeev</span></div> 
121 <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> 
122 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>137 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
123 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="comment">//·copy·matrix</span></div> 
124 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordtype">int</span>·row·=·0;</div> 
125 <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> 
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="keywordflow">for</span>(<span·class="keywordtype">int</span>·j=0;·j&lt;N;·++j,·++row)</div> 
128 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········{</div> 
129 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>············matrixVector[·row·]·=·matrix[·i·][·j·];</div> 
130 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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>·</div> 
133 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="comment">//·working·memory</span></div> 
134 <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> 
135 <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> 
136 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>138 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
137 <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> 
138 <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> 
139 <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> 
140 <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>········<span·class="comment">//·return·value·information</span></div> 
142 <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>139 <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>
143 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
144 <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> 
145 <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> 
146 <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> 
147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····································&amp;lwork,·&amp;info);</div> 
148 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
149 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>(·info·!=·0·)</div>140 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">class·</span>TransposedMatrixWrapper;</div>
150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{</div> 
151 <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> 
152 <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> 
153 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div> 
154 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>141 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
155 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········eigenValues.<a·class="code·hl_function"·href="a01512.html#a1dc5235fd9a477eb17112e4826753b48">resize</a>(N);</div>142 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}·<span·class="comment">//·namespace·Impl</span></div>
 143 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
Max diff block lines reached; 4617/55388 bytes (8.34%) of diff not shown.
11.6 KB
html2text {}
    
Offset 7, 142 lines modifiedOffset 7, 280 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 dynmatrixev.hh12 transpose.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH 
20 ·6#define·DUNE_DYNMATRIXEIGENVALUES_HH19 ·5#ifndef·DUNE_COMMON_TRANSPOSE_HH
 20 ·6#define·DUNE_COMMON_TRANSPOSE_HH
21 ·721 ·7
22 ·8#include·<algorithm> 
23 ·9#include·<memory>22 ·8#include·<cstddef>
 23 ·9#include·<functional>
24 ·1024 ·10
25 ·11#include·"dynmatrix.hh" 
26 ·12#include·"fmatrixev.hh" 
27 ·1325 ·11#include·<dune/common/std/type_traits.hh>
 26 ·12#include·<dune/common/fmatrix.hh>
 27 ·13#include·<dune/common/promotiontraits.hh>
 28 ·14#include·<dune/common/referencehelper.hh>
 29 ·15#include·<dune/common/dynmatrix.hh>
 30 ·16#include·<dune/common/matrixconcepts.hh>
 31 ·17
28 ·22namespace·Dune·{32 ·18namespace·Dune·{
 33 ·19
 34 ·20namespace·Impl·{
 35 ·21
 36 ·22
29 ·2337 ·23
30 24·namespace·DynamicMatrixHelp·{ 
31 ·25 
32 ·26#if·HAVE_LAPACK 
33 ·27·using·Dune::FMatrixHelp::eigenValuesNonsymLapackCall; 
34 ·28#endif38 ·24·template<class·M,·bool·=·IsStaticSizeMatrix<M>::value>
 39 ·25·struct·TransposedDenseMatrixTraits
 40 ·26·{
 41 ·27·using·type·=·Dune::FieldMatrix<typename_FieldTraits<M>::field_type,·M::
 42 cols,·M::rows>;
 43 ·28·};
35 ·2944 ·29
 45 ·30·template<class·M>
 46 ·31·struct·TransposedDenseMatrixTraits<M,·false>
36 ·38·template·<typename·K,·class·C> 
37 39·static·void·eigenValuesNonSym(const·DynamicMatrix<K>&·matrix, 
38 ·40·DynamicVector<C>&·eigenValues, 
39 ·41·std::vector<DynamicVector<K>>*·eigenVectors·=·nullptr 
40 ·42·) 
41 ·43·{47 ·32·{
42 ·44 
43 ·45#if·HAVE_LAPACK48 ·33·using·type·=·Dune::DynamicMatrix<typename_FieldTraits<M>::field_type>;
 49 ·34·};
 50 ·35
 51 ·36·template<class·M>
 52 ·37·using·TransposedDenseMatrixTraits_t·=·typename
 53 TransposedDenseMatrixTraits<M>::type;
 54 ·38
 55 ·39
 56 ·40
 57 ·41·//·CRTP·mixin·class·to·provide·the·static·part·of·the·interface,
 58 ·42·//·namely·enums·rows·and·cols.
 59 ·43·template<class·WM,·bool·staticSize·=·IsStaticSizeMatrix<WM>::value>
 60 ·44·class·TransposedMatrixWrapperMixin·{};
 61 ·45
 62 ·46·template<class·WM>
 63 ·47·class·TransposedMatrixWrapperMixin<WM,·true>
44 ·46·{64 ·48·{
 65 ·49·public:
45 ·47·const·long·int·N·=·matrix.rows(); 
46 ·48·const·char·jobvl·=·'n'; 
47 ·49·const·char·jobvr·=·eigenVectors·?·'v'·:·'n'; 
48 ·5066 ·50
49 ·51 
50 ·52·//·matrix·to·put·into·dgeev 
51 ·53·auto·matrixVector·=·std::make_unique<double[]>(N*N); 
52 ·54 
53 ·55·//·copy·matrix 
54 ·56·int·row·=·0; 
55 ·57·for(int·i=0;·i<N;·++i)67 ·52·constexpr·static·int·rows·=·WM::cols;
 68 ·54·constexpr·static·int·cols·=·WM::rows;
 69 ·55·};
 70 ·56
 71 ·57
 72 ·58
 73 ·59·template<class·M>
 74 ·60·class·TransposedMatrixWrapper;
 75 ·61
 76 ·62}·//·namespace·Impl
 77 ·63
 78 ·64//·Specialization·of·FieldTraits·needs·to·be·in·namespace·Dune::
 79 ·65template<class·M>
 80 ·66struct·FieldTraits<·Impl::TransposedMatrixWrapper<M>·>
 81 ·67{
 82 ·68·using·field_type·=·typename·FieldTraits<ResolveRef_t<M>>::field_type;
 83 ·69·using·real_type·=·typename·FieldTraits<ResolveRef_t<M>>::real_type;
 84 ·70};
 85 ·71
 86 ·72namespace·Impl·{
 87 ·73
 88 ·74·//·Wrapper·representing·the·transposed·of·a·matrix.
 89 ·75·//·Creating·the·wrapper·does·not·compute·anything
 90 ·76·//·but·only·serves·for·tagging·the·wrapped·matrix
 91 ·77·//·for·transposition.·This·class·will·store·M·by·value.
 92 ·78·//·To·support·reference-semantic,·it·supports·using
 93 ·79·//·M=std::reference_wrapper<OriginalMatrixType>.
 94 ·80·template<class·M>
 95 ·81·class·TransposedMatrixWrapper·:
 96 ·82·public·TransposedMatrixWrapperMixin<ResolveRef_t<M>>
56 ·58·{97 ·83·{
57 ·59·for(int·j=0;·j<N;·++j,·++row) 
58 ·60·{ 
59 ·61·matrixVector[·row·]·=·matrix[·i·][·j·]; 
60 ·62·} 
61 ·63·} 
62 ·64 
63 ·65·//·working·memory 
64 ·66·auto·eigenR·=·std::make_unique<double[]>(N); 
65 ·67·auto·eigenI·=·std::make_unique<double[]>(N);98 ·84·constexpr·static·bool·hasStaticSize·=·IsStaticSizeMatrix<ResolveRef_t<M>>::
 99 value;
 100 ·85·public:
Max diff block lines reached; 2456/11889 bytes (20.66%) of diff not shown.
8.14 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 72, 46 lines modifiedOffset 72, 50 lines modified
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>··</div>
79 ··<div·class="headertitle"><div·class="title">ftraits.hh·File·Reference</div></div>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)··82 <p>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
85 <code>#include·&lt;vector&gt;</code><br·/>85 <code>#include·&lt;cstddef&gt;</code><br·/>
 86 <code>#include·&lt;iostream&gt;</code><br·/>
 87 <code>#include·&lt;initializer_list&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00080_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/dynvector.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
86 </div>93 </div>
87 <p><a·href="a00383_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00383_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">95 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
90 Classes</h2></td></tr>97 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="a01740.html">Dune::FieldTraits&lt;·T·&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="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>99 <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="a01744.html">Dune::FieldTraits&lt;·const·T·&gt;</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="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>101 <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="a01748.html">Dune::FieldTraits&lt;·std::complex&lt;·T·&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="a01752.html">Dune::FieldTraits&lt;·T[N]·&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="a01500.html">Dune::DynamicMatrix&lt;·K·&gt;</a></td></tr>
 103 <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>
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="a01756.html">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;</a></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
102 <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>
103 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
104 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>111 </table>
108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>112 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
109 <div·class="textblock"><p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</p>113 <div·class="textblock"><p>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·</p>
110 </div></div><!--·contents·-->114 </div></div><!--·contents·-->
111 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>116 <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.8117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
114 </small></address>118 </small></address>
115 </body>119 </body>
116 </html>120 </html>
1.52 KB
html2text {}
    
Offset 7, 33 lines modifiedOffset 7, 38 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces
13 ftraits.hh·File·Reference13 dynmatrix.hh·File·Reference
14 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)14 Common·»·Dense_Matrix_and_Vector_Template_Library
 15 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.
15 More...16 More...
16 #include·<complex> 
17 #include·<vector>17 #include·<cmath>
 18 #include·<cstddef>
 19 #include·<iostream>
 20 #include·<initializer_list>
 21 #include·<dune/common/boundschecking.hh>
 22 #include·<dune/common/exceptions.hh>
 23 #include·<dune/common/dynvector.hh>
 24 #include·<dune/common/densematrix.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 struct· Dune::FieldTraits<_T_>28 struct· Dune::DenseMatVecTraits<_DynamicMatrix<_K_>_>
21  29  
22 struct· Dune::FieldTraits<_const_T_>30 struct· Dune::FieldTraits<_DynamicMatrix<_K_>_>
23  31  
 32 ·class· Dune::DynamicMatrix<_K_>
 33  ·······Construct·a·matrix·with·a·dynamic·size.·More...
24 struct· Dune::FieldTraits<_std::complex<_T_>_> 
25   
26 struct· Dune::FieldTraits<_T[N]_> 
27   
28 struct· Dune::FieldTraits<_std::vector<_T_>_> 
29  34  
30 ·Namespaces35 ·Namespaces
31 namespace· Dune36 namespace· Dune
32  ··········Dune·namespace.37  ··········Dune·namespace.
33  38  
34 *****·Detailed·Description·*****39 *****·Detailed·Description·*****
35 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)40 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.
  
36 ===============================================================================41 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.842 ·····Generated·by [doxygen]·1.9.8
63.9 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 90 lines modifiedOffset 74, 215 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">ftraits.hh</div></div>80 ··<div·class="headertitle"><div·class="title">dynmatrix.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FTRAITS_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIX_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FTRAITS_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIX_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <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>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00011.html">dune/common/dynvector.hh</a>&gt;</span></div>
 98 <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/densematrix.hh</a>&gt;</span></div>
 99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
93 <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>101 <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>
 102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 104 <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>
95 <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> 
96 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};"> 
97 <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> 
98 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div> 
99 <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> 
100 <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> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div> 
102 </div> 
103 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
104 <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>106 <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>
105 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">107 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
106 <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>108 <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>
107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>109 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
 110 <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>
108 <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> 
109 <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> 
110 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··};</div>111 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
111 </div>112 <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&l[·...·truncated·by·diffoscope;·len:·106,·SHA:·55a17d30a58e0e3399714740a7d41a615dc07a7ecc07a306789f81a890264435·...·]/div>
112 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>113 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 114 <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>
 115 <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>
113 <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> 
114 <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> 
115 <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> 
116 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>116 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
117 <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> 
118 <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>117 <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#aeff2f27908d9d923c96c6[·...·truncated·by·diffoscope;·len:·22,·SHA:·4be3af659c536da0a5c781b2681ce54c6f007137ae4a1e3209ffb5bbb49baa07·...·]_type</a>;</div>
 118 <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>
 119 <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>
119 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··};</div>120 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div>
120 </div>121 </div>
121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
122 <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>123 <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>
123 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">124 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};">
124 <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>125 <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[·...·truncated·by·diffoscope;·len:·10,·SHA:·7b84f5d910b1b77ee9c914073c71165847a392a83ab296abaa44f2b6c77e1bad·...·]·&gt;</div>
125 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>126 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>
126 <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#aaaf5[·...·truncated·by·diffoscope;·len:·145,·SHA:·974d5596ba8abcfc56d0699785d895d51e10393050842e760c183035b7c76c6c·...·]">field_type</a>;</div>127 <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#aaaf5[·...·truncated·by·diffoscope;·len:·145,·SHA:·6c73441840811603823b76b15f63b7e0a097df738a76793efaed6f1dbe67020c·...·]">field_type</a>;</div>
127 <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#ab1c1[·...·truncated·by·diffoscope;·len:·144,·SHA:·937fff082e9e27740bc5c051b6334c8b8d88efad6fbeb3c9c179433ec2a47122·...·]">real_type</a>;</div>128 <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#ab1c1[·...·truncated·by·diffoscope;·len:·144,·SHA:·8c63f03e3be0beb5910a4c97967a534ba7870c4e0031f397ad002035a38359c3·...·]">real_type</a>;</div>
128 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··};</div>129 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>
129 </div>130 </div>
130 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>131 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
131 <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>132 <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>
132 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">133 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};">
133 <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>::ve[·...·truncated·by·diffoscope;·len:·9,·SHA:·5a5dcd49ab39d6b1efd54ca43ab3adc91fc523ccc458be4bc03b0d5f8c245921·...·]&gt;·&gt;</div>134 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01500.html">···60</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01500.html">DynamicMatrix</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·[·...·truncated·by·diffoscope;·len:·57,·SHA:·2e977f239d2e86353e0787221882bdf789451a28876df338e4f1255ba04b67dd·...·]&gt;·&gt;</div>
134 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div>135 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>
135 <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> 
136 <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#ab1c[·...·truncated·by·diffoscope;·len:·160,·SHA:·fbe7807d4b7f6d2c6bdf248fd88902da9f54a5055bb9c2fc79aefe2f94efe1df·...·];</div>136 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····std::vector&lt;·DynamicVector&lt;K&gt;·&gt;·_data;</div>
 137 <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>
 138 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>:</div>
 139 <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>
 140 <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>
 141 <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>
137 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··};</div>142 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 143 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//=====·constructors</span></div>
 144 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01500.html#adcc41a31367efa2942a0d46f687bf654">···71</a></span>····<a·class="code·hl_function"·href="a01500.html#adcc41a31367efa2942a0d46f687bf654">DynamicMatrix</a>·()·{}</div>
 145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 146 <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}">
 147 <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>
 148 <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>
 149 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····{}</div>
138 </div>150 </div>
 151 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 152 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}">
 153 <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>
 154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······:·_data(ll)</div>
 155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{}</div>
 156 </div>
 157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 159 <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>
 160 <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>
 161 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}">
 162 <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>
 163 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div>
 164 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······*<span·class="keyword">this</span>·=·rhs;</div>
 165 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div>
 166 </div>
 167 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 168 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//====·resize·related·methods</span></div>
Max diff block lines reached; 15323/54488 bytes (28.12%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
10.6 KB
html2text {}
    
Offset 7, 102 lines modifiedOffset 7, 282 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ftraits.hh12 dynmatrix.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_FTRAITS_HH19 ·5#ifndef·DUNE_DYNMATRIX_HH
20 ·6#define·DUNE_FTRAITS_HH20 ·6#define·DUNE_DYNMATRIX_HH
21 ·721 ·7
22 ·12#include·<complex> 
23 ·13#include·<vector> 
24 ·1422 ·8#include·<cmath>
 23 ·9#include·<cstddef>
 24 ·10#include·<iostream>
 25 ·11#include·<initializer_list>
 26 ·12
 27 ·13#include·<dune/common/boundschecking.hh>
 28 ·14#include·<dune/common/exceptions.hh>
 29 ·15#include·<dune/common/dynvector.hh>
 30 ·16#include·<dune/common/densematrix.hh>
 31 ·17#include·<dune/common/typetraits.hh>
 32 ·18
25 ·15namespace·Dune·{33 ·19namespace·Dune
 34 ·20{
 35 ·21
 36 ·31·template<·class·K·>·class·DynamicMatrix;
26 ·16 
27 ·24·template<class·T> 
28 25·struct·FieldTraits 
29 ·26·{ 
30 28·typedef·T·field_type; 
31 30·typedef·T·real_type; 
32 ·31·}; 
33 ·3237 ·32
34 ·33·template<class·T>38 ·33·template<·class·K·>
35 34·struct·FieldTraits<const·T>39 34·struct·DenseMatVecTraits<·DynamicMatrix<K>·>
36 ·35·{40 ·35·{
37 36·typedef·typename·FieldTraits<T>::field_type·field_type; 
38 37·typedef·typename·FieldTraits<T>::real_type·real_type; 
39 ·38·};41 36·typedef·DynamicMatrix<K>·derived_type;
 42 ·37
 43 38·typedef·DynamicVector<K>·row_type;
40 ·3944 ·39
 45 40·typedef·row_type·&row_reference;
 46 41·typedef·const·row_type·&const_row_reference;
 47 ·42
 48 43·typedef·std::vector<K>·container_type;
 49 44·typedef·K·value_type;
 50 45·typedef·typename·container_type::size_type·size_type;
 51 ·46·};
 52 ·47
41 ·40·template<class·T>53 ·48·template<·class·K·>
 54 49·struct·FieldTraits<·DynamicMatrix<K>·>
 55 ·50·{
42 41·struct·FieldTraits<·std::complex<T>·> 
43 ·42·{ 
44 43·typedef·std::complex<T>·field_type; 
45 44·typedef·T·real_type; 
46 ·45·}; 
47 ·46 
48 ·47·template<class·T,·unsigned·int·N> 
49 48·struct·FieldTraits<·T[N]·> 
50 ·49·{ 
51 50·typedef·typename·FieldTraits<T>::field_type·field_type;56 51·typedef·typename·FieldTraits<K>::field_type·field_type;
52 51·typedef·typename·FieldTraits<T>::real_type·real_type;57 52·typedef·typename·FieldTraits<K>::real_type·real_type;
53 ·52·};58 ·53·};
54 ·5359 ·54
55 ·54·template<class·T>60 ·59·template<class·K>
56 55·struct·FieldTraits<·std::vector<T>·>61 60·class·DynamicMatrix·:·public·DenseMatrix<·DynamicMatrix<K>·>
57 ·56·{62 ·61·{
58 57·typedef·typename·FieldTraits<T>::field_type·field_type; 
59 58·typedef·typename·FieldTraits<T>::real_type·real_type;63 ·62·std::vector<·DynamicVector<K>·>·_data;
 64 ·63·typedef·DenseMatrix<_DynamicMatrix<K>·>·Base;
 65 ·64·public:
 66 65·typedef·typename·Base::size_type·size_type;
 67 66·typedef·typename·Base::value_type·value_type;
 68 67·typedef·typename·Base::row_type·row_type;
 69 ·68
 70 ·69·//=====·constructors
 71 71·DynamicMatrix·()·{}
 72 ·72
 73 74·DynamicMatrix·(size_type·r,·size_type·c,·value_type·v·=·value_type()·)·:
 74 ·75·_data(r,·row_type(c,·v)·)
 75 ·76·{}
 76 ·77
 77 80·DynamicMatrix·(std::initializer_list<DynamicVector<K>>·const·&ll)
 78 ·81·:·_data(ll)
 79 ·82·{}
 80 ·83
 81 ·84
 82 ·85·template·<class·T,
 83 ·86·typename·=·std::enable_if_t<!Dune::IsNumber<T>::value·&&
 84 HasDenseMatrixAssigner<DynamicMatrix,·T>::value>>
 85 87·DynamicMatrix(T·const&·rhs)
 86 ·88·{
 87 ·89·*this·=·rhs;
 88 ·90·}
 89 ·91
 90 ·92·//====·resize·related·methods
 91 106·void·resize·(size_type·r,·size_type·c,·value_type·v·=·value_type()·)
 92 ·107·{
 93 ·108·_data.resize(0);
 94 ·109·_data.resize(r,·row_type(c,·v)·);
 95 ·110·}
 96 ·111
 97 ·112·//=====·assignment
 98 ·113·//·General·assignment·with·resizing
 99 ·114·template·<typename·T,
 100 ·115·typename·=·std::enable_if_t<!Dune::IsNumber<T>::value>>
 101 116·DynamicMatrix&·operator=(T·const&·rhs)·{
 102 ·117·_data.resize(rhs.N());
 103 ·118·std::fill(_data.begin(),·_data.end(),·row_type(rhs.M(),·K(0)));
 104 ·119·Base::operator=(rhs);
 105 ·120·return·*this;
 106 ·121·}
 107 ·122
 108 ·123·//·Specialisation:·scalar·assignment·(no·resizing)
 109 ·124·template·<typename·T,
 110 ·125·typename·=·std::enable_if_t<Dune::IsNumber<T>::value>>
Max diff block lines reached; 5234/10780 bytes (48.55%) of diff not shown.
35.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 197 lines modifiedOffset 70, 56 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>·&#124;77 <a·href="#namespaces">Namespaces</a>·&#124;
79 <a·href="#define-members">Macros</a>·&#124; 
80 <a·href="#func-members">Functions</a>··</div>78 <a·href="#func-members">Functions</a>··</div>
81 ··<div·class="headertitle"><div·class="title">math.hh·File·Reference</div></div>79 ··<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>
82 </div><!--header-->80 </div><!--header-->
83 <div·class="contents">81 <div·class="contents">
  
84 <p>Some·useful·basic·math·stuff.··82 <p>Utilities·for·handling·filesystem·paths.··
85 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
86 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;string&gt;</code><br·/>
87 <code>#include·&lt;complex&gt;</code><br·/> 
88 <code>#include·&lt;limits&gt;</code><br·/> 
89 <code>#include·&lt;type_traits&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
91 </div>85 </div>
92 <p><a·href="a00386_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00386_source.html">Go·to·the·source·code·of·this·file.</a></p>
93 <table·class="memberdecls">87 <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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01908.html">Dune::StandardMathematicalConstants&lt;·T·&gt;</a></td></tr> 
97 <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> 
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="a01912.html">Dune::MathematicalConstants&lt;·Field·&gt;</a></td></tr> 
100 <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> 
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="a01916.html">Dune::Factorial&lt;·m·&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="a01920.html">Dune::Factorial&lt;·0·&gt;</a></td></tr> 
105 <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> 
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="a01928.html">Dune::MathOverloads::ADLTag</a></td></tr> 
108 <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> 
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="a01932.html">Dune::MathImpl::isUnorderedImpl</a></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>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
114 Namespaces</h2></td></tr>89 Namespaces</h2></td></tr>
115 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 <tr·class="memitem:a00438"·id="r_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> 
119 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr> 
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a00443"·id="r_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> 
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 </table><table·class="memberdecls"> 
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
125 Macros</h2></td></tr> 
126 <tr·class="memitem:ad9142ad3167567a3fdc4e29c7996ec95"·id="r_ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00386.html#ad9142ad3167567a3fdc4e29c7996ec95">DUNE_COMMON_MATH_ISFUNCTION</a>(function,··stdfunction)</td></tr> 
127 <tr·class="separator:ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:a8a492f8cc06481d5f3b0d514e344dcfa"·id="r_a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00386.html#a8a492f8cc06481d5f3b0d514e344dcfa">DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>(function)</td></tr> 
129 <tr·class="separator:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
131 <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="func-members"·name="func-members"></a>
132 Functions</h2></td></tr>95 Functions</h2></td></tr>
 96 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"·id="r_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>
133 <tr·class="memitem:a3e1ea51d0034cae5c0f206c0bdae2c9d"·id="r_a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Exponent·&gt;·</td></tr> 
134 <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> 
135 <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.··<br·/></td></tr> 
136 <tr·class="separator:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"·id="r_aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
138 <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> 
139 <tr·class="memdesc:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<br·/></td></tr> 
140 <tr·class="separator:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:a76c0d28bee57c3a25005f55d790dad03"·id="r_a76c0d28bee57c3a25005f55d790dad03"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr> 
142 <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> 
143 <tr·class="memdesc:a76c0d28bee57c3a25005f55d790dad03"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<br·/></td></tr> 
144 <tr·class="separator:a76c0d28bee57c3a25005f55d790dad03"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:a2dd634f0f1043459fc810cb763999214"·id="r_a2dd634f0f1043459fc810cb763999214"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
146 <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> 
147 <tr·class="memdesc:a2dd634f0f1043459fc810cb763999214"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<br·/></td></tr> 
148 <tr·class="separator:a2dd634f0f1043459fc810cb763999214"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:a0f831857d19b4b3fdbfb49eed8872e22"·id="r_a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n,·T·k&gt;·</td></tr> 
150 <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> 
151 <tr·class="memdesc:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<br·/></td></tr> 
152 <tr·class="separator:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:ad23b1e7dff795bbdcd86389aeab065ba"·id="r_ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr> 
154 <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> 
155 <tr·class="separator:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:ae6ef69fa70938d4aa93d8e30d3813c13"·id="r_ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memTemplParams"·colspan="2">template&lt;class·K·&gt;·</td></tr> 
157 <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> 
158 <tr·class="memdesc:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·conjugate·complex·of·x··<br·/></td></tr>97 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<br·/></td></tr>
159 <tr·class="separator:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"·id="r_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>
 100 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<br·/></td></tr>
160 <tr·class="memitem:ac1712a3bb38c829a2c339355cdb28133"·id="r_ac1712a3bb38c829a2c339355cdb28133"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
161 <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> 
162 <tr·class="memdesc:ac1712a3bb38c829a2c339355cdb28133"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·sign·of·the·value.··<br·/></td></tr> 
163 <tr·class="separator:ac1712a3bb38c829a2c339355cdb28133"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
164 <tr·class="memitem:a52c04e77b813dd109ca59f9ded3a3515"·id="r_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>·(<a·class="el"·href="a00438.html#a4daa32207a54271c8d4496a7fe7ef610">isNaN</a>,·isnan)</td></tr> 
165 <tr·class="separator:a52c04e77b813dd109ca59f9ded3a3515"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"·id="r_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>
 103 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<br·/></td></tr>
166 <tr·class="memitem:a132229e4e1f87c4ea645b92e5ce316e2"·id="r_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>·(<a·class="el"·href="a00438.html#a5312822f8a17821bbd4fdd8671528d88">isInf</a>,·isinf)</td></tr> 
167 <tr·class="separator:a132229e4e1f87c4ea645b92e5ce316e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
168 <tr·class="memitem:a826fe50216822399903f37a0b901a9d4"·id="r_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>·(<a·class="el"·href="a00438.html#ab33f61f8962056b6619b0d5b7edceefd">isFinite</a>,·isfinite)</td></tr> 
169 <tr·class="separator:a826fe50216822399903f37a0b901a9d4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
170 <tr·class="memitem:aab4ad4b002d6757a35d82f9d7954e604"·id="r_aab4ad4b002d6757a35d82f9d7954e604"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
171 <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>·[·...·truncated·by·diffoscope;·len:·175,·SHA:·159e25965aa8e5c2abae296bc887bf4cc33254ce7950ce297a3429b534970310·...·])</td></tr>105 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"·id="r_gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6[·...·truncated·by·diffoscope;·len:·68,·SHA:·0fc4ac4ffa949800adfe634fad1fa6c8032db24e79213352b26db3f412861312·...·])</td></tr>
 106 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr>
 107 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"·id="r_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>
Max diff block lines reached; 5082/29621 bytes (17.16%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
6.27 KB
html2text {}
    
Offset 6, 156 lines modifiedOffset 6, 44 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces·|·Macros·|·Functions12 Namespaces·|·Functions
13 math.hh·File·Reference13 path.hh·File·Reference
 14 Common·»·Utilities·»·Filesystem_Paths
 15 Utilities·for·handling·filesystem·paths.·More...
 16 #include·<string>
14 Some·useful·basic·math·stuff.·More... 
15 #include·<cmath> 
16 #include·<complex> 
17 #include·<limits> 
18 #include·<type_traits> 
19 #include·<dune/common/typeutilities.hh> 
20 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
21 ·Classes 
22 struct· Dune::StandardMathematicalConstants<_T_> 
23  ·······Standard·implementation·of·MathematicalConstants.·More... 
24   
25 struct· Dune::MathematicalConstants<_Field_> 
26  ·······Provides·commonly·used·mathematical·constants.·More... 
27   
28 struct· Dune::Factorial<_m_> 
29   
30 struct· Dune::Factorial<_0_> 
31  ·······end·of·recursion·of·factorial·via·specialization·More... 
32   
33 struct· Dune::MathOverloads::ADLTag 
34  ·······Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL. 
35 ·········More... 
36   
37 struct· Dune::MathImpl::isUnorderedImpl 
38   
39 ·Namespaces18 ·Namespaces
40 namespace· Dune19 namespace· Dune
41  ··········Dune·namespace.20  ··········Dune·namespace.
42  21  
43 namespace· Dune::MathOverloads 
44  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics22 ·Functions
 23 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p)
 24  ···········concatenate·two·paths
 25  
 26 std::string Dune::processPath·(const·std::string·&p)
 27  ···········sanitize·a·path·for·further·processing
45  28  
46 namespace· Dune::MathImpl29 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p)
 30  ···········check·whether·the·given·path·indicates·that·it·is·a·directory
47  31  
48 ·Macros 
49 #define DUNE_COMMON_MATH_ISFUNCTION(function,·stdfunction)32 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory)
 33  ···········pretty·print·path
50  34  
51 #define DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR(function)35 std::string Dune::prettyPath·(const·std::string·&p)
 36  ···········pretty·print·path
52  37  
 38 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string
 39 ·············&p)
 40  ···········compute·a·relative·path·between·two·paths
53 ·Functions 
54 template<class·Base·,·class·Exponent·> 
55 ·······constexpr·Base Dune::power·(Base·m,·Exponent·p) 
56  ·····················Power·method·for·integer·exponents. 
57   
58 template<class·T·> 
59 ···static·constexpr·T Dune::factorial·(const·T·&n)·noexcept 
60  ·····················calculate·the·factorial·of·n·as·a·constexpr 
61   
62 template<class·T·,·T·n> 
63 static·constexpr·auto Dune::factorial·(std::integral_constant<·T,·n·>) 
64 ·······················noexcept 
65  ·····················calculate·the·factorial·of·n·as·a·constexpr 
66   
67 template<class·T·> 
68 ···static·constexpr·T Dune::binomial·(const·T·&n,·const·T·&k)·noexcept 
69  ·····················calculate·the·binomial·coefficient·n·over·k·as·a 
70 ·······················constexpr 
71   
72 template<class·T·,·T·n,·T·k> 
73 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std:: 
74 ·······················integral_constant<·T,·k·>)·noexcept 
75  ·····················calculate·the·binomial·coefficient·n·over·k·as·a 
76 ·······················constexpr 
77   
78 template<class·T·,·T·n> 
79 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std:: 
80 ·······················integral_constant<·T,·n·>)·noexcept 
81   
82 template<class·K·> 
83 ····················K Dune::conjugateComplex·(const·K·&x) 
84  ·····················compute·conjugate·complex·of·x 
85   
86 template<class·T·> 
87 ··················int Dune::sign·(const·T·&val) 
88  ·····················Return·the·sign·of·the·value. 
89   
90 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isNaN, 
91 ·······················isnan) 
92   
93 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isInf, 
94 ·······················isinf) 
95   
96 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION 
97 ·······················(isFinite,·isfinite) 
98   
99 template<class·T·> 
100 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T 
101 ·······················&t2,·PriorityTag<·1·>,·ADLTag)·->·decltype(isUnordered 
102 ·······················(t1,·t2)) 
103   
104 template<class·T·> 
105 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T 
106 ·······················&t2,·PriorityTag<·0·>,·ADLTag) 
107   
108 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR 
109 ·······················(isNaN) 
110   
111 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR 
112 ·······················(isInf) 
113   
114 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR 
115 ·······················(isFinite) 
116   
117 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>> 
Max diff block lines reached; 1215/6400 bytes (18.98%) of diff not shown.
77.3 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 373 lines modifiedOffset 74, 54 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">math.hh</div></div>80 ··<div·class="headertitle"><div·class="title">path.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATH_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PATH_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATH_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PATH_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00215.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
97 <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>92 <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>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> 
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 94 <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>
100 <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> 
101 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};"> 
102 <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> 
103 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div> 
104 <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="}"> 
105 <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> 
106 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div> 
107 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">using·</span>std::exp;</div> 
108 <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> 
109 <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> 
110 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····}</div> 
111 </div> 
112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
113 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> 
114 <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> 
115 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> 
116 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">using·</span>std::acos;</div> 
117 <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> 
118 <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> 
119 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div>95 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
120 </div> 
121 <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>
 97 <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>
122 </div> 
123 <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> 
125 <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> 
126 <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="};"> 
127 <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> 
128 <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> 
129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{};</div> 
130 </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>98 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
133 <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> 
134 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> 
135 <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> 
136 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> 
137 <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> 
138 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
139 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">auto</span>·result·=·Base(1);</div> 
140 <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> 
141 <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> 
142 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······result·*=·m;</div> 
143 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
144 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">if</span>·(p&lt;0)</div> 
145 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······result·=·Base(1)/result;</div> 
146 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·result;</div> 
148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> 
149 </div> 
150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
151 <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> 
152 <div·class="foldopen"·id="foldopen00093"·data-start="{"·data-end="};"> 
153 <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> 
154 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div> 
155 <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> 
156 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··};</div> 
157 </div> 
158 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
159 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>·&lt;&gt;</div> 
160 <div·class="foldopen"·id="foldopen00101"·data-start="{"·data-end="};"> 
161 <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(<span·class="stringliteral">&quot;Use·function·factorial·instead!·Will·be·removed·after·Dune·2.9&quot;</span>)]]·<a·class="code·hl_struct"·href="a01916.html">Factorial</a>&lt;0&gt;</div> 
162 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··{</div> 
163 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//·0!·=·1</span></div> 
164 <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> 
165 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··};</div> 
166 </div> 
167 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 100 <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>
168 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>101 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
169 <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> 
170 <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> 
171 <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> 
172 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="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> 
173 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··{</div>102 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 103 <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>
174 <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> 
175 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····T·fac·=·1;</div> 
176 <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> 
177 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······fac·*=·k+1;</div> 
178 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·fac;</div> 
179 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div> 
Max diff block lines reached; 6357/66386 bytes (9.58%) of diff not shown.
12.3 KB
html2text {}
    
Offset 7, 387 lines modifiedOffset 7, 68 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 math.hh12 path.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_MATH_HH19 ·5#ifndef·DUNE_COMMON_PATH_HH
20 ·6#define·DUNE_MATH_HH20 ·6#define·DUNE_COMMON_PATH_HH
21 ·721 ·7
 22 ·8#include·<string>
 23 ·9
22 ·12#include·<cmath> 
23 ·13#include·<complex> 
24 ·14#include·<limits> 
25 ·15#include·<type_traits> 
26 ·16 
27 ·17#include·<dune/common/typeutilities.hh> 
28 ·18 
29 ·19namespace·Dune24 ·10namespace·Dune·{
30 ·20{ 
31 ·21 
32 ·32·template<·class·T·> 
33 33·struct·StandardMathematicalConstants 
34 ·34·{ 
35 38·static·const·T·e·() 
36 ·39·{ 
37 ·40·using·std::exp; 
38 ·41·static·const·T·e·=·exp(·T(·1·)·); 
39 ·42·return·e; 
40 ·43·} 
41 ·44 
42 48·static·const·T·pi·() 
43 ·49·{ 
44 ·50·using·std::acos; 
45 ·51·static·const·T·pi·=·acos(·T(·-1·)·); 
46 ·52·return·pi; 
47 ·53·} 
48 ·54·}; 
49 ·55 
50 ·56 
51 ·64·template<·class·Field·> 
52 65·struct·MathematicalConstants 
53 ·66·:·public·StandardMathematicalConstants<Field> 
54 ·67·{}; 
55 ·68 
56 ·69 
57 ·74·template·<class·Base,·class·Exponent> 
58 75·constexpr·Base·power(Base·m,·Exponent·p) 
59 ·76·{ 
60 ·77·static_assert(std::numeric_limits<Exponent>::is_integer,·"Exponent·must·be 
61 an·integer·type!"); 
62 ·78 
63 ·79·auto·result·=·Base(1); 
64 ·80·auto·absp·=·(p<0)·?·-p·:·p;·//·This·is·simply·abs,·but·std::abs·is·not 
65 constexpr 
66 ·81·for·(Exponent·i·=·Exponent(0);·i<absp;·i++) 
67 ·82·result·*=·m; 
68 ·83 
69 ·84·if·(p<0) 
70 ·85·result·=·Base(1)/result; 
71 ·86 
72 ·87·return·result; 
73 ·88·} 
74 ·89 
75 ·92·template·<int·m> 
76 93·struct·Factorial 
77 ·94·{ 
78 96·static·constexpr·int·factorial·=·m·*·Factorial<m-1>::factorial; 
79 ·97·}; 
80 ·98 
81 ·100·template·<> 
82 101·struct·[[deprecated("Use·function·factorial·instead!·Will·be·removed·after 
83 Dune·2.9")]]·Factorial<0> 
84 ·102·{ 
85 ·103·//·0!·=·1 
86 104·static·constexpr·int·factorial·=·1; 
87 ·105·}; 
88 ·106 
89 ·107 
90 ·109·//·T·has·to·be·an·integral·type 
91 ·110·template<class·T> 
92 111·constexpr·inline·static·T·factorial(const·T&·n)·noexcept 
93 ·112·{ 
94 ·113·static_assert(std::numeric_limits<T>::is_integer,·"`factorial(n)`·has·to 
95 be·called·with·an·integer·type."); 
96 ·114·T·fac·=·1; 
97 ·115·for(T·k·=·0;·k·<·n;·++k) 
98 ·116·fac·*=·k+1; 
99 ·117·return·fac; 
100 ·118·} 
101 ·119 
102 ·121·template<class·T,·T·n> 
103 122·constexpr·inline·static·auto·factorial·(std::integral_constant<T,·n>) 
104 noexcept 
105 ·123·{ 
106 ·124·return·std::integral_constant<T,·factorial(n)>{}; 
107 ·125·} 
108 ·126 
109 ·127 
110 ·129·//·T·has·to·be·an·integral·type 
111 ·130·template<class·T> 
112 131·constexpr·inline·static·T·binomial·(const·T&·n,·const·T&·k)·noexcept 
113 ·132·{ 
114 ·133·static_assert(std::numeric_limits<T>::is_integer,·"`binomial(n,·k)`·has·to 
115 be·called·with·an·integer·type."); 
116 ·134 
117 ·135·if(·k·<·0·||·k·>·n·) 
118 ·136·return·0; 
119 ·137 
120 ·138·if·(2*k·>·n) 
121 ·139·return·binomial(n,·n-k); 
122 ·140 
123 ·141·T·bin·=·1; 
124 ·142·for(auto·i·=·n-k;·i·<·n;·++i) 
125 ·143·bin·*=·i+1; 
126 ·144·return·bin·/·factorial(k); 
127 ·145·} 
128 ·146 
129 ·148·template<class·T,·T·n,·T·k> 
Max diff block lines reached; 2298/12585 bytes (18.26%) of diff not shown.
21.2 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 71, 37 lines modifiedOffset 71, 117 lines modified
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#namespaces">Namespaces</a>··</div>78 <a·href="#namespaces">Namespaces</a>·&#124;
79 ··<div·class="headertitle"><div·class="title">alignedallocator.hh·File·Reference</div></div>79 <a·href="#func-members">Functions</a>··</div>
 80 ··<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>
80 </div><!--header-->81 </div><!--header-->
81 <div·class="contents">82 <div·class="contents">
82 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00107_source.html">mallocallocator.hh</a>&quot;</code><br·/> 
 83 <p>Contains·utility·classes·which·can·be·used·with·std::tuple.··
 84 <a·href="#details">More...</a></p>
 85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 86 <code>#include·&lt;tuple&gt;</code><br·/>
 87 <code>#include·&lt;type_traits&gt;</code><br·/>
83 <code>#include·&lt;cstdlib&gt;</code><br·/>88 <code>#include·&lt;utility&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
84 </div>91 </div>
85 <p><a·href="a00389_source.html">Go·to·the·source·code·of·this·file.</a></p>92 <p><a·href="a00389_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">93 <table·class="memberdecls">
87 <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>
88 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="a02916.html">Dune::TupleAccessTraits&lt;·T·&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="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02924.html">Dune::TupleAccessTraits&lt;·T·&amp;·&gt;</a></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">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>
 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="a02940.html">Dune::ForEachType&lt;·TE,·std::tuple&lt;·Args...·&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="a02944.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&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="a02948.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&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="a02952.html">Dune::AddRefTypeEvaluator&lt;·T·&gt;</a></td></tr>
 111 <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>
 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="a02956.html">Dune::AddPtrTypeEvaluator&lt;·T·&gt;</a></td></tr>
 114 <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>
 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="a02960.html">Dune::AddPtrTypeEvaluator&lt;·T·&amp;·&gt;</a></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="a02964.html">Dune::AtType&lt;·N,·Tuple·&gt;</a></td></tr>
 119 <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>
 120 <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="a01268.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;</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="a02968.html">Dune::At&lt;·N·&gt;</a></td></tr>
90 <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>122 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Reverse·element·access.··<a·href="a02968.html#details">More...</a><br·/></td></tr>
91 <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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02972.html">Dune::PointerPairDeletor&lt;·Tuple·&gt;</a></td></tr>
 125 <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>
 126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <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>
 128 <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>
 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="a02980.html">Dune::IsType&lt;·T·&gt;</a></td></tr>
 131 <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>
 132 <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="a01272.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;</a></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="a02984.html">Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</a></td></tr>
 134 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.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="a02988.html">Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;</a></td></tr>
 137 <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>
 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="a02996.html">Dune::PushBackTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></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="a03004.html">Dune::PushFrontTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></td></tr>
 142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <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>
 144 <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>
 145 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <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>
 147 <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>
 148 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <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>
 150 <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>
 151 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <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>
 153 <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>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>154 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">155 </table><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>156 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
96 Namespaces</h2></td></tr>157 Namespaces</h2></td></tr>
97 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>158 <tr·class="memitem:a00425"·id="r_a00425"><td·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>159 <tr·class="memdesc: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>160 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 161 </table><table·class="memberdecls">
 162 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 163 Functions</h2></td></tr>
 164 <tr·class="memitem:gaeeffbe0f382283c9a2314a3947e54be9"·id="r_gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·ArgTuple·,·class·I·,·I...·i&gt;·</td></tr>
 165 <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>
 166 <tr·class="memdesc:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·function·with·arguments·from·a·given·tuple.··<br·/></td></tr>
 167 <tr·class="separator:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:gaee981bf99011a9bc2dd496a7d486e4ab"·id="r_gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memTemplParams"·colspan="2">template&lt;class·Tuple·,·class·Functor·&gt;·</td></tr>
 169 <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>
 170 <tr·class="separator:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 171 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"·id="r_gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TE,·class...·Args&gt;·</td></tr>
 172 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a02944.html">TransformTupleFunctor</a>&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>
 173 <tr·class="separator:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 174 <tr·class="memitem:ga24fcc49c0d83971073f4e0bd5e96748b"·id="r_ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TypeEvaluator,·class·Tuple·,·class...·Args&gt;·</td></tr>
 175 <tr·class="memitem:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">Dune::transformTuple</a>·(Tuple·&amp;&amp;orig,·Args·&amp;&amp;...·args)·-&gt;·decltype(<a·class="el"·href="a00403.html#gaee981bf99011a9bc2dd496a7d486e4ab">genericTransformTuple</a>(orig,·<a·class="el"·href="a00403.html#gafdcf54abf95c1fbd29eb7317d4db1240">makeTransformTupleFunctor</a>&lt;·TypeEvaluator·&gt;(args...)))</td></tr>
 176 <tr·class="separator:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table>177 </table>
 178 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 179 <div·class="textblock"><p>Contains·utility·classes·which·can·be·used·with·std::tuple.·</p>
101 </div><!--·contents·-->180 </div></div><!--·contents·-->
Max diff block lines reached; 243/17405 bytes (1.40%) of diff not shown.
4.12 KB
html2text {}
    
Offset 6, 25 lines modifiedOffset 6, 110 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 Classes·|·Namespaces12 Classes·|·Namespaces·|·Functions
13 alignedallocator.hh·File·Reference 
14 #include·"mallocallocator.hh"13 tupleutility.hh·File·Reference
 14 Common·»·Utilities·»·Tuple_Utilities
 15 Contains·utility·classes·which·can·be·used·with·std::tuple.·More...
15 #include·<cstdlib>16 #include·<cstddef>
 17 #include·<tuple>
 18 #include·<type_traits>
 19 #include·<utility>
 20 #include·<dune/common/hybridutilities.hh>
 21 #include·<dune/common/typetraits.hh>
16 Go_to_the_source_code_of_this_file.22 Go_to_the_source_code_of_this_file.
17 ·Classes23 ·Classes
 24 struct· Dune::TupleAccessTraits<_T_>
18 ·class· Dune::AlignedAllocator<_T,_Alignment_> 
19  ·······Allocators·which·guarantee·alignment·of·the·memory.·More... 
20  25  
21 struct· Dune::AlignedAllocator<_T,_Alignment_>::rebind<_U_>26 struct· Dune::TupleAccessTraits<_T_*_>
 27  
 28 struct· Dune::TupleAccessTraits<_T_&_>
 29  
 30 struct· Dune::NullPointerInitialiser<_std::tuple<_Args..._>_>
 31  
 32 struct· Dune::ForEachType<_TE,_std::tuple<_Args..._>_>
 33  
 34 ·class· Dune::TransformTupleFunctor<_TE,_Args_>
 35  
 36 struct· Dune::TransformTupleFunctor<_TE,_Args_>::TypeEvaluator<_T_>
 37  
 38 struct· Dune::AddRefTypeEvaluator<_T_>
 39  ·······TypeEvaluator·to·turn·a·type·T·into·a·reference·to·T·More...
 40  
 41 struct· Dune::AddPtrTypeEvaluator<_T_>
 42  ·······TypeEvaluator·to·turn·a·type·T·into·a·pointer·to·T·More...
 43  
 44 struct· Dune::AddPtrTypeEvaluator<_T_&_>
 45  
 46 struct· Dune::AtType<_N,_Tuple_>
 47  ·······Type·for·reverse·element·access.·More...
 48  
 49 struct· Dune::At<_N_>
 50  ·······Reverse·element·access.·More...
 51  
 52 struct· Dune::PointerPairDeletor<_Tuple_>
 53  ·······Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·More...
 54  
 55 ·class· Dune::FirstPredicateIndex<_Tuple,_Predicate,_start,_size_>
 56  ·······Finding·the·index·of·a·certain·type·in·a·std::tuple.·More...
 57  
 58 struct· Dune::IsType<_T_>
 59  ·······Generator·for·predicates·accepting·one·particular·type.·More...
 60  
 61 struct· Dune::IsType<_T_>::Predicate<_U_>
 62  ·······The·actual·predicate.·More...
 63  
 64 struct· Dune::FirstTypeIndex<_Tuple,_T,_start_>
 65  ·······Find·the·first·occurrence·of·a·type·in·a·std::tuple.·More...
 66  
 67 struct· Dune::PushBackTuple<_typename_std::tuple<_Args..._>,_T_>
 68  
 69 struct· Dune::PushFrontTuple<_typename_std::tuple<_Args..._>,_T_>
 70  
 71 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_N_>
 72  ·······Apply·reduce·with·meta·binary·function·to·template.·More...
 73  
 74 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_0_>
 75  ·······Apply·reduce·with·meta·binary·function·to·template.·More...
 76  
 77 struct· Dune::JoinTuples<_Head,_Tail_>
 78  ·······Join·two·std::tuple's.·More...
 79  
 80 struct· Dune::FlattenTuple<_Tuple_>
 81  ·······Flatten·a·std::tuple·of·std::tuple's.·More...
22  82  
23 ·Namespaces83 ·Namespaces
24 namespace· Dune84 namespace· Dune
25  ··········Dune·namespace.85  ··········Dune·namespace.
26  86  
 87 ·Functions
 88 template<class·F·,·class·ArgTuple·,·class·I·,·I...·i>
 89 ······················decltype(auto) Dune::applyPartial·(F·&&f,·ArgTuple
 90 ······································&&args,·std::integer_sequence<·I,·i...·>)
 91  ····································Apply·function·with·arguments·from·a
 92 ······································given·tuple.
 93  
 94 template<class·Tuple·,·class·Functor·>
 95 ································auto Dune::genericTransformTuple·(Tuple·&&t,
 96 ······································Functor·&&f)·->·decltype
 97 ······································(genericTransformTupleBackend(t,·f))
 98  
 99 template<template<·class·>·class·TE,·class...·Args>
 100 TransformTupleFunctor<·TE,·Args...·> Dune::makeTransformTupleFunctor·(Args
 101 ······································&&...·args)
 102  
 103 template<template<·class·>·class·TypeEvaluator,·class·Tuple·,·class...·Args>
 104 ································auto Dune::transformTuple·(Tuple·&&orig,·Args
 105 ······································&&...·args)·->·decltype
 106 ······································(genericTransformTuple(orig,
 107 ······································makeTransformTupleFunctor<·TypeEvaluator
 108 ······································>(args...)))
 109  
 110 *****·Detailed·Description·*****
 111 Contains·utility·classes·which·can·be·used·with·std::tuple.
  
27 ===============================================================================112 ===============================================================================
28 ·····Generated·by [doxygen]·1.9.8113 ·····Generated·by [doxygen]·1.9.8
112 KB
./usr/share/doc/libdune-common-doc/doxygen/a00389_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 122 lines modifiedOffset 74, 447 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">alignedallocator.hh</div></div>80 ··<div·class="headertitle"><div·class="title">tupleutility.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ALIGNED_ALLOCATOR_HH</span></div> 
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ALIGNED_ALLOCATOR_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00107.html">mallocallocator.hh</a>&quot;</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TUPLE_UTILITY_HH</span></div>
 89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_TUPLE_UTILITY_HH</span></div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
94 <div·class="foldopen"·id="foldopen00012"·data-start="{"·data-end="}"> 
95 <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> 
96 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00293.html">dune/common/hybridutilities.hh</a>&gt;</span></div>
 97 <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/typetraits.hh</a>&gt;</span></div>
97 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
98 <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>99 <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>
 100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 101 <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>
99 <div·class="foldopen"·id="foldopen00023"·data-start="{"·data-end="};">102 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}">
100 <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:·52,·SHA:·4d20ff6d560b5d58dbce8aa09cdeb2020d8ebbc4d9db593239bc422c9e91bb36·...·]</div>103 <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>
 104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>
 105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·f(std::get&lt;i&gt;(args)...);</div>
 106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>
 107 </div>
101 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
102 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__APPLE__</span></div> 
103 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
104 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">/*</span></div>109 <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>
 110 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">
 111 <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>
105 <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> 
106 <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> 
107 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·····*</span></div> 
108 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·····*·1)·a·power·of·2</span></div> 
109 <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> 
110 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·····*</span></div> 
111 <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> 
112 <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> 
113 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">·····*/</span></div> 
114 <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> 
115 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{</div> 
116 <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> 
117 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········?·fixAlignment(align·&lt;&lt;·1)·:·align;</div> 
118 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div> 
119 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</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"><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>
 114 <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>
 115 <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>
120 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#else</span></div> 
121 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
122 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="comment">/*</span></div> 
123 <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> 
124 <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> 
125 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····*/</span></div> 
126 <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> 
127 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> 
128 <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> 
129 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div> 
130 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>
131 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif</span></div>117 </div>
132 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
133 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
134 <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> 
135 <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> 
136 <div·class="foldopen"·id="foldopen00059"·data-start="{"·data-end="};">120 <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="};">
137 <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> 
138 <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>·<[·...·truncated·by·diffoscope;·len:·88,·SHA:·b0373aafced7975ded57e06a83f7e0c546a3e1871b9f37e26679ca3c50ca34a9·...·];</div>121 <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>
 122 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div>
 123 <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>
 124 <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>
 125 <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>
139 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····};</div>126 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div>
140 </div>127 </div>
141 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>128 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 129 <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>
142 <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> 
143 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
144 <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}">130 <div·class="foldopen"·id="foldopen00064"·data-start="{"·data-end="};">
145 <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=[·...·truncated·by·diffoscope;·len:·258,·SHA:·9dc20ab8414a339accd44680d7c3b6de28d3d66ae5f68873d4944b9c27173e05·...·]</div>131 <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>
146 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div>132 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>
147 <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>133 <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"[·...·truncated·by·diffoscope;·len:·15,·SHA:·b7960667e23cdc5665f26a751a3373a614680491a1d705f40c96b591f0678487·...·]</div>
 134 <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>
 135 <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>
148 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div>136 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··};</div>
 137 </div>
149 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>138 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
150 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#if·__APPLE__</span></div> 
151 <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> 
152 <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> 
153 <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> 
154 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#else</span></div>139 <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>
 140 <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>
155 <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> 
156 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif</span></div> 
157 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
Max diff block lines reached; 8526/95415 bytes (8.94%) of diff not shown.
18.7 KB
html2text {}
    
Offset 7, 137 lines modifiedOffset 7, 517 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 alignedallocator.hh12 tupleutility.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_ALIGNED_ALLOCATOR_HH 
20 ·6#define·DUNE_ALIGNED_ALLOCATOR_HH 
21 ·7 
22 ·8#include·"mallocallocator.hh"19 ·5
 20 ·6#ifndef·DUNE_TUPLE_UTILITY_HH
 21 ·7#define·DUNE_TUPLE_UTILITY_HH
 22 ·8
23 ·9#include·<cstdlib>23 ·9#include·<cstddef>
24 ·10 
25 ·11 
26 12namespace·Dune24 ·10#include·<tuple>
 25 ·11#include·<type_traits>
 26 ·12#include·<utility>
27 ·13{27 ·13
 28 ·14#include·<dune/common/hybridutilities.hh>
 29 ·15#include·<dune/common/typetraits.hh>
 30 ·16
 31 ·17namespace·Dune·{
 32 ·18
 33 ·41·template<class·F,·class·ArgTuple,·class·I,·I...·i>
 34 42·decltype(auto)·applyPartial(F&&·f,·ArgTuple&&·args,·std::integer_sequence<I,
 35 i...>·/*indices*/)
28 ·14 
29 ·22·template<class·T,·int·Alignment·=·-1> 
30 23·class·AlignedAllocator·:·public·MallocAllocator<T>·{ 
31 ·24 
32 ·25#if·__APPLE__ 
33 ·26 
34 ·27·/* 
35 ·28·*·macOS·has·pretty·draconian·restrictions·on·the 
36 ·29·*·alignments·that·you·may·ask·for:·It·has·to·be 
37 ·30·* 
38 ·31·*·1)·a·power·of·2 
39 ·32·*·2)·at·least·as·large·as·sizeof(void*) 
40 ·33·* 
41 ·34·*·So·here·is·a·little·constexpr·function·that·calculates·just·that 
42 ·35·*·(together·with·the·correct·starting·value·for·align·fed·in·further·down). 
43 ·36·*/ 
44 ·37·static·constexpr·int·fixAlignment(int·align) 
45 ·38·{36 ·43·{
 37 ·44·return·f(std::get<i>(args)...);
46 ·39·return·((Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment)·>·align 
47 ·40·?·fixAlignment(align·<<·1)·:·align; 
48 ·41·}38 ·45·}
49 ·42 
50 ·43#else 
51 ·44 
52 ·45·/* 
53 ·46·*·Non-Apple·platforms·we·just·have·to·check·whether·an·explicit·alignment 
54 was 
55 ·47·*·restricted·or·fall·back·to·the·default·alignment·of·T. 
56 ·48·*/ 
57 ·49·static·constexpr·int·fixAlignment(int·align)39 ·46
 40 ·47·template<class·T>
 41 48·struct·TupleAccessTraits
 42 ·49·{
 43 50·typedef·typename·std::add_const<T>::type&·ConstType;
 44 51·typedef·T&·NonConstType;
 45 52·typedef·const·typename·std::remove_const<T>::type&·ParameterType;
 46 ·53·};
 47 ·54
 48 ·55·template<class·T>
 49 56·struct·TupleAccessTraits<T*>
58 ·50·{50 ·57·{
 51 58·typedef·typename·std::add_const<T>::type*·ConstType;
 52 59·typedef·T*·NonConstType;
 53 60·typedef·T*·ParameterType;
59 ·51·return·(Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment; 
60 ·52·} 
61 ·53 
62 ·54#endif 
63 ·55 
64 ·56·public: 
65 57·using·pointer·=·typename·MallocAllocator<T>::pointer; 
66 58·using·size_type·=·typename·MallocAllocator<T>::size_type; 
67 59·template·<class·U>·struct·rebind·{ 
68 60·typedef·AlignedAllocator<U,Alignment>·other; 
69 ·61·};54 ·61·};
70 ·6255 ·62
 56 ·63·template<class·T>
 57 64·struct·TupleAccessTraits<T&>
71 63·static·constexpr·int·alignment·=·fixAlignment(sizeof(void*)); 
72 ·64 
73 66·pointer·allocate(size_type·n,·[[maybe_unused]]·const·void*·hint·=·0) 
74 ·67·{58 ·65·{
75 ·68·if·(n·>·this->max_size()) 
76 ·69·throw·std::bad_alloc();59 66·typedef·T&·ConstType;
 60 67·typedef·T&·NonConstType;
 61 68·typedef·T&·ParameterType;
 62 ·69·};
77 ·7063 ·70
 64 ·78·template<class·T>
 65 79·struct·NullPointerInitialiser;
 66 ·80
 67 ·81·template<class...·Args>
 68 82·struct·NullPointerInitialiser<std::tuple<Args...>·>
 69 ·83·{
 70 84·typedef·std::tuple<Args...>·ResultType;
 71 85·static·ResultType·apply()
 72 ·86·{
 73 ·87·return·ResultType(static_cast<Args>(nullptr)...);
78 ·71#if·__APPLE__ 
79 ·72·//·Apple·is·also·restrictive·regarding·the·allocation·size. 
80 ·73·//·size·must·be·at·least·the·alignment·size. 
81 ·74·size_type·size·=·n·*·sizeof(T)·>=·alignment·?·n·*·sizeof(T)·:·alignment; 
82 ·75#else 
83 ·76·size_type·size·=·n·*·sizeof(T); 
84 ·77#endif 
85 ·78 
86 ·79·/* 
87 ·80·*·Everybody·else·gets·the·standard·treatment. 
88 ·81·*/ 
89 ·82·pointer·ret·=·static_cast<pointer>(std::aligned_alloc(alignment,·size)); 
Max diff block lines reached; 3329/19120 bytes (17.41%) of diff not shown.
13.0 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 55 lines modifiedOffset 70, 59 lines modified
70 <div·id="nav-path"·class="navpath">70 <div·id="nav-path"·class="navpath">
71 ··<ul>71 ··<ul>
72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>72 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#nested-classes">Classes</a>·&#124; 
78 <a·href="#namespaces">Namespaces</a>··</div>77 <a·href="#namespaces">Namespaces</a>·&#124;
79 ··<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>78 <a·href="#func-members">Functions</a>··</div>
 79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.··82 <p>Utilities·for·handling·filesystem·paths.··
83 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>84 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
85 <code>#include·&lt;limits&gt;</code><br·/> 
86 <code>#include·&lt;type_traits&gt;</code><br·/>85 <code>#include·&lt;iterator&gt;</code><br·/>
 86 <code>#include·&lt;string&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00227_source.html">genericiterator.hh</a>&quot;</code><br·/> 
88 <code>#include·&quot;<a·class="el"·href="a00383_source.html">ftraits.hh</a>&quot;</code><br·/> 
89 <code>#include·&quot;<a·class="el"·href="a00236_source.html">matvectraits.hh</a>&quot;</code><br·/> 
90 <code>#include·&quot;<a·class="el"·href="a00212_source.html">promotiontraits.hh</a>&quot;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/stringutility.hh</a>&gt;</code><br·/>
91 <code>#include·&quot;<a·class="el"·href="a00032_source.html">dotproduct.hh</a>&quot;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/path.hh</a>&gt;</code><br·/>
92 <code>#include·&quot;<a·class="el"·href="a00191_source.html">boundschecking.hh</a>&quot;</code><br·/> 
93 </div> 
94 <p><a·href="a00392_source.html">Go·to·the·source·code·of·this·file.</a></p> 
95 <table·class="memberdecls">90 </div><table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
97 Classes</h2></td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01440.html">Dune::DenseIterator&lt;·C,·T,·R·&gt;</a></td></tr> 
101 <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> 
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="a01424.html">Dune::DenseVector&lt;·V·&gt;</a></td></tr> 
104 <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> 
105 <tr·class="separator:"><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="namespaces"·name="namespaces"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00432"·id="r_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>96 </table><table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 98 Functions</h2></td></tr>
 99 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"·id="r_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>
 100 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<br·/></td></tr>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"·id="r_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>
 103 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<br·/></td></tr>
 104 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"·id="r_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>
 106 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<br·/></td></tr>
 107 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"·id="r_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>
 109 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr>
 110 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"·id="r_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>
 112 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<br·/></td></tr>
 113 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"·id="r_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>
 115 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<br·/></td></tr>
 116 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>117 </table>
115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>118 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
116 <div·class="textblock"><p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·</p>119 <div·class="textblock"><p>Utilities·for·handling·filesystem·paths.·</p>
 120 <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>
117 </div></div><!--·contents·-->121 </div></div><!--·contents·-->
118 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>123 <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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
121 </small></address>125 </small></address>
122 </body>126 </body>
123 </html>127 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
2.28 KB
html2text {}
    
Offset 6, 43 lines modifiedOffset 6, 48 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 Namespaces·|·Functions
 13 path.cc·File·Reference
 14 Common·»·Utilities·»·Filesystem_Paths
 15 Utilities·for·handling·filesystem·paths.·More...
12 Classes·|·Namespaces 
13 densevector.hh·File·Reference 
14 Common·»·Dense_Matrix_and_Vector_Template_Library 
15 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class. 
16 More... 
17 #include·<algorithm>16 #include·<algorithm>
18 #include·<limits> 
19 #include·<type_traits>17 #include·<iterator>
 18 #include·<string>
 19 #include·<dune/common/exceptions.hh>
 20 #include·<dune/common/stringutility.hh>
 21 #include·<dune/common/path.hh>
20 #include·"genericiterator.hh" 
21 #include·"ftraits.hh" 
22 #include·"matvectraits.hh" 
23 #include·"promotiontraits.hh" 
24 #include·"dotproduct.hh" 
25 #include·"boundschecking.hh" 
26 Go_to_the_source_code_of_this_file. 
27 ·Classes 
28 struct· Dune::FieldTraits<_DenseVector<_V_>_> 
29   
30 ·class· Dune::DenseIterator<_C,_T,_R_> 
31  ·······Generic·iterator·class·for·dense·vector·and·matrix·implementations. 
32 ·········More... 
33   
34 ·class· Dune::DenseVector<_V_> 
35  ·······Interface·for·a·class·of·dense·vectors·over·a·given·field.·More... 
36   
37 ·Namespaces22 ·Namespaces
38 namespace· Dune23 namespace· Dune
39  ··········Dune·namespace.24  ··········Dune·namespace.
40  25  
41 namespace· Dune::fvmeta26 ·Functions
 27 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p)
 28  ···········concatenate·two·paths
 29  
 30 std::string Dune::processPath·(const·std::string·&p)
 31  ···········sanitize·a·path·for·further·processing
 32  
 33 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p)
 34  ···········check·whether·the·given·path·indicates·that·it·is·a·directory
 35  
 36 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory)
 37  ···········pretty·print·path
 38  
 39 std::string Dune::prettyPath·(const·std::string·&p)
 40  ···········pretty·print·path
 41  
 42 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string
 43 ·············&p)
 44  ···········compute·a·relative·path·between·two·paths
42  45  
43 *****·Detailed·Description·*****46 *****·Detailed·Description·*****
44 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.47 Utilities·for·handling·filesystem·paths.
 48 ··Author
 49 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de
  
45 ===============================================================================50 ===============================================================================
46 ·····Generated·by [doxygen]·1.9.851 ·····Generated·by [doxygen]·1.9.8
3.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a00396.html
    
Offset 80, 23 lines modifiedOffset 80, 23 lines modified
80 <dt>Member·<a·class="el"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">Dune::FakeMPIHelper::getCollectiveCommunication</a>··()</dt>80 <dt>Member·<a·class="el"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">Dune::FakeMPIHelper::getCollectiveCommunication</a>··()</dt>
81 <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>81 <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>
82 <dt>Member·<a·class="el"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">Dune::makeToUnique</a>··(Args·&amp;&amp;...·args)</dt>82 <dt>Member·<a·class="el"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">Dune::makeToUnique</a>··(Args·&amp;&amp;...·args)</dt>
83 <dd><a·class="anchor"·id="_deprecated000012"></a>··</dd>83 <dd><a·class="anchor"·id="_deprecated000012"></a>··</dd>
84 <dt>Member·<a·class="el"·href="a02208.html#accdbef5c68d94f5dfa9a1f5ed24cddc6">Dune::MPIHelper::getCollectiveCommunication</a>··()</dt>84 <dt>Member·<a·class="el"·href="a02208.html#accdbef5c68d94f5dfa9a1f5ed24cddc6">Dune::MPIHelper::getCollectiveCommunication</a>··()</dt>
85 <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>85 <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>
86 <dt>Struct·<a·class="el"·href="a02424.html">Dune::Power&lt;·p·&gt;</a>··</dt>86 <dt>Struct·<a·class="el"·href="a02424.html">Dune::Power&lt;·p·&gt;</a>··</dt>
87 <dd><a·class="anchor"·id="_deprecated000006"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00386.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd>87 <dd><a·class="anchor"·id="_deprecated000006"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00101.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd>
88 <dt>Struct·<a·class="el"·href="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a>··</dt>88 <dt>Struct·<a·class="el"·href="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a>··</dt>
89 <dd><a·class="anchor"·id="_deprecated000005"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00386.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!··</dd>89 <dd><a·class="anchor"·id="_deprecated000005"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00101.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!··</dd>
90 <dt>Member·<a·class="el"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a>··(const·Args·&amp;...·args)</dt>90 <dt>Member·<a·class="el"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a>··(const·Args·&amp;...·args)</dt>
91 <dd><a·class="anchor"·id="_deprecated000009"></a>Use·deduction·guide·of·<code>std::array</code>·or·<code>std::to_array</code>.··</dd>91 <dd><a·class="anchor"·id="_deprecated000009"></a>Use·deduction·guide·of·<code>std::array</code>·or·<code>std::to_array</code>.··</dd>
92 <dt>Member·<a·class="el"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">Dune::ToUniquePtr</a>··</dt>92 <dt>Member·<a·class="el"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">Dune::ToUniquePtr</a>··</dt>
93 <dd><a·class="anchor"·id="_deprecated000011"></a>··</dd>93 <dd><a·class="anchor"·id="_deprecated000011"></a>··</dd>
94 <dt>File·<a·class="el"·href="a00047.html">simd.hh</a>··</dt>94 <dt>File·<a·class="el"·href="a00194.html">simd.hh</a>··</dt>
95 <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>95 <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>
96 </dl>96 </dl>
97 </div></div><!--·contents·-->97 </div></div><!--·contents·-->
98 </div><!--·PageDoc·-->98 </div><!--·PageDoc·-->
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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
5.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a00397.html
    
Offset 128, 28 lines modifiedOffset 128, 28 lines modified
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
129 <tr·class="memitem:a00417"·id="r_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>129 <tr·class="memitem:a00417"·id="r_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>
130 <tr·class="memdesc:a00417"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Abstractions·for·using·vectorization·libraries.·<br·/></td></tr>130 <tr·class="memdesc:a00417"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Abstractions·for·using·vectorization·libraries.·<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 </table><table·class="memberdecls">132 </table><table·class="memberdecls">
133 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>133 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
134 Files</h2></td></tr>134 Files</h2></td></tr>
135 <tr·class="memitem:a00245"·id="r_a00245"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00245.html">function.hh</a></td></tr>135 <tr·class="memitem:a00053"·id="r_a00053"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">function.hh</a></td></tr>
136 <tr·class="memdesc:a00245"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>136 <tr·class="memdesc:a00053"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<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:a00026"·id="r_a00026"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">indent.hh</a></td></tr>138 <tr·class="memitem:a00275"·id="r_a00275"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00275.html">indent.hh</a></td></tr>
139 <tr·class="memdesc:a00026"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>139 <tr·class="memdesc:a00275"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<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:a00119"·id="r_a00119"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html">ios_state.hh</a></td></tr>141 <tr·class="memitem:a00302"·id="r_a00302"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00302.html">ios_state.hh</a></td></tr>
142 <tr·class="memdesc:a00119"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.·<br·/></td></tr>142 <tr·class="memdesc:a00302"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.·<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 <tr·class="memitem:a00287"·id="r_a00287"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00287.html">sllist.hh</a></td></tr>144 <tr·class="memitem:a00038"·id="r_a00038"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html">sllist.hh</a></td></tr>
145 <tr·class="memdesc:a00287"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·singly·linked·list·together·with·the·necessary·iterators.·<br·/></td></tr>145 <tr·class="memdesc:a00038"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·singly·linked·list·together·with·the·necessary·iterators.·<br·/></td></tr>
146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
147 <tr·class="memitem:a00098"·id="r_a00098"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">timer.hh</a></td></tr>147 <tr·class="memitem:a00284"·id="r_a00284"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00284.html">timer.hh</a></td></tr>
148 <tr·class="memdesc:a00098"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·timing·class.·<br·/></td></tr>148 <tr·class="memdesc:a00284"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·timing·class.·<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>
150 </table><table·class="memberdecls">150 </table><table·class="memberdecls">
151 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>151 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
152 Namespaces</h2></td></tr>152 Namespaces</h2></td></tr>
153 <tr·class="memitem:a00441"·id="r_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>153 <tr·class="memitem:a00441"·id="r_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>
154 <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>154 <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>
155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.79 KB
./usr/share/doc/libdune-common-doc/doxygen/a00400.html
    
Offset 86, 19 lines modifiedOffset 86, 19 lines modified
86 <area·shape="rect"·title="Utilities·for·filesystem·path·management."·alt=""·coords="120,5,243,31"/>86 <area·shape="rect"·title="Utilities·for·filesystem·path·management."·alt=""·coords="120,5,243,31"/>
87 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>87 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>
88 </map>88 </map>
89 </div>89 </div>
90 <table·class="memberdecls">90 <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:a00158"·id="r_a00158"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00158.html">path.cc</a></td></tr>93 <tr·class="memitem:a00392"·id="r_a00392"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html">path.cc</a></td></tr>
94 <tr·class="memdesc:a00158"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>94 <tr·class="memdesc:a00392"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<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 <tr·class="memitem:a00305"·id="r_a00305"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00305.html">path.hh</a></td></tr>96 <tr·class="memitem:a00386"·id="r_a00386"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00386.html">path.hh</a></td></tr>
97 <tr·class="memdesc:a00305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>97 <tr·class="memdesc:a00386"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
101 Functions</h2></td></tr>101 Functions</h2></td></tr>
102 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"·id="r_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>102 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"·id="r_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>
103 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<br·/></td></tr>103 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<br·/></td></tr>
104 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a00403.html
    
Offset 88, 16 lines modifiedOffset 88, 16 lines modified
88 <area·shape="rect"·title="Utility·classes·which·can·be·used·with·std::tuple."·alt=""·coords="120,5,221,31"/>88 <area·shape="rect"·title="Utility·classes·which·can·be·used·with·std::tuple."·alt=""·coords="120,5,221,31"/>
89 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>89 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>
90 </map>90 </map>
91 </div>91 </div>
92 <table·class="memberdecls">92 <table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
94 Files</h2></td></tr>94 Files</h2></td></tr>
95 <tr·class="memitem:a00086"·id="r_a00086"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">tupleutility.hh</a></td></tr>95 <tr·class="memitem:a00389"·id="r_a00389"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00389.html">tupleutility.hh</a></td></tr>
96 <tr·class="memdesc:a00086"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Contains·utility·classes·which·can·be·used·with·std::tuple.·<br·/></td></tr>96 <tr·class="memdesc:a00389"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Contains·utility·classes·which·can·be·used·with·std::tuple.·<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="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>100 Classes</h2></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="a02916.html">Dune::TupleAccessTraits&lt;·T·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02916.html">Dune::TupleAccessTraits&lt;·T·&gt;</a></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">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&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="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr>
2.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a00406.html
    
Offset 92, 19 lines modifiedOffset 92, 19 lines modified
92 <area·shape="rect"·href="a00408.html"·title="Class·implementing·different·number·representations·and·helper·functions."·alt=""·coords="447,7,523,33"/>92 <area·shape="rect"·href="a00408.html"·title="Class·implementing·different·number·representations·and·helper·functions."·alt=""·coords="447,7,523,33"/>
93 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,7,72,33"/>93 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,7,72,33"/>
94 </map>94 </map>
95 </div>95 </div>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
98 Files</h2></td></tr>98 Files</h2></td></tr>
99 <tr·class="memitem:a00239"·id="r_a00239"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00239.html">keywords.hh</a></td></tr>99 <tr·class="memitem:a00308"·id="r_a00308"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html">keywords.hh</a></td></tr>
100 <tr·class="memdesc:a00239"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·<br·/></td></tr>100 <tr·class="memdesc:a00308"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·<br·/></td></tr>
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:a00029"·id="r_a00029"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">proxymemberaccess.hh</a></td></tr>102 <tr·class="memitem:a00158"·id="r_a00158"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00158.html">proxymemberaccess.hh</a></td></tr>
103 <tr·class="memdesc:a00029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·<br·/></td></tr>103 <tr·class="memdesc:a00158"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·<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 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
106 <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>
107 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00450"·id="r_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>108 <tr·class="memitem:a00450"·id="r_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>
109 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>109 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<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>
2.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a00410.html
    
Offset 93, 16 lines modifiedOffset 93, 16 lines modified
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="groups"·name="groups"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="groups"·name="groups"></a>
94 Modules</h2></td></tr>94 Modules</h2></td></tr>
95 <tr·class="memitem:a00423"·id="r_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>95 <tr·class="memitem:a00423"·id="r_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>
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:a00035"·id="r_a00035"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">debugstream.hh</a></td></tr>100 <tr·class="memitem:a00377"·id="r_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>
101 <tr·class="memdesc:a00035"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>101 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<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 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
105 Classes</h2></td></tr>105 Classes</h2></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="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>
107 <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>107 <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>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
7.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a00411.html
    
Offset 91, 37 lines modifiedOffset 91, 37 lines modified
91 <area·shape="rect"·title="Type·traits·to·retrieve·the·field·and·the·real·type·of·classes."·alt=""·coords="129,5,296,45"/>91 <area·shape="rect"·title="Type·traits·to·retrieve·the·field·and·the·real·type·of·classes."·alt=""·coords="129,5,296,45"/>
92 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="376,13,536,38"/>92 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="376,13,536,38"/>
93 </map>93 </map>
94 </div>94 </div>
95 <table·class="memberdecls">95 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
97 Files</h2></td></tr>97 Files</h2></td></tr>
98 <tr·class="memitem:a00296"·id="r_a00296"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00296.html">densematrix.hh</a></td></tr>98 <tr·class="memitem:a00074"·id="r_a00074"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">densematrix.hh</a></td></tr>
99 <tr·class="memdesc:a00296"><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>99 <tr·class="memdesc:a00074"><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>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a00392"·id="r_a00392"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html">densevector.hh</a></td></tr>101 <tr·class="memitem:a00239"·id="r_a00239"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00239.html">densevector.hh</a></td></tr>
102 <tr·class="memdesc:a00392"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>102 <tr·class="memdesc:a00239"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<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>
104 <tr·class="memitem:a00188"·id="r_a00188"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">dynmatrix.hh</a></td></tr>104 <tr·class="memitem:a00383"·id="r_a00383"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00383.html">dynmatrix.hh</a></td></tr>
105 <tr·class="memdesc:a00188"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></td></tr>105 <tr·class="memdesc:a00383"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></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:a00179"·id="r_a00179"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">dynvector.hh</a></td></tr>107 <tr·class="memitem:a00011"·id="r_a00011"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">dynvector.hh</a></td></tr>
108 <tr·class="memdesc:a00179"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<br·/></td></tr>108 <tr·class="memdesc:a00011"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<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:a00224"·id="r_a00224"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">fmatrix.hh</a></td></tr>110 <tr·class="memitem:a00170"·id="r_a00170"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00170.html">fmatrix.hh</a></td></tr>
111 <tr·class="memdesc:a00224"><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>111 <tr·class="memdesc:a00170"><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>
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:a00293"·id="r_a00293"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00293.html">fvector.hh</a></td></tr>113 <tr·class="memitem:a00098"·id="r_a00098"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">fvector.hh</a></td></tr>
114 <tr·class="memdesc:a00293"><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>114 <tr·class="memdesc:a00098"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·<br·/></td></tr>
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:a00176"·id="r_a00176"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00176.html">scalarmatrixview.hh</a></td></tr>116 <tr·class="memitem:a00059"·id="r_a00059"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">scalarmatrixview.hh</a></td></tr>
117 <tr·class="memdesc:a00176"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·<br·/></td></tr>117 <tr·class="memdesc:a00059"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·<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:a00071"·id="r_a00071"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html">scalarvectorview.hh</a></td></tr>119 <tr·class="memitem:a00218"·id="r_a00218"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">scalarvectorview.hh</a></td></tr>
120 <tr·class="memdesc:a00071"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·<br·/></td></tr>120 <tr·class="memdesc:a00218"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·<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 </table><table·class="memberdecls">122 </table><table·class="memberdecls">
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
124 Namespaces</h2></td></tr>124 Namespaces</h2></td></tr>
125 <tr·class="memitem:a00425"·id="r_a00425"><td·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="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
126 <tr·class="memdesc: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="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<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>
7.25 KB
./usr/share/doc/libdune-common-doc/doxygen/a00412.html
    
Offset 86, 16 lines modifiedOffset 86, 16 lines modified
86 <area·shape="rect"·title="·"·alt=""·coords="129,7,260,33"/>86 <area·shape="rect"·title="·"·alt=""·coords="129,7,260,33"/>
87 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="419,7,579,33"/>87 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="419,7,579,33"/>
88 </map>88 </map>
89 </div>89 </div>
90 <table·class="memberdecls">90 <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:a00221"·id="r_a00221"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html">exceptions.hh</a></td></tr>93 <tr·class="memitem:a00110"·id="r_a00110"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">exceptions.hh</a></td></tr>
94 <tr·class="memdesc:a00221"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>94 <tr·class="memdesc:a00110"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01548.html">Dune::Exception</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="a01548.html">Dune::Exception</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·Dune-Exceptions.··<a·href="a01548.html#details">More...</a><br·/></td></tr>100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·Dune-Exceptions.··<a·href="a01548.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>
Offset 154, 15 lines modifiedOffset 154, 15 lines modified
154 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>154 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
155 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"·id="r_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>155 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"·id="r_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>
156 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
157 </table>157 </table>
158 <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 <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>159 <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>
160 <p>Example·of·usage:</p>160 <p>Example·of·usage:</p>
161 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>161 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
162 <div·class="line">·</div>162 <div·class="line">·</div>
163 <div·class="line">...</div>163 <div·class="line">...</div>
164 <div·class="line">·</div>164 <div·class="line">·</div>
165 <div·class="line">class·FileNotFoundError·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01556.html">Dune::IOError</a>·{};</div>165 <div·class="line">class·FileNotFoundError·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01556.html">Dune::IOError</a>·{};</div>
166 <div·class="line">·</div>166 <div·class="line">·</div>
167 <div·class="line">...</div>167 <div·class="line">...</div>
168 <div·class="line">·</div>168 <div·class="line">·</div>
Offset 188, 20 lines modifiedOffset 188, 20 lines modified
188 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;I/O·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>188 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;I/O·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>
189 <div·class="line">·<span·class="keywordflow">return</span>·1;</div>189 <div·class="line">·<span·class="keywordflow">return</span>·1;</div>
190 <div·class="line">}·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·&amp;e)·{</div>190 <div·class="line">}·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·&amp;e)·{</div>
191 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;Generic·Dune·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>191 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;Generic·Dune·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>
192 <div·class="line">·<span·class="keywordflow">return</span>·2;</div>192 <div·class="line">·<span·class="keywordflow">return</span>·2;</div>
193 <div·class="line">}</div>193 <div·class="line">}</div>
194 <div·class="line">}</div>194 <div·class="line">}</div>
195 <div·class="ttc"·id="aa00221_html"><div·class="ttname"><a·href="a00221.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>195 <div·class="ttc"·id="aa00110_html"><div·class="ttname"><a·href="a00110.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
196 <div·class="ttc"·id="aa00368_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00368.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>196 <div·class="ttc"·id="aa00368_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00368.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>
197 <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>197 <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>
198 <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>198 <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>
199 <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>199 <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>
200 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00221.html"·title="A·few·common·exception·classes.">exceptions.hh</a>·for·detailed·info·</dd></dl>200 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00110.html"·title="A·few·common·exception·classes.">exceptions.hh</a>·for·detailed·info·</dd></dl>
201 <h2·class="groupheader">Macro·Definition·Documentation</h2>201 <h2·class="groupheader">Macro·Definition·Documentation</h2>
202 <a·id="gad7fce127d6eaabe773adbc409514f21e"·name="gad7fce127d6eaabe773adbc409514f21e"></a>202 <a·id="gad7fce127d6eaabe773adbc409514f21e"·name="gad7fce127d6eaabe773adbc409514f21e"></a>
203 <h2·class="memtitle"><span·class="permalink"><a·href="#gad7fce127d6eaabe773adbc409514f21e">&#9670;&#160;</a></span>DUNE_THROW</h2>203 <h2·class="memtitle"><span·class="permalink"><a·href="#gad7fce127d6eaabe773adbc409514f21e">&#9670;&#160;</a></span>DUNE_THROW</h2>
  
204 <div·class="memitem">204 <div·class="memitem">
205 <div·class="memproto">205 <div·class="memproto">
206 ······<table·class="memname">206 ······<table·class="memname">
Offset 224, 15 lines modifiedOffset 224, 15 lines modified
224 ········</tr>224 ········</tr>
225 ······</table>225 ······</table>
226 </div><div·class="memdoc">226 </div><div·class="memdoc">
227 <b>Value:</b><div·class="fragment"><div·class="line">······························<span·class="keywordflow">do</span>·{·E·th__ex;·std::ostringstream·th__out;·\</div>227 <b>Value:</b><div·class="fragment"><div·class="line">······························<span·class="keywordflow">do</span>·{·E·th__ex;·std::ostringstream·th__out;·\</div>
228 <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>228 <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>
229 <div·class="line">}·<span·class="keywordflow">while</span>·(0)</div>229 <div·class="line">}·<span·class="keywordflow">while</span>·(0)</div>
230 </div><!--·fragment·--><p>Macro·to·throw·an·exception</p>230 </div><!--·fragment·--><p>Macro·to·throw·an·exception</p>
231 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>231 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/exceptions.hh</a>&gt;</span></div>
232 </div><!--·fragment·--><dl·class="params"><dt>Parameters</dt><dd>232 </div><!--·fragment·--><dl·class="params"><dt>Parameters</dt><dd>
233 ··<table·class="params">233 ··<table·class="params">
234 ····<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>234 ····<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>
235 ····<tr><td·class="paramname">m</td><td>reason·for·this·exception·in·ostream-notation</td></tr>235 ····<tr><td·class="paramname">m</td><td>reason·for·this·exception·in·ostream-notation</td></tr>
236 ··</table>236 ··</table>
237 ··</dd>237 ··</dd>
238 </dl>238 </dl>
3.55 KB
./usr/share/doc/libdune-common-doc/doxygen/a00414.html
    
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 <tr·class="memdesc:ga7185b695129604b07bfddf92f3a01c04"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·difference·between·two·pointers.··<br·/></td></tr>155 <tr·class="memdesc:ga7185b695129604b07bfddf92f3a01c04"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·difference·between·two·pointers.··<br·/></td></tr>
156 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
157 </table>157 </table>
158 <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 <p>Iterator·facades·for·writing·stl·conformant·iterators.·</p>159 <p>Iterator·facades·for·writing·stl·conformant·iterators.·</p>
160 <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>160 <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>
161 <p>The·following·example·illustrates·how·a·random·access·iterator·might·be·written:</p>161 <p>The·following·example·illustrates·how·a·random·access·iterator·might·be·written:</p>
162 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00113.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>162 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00374.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
163 <div·class="line">·</div>163 <div·class="line">·</div>
164 <div·class="line">...</div>164 <div·class="line">...</div>
165 <div·class="line">·</div>165 <div·class="line">·</div>
166 <div·class="line">template&lt;<span·class="keyword">class·</span>C,·class·T&gt;</div>166 <div·class="line">template&lt;<span·class="keyword">class·</span>C,·class·T&gt;</div>
167 <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>167 <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>
168 <div·class="line">{</div>168 <div·class="line">{</div>
169 <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>169 <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 238, 15 lines modifiedOffset 238, 15 lines modified
238 <div·class="line">···assert(other.container_==container_);</div>238 <div·class="line">···assert(other.container_==container_);</div>
239 <div·class="line">···<span·class="keywordflow">return</span>·other.position_·-·position_;</div>239 <div·class="line">···<span·class="keywordflow">return</span>·other.position_·-·position_;</div>
240 <div·class="line">·}</div>240 <div·class="line">·}</div>
241 <div·class="line"><span·class="keyword">private</span>:</div>241 <div·class="line"><span·class="keyword">private</span>:</div>
242 <div·class="line">·C·*container_;</div>242 <div·class="line">·C·*container_;</div>
243 <div·class="line">·<span·class="keywordtype">size_t</span>·position_;</div>243 <div·class="line">·<span·class="keywordtype">size_t</span>·position_;</div>
244 <div·class="line">};</div>244 <div·class="line">};</div>
245 <div·class="ttc"·id="aa00113_html"><div·class="ttname"><a·href="a00113.html">iteratorfacades.hh</a></div><div·class="ttdoc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.</div></div>245 <div·class="ttc"·id="aa00374_html"><div·class="ttname"><a·href="a00374.html">iteratorfacades.hh</a></div><div·class="ttdoc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.</div></div>
246 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>246 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
247 <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>247 <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>
248 </div><!--·fragment·--><p>·See·dune/common/test/iteratorbase.hh·for·details.·</p>248 </div><!--·fragment·--><p>·See·dune/common/test/iteratorbase.hh·for·details.·</p>
249 <h2·class="groupheader">Function·Documentation</h2>249 <h2·class="groupheader">Function·Documentation</h2>
250 <a·id="ga920ece963b8c9993e176bcfde00c9224"·name="ga920ece963b8c9993e176bcfde00c9224"></a>250 <a·id="ga920ece963b8c9993e176bcfde00c9224"·name="ga920ece963b8c9993e176bcfde00c9224"></a>
251 <h2·class="memtitle"><span·class="permalink"><a·href="#ga920ece963b8c9993e176bcfde00c9224">&#9670;&#160;</a></span>operator!=()·<span·class="overload">[1/3]</span></h2>251 <h2·class="memtitle"><span·class="permalink"><a·href="#ga920ece963b8c9993e176bcfde00c9224">&#9670;&#160;</a></span>operator!=()·<span·class="overload">[1/3]</span></h2>
  
6.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a00415.html
    
Offset 97, 34 lines modifiedOffset 97, 34 lines modified
97 Modules</h2></td></tr>97 Modules</h2></td></tr>
98 <tr·class="memitem:a00416"·id="r_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>98 <tr·class="memitem:a00416"·id="r_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>
99 <tr·class="memdesc:a00416"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·syncing·distributed·indexed·data·structures.·<br·/></td></tr>99 <tr·class="memdesc:a00416"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·syncing·distributed·indexed·data·structures.·<br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
103 Files</h2></td></tr>103 Files</h2></td></tr>
104 <tr·class="memitem:a00329"·id="r_a00329"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">communication.hh</a></td></tr>104 <tr·class="memitem:a00359"·id="r_a00359"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">communication.hh</a></td></tr>
105 <tr·class="memdesc:a00329"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>105 <tr·class="memdesc:a00359"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></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:a00362"·id="r_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>107 <tr·class="memitem:a00332"·id="r_a00332"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html">mpicommunication.hh</a></td></tr>
108 <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>108 <tr·class="memdesc:a00332"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·<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:a00320"·id="r_a00320"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">mpidata.hh</a></td></tr>110 <tr·class="memitem:a00341"·id="r_a00341"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">mpidata.hh</a></td></tr>
111 <tr·class="memdesc:a00320"><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>111 <tr·class="memdesc:a00341"><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>
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:a00371"·id="r_a00371"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00371.html">mpiguard.hh</a></td></tr>113 <tr·class="memitem:a00326"·id="r_a00326"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">mpiguard.hh</a></td></tr>
114 <tr·class="memdesc:a00371"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<br·/></td></tr>114 <tr·class="memdesc:a00326"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<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:a00347"·id="r_a00347"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html">mpihelper.hh</a></td></tr>116 <tr·class="memitem:a00347"·id="r_a00347"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html">mpihelper.hh</a></td></tr>
117 <tr·class="memdesc:a00347"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>117 <tr·class="memdesc:a00347"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<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:a00359"·id="r_a00359"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">mpipack.hh</a></td></tr>119 <tr·class="memitem:a00314"·id="r_a00314"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html">mpipack.hh</a></td></tr>
120 <tr·class="memdesc:a00359"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>120 <tr·class="memdesc:a00314"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<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:a00341"·id="r_a00341"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">mpitraits.hh</a></td></tr>122 <tr·class="memitem:a00323"·id="r_a00323"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00323.html">mpitraits.hh</a></td></tr>
123 <tr·class="memdesc:a00341"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>123 <tr·class="memdesc:a00323"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<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 </table><table·class="memberdecls">125 </table><table·class="memberdecls">
126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
127 Namespaces</h2></td></tr>127 Namespaces</h2></td></tr>
128 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>128 <tr·class="memitem:a00425"·id="r_a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
129 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>129 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
8.64 KB
./usr/share/doc/libdune-common-doc/doxygen/a00416.html
    
Offset 91, 40 lines modifiedOffset 91, 40 lines modified
91 <area·shape="rect"·title="Provides·classes·for·syncing·distributed·indexed·data·structures."·alt=""·coords="213,5,353,45"/>91 <area·shape="rect"·title="Provides·classes·for·syncing·distributed·indexed·data·structures."·alt=""·coords="213,5,353,45"/>
92 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="5,13,165,38"/>92 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="5,13,165,38"/>
93 </map>93 </map>
94 </div>94 </div>
95 <table·class="memberdecls">95 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
97 Files</h2></td></tr>97 Files</h2></td></tr>
98 <tr·class="memitem:a00365"·id="r_a00365"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">communicator.hh</a></td></tr>98 <tr·class="memitem:a00311"·id="r_a00311"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00311.html">communicator.hh</a></td></tr>
99 <tr·class="memdesc:a00365"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>99 <tr·class="memdesc:a00311"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a00356"·id="r_a00356"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">indexset.hh</a></td></tr>101 <tr·class="memitem:a00329"·id="r_a00329"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">indexset.hh</a></td></tr>
102 <tr·class="memdesc:a00356"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>102 <tr·class="memdesc:a00329"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<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>
104 <tr·class="memitem:a00335"·id="r_a00335"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">indicessyncer.hh</a></td></tr>104 <tr·class="memitem:a00338"·id="r_a00338"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">indicessyncer.hh</a></td></tr>
105 <tr·class="memdesc:a00335"><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>105 <tr·class="memdesc:a00338"><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="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:a04445"·id="r_a04445"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">interface.hh</a></td></tr>107 <tr·class="memitem:a04442"·id="r_a04442"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">interface.hh</a></td></tr>
108 <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>108 <tr·class="memdesc:a04442"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·building·the·communication·interface·between·remote·indices.·<br·/></td></tr>
109 <tr·class="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:a00326"·id="r_a00326"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">localindex.hh</a></td></tr>110 <tr·class="memitem:a00335"·id="r_a00335"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">localindex.hh</a></td></tr>
111 <tr·class="memdesc:a00326"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<br·/></td></tr>111 <tr·class="memdesc:a00335"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<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:a00338"·id="r_a00338"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">plocalindex.hh</a></td></tr>113 <tr·class="memitem:a00320"·id="r_a00320"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">plocalindex.hh</a></td></tr>
114 <tr·class="memdesc:a00338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>114 <tr·class="memdesc:a00320"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>
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:a00377"·id="r_a00377"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">remoteindices.hh</a></td></tr>116 <tr·class="memitem:a00362"·id="r_a00362"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">remoteindices.hh</a></td></tr>
117 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>117 <tr·class="memdesc:a00362"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<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:a00344"·id="r_a00344"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00344.html">selection.hh</a></td></tr>119 <tr·class="memitem:a00356"·id="r_a00356"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">selection.hh</a></td></tr>
120 <tr·class="memdesc:a00344"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>120 <tr·class="memdesc:a00356"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<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:a00350"·id="r_a00350"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00350.html">variablesizecommunicator.hh</a></td></tr>122 <tr·class="memitem:a00353"·id="r_a00353"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.html">variablesizecommunicator.hh</a></td></tr>
123 <tr·class="memdesc:a00350"><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>123 <tr·class="memdesc:a00353"><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>
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 </table><table·class="memberdecls">125 </table><table·class="memberdecls">
126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
127 Classes</h2></td></tr>127 Classes</h2></td></tr>
128 <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>128 <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>
129 <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>129 <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>
130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.63 KB
./usr/share/doc/libdune-common-doc/doxygen/a00419.html
    
Offset 86, 19 lines modifiedOffset 86, 19 lines modified
86 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>86 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>
87 <area·shape="rect"·title="How·to·support·vectorization·in·Dune·classes."·alt=""·coords="151,5,285,45"/>87 <area·shape="rect"·title="How·to·support·vectorization·in·Dune·classes."·alt=""·coords="151,5,285,45"/>
88 </map>88 </map>
89 </div>89 </div>
90 <table·class="memberdecls">90 <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:a04448"·id="r_a04448"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04448.html">interface.hh</a></td></tr>93 <tr·class="memitem:a04445"·id="r_a04445"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">interface.hh</a></td></tr>
94 <tr·class="memdesc:a04448"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<br·/></td></tr>94 <tr·class="memdesc:a04445"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<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 <tr·class="memitem:a00137"·id="r_a00137"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00137.html">io.hh</a></td></tr>96 <tr·class="memitem:a00185"·id="r_a00185"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">io.hh</a></td></tr>
97 <tr·class="memdesc:a00137"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>97 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
101 Namespaces</h2></td></tr>101 Namespaces</h2></td></tr>
102 <tr·class="memitem:a00429"·id="r_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>102 <tr·class="memitem:a00429"·id="r_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>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>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a00420.html
    
Offset 87, 19 lines modifiedOffset 87, 19 lines modified
87 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>87 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>
88 <area·shape="rect"·title="How·to·add·support·for·a·new·vectorization·library."·alt=""·coords="151,5,311,45"/>88 <area·shape="rect"·title="How·to·add·support·for·a·new·vectorization·library."·alt=""·coords="151,5,311,45"/>
89 </map>89 </map>
90 </div>90 </div>
91 <table·class="memberdecls">91 <table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
93 Files</h2></td></tr>93 Files</h2></td></tr>
94 <tr·class="memitem:a00131"·id="r_a00131"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00131.html">base.hh</a></td></tr>94 <tr·class="memitem:a00191"·id="r_a00191"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">base.hh</a></td></tr>
95 <tr·class="memdesc:a00131"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>95 <tr·class="memdesc:a00191"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<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:a00140"·id="r_a00140"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00140.html">defaults.hh</a></td></tr>97 <tr·class="memitem:a00182"·id="r_a00182"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html">defaults.hh</a></td></tr>
98 <tr·class="memdesc:a00140"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>98 <tr·class="memdesc:a00182"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<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 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
101 <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>
102 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00430"·id="r_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>103 <tr·class="memitem:a00430"·id="r_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>
104 <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>104 <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>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a00421.html
    
Offset 82, 21 lines modifiedOffset 82, 21 lines modified
82 <area·shape="rect"·href="a00418.html"·title="How·to·request·vectorization·from·Dune."·alt=""·coords="5,5,164,45"/>82 <area·shape="rect"·href="a00418.html"·title="How·to·request·vectorization·from·Dune."·alt=""·coords="5,5,164,45"/>
83 <area·shape="rect"·title="·"·alt=""·coords="212,5,431,45"/>83 <area·shape="rect"·title="·"·alt=""·coords="212,5,431,45"/>
84 </map>84 </map>
85 </div>85 </div>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
88 Files</h2></td></tr>88 Files</h2></td></tr>
89 <tr·class="memitem:a00143"·id="r_a00143"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">standard.hh</a></td></tr>89 <tr·class="memitem:a00203"·id="r_a00203"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00203.html">standard.hh</a></td></tr>
90 <tr·class="memdesc:a00143"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<br·/></td></tr>90 <tr·class="memdesc:a00203"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<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>92 </table>
93 <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 <p>This·implements·the·vectorization·interface·for·scalar·types.·It·applies·to·any·type·that·does·not·have·a·specialized·interface·implementation.</p>94 <p>This·implements·the·vectorization·interface·for·scalar·types.·It·applies·to·any·type·that·does·not·have·a·specialized·interface·implementation.</p>
95 <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>95 <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>
96 <li>for·built-in·types·there·is·nothing·you·need·to·do,</li>96 <li>for·built-in·types·there·is·nothing·you·need·to·do,</li>
97 <li>for·<code>std::complex</code>,·you·need·to·<code>#include·&lt;complex&gt;</code></li>97 <li>for·<code>std::complex</code>,·you·need·to·<code>#include·&lt;complex&gt;</code></li>
98 <li>etc.·</li>98 <li>etc.·</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>
5.64 KB
./usr/share/doc/libdune-common-doc/doxygen/a00423.html
    
Offset 287, 16 lines modifiedOffset 287, 16 lines modified
287 ··········<td·class="paramname"></td><td>)</td>287 ··········<td·class="paramname"></td><td>)</td>
288 ··········<td></td>288 ··········<td></td>
289 ········</tr>289 ········</tr>
290 ······</table>290 ······</table>
291 </div><div·class="memdoc">291 </div><div·class="memdoc">
  
292 <p>Stream·for·error·messages.·</p>292 <p>Stream·for·error·messages.·</p>
293 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>293 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
294 <div·class="ttc"·id="aa00146_html"><div·class="ttname"><a·href="a00146.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>294 <div·class="ttc"·id="aa00029_html"><div·class="ttname"><a·href="a00029.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>
295 </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>295 </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>
  
296 </div>296 </div>
297 </div>297 </div>
298 <a·id="ga765267750e6b2718fa718ab5f9fa1ed9"·name="ga765267750e6b2718fa718ab5f9fa1ed9"></a>298 <a·id="ga765267750e6b2718fa718ab5f9fa1ed9"·name="ga765267750e6b2718fa718ab5f9fa1ed9"></a>
299 <h2·class="memtitle"><span·class="permalink"><a·href="#ga765267750e6b2718fa718ab5f9fa1ed9">&#9670;&#160;</a></span>dgrave</h2>299 <h2·class="memtitle"><span·class="permalink"><a·href="#ga765267750e6b2718fa718ab5f9fa1ed9">&#9670;&#160;</a></span>dgrave</h2>
  
Offset 310, 15 lines modifiedOffset 310, 15 lines modified
310 ··········<td·class="paramname"></td><td>)</td>310 ··········<td·class="paramname"></td><td>)</td>
311 ··········<td></td>311 ··········<td></td>
312 ········</tr>312 ········</tr>
313 ······</table>313 ······</table>
314 </div><div·class="memdoc">314 </div><div·class="memdoc">
  
315 <p>Stream·for·warnings·indicating·fatal·errors.·</p>315 <p>Stream·for·warnings·indicating·fatal·errors.·</p>
316 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>316 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
317 </div><!--·fragment·-->·317 </div><!--·fragment·-->·
318 </div>318 </div>
319 </div>319 </div>
320 <a·id="gab5d2fce8ed49f95067d9b5b54d6f5def"·name="gab5d2fce8ed49f95067d9b5b54d6f5def"></a>320 <a·id="gab5d2fce8ed49f95067d9b5b54d6f5def"·name="gab5d2fce8ed49f95067d9b5b54d6f5def"></a>
321 <h2·class="memtitle"><span·class="permalink"><a·href="#gab5d2fce8ed49f95067d9b5b54d6f5def">&#9670;&#160;</a></span>dinfo</h2>321 <h2·class="memtitle"><span·class="permalink"><a·href="#gab5d2fce8ed49f95067d9b5b54d6f5def">&#9670;&#160;</a></span>dinfo</h2>
  
322 <div·class="memitem">322 <div·class="memitem">
Offset 331, 15 lines modifiedOffset 331, 15 lines modified
331 ··········<td·class="paramname"></td><td>)</td>331 ··········<td·class="paramname"></td><td>)</td>
332 ··········<td></td>332 ··········<td></td>
333 ········</tr>333 ········</tr>
334 ······</table>334 ······</table>
335 </div><div·class="memdoc">335 </div><div·class="memdoc">
  
336 <p>Stream·for·informative·output.·</p>336 <p>Stream·for·informative·output.·</p>
337 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>337 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
338 </div><!--·fragment·--><p>Summary·infos·on·what·a·module·does,·runtimes,·etc.·</p>338 </div><!--·fragment·--><p>Summary·infos·on·what·a·module·does,·runtimes,·etc.·</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <a·id="gab8900dadc584357856d4f6cc06324cea"·name="gab8900dadc584357856d4f6cc06324cea"></a>341 <a·id="gab8900dadc584357856d4f6cc06324cea"·name="gab8900dadc584357856d4f6cc06324cea"></a>
342 <h2·class="memtitle"><span·class="permalink"><a·href="#gab8900dadc584357856d4f6cc06324cea">&#9670;&#160;</a></span>dverb</h2>342 <h2·class="memtitle"><span·class="permalink"><a·href="#gab8900dadc584357856d4f6cc06324cea">&#9670;&#160;</a></span>dverb</h2>
  
Offset 353, 15 lines modifiedOffset 353, 15 lines modified
353 ··········<td·class="paramname"></td><td>)</td>353 ··········<td·class="paramname"></td><td>)</td>
354 ··········<td></td>354 ··········<td></td>
355 ········</tr>355 ········</tr>
356 ······</table>356 ······</table>
357 </div><div·class="memdoc">357 </div><div·class="memdoc">
  
358 <p><a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·verbose·debug·stream.·</p>358 <p><a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·verbose·debug·stream.·</p>
359 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>359 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
360 </div><!--·fragment·-->·360 </div><!--·fragment·-->·
361 </div>361 </div>
362 </div>362 </div>
363 <a·id="ga20bcb085658a3b88393e47a1d36d667c"·name="ga20bcb085658a3b88393e47a1d36d667c"></a>363 <a·id="ga20bcb085658a3b88393e47a1d36d667c"·name="ga20bcb085658a3b88393e47a1d36d667c"></a>
364 <h2·class="memtitle"><span·class="permalink"><a·href="#ga20bcb085658a3b88393e47a1d36d667c">&#9670;&#160;</a></span>dvverb</h2>364 <h2·class="memtitle"><span·class="permalink"><a·href="#ga20bcb085658a3b88393e47a1d36d667c">&#9670;&#160;</a></span>dvverb</h2>
  
365 <div·class="memitem">365 <div·class="memitem">
Offset 374, 15 lines modifiedOffset 374, 15 lines modified
374 ··········<td·class="paramname"></td><td>)</td>374 ··········<td·class="paramname"></td><td>)</td>
375 ··········<td></td>375 ··········<td></td>
376 ········</tr>376 ········</tr>
377 ······</table>377 ······</table>
378 </div><div·class="memdoc">378 </div><div·class="memdoc">
  
379 <p>stream·for·very·verbose·output.·</p>379 <p>stream·for·very·verbose·output.·</p>
380 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>380 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
381 </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>381 </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>
  
382 </div>382 </div>
383 </div>383 </div>
384 <a·id="ga4bff1feeab1e96f08aca7796cc69b4ea"·name="ga4bff1feeab1e96f08aca7796cc69b4ea"></a>384 <a·id="ga4bff1feeab1e96f08aca7796cc69b4ea"·name="ga4bff1feeab1e96f08aca7796cc69b4ea"></a>
385 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4bff1feeab1e96f08aca7796cc69b4ea">&#9670;&#160;</a></span>dwarn</h2>385 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4bff1feeab1e96f08aca7796cc69b4ea">&#9670;&#160;</a></span>dwarn</h2>
  
Offset 396, 15 lines modifiedOffset 396, 15 lines modified
396 ··········<td·class="paramname"></td><td>)</td>396 ··········<td·class="paramname"></td><td>)</td>
397 ··········<td></td>397 ··········<td></td>
398 ········</tr>398 ········</tr>
399 ······</table>399 ······</table>
400 </div><div·class="memdoc">400 </div><div·class="memdoc">
  
401 <p>Stream·for·warnings·indicating·problems.·</p>401 <p>Stream·for·warnings·indicating·problems.·</p>
402 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00146.html">dune/common/stdstreams.hh</a>&gt;</span></div>402 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/stdstreams.hh</a>&gt;</span></div>
403 </div><!--·fragment·-->·403 </div><!--·fragment·-->·
404 </div>404 </div>
405 </div>405 </div>
406 <a·id="ga4fc828eb9bb6c6b6143034b9211d2b72"·name="ga4fc828eb9bb6c6b6143034b9211d2b72"></a>406 <a·id="ga4fc828eb9bb6c6b6143034b9211d2b72"·name="ga4fc828eb9bb6c6b6143034b9211d2b72"></a>
407 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4fc828eb9bb6c6b6143034b9211d2b72">&#9670;&#160;</a></span>GRAVE_DEBUG_LEVEL</h2>407 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4fc828eb9bb6c6b6143034b9211d2b72">&#9670;&#160;</a></span>GRAVE_DEBUG_LEVEL</h2>
  
408 <div·class="memitem">408 <div·class="memitem">
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a00425.html
    
Offset 4594, 16 lines modifiedOffset 4594, 16 lines modified
4594 ··<td·class="mlabels-right">4594 ··<td·class="mlabels-right">
4595 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>4595 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
4596 ··</tr>4596 ··</tr>
4597 </table>4597 </table>
4598 </div><div·class="memdoc">4598 </div><div·class="memdoc">
  
4599 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>4599 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>
4600 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00056.html">dune/common/shared_ptr.hh</a>&gt;</span></div>4600 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00008.html">dune/common/shared_ptr.hh</a>&gt;</span></div>
4601 <div·class="ttc"·id="aa00056_html"><div·class="ttname"><a·href="a00056.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>4601 <div·class="ttc"·id="aa00008_html"><div·class="ttname"><a·href="a00008.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>
4602 </div><!--·fragment·--><p>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>4602 </div><!--·fragment·--><p>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>
4603 <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>4603 <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>
4604 <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>4604 <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>
4605 </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>4605 </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>
4606 <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>4606 <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>
  
4607 </div>4607 </div>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a01268.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>Allocators·which·guarantee·alignment·of·the·memory.··85 <p>Allocators·which·guarantee·alignment·of·the·memory.··
86 ·<a·href="a01268.html#details">More...</a></p>86 ·<a·href="a01268.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>
88 <div·class="dynheader">88 <div·class="dynheader">
89 Inheritance·diagram·for·Dune::AlignedAllocator&lt;·T,·Alignment·&gt;:</div>89 Inheritance·diagram·for·Dune::AlignedAllocator&lt;·T,·Alignment·&gt;:</div>
90 <div·class="dyncontent">90 <div·class="dyncontent">
91 <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>91 <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>
92 <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">92 <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">
93 <area·shape="rect"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,79,174,119"/>93 <area·shape="rect"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,79,174,119"/>
94 <area·shape="rect"·href="a01900.html"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,31"/>94 <area·shape="rect"·href="a01900.html"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,31"/>
Offset 614, 15 lines modifiedOffset 614, 15 lines modified
614 ··</tr>614 ··</tr>
615 </table>615 </table>
616 </div><div·class="memdoc">616 </div><div·class="memdoc">
  
617 </div>617 </div>
618 </div>618 </div>
619 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>619 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
620 <li><a·class="el"·href="a00389_source.html">alignedallocator.hh</a></li>620 <li><a·class="el"·href="a00050_source.html">alignedallocator.hh</a></li>
621 </ul>621 </ul>
622 </div><!--·contents·-->622 </div><!--·contents·-->
623 <!--·start·footer·part·-->623 <!--·start·footer·part·-->
624 <hr·class="footer"/><address·class="footer"><small>624 <hr·class="footer"/><address·class="footer"><small>
625 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8625 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
626 </small></address>626 </small></address>
627 </body>627 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01272.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01269.html">List·of·all·members</a>··</div>78 <a·href="a01269.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/alignedallocator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a54ac4737293fe076302709983b9a8920"·id="r_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>86 <tr·class="memitem:a54ac4737293fe076302709983b9a8920"·id="r_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>
87 <tr·class="separator:a54ac4737293fe076302709983b9a8920"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a54ac4737293fe076302709983b9a8920"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00389_source.html">alignedallocator.hh</a></li>109 <li><a·class="el"·href="a00050_source.html">alignedallocator.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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>115 </small></address>
116 </body>116 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01276.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>A·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··84 <p>A·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··
85 ·<a·href="a01276.html#details">More...</a></p>85 ·<a·href="a01276.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/arraylist.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/arraylist.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::ArrayListIterator&lt;·T,·N,·A·&gt;:</div>88 Inheritance·diagram·for·Dune::ArrayListIterator&lt;·T,·N,·A·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,44,832,84"/>92 <area·shape="rect"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,44,832,84"/>
93 <area·shape="rect"·href="a02108.html"·title="The·iterator·over·the·pairs."·alt=""·coords="881,44,1037,84"/>93 <area·shape="rect"·href="a02108.html"·title="The·iterator·over·the·pairs."·alt=""·coords="881,44,1037,84"/>
Offset 891, 15 lines modifiedOffset 891, 15 lines modified
  
891 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>891 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>
892 <p>This·has·to·be·at·least·one.·The·default·is·100.·</p>892 <p>This·has·to·be·at·least·one.·The·default·is·100.·</p>
  
893 </div>893 </div>
894 </div>894 </div>
895 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>895 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
896 <li><a·class="el"·href="a00074_source.html">arraylist.hh</a></li>896 <li><a·class="el"·href="a00299_source.html">arraylist.hh</a></li>
897 </ul>897 </ul>
898 </div><!--·contents·-->898 </div><!--·contents·-->
899 <!--·start·footer·part·-->899 <!--·start·footer·part·-->
900 <hr·class="footer"/><address·class="footer"><small>900 <hr·class="footer"/><address·class="footer"><small>
901 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8901 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
902 </small></address>902 </small></address>
903 </body>903 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a01280.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <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.··84 <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.··
85 ·<a·href="a01280.html#details">More...</a></p>85 ·<a·href="a01280.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/arraylist.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/arraylist.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;:</div>88 Inheritance·diagram·for·Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="A·constant·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="249,44,439,84"/>92 <area·shape="rect"·title="A·constant·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="249,44,439,84"/>
93 <area·shape="rect"·href="a01280.html"·title="·"·alt=""·coords="628,29,835,99"/>93 <area·shape="rect"·href="a01280.html"·title="·"·alt=""·coords="628,29,835,99"/>
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="a00074_source.html">arraylist.hh</a></li>895 <li><a·class="el"·href="a00299_source.html">arraylist.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.8900 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
901 </small></address>901 </small></address>
902 </body>902 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01284.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>A·dynamically·growing·random·access·list.··84 <p>A·dynamically·growing·random·access·list.··
85 ·<a·href="a01284.html#details">More...</a></p>85 ·<a·href="a01284.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/arraylist.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/arraylist.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::ArrayList&lt;·T,·N,·A·&gt;:</div>88 Inheritance·diagram·for·Dune::ArrayList&lt;·T,·N,·A·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="A·dynamically·growing·random·access·list."·alt=""·coords="5,101,141,141"/>92 <area·shape="rect"·title="A·dynamically·growing·random·access·list."·alt=""·coords="5,101,141,141"/>
93 <area·shape="rect"·href="a01284.html"·title="·"·alt=""·coords="371,5,507,45"/>93 <area·shape="rect"·href="a01284.html"·title="·"·alt=""·coords="371,5,507,45"/>
Offset 393, 15 lines modifiedOffset 393, 15 lines modified
393 </div><div·class="memdoc">393 </div><div·class="memdoc">
  
394 <p>The·number·of·elements·in·one·chunk·of·the·list.·This·has·to·be·at·least·one.·The·default·is·100.·</p>394 <p>The·number·of·elements·in·one·chunk·of·the·list.·This·has·to·be·at·least·one.·The·default·is·100.·</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="a00074_source.html">arraylist.hh</a></li>398 <li><a·class="el"·href="a00299_source.html">arraylist.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.8403 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
404 </small></address>404 </small></address>
405 </body>405 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a01288.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.··83 <p>A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.··
84 ·<a·href="a01288.html#details">More...</a></p>84 ·<a·href="a01288.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
88 Static·Public·Member·Functions</h2></td></tr>88 Static·Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:ac906f6e9494e6b3f6d097d872a72c0da"·id="r_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>89 <tr·class="memitem:ac906f6e9494e6b3f6d097d872a72c0da"·id="r_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>
90 <tr·class="separator:ac906f6e9494e6b3f6d097d872a72c0da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ac906f6e9494e6b3f6d097d872a72c0da"><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="pub-static-attribs"·name="pub-static-attribs"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
Offset 151, 16 lines modifiedOffset 151, 16 lines modified
151 ··</tr>151 ··</tr>
152 </table>152 </table>
153 </div><div·class="memdoc">153 </div><div·class="memdoc">
  
154 </div>154 </div>
155 </div>155 </div>
156 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>156 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
157 <li><a·class="el"·href="a00023_source.html">bigunsignedint.hh</a></li>157 <li><a·class="el"·href="a00092_source.html">bigunsignedint.hh</a></li>
158 <li><a·class="el"·href="a00341_source.html">mpitraits.hh</a></li>158 <li><a·class="el"·href="a00323_source.html">mpitraits.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.8163 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
164 </small></address>164 </small></address>
165 </body>165 </body>
2.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a01296.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Portable·very·large·unsigned·integers.··83 <p>Portable·very·large·unsigned·integers.··
84 ·<a·href="a01296.html#details">More...</a></p>84 ·<a·href="a01296.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:ga7276ad3ad9f0130df9307acf08c0dd8f"·id="r_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>89 <tr·class="memitem:ga7276ad3ad9f0130df9307acf08c0dd8f"·id="r_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>
90 <tr·class="memdesc:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·uninitialized.··<br·/></td></tr>90 <tr·class="memdesc:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·uninitialized.··<br·/></td></tr>
91 <tr·class="separator:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:ga6bf30d701bea2cedf6912f27a9e6bc98"·id="r_ga6bf30d701bea2cedf6912f27a9e6bc98"><td·class="memTemplParams"·colspan="2">template&lt;typename·Signed·&gt;·</td></tr>92 <tr·class="memitem:ga6bf30d701bea2cedf6912f27a9e6bc98"·id="r_ga6bf30d701bea2cedf6912f27a9e6bc98"><td·class="memTemplParams"·colspan="2">template&lt;typename·Signed·&gt;·</td></tr>
Offset 518, 15 lines modifiedOffset 518, 15 lines modified
518 ··</tr>518 ··</tr>
519 </table>519 </table>
520 </div><div·class="memdoc">520 </div><div·class="memdoc">
  
521 </div>521 </div>
522 </div>522 </div>
523 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>523 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
524 <li><a·class="el"·href="a00023_source.html">bigunsignedint.hh</a></li>524 <li><a·class="el"·href="a00092_source.html">bigunsignedint.hh</a></li>
525 </ul>525 </ul>
526 </div><!--·contents·-->526 </div><!--·contents·-->
527 <!--·start·footer·part·-->527 <!--·start·footer·part·-->
528 <hr·class="footer"/><address·class="footer"><small>528 <hr·class="footer"/><address·class="footer"><small>
529 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8529 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
530 </small></address>530 </small></address>
531 </body>531 </body>
3.61 KB
./usr/share/doc/libdune-common-doc/doxygen/a01300.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.··79 <p>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.··
80 ·<a·href="a01300.html#details">More...</a></p>80 ·<a·href="a01300.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsNumber&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::IsNumber&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers."·alt=""·coords="13,108,164,133"/>87 <area·shape="rect"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers."·alt=""·coords="13,108,164,133"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,172,60"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,172,60"/>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
96 struct·Dune::IsNumber&lt;·T·&gt;</div><p>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.·</p>96 struct·Dune::IsNumber&lt;·T·&gt;</div><p>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.·</p>
97 <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>97 <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>
98 <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>98 <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>
99 <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>99 <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>
100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
101 <li><a·class="el"·href="a00023_source.html">bigunsignedint.hh</a></li>101 <li><a·class="el"·href="a00092_source.html">bigunsignedint.hh</a></li>
102 </ul>102 </ul>
103 </div><!--·contents·-->103 </div><!--·contents·-->
104 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>107 </small></address>
108 </body>108 </body>
2.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a01304.html
    
Offset 76, 30 lines modifiedOffset 76, 30 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Declare·big·unsigned·int·is·a·number.··79 <p>Declare·big·unsigned·int·is·a·number.··
80 ·<a·href="a01304.html#details">More...</a></p>80 ·<a·href="a01304.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;:</div>83 Inheritance·diagram·for·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Declare·big·unsigned·int·is·a·number."·alt=""·coords="5,79,219,119"/>87 <area·shape="rect"·title="Declare·big·unsigned·int·is·a·number."·alt=""·coords="5,79,219,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="61,5,163,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="61,5,163,31"/>
89 <area·shape="poly"·title="·"·alt=""·coords="115,44,115,79,109,79,109,44"/>89 <area·shape="poly"·title="·"·alt=""·coords="115,44,115,79,109,79,109,44"/>
90 </map>90 </map>
91 </div>91 </div>
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;int·k&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·k&gt;<br·/>
94 struct·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</div><p>Declare·big·unsigned·int·is·a·number.·</p>94 struct·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</div><p>Declare·big·unsigned·int·is·a·number.·</p>
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="a00023_source.html">bigunsignedint.hh</a></li>96 <li><a·class="el"·href="a00092_source.html">bigunsignedint.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a01312.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
79 <a·href="a01309.html">List·of·all·members</a>··</div>79 <a·href="a01309.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::Min&lt;·Type·&gt;·Struct·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::Min&lt;·Type·&gt;·Struct·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
86 Public·Types</h2></td></tr>86 Public·Types</h2></td></tr>
87 <tr·class="memitem:a82606dcf591eb20e407a2e0bcc41b10d"·id="r_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>87 <tr·class="memitem:a82606dcf591eb20e407a2e0bcc41b10d"·id="r_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>
88 <tr·class="separator:a82606dcf591eb20e407a2e0bcc41b10d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a82606dcf591eb20e407a2e0bcc41b10d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:aeeee48475d6ff825b11a1e5d2b33fcb3"·id="r_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>89 <tr·class="memitem:aeeee48475d6ff825b11a1e5d2b33fcb3"·id="r_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>
90 <tr·class="separator:aeeee48475d6ff825b11a1e5d2b33fcb3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:aeeee48475d6ff825b11a1e5d2b33fcb3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 182, 15 lines modifiedOffset 182, 15 lines modified
182 ··</tr>182 ··</tr>
183 </table>183 </table>
184 </div><div·class="memdoc">184 </div><div·class="memdoc">
  
185 </div>185 </div>
186 </div>186 </div>
187 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>187 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
188 <li><a·class="el"·href="a00155_source.html">binaryfunctions.hh</a></li>188 <li><a·class="el"·href="a00032_source.html">binaryfunctions.hh</a></li>
189 </ul>189 </ul>
190 </div><!--·contents·-->190 </div><!--·contents·-->
191 <!--·start·footer·part·-->191 <!--·start·footer·part·-->
192 <hr·class="footer"/><address·class="footer"><small>192 <hr·class="footer"/><address·class="footer"><small>
193 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8193 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
194 </small></address>194 </small></address>
195 </body>195 </body>
2.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a01316.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
79 <a·href="a01313.html">List·of·all·members</a>··</div>79 <a·href="a01313.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::Max&lt;·Type·&gt;·Struct·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::Max&lt;·Type·&gt;·Struct·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
86 Public·Types</h2></td></tr>86 Public·Types</h2></td></tr>
87 <tr·class="memitem:a33e20d90dcf2581c158a748d52146ab8"·id="r_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>87 <tr·class="memitem:a33e20d90dcf2581c158a748d52146ab8"·id="r_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>
88 <tr·class="separator:a33e20d90dcf2581c158a748d52146ab8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a33e20d90dcf2581c158a748d52146ab8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:adcf11807cc01644428fbeaa5628964dc"·id="r_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>89 <tr·class="memitem:adcf11807cc01644428fbeaa5628964dc"·id="r_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>
90 <tr·class="separator:adcf11807cc01644428fbeaa5628964dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:adcf11807cc01644428fbeaa5628964dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 182, 15 lines modifiedOffset 182, 15 lines modified
182 ··</tr>182 ··</tr>
183 </table>183 </table>
184 </div><div·class="memdoc">184 </div><div·class="memdoc">
  
185 </div>185 </div>
186 </div>186 </div>
187 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>187 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
188 <li><a·class="el"·href="a00155_source.html">binaryfunctions.hh</a></li>188 <li><a·class="el"·href="a00032_source.html">binaryfunctions.hh</a></li>
189 </ul>189 </ul>
190 </div><!--·contents·-->190 </div><!--·contents·-->
191 <!--·start·footer·part·-->191 <!--·start·footer·part·-->
192 <hr·class="footer"/><address·class="footer"><small>192 <hr·class="footer"/><address·class="footer"><small>
193 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8193 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
194 </small></address>194 </small></address>
195 </body>195 </body>
1.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a01320.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·dynamic·array·of·blocks·of·booleans.··82 <p>A·dynamic·array·of·blocks·of·booleans.··
83 ·<a·href="a01320.html#details">More...</a></p>83 ·<a·href="a01320.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::BitSetVector&lt;·block_size,·Allocator·&gt;:</div>86 Inheritance·diagram·for·Dune::BitSetVector&lt;·block_size,·Allocator·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="A·dynamic·array·of·blocks·of·booleans."·alt=""·coords="5,79,172,119"/>90 <area·shape="rect"·title="A·dynamic·array·of·blocks·of·booleans."·alt=""·coords="5,79,172,119"/>
91 <area·shape="rect"·title="·"·alt=""·coords="31,5,146,31"/>91 <area·shape="rect"·title="·"·alt=""·coords="31,5,146,31"/>
Offset 929, 15 lines modifiedOffset 929, 15 lines modified
929 </div><div·class="memdoc">929 </div><div·class="memdoc">
  
930 <p>Sets·all·entries·to·<code>·false·</code>·</p>930 <p>Sets·all·entries·to·<code>·false·</code>·</p>
  
931 </div>931 </div>
932 </div>932 </div>
933 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>933 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
934 <li><a·class="el"·href="a00014_source.html">bitsetvector.hh</a></li>934 <li><a·class="el"·href="a00221_source.html">bitsetvector.hh</a></li>
935 </ul>935 </ul>
936 </div><!--·contents·-->936 </div><!--·contents·-->
937 <!--·start·footer·part·-->937 <!--·start·footer·part·-->
938 <hr·class="footer"/><address·class="footer"><small>938 <hr·class="footer"/><address·class="footer"><small>
939 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8939 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
940 </small></address>940 </small></address>
941 </body>941 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a01324.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>83 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <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>.··86 <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>.··
87 ·<a·href="a01324.html#details">More...</a></p>87 ·<a·href="a01324.html#details">More...</a></p>
  
88 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>88 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
89 <div·class="dynheader">89 <div·class="dynheader">
90 Inheritance·diagram·for·Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;:</div>90 Inheritance·diagram·for·Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;:</div>
91 <div·class="dyncontent">91 <div·class="dyncontent">
92 <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>92 <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>
93 <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">93 <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">
94 <area·shape="rect"·title="A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="23,93,216,133"/>94 <area·shape="rect"·title="A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="23,93,216,133"/>
95 <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,45"/>95 <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,45"/>
Offset 1560, 15 lines modifiedOffset 1560, 15 lines modified
1560 ··</tr>1560 ··</tr>
1561 </table>1561 </table>
1562 </div><div·class="memdoc">1562 </div><div·class="memdoc">
  
1563 </div>1563 </div>
1564 </div>1564 </div>
1565 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1565 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1566 <li><a·class="el"·href="a00014_source.html">bitsetvector.hh</a></li>1566 <li><a·class="el"·href="a00221_source.html">bitsetvector.hh</a></li>
1567 </ul>1567 </ul>
1568 </div><!--·contents·-->1568 </div><!--·contents·-->
1569 <!--·start·footer·part·-->1569 <!--·start·footer·part·-->
1570 <hr·class="footer"/><address·class="footer"><small>1570 <hr·class="footer"/><address·class="footer"><small>
1571 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81571 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1572 </small></address>1572 </small></address>
1573 </body>1573 </body>
2.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a01328.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>83 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <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>.··86 <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>.··
87 ·<a·href="a01328.html#details">More...</a></p>87 ·<a·href="a01328.html#details">More...</a></p>
  
88 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>88 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
89 <div·class="dynheader">89 <div·class="dynheader">
90 Inheritance·diagram·for·Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;:</div>90 Inheritance·diagram·for·Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;:</div>
91 <div·class="dyncontent">91 <div·class="dyncontent">
92 <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>92 <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>
93 <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">93 <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">
94 <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,45"/>94 <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,45"/>
95 <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,93,216,133"/>95 <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,93,216,133"/>
Offset 894, 15 lines modifiedOffset 894, 15 lines modified
894 ··</tr>894 ··</tr>
895 </table>895 </table>
896 </div><div·class="memdoc">896 </div><div·class="memdoc">
  
897 </div>897 </div>
898 </div>898 </div>
899 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>899 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
900 <li><a·class="el"·href="a00014_source.html">bitsetvector.hh</a></li>900 <li><a·class="el"·href="a00221_source.html">bitsetvector.hh</a></li>
901 </ul>901 </ul>
902 </div><!--·contents·-->902 </div><!--·contents·-->
903 <!--·start·footer·part·-->903 <!--·start·footer·part·-->
904 <hr·class="footer"/><address·class="footer"><small>904 <hr·class="footer"/><address·class="footer"><small>
905 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8905 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
906 </small></address>906 </small></address>
907 </body>907 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a01332.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01329.html">List·of·all·members</a>··</div>78 <a·href="a01329.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:af8e356d0f78378fab592f4890ef8a3c9"·id="r_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>86 <tr·class="memitem:af8e356d0f78378fab592f4890ef8a3c9"·id="r_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>
87 <tr·class="separator:af8e356d0f78378fab592f4890ef8a3c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:af8e356d0f78378fab592f4890ef8a3c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</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="a00014_source.html">bitsetvector.hh</a></li>110 <li><a·class="el"·href="a00221_source.html">bitsetvector.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.8115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
116 </small></address>116 </small></address>
117 </body>117 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a01336.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01333.html">List·of·all·members</a>··</div>78 <a·href="a01333.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:af82c7c10665ee84ee6f96ef184c78ceb"·id="r_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>86 <tr·class="memitem:af82c7c10665ee84ee6f96ef184c78ceb"·id="r_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>
87 <tr·class="separator:af82c7c10665ee84ee6f96ef184c78ceb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:af82c7c10665ee84ee6f96ef184c78ceb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00014_source.html">bitsetvector.hh</a></li>107 <li><a·class="el"·href="a00221_source.html">bitsetvector.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a01340.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01337.html">List·of·all·members</a>··</div>78 <a·href="a01337.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a427bd69c90cc455bb390f00f5d8521ba"·id="r_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>86 <tr·class="memitem:a427bd69c90cc455bb390f00f5d8521ba"·id="r_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>
87 <tr·class="separator:a427bd69c90cc455bb390f00f5d8521ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a427bd69c90cc455bb390f00f5d8521ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00014_source.html">bitsetvector.hh</a></li>107 <li><a·class="el"·href="a00221_source.html">bitsetvector.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a01344.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01341.html">List·of·all·members</a>··</div>78 <a·href="a01341.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/bitsetvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:abd2d869525047acc396e863a38c6104e"·id="r_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>86 <tr·class="memitem:abd2d869525047acc396e863a38c6104e"·id="r_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>
87 <tr·class="separator:abd2d869525047acc396e863a38c6104e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:abd2d869525047acc396e863a38c6104e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00014_source.html">bitsetvector.hh</a></li>107 <li><a·class="el"·href="a00221_source.html">bitsetvector.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a01348.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Base·class·for·refined·concepts.··82 <p>Base·class·for·refined·concepts.··
83 ·<a·href="a01348.html#details">More...</a></p>83 ·<a·href="a01348.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/concept.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/concept.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:ae7207e9050eb5211a4dcbea2007a382e"·id="r_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>88 <tr·class="memitem:ae7207e9050eb5211a4dcbea2007a382e"·id="r_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>
89 <tr·class="separator:ae7207e9050eb5211a4dcbea2007a382e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ae7207e9050eb5211a4dcbea2007a382e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
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="a00059_source.html">concept.hh</a></li>120 <li><a·class="el"·href="a00104_source.html">concept.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.8125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>126 </small></address>
127 </body>127 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a01352.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::AlignedBase&lt;·align,·Impl·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::AlignedBase&lt;·align,·Impl·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>CRTP·base·mixin·class·to·check·alignment.··82 <p>CRTP·base·mixin·class·to·check·alignment.··
83 ·<a·href="a01352.html#details">More...</a></p>83 ·<a·href="a01352.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AlignedBase&lt;·align,·Impl·&gt;:</div>86 Inheritance·diagram·for·Dune::AlignedBase&lt;·align,·Impl·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="CRTP·base·mixin·class·to·check·alignment."·alt=""·coords="27,5,169,45"/>90 <area·shape="rect"·title="CRTP·base·mixin·class·to·check·alignment."·alt=""·coords="27,5,169,45"/>
91 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,123,173,177"/>91 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,123,173,177"/>
Offset 280, 15 lines modifiedOffset 280, 15 lines modified
280 ··</tr>280 ··</tr>
281 </table>281 </table>
282 </div><div·class="memdoc">282 </div><div·class="memdoc">
  
283 </div>283 </div>
284 </div>284 </div>
285 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>285 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
286 <li><a·class="el"·href="a00152_source.html">debugalign.hh</a></li>286 <li><a·class="el"·href="a00125_source.html">debugalign.hh</a></li>
287 </ul>287 </ul>
288 </div><!--·contents·-->288 </div><!--·contents·-->
289 <!--·start·footer·part·-->289 <!--·start·footer·part·-->
290 <hr·class="footer"/><address·class="footer"><small>290 <hr·class="footer"/><address·class="footer"><small>
291 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8291 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
292 </small></address>292 </small></address>
293 </body>293 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01356.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>aligned·wrappers·for·arithmetic·types··82 <p>aligned·wrappers·for·arithmetic·types··
83 ·<a·href="a01356.html#details">More...</a></p>83 ·<a·href="a01356.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;:</div>86 Inheritance·diagram·for·Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="aligned·wrappers·for·arithmetic·types"·alt=""·coords="5,227,191,267"/>90 <area·shape="rect"·title="aligned·wrappers·for·arithmetic·types"·alt=""·coords="5,227,191,267"/>
91 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,123,173,177"/>91 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,123,173,177"/>
Offset 674, 15 lines modifiedOffset 674, 15 lines modified
674 ··</tr>674 ··</tr>
675 </table>675 </table>
676 </div><div·class="memdoc">676 </div><div·class="memdoc">
  
677 </div>677 </div>
678 </div>678 </div>
679 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>679 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
680 <li><a·class="el"·href="a00152_source.html">debugalign.hh</a></li>680 <li><a·class="el"·href="a00125_source.html">debugalign.hh</a></li>
681 </ul>681 </ul>
682 </div><!--·contents·-->682 </div><!--·contents·-->
683 <!--·start·footer·part·-->683 <!--·start·footer·part·-->
684 <hr·class="footer"/><address·class="footer"><small>684 <hr·class="footer"/><address·class="footer"><small>
685 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8685 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
686 </small></address>686 </small></address>
687 </body>687 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01360.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·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="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>81 Inheritance·diagram·for·Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,79,228,119"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,79,228,119"/>
86 <area·shape="rect"·title="·"·alt=""·coords="65,5,168,31"/>86 <area·shape="rect"·title="·"·alt=""·coords="65,5,168,31"/>
87 <area·shape="poly"·title="·"·alt=""·coords="119,44,119,79,114,79,114,44"/>87 <area·shape="poly"·title="·"·alt=""·coords="119,44,119,79,114,79,114,44"/>
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="a00152_source.html">debugalign.hh</a></li>91 <li><a·class="el"·href="a00125_source.html">debugalign.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01364.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01361.html">List·of·all·members</a>··</div>78 <a·href="a01361.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a9998248cc7506f81d922f4fde4f7e781"·id="r_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>86 <tr·class="memitem:a9998248cc7506f81d922f4fde4f7e781"·id="r_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>
87 <tr·class="separator:a9998248cc7506f81d922f4fde4f7e781"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a9998248cc7506f81d922f4fde4f7e781"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00152_source.html">debugalign.hh</a></li>107 <li><a·class="el"·href="a00125_source.html">debugalign.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01368.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01365.html">List·of·all·members</a>··</div>78 <a·href="a01365.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a764d6a26b5476f8fcfcb45ccd56a8cce"·id="r_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>86 <tr·class="memitem:a764d6a26b5476f8fcfcb45ccd56a8cce"·id="r_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>
87 <tr·class="separator:a764d6a26b5476f8fcfcb45ccd56a8cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a764d6a26b5476f8fcfcb45ccd56a8cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00152_source.html">debugalign.hh</a></li>107 <li><a·class="el"·href="a00125_source.html">debugalign.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01372.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·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="a00152_source.html">dune/common/debugalign.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>81 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,79,200,133"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,79,200,133"/>
86 <area·shape="rect"·title="·"·alt=""·coords="32,5,173,31"/>86 <area·shape="rect"·title="·"·alt=""·coords="32,5,173,31"/>
87 <area·shape="poly"·title="·"·alt=""·coords="105,44,105,79,100,79,100,44"/>87 <area·shape="poly"·title="·"·alt=""·coords="105,44,105,79,100,79,100,44"/>
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="a00152_source.html">debugalign.hh</a></li>91 <li><a·class="el"·href="a00125_source.html">debugalign.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
2.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a01376.html
    
Offset 79, 28 lines modifiedOffset 79, 28 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Greater·or·equal·template·test.··82 <p>Greater·or·equal·template·test.··
83 ·<a·href="a01376.html#details">More...</a></p>83 ·<a·href="a01376.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/debugstream.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:ga9e5ef41221d78830240c1d5586c329da"·id="r_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>88 <tr·class="memitem:ga9e5ef41221d78830240c1d5586c329da"·id="r_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>
89 <tr·class="separator:ga9e5ef41221d78830240c1d5586c329da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga9e5ef41221d78830240c1d5586c329da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
92 <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·/>92 <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·/>
93 struct·Dune::greater_or_equal&lt;·current,·threshold·&gt;</div><p>Greater·or·equal·template·test.·</p>93 struct·Dune::greater_or_equal&lt;·current,·threshold·&gt;</div><p>Greater·or·equal·template·test.·</p>
94 <p>value·is·false·if·current·is·below·the·threshold,·true·otherwise</p>94 <p>value·is·false·if·current·is·below·the·threshold,·true·otherwise</p>
95 <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>95 <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>
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="a00035_source.html">debugstream.hh</a></li>97 <li><a·class="el"·href="a00377_source.html">debugstream.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.8102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
103 </small></address>103 </small></address>
104 </body>104 </body>
2.61 KB
./usr/share/doc/libdune-common-doc/doxygen/a01380.html
    
Offset 79, 27 lines modifiedOffset 79, 27 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>activate·if·current·and·mask·have·common·bits·switched·on.··82 <p>activate·if·current·and·mask·have·common·bits·switched·on.··
83 ·<a·href="a01380.html#details">More...</a></p>83 ·<a·href="a01380.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/debugstream.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:ga3263b8f57111ddf7a379bb19ad0daf5e"·id="r_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>88 <tr·class="memitem:ga3263b8f57111ddf7a379bb19ad0daf5e"·id="r_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>
89 <tr·class="separator:ga3263b8f57111ddf7a379bb19ad0daf5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga3263b8f57111ddf7a379bb19ad0daf5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
92 <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·/>92 <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·/>
93 struct·Dune::common_bits&lt;·current,·mask·&gt;</div><p>activate·if·current·and·mask·have·common·bits·switched·on.·</p>93 struct·Dune::common_bits&lt;·current,·mask·&gt;</div><p>activate·if·current·and·mask·have·common·bits·switched·on.·</p>
94 <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>94 <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>
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="a00035_source.html">debugstream.hh</a></li>96 <li><a·class="el"·href="a00377_source.html">debugstream.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a01384.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>standard·exception·for·the·debugstream··83 <p>standard·exception·for·the·debugstream··
84 ·<a·href="a01384.html#details">More...</a></p>84 ·<a·href="a01384.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/debugstream.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::DebugStreamError:</div>87 Inheritance·diagram·for·Dune::DebugStreamError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01383.png"·border="0"·usemap="#a_dune_1_1_debug_stream_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01383.png"·border="0"·usemap="#a_dune_1_1_debug_stream_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_debug_stream_error_inherit__map"·id="a_dune_1_1_debug_stream_error_inherit__map">90 <map·name="a_dune_1_1_debug_stream_error_inherit__map"·id="a_dune_1_1_debug_stream_error_inherit__map">
91 <area·shape="rect"·title="standard·exception·for·the·debugstream"·alt=""·coords="5,225,175,251"/>91 <area·shape="rect"·title="standard·exception·for·the·debugstream"·alt=""·coords="5,225,175,251"/>
92 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="39,152,141,177"/>92 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="39,152,141,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><p>standard·exception·for·the·debugstream·</p>122 <div·class="textblock"><p>standard·exception·for·the·debugstream·</p>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00035_source.html">debugstream.hh</a></li>124 <li><a·class="el"·href="a00377_source.html">debugstream.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01388.html
    
Offset 77, 30 lines modifiedOffset 77, 30 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
79 <a·href="a01385.html">List·of·all·members</a>··</div>79 <a·href="a01385.html">List·of·all·members</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/debugstream.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
86 Public·Member·Functions</h2></td></tr>86 Public·Member·Functions</h2></td></tr>
87 <tr·class="memitem:ga06e3c89ca78a336ab9c5d2d13fbb7d86"·id="r_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>87 <tr·class="memitem:ga06e3c89ca78a336ab9c5d2d13fbb7d86"·id="r_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>
88 <tr·class="separator:ga06e3c89ca78a336ab9c5d2d13fbb7d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:ga06e3c89ca78a336ab9c5d2d13fbb7d86"><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="pub-attribs"·name="pub-attribs"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>
91 Public·Attributes</h2></td></tr>91 Public·Attributes</h2></td></tr>
92 <tr·class="memitem:ga3eaed1d890bb1bc7ba0593b1565d5fe7"·id="r_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>92 <tr·class="memitem:ga3eaed1d890bb1bc7ba0593b1565d5fe7"·id="r_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>
93 <tr·class="separator:ga3eaed1d890bb1bc7ba0593b1565d5fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:ga3eaed1d890bb1bc7ba0593b1565d5fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:gaf0931b582e183cb17963d23d7598ae23"·id="r_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>94 <tr·class="memitem:gaf0931b582e183cb17963d23d7598ae23"·id="r_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>
95 <tr·class="separator:gaf0931b582e183cb17963d23d7598ae23"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:gaf0931b582e183cb17963d23d7598ae23"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>96 </table>
97 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>97 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
98 <li><a·class="el"·href="a00035_source.html">debugstream.hh</a></li>98 <li><a·class="el"·href="a00377_source.html">debugstream.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.8103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
104 </small></address>104 </small></address>
105 </body>105 </body>
2.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a01392.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.··82 <p>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.··
83 ·<a·href="a01392.html#details">More...</a></p>83 ·<a·href="a01392.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/debugstream.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::DebugStreamState:</div>86 Inheritance·diagram·for·Dune::DebugStreamState:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <div·class="center"><img·src="a01391.png"·border="0"·usemap="#a_dune_1_1_debug_stream_state_inherit__map"·alt="Inheritance·graph"/></div>88 <div·class="center"><img·src="a01391.png"·border="0"·usemap="#a_dune_1_1_debug_stream_state_inherit__map"·alt="Inheritance·graph"/></div>
89 <map·name="a_dune_1_1_debug_stream_state_inherit__map"·id="a_dune_1_1_debug_stream_state_inherit__map">89 <map·name="a_dune_1_1_debug_stream_state_inherit__map"·id="a_dune_1_1_debug_stream_state_inherit__map">
90 <area·shape="rect"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,31"/>90 <area·shape="rect"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,31"/>
91 <area·shape="rect"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,79,166,133"/>91 <area·shape="rect"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,79,166,133"/>
Offset 109, 15 lines modifiedOffset 109, 15 lines modified
109 <tr·class="memitem:ga654bf28c5bd8a705856cd19f4bedfa4e"·id="r_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>109 <tr·class="memitem:ga654bf28c5bd8a705856cd19f4bedfa4e"·id="r_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>
110 <tr·class="memdesc:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">how·many·streams·are·tied·to·this·state··<br·/></td></tr>110 <tr·class="memdesc:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">how·many·streams·are·tied·to·this·state··<br·/></td></tr>
111 <tr·class="separator:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:ga654bf28c5bd8a705856cd19f4bedfa4e"><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>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.·</p>114 <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>
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="a00035_source.html">debugstream.hh</a></li>116 <li><a·class="el"·href="a00377_source.html">debugstream.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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
2.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a01396.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Generic·class·to·implement·debug·output·streams.··83 <p>Generic·class·to·implement·debug·output·streams.··
84 ·<a·href="a01396.html#details">More...</a></p>84 ·<a·href="a01396.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/debugstream.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;:</div>87 Inheritance·diagram·for·Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,79,166,133"/>91 <area·shape="rect"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,79,166,133"/>
92 <area·shape="rect"·href="a01392.html"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,31"/>92 <area·shape="rect"·href="a01392.html"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,31"/>
Offset 168, 15 lines modifiedOffset 168, 15 lines modified
168 ····<tr><td·class="paramname">alevel</td><td>level·needed·to·switch·activation·flag·on·</td></tr>168 ····<tr><td·class="paramname">alevel</td><td>level·needed·to·switch·activation·flag·on·</td></tr>
169 ····<tr><td·class="paramname">activator</td><td>template·describing·the·activation·policy</td></tr>169 ····<tr><td·class="paramname">activator</td><td>template·describing·the·activation·policy</td></tr>
170 ··</table>170 ··</table>
171 ··</dd>171 ··</dd>
172 </dl>172 </dl>
173 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000006">Todo:</a></b></dt><dd>Fix·visibility·of·internal·data·</dd></dl>173 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000006">Todo:</a></b></dt><dd>Fix·visibility·of·internal·data·</dd></dl>
174 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>174 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
175 <li><a·class="el"·href="a00035_source.html">debugstream.hh</a></li>175 <li><a·class="el"·href="a00377_source.html">debugstream.hh</a></li>
176 </ul>176 </ul>
177 </div><!--·contents·-->177 </div><!--·contents·-->
178 <!--·start·footer·part·-->178 <!--·start·footer·part·-->
179 <hr·class="footer"/><address·class="footer"><small>179 <hr·class="footer"/><address·class="footer"><small>
180 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8180 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
181 </small></address>181 </small></address>
182 </body>182 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01400.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>A·dense·n·x·m·matrix.··85 <p>A·dense·n·x·m·matrix.··
86 ·<a·href="a01400.html#details">More...</a></p>86 ·<a·href="a01400.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/densematrix.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.hh</a>&gt;</code></p>
88 <div·class="dynheader">88 <div·class="dynheader">
89 Inheritance·diagram·for·Dune::DenseMatrix&lt;·MAT·&gt;:</div>89 Inheritance·diagram·for·Dune::DenseMatrix&lt;·MAT·&gt;:</div>
90 <div·class="dyncontent">90 <div·class="dyncontent">
91 <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>91 <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>
92 <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">92 <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">
93 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="5,77,148,117"/>93 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="5,77,148,117"/>
94 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="357,5,515,45"/>94 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="357,5,515,45"/>
Offset 2316, 15 lines modifiedOffset 2316, 15 lines modified
2316 </div><div·class="memdoc">2316 </div><div·class="memdoc">
  
2317 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>2317 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
2318 </div>2318 </div>
2319 </div>2319 </div>
2320 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>2320 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
2321 <li><a·class="el"·href="a00296_source.html">densematrix.hh</a></li>2321 <li><a·class="el"·href="a00074_source.html">densematrix.hh</a></li>
2322 </ul>2322 </ul>
2323 </div><!--·contents·-->2323 </div><!--·contents·-->
2324 <!--·start·footer·part·-->2324 <!--·start·footer·part·-->
2325 <hr·class="footer"/><address·class="footer"><small>2325 <hr·class="footer"/><address·class="footer"><small>
2326 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.82326 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
2327 </small></address>2327 </small></address>
2328 </body>2328 </body>
2.43 KB
./usr/share/doc/libdune-common-doc/doxygen/a01404.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01401.html">List·of·all·members</a>··</div>78 <a·href="a01401.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/densematrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a7e3a65001054390715e170cec97311e2"·id="r_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>86 <tr·class="memitem:a7e3a65001054390715e170cec97311e2"·id="r_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>
87 <tr·class="separator:a7e3a65001054390715e170cec97311e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a7e3a65001054390715e170cec97311e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a28aafc36c8f6db71d2c7a1533239a9d6"·id="r_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>88 <tr·class="memitem:a28aafc36c8f6db71d2c7a1533239a9d6"·id="r_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>
89 <tr·class="separator:a28aafc36c8f6db71d2c7a1533239a9d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a28aafc36c8f6db71d2c7a1533239a9d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00296_source.html">densematrix.hh</a></li>125 <li><a·class="el"·href="a00074_source.html">densematrix.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01408.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ··<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>83 ··<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>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <p>A·dense·n·x·m·matrix.··86 <p>A·dense·n·x·m·matrix.··
87 ·<a·href="a01408.html#details">More...</a></p>87 ·<a·href="a01408.html#details">More...</a></p>
  
88 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>88 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>
89 <div·class="dynheader">89 <div·class="dynheader">
90 Inheritance·diagram·for·Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;:</div>90 Inheritance·diagram·for·Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;:</div>
91 <div·class="dyncontent">91 <div·class="dyncontent">
92 <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>92 <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>
93 <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">93 <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">
94 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="17,227,156,267"/>94 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="17,227,156,267"/>
95 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="5,123,168,177"/>95 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="5,123,168,177"/>
Offset 2709, 16 lines modifiedOffset 2709, 16 lines modified
2709 </div><div·class="memdoc">2709 </div><div·class="memdoc">
  
2710 <p>The·number·of·rows.·</p>2710 <p>The·number·of·rows.·</p>
  
2711 </div>2711 </div>
2712 </div>2712 </div>
2713 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2713 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2714 <li><a·class="el"·href="a00296_source.html">densematrix.hh</a></li>2714 <li><a·class="el"·href="a00074_source.html">densematrix.hh</a></li>
2715 <li><a·class="el"·href="a00224_source.html">fmatrix.hh</a></li>2715 <li><a·class="el"·href="a00170_source.html">fmatrix.hh</a></li>
2716 </ul>2716 </ul>
2717 </div><!--·contents·-->2717 </div><!--·contents·-->
2718 <!--·start·footer·part·-->2718 <!--·start·footer·part·-->
2719 <hr·class="footer"/><address·class="footer"><small>2719 <hr·class="footer"/><address·class="footer"><small>
2720 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.82720 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
2721 </small></address>2721 </small></address>
2722 </body>2722 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01412.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ··<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>83 ··<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>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <p>vector·space·out·of·a·tensor·product·of·fields.··86 <p>vector·space·out·of·a·tensor·product·of·fields.··
87 ·<a·href="a01412.html#details">More...</a></p>87 ·<a·href="a01412.html#details">More...</a></p>
  
88 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code></p>88 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
89 <div·class="dynheader">89 <div·class="dynheader">
90 Inheritance·diagram·for·Dune::FieldVector&lt;·K,·SIZE·&gt;:</div>90 Inheritance·diagram·for·Dune::FieldVector&lt;·K,·SIZE·&gt;:</div>
91 <div·class="dyncontent">91 <div·class="dyncontent">
92 <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>92 <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>
93 <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">93 <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">
94 <area·shape="rect"·title="vector·space·out·of·a·tensor·product·of·fields."·alt=""·coords="84,183,219,223"/>94 <area·shape="rect"·title="vector·space·out·of·a·tensor·product·of·fields."·alt=""·coords="84,183,219,223"/>
95 <area·shape="rect"·href="a01412.html"·title="·"·alt=""·coords="5,285,140,325"/>95 <area·shape="rect"·href="a01412.html"·title="·"·alt=""·coords="5,285,140,325"/>
Offset 2255, 16 lines modifiedOffset 2255, 16 lines modified
2255 </div><div·class="memdoc">2255 </div><div·class="memdoc">
  
2256 <p>The·size·of·this·vector.·</p>2256 <p>The·size·of·this·vector.·</p>
  
2257 </div>2257 </div>
2258 </div>2258 </div>
2259 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2259 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2260 <li><a·class="el"·href="a00296_source.html">densematrix.hh</a></li>2260 <li><a·class="el"·href="a00074_source.html">densematrix.hh</a></li>
2261 <li><a·class="el"·href="a00293_source.html">fvector.hh</a></li>2261 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
2262 </ul>2262 </ul>
2263 </div><!--·contents·-->2263 </div><!--·contents·-->
2264 <!--·start·footer·part·-->2264 <!--·start·footer·part·-->
2265 <hr·class="footer"/><address·class="footer"><small>2265 <hr·class="footer"/><address·class="footer"><small>
2266 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.82266 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
2267 </small></address>2267 </small></address>
2268 </body>2268 </body>
958 B
./usr/share/doc/libdune-common-doc/doxygen/a01416.html
    
Offset 86, 15 lines modifiedOffset 86, 15 lines modified
86 ··<table·class="tparams">86 ··<table·class="tparams">
87 ····<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>87 ····<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>
88 ····<tr><td·class="paramname">RHS</td><td>Right·hand·side·type·</td></tr>88 ····<tr><td·class="paramname">RHS</td><td>Right·hand·side·type·</td></tr>
89 ··</table>89 ··</table>
90 ··</dd>90 ··</dd>
91 </dl>91 </dl>
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="a00296_source.html">densematrix.hh</a></li>93 <li><a·class="el"·href="a00074_source.html">densematrix.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.898 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
99 </small></address>99 </small></address>
100 </body>100 </body>
2.68 KB
./usr/share/doc/libdune-common-doc/doxygen/a01420.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.··83 <p>Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.··
84 ·<a·href="a01420.html#details">More...</a></p>84 ·<a·href="a01420.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/densematrix.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00074_source.html">dune/common/densematrix.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::FMatrixError:</div>87 Inheritance·diagram·for·Dune::FMatrixError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01419.png"·border="0"·usemap="#a_dune_1_1_f_matrix_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01419.png"·border="0"·usemap="#a_dune_1_1_f_matrix_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_f_matrix_error_inherit__map"·id="a_dune_1_1_f_matrix_error_inherit__map">90 <map·name="a_dune_1_1_f_matrix_error_inherit__map"·id="a_dune_1_1_f_matrix_error_inherit__map">
91 <area·shape="rect"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,225,139,251"/>91 <area·shape="rect"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,225,139,251"/>
92 <area·shape="rect"·href="a01560.html"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,152,131,177"/>92 <area·shape="rect"·href="a01560.html"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,152,131,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <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>122 <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>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00296_source.html">densematrix.hh</a></li>124 <li><a·class="el"·href="a00074_source.html">densematrix.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.11 KB
./usr/share/doc/libdune-common-doc/doxygen/a01424.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ··<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>83 ··<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>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <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.··86 <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.··
87 ·<a·href="a01424.html#details">More...</a></p>87 ·<a·href="a01424.html#details">More...</a></p>
  
88 <p><code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/densevector.hh</a>&gt;</code></p>88 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/densevector.hh</a>&gt;</code></p>
89 <div·class="dynheader">89 <div·class="dynheader">
90 Inheritance·diagram·for·Dune::DenseVector&lt;·V·&gt;:</div>90 Inheritance·diagram·for·Dune::DenseVector&lt;·V·&gt;:</div>
91 <div·class="dyncontent">91 <div·class="dyncontent">
92 <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>92 <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>
93 <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">93 <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">
94 <area·shape="rect"·title="Interface·for·a·class·of·dense·vectors·over·a·given·field."·alt=""·coords="5,107,175,133"/>94 <area·shape="rect"·title="Interface·for·a·class·of·dense·vectors·over·a·given·field."·alt=""·coords="5,107,175,133"/>
95 <area·shape="rect"·href="a01512.html"·title="Construct·a·vector·with·a·dynamic·size."·alt=""·coords="399,5,549,45"/>95 <area·shape="rect"·href="a01512.html"·title="Construct·a·vector·with·a·dynamic·size."·alt=""·coords="399,5,549,45"/>
Offset 1958, 15 lines modifiedOffset 1958, 15 lines modified
1958 </div><div·class="memdoc">1958 </div><div·class="memdoc">
  
1959 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>1959 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
1960 </div>1960 </div>
1961 </div>1961 </div>
1962 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1962 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1963 <li><a·class="el"·href="a00392_source.html">densevector.hh</a></li>1963 <li><a·class="el"·href="a00239_source.html">densevector.hh</a></li>
1964 </ul>1964 </ul>
1965 </div><!--·contents·-->1965 </div><!--·contents·-->
1966 <!--·start·footer·part·-->1966 <!--·start·footer·part·-->
1967 <hr·class="footer"/><address·class="footer"><small>1967 <hr·class="footer"/><address·class="footer"><small>
1968 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81968 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1969 </small></address>1969 </small></address>
1970 </body>1970 </body>
2.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a01428.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01425.html">List·of·all·members</a>··</div>78 <a·href="a01425.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/densevector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/densevector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a6953a4e286d26fdc7b3854b50fcf2f3e"·id="r_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>86 <tr·class="memitem:a6953a4e286d26fdc7b3854b50fcf2f3e"·id="r_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>
87 <tr·class="separator:a6953a4e286d26fdc7b3854b50fcf2f3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a6953a4e286d26fdc7b3854b50fcf2f3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a44da87077b94c3132da34adf380a020c"·id="r_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>88 <tr·class="memitem:a44da87077b94c3132da34adf380a020c"·id="r_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>
89 <tr·class="separator:a44da87077b94c3132da34adf380a020c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a44da87077b94c3132da34adf380a020c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00392_source.html">densevector.hh</a></li>125 <li><a·class="el"·href="a00239_source.html">densevector.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.09 KB
./usr/share/doc/libdune-common-doc/doxygen/a01440.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Generic·iterator·class·for·dense·vector·and·matrix·implementations.··83 <p>Generic·iterator·class·for·dense·vector·and·matrix·implementations.··
84 ·<a·href="a01440.html#details">More...</a></p>84 ·<a·href="a01440.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/densevector.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/densevector.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::DenseIterator&lt;·C,·T,·R·&gt;:</div>87 Inheritance·diagram·for·Dune::DenseIterator&lt;·C,·T,·R·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Generic·iterator·class·for·dense·vector·and·matrix·implementations."·alt=""·coords="33,93,173,133"/>91 <area·shape="rect"·title="Generic·iterator·class·for·dense·vector·and·matrix·implementations."·alt=""·coords="33,93,173,133"/>
92 <area·shape="rect"·href="a01884.html"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,5,200,45"/>92 <area·shape="rect"·href="a01884.html"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,5,200,45"/>
Offset 1204, 15 lines modifiedOffset 1204, 15 lines modified
1204 ··</dd>1204 ··</dd>
1205 </dl>1205 </dl>
1206 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>1206 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>
  
1207 </div>1207 </div>
1208 </div>1208 </div>
1209 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1209 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1210 <li><a·class="el"·href="a00392_source.html">densevector.hh</a></li>1210 <li><a·class="el"·href="a00239_source.html">densevector.hh</a></li>
1211 </ul>1211 </ul>
1212 </div><!--·contents·-->1212 </div><!--·contents·-->
1213 <!--·start·footer·part·-->1213 <!--·start·footer·part·-->
1214 <hr·class="footer"/><address·class="footer"><small>1214 <hr·class="footer"/><address·class="footer"><small>
1215 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81215 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1216 </small></address>1216 </small></address>
1217 </body>1217 </body>
2.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a01444.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;80 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
81 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;81 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
82 <a·href="a01441.html">List·of·all·members</a>··</div>82 <a·href="a01441.html">List·of·all·members</a>··</div>
83 ··<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>83 ··<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>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;:</div>88 Inheritance·diagram·for·Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="·"·alt=""·coords="5,13,216,53"/>92 <area·shape="rect"·title="·"·alt=""·coords="5,13,216,53"/>
93 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="639,5,815,60"/>93 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="639,5,815,60"/>
Offset 180, 15 lines modifiedOffset 180, 15 lines modified
180 Protected·Attributes</h2></td></tr>180 Protected·Attributes</h2></td></tr>
181 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"·id="r_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>181 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"·id="r_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>
182 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>182 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
183 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"·id="r_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>183 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"·id="r_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>
184 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>184 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
185 </table>185 </table>
186 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>186 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
187 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>187 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.hh</a></li>
188 </ul>188 </ul>
189 </div><!--·contents·-->189 </div><!--·contents·-->
190 <!--·start·footer·part·-->190 <!--·start·footer·part·-->
191 <hr·class="footer"/><address·class="footer"><small>191 <hr·class="footer"/><address·class="footer"><small>
192 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8192 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
193 </small></address>193 </small></address>
194 </body>194 </body>
2.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a01448.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;80 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
81 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;81 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
82 <a·href="a01445.html">List·of·all·members</a>··</div>82 <a·href="a01445.html">List·of·all·members</a>··</div>
83 ··<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>83 ··<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>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::DiagonalRowVector&lt;·K,·n·&gt;:</div>88 Inheritance·diagram·for·Dune::DiagonalRowVector&lt;·K,·n·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="·"·alt=""·coords="23,95,199,135"/>92 <area·shape="rect"·title="·"·alt=""·coords="23,95,199,135"/>
93 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="23,212,199,267"/>93 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="23,212,199,267"/>
Offset 201, 15 lines modifiedOffset 201, 15 lines modified
201 Protected·Attributes</h2></td></tr>201 Protected·Attributes</h2></td></tr>
202 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"·id="r_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>202 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"·id="r_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>
203 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>203 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
204 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"·id="r_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>204 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"·id="r_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>
205 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>205 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
206 </table>206 </table>
207 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>207 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
208 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>208 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.8213 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
214 </small></address>214 </small></address>
215 </body>215 </body>
3.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a01452.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a01449.html">List·of·all·members</a>··</div>78 <a·href="a01449.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:gaec4b856260bbe814628142729127c5d8"·id="r_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>86 <tr·class="memitem:gaec4b856260bbe814628142729127c5d8"·id="r_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>
87 <tr·class="separator:gaec4b856260bbe814628142729127c5d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gaec4b856260bbe814628142729127c5d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ga6207194fb0de60699bed536aa655896f"·id="r_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>88 <tr·class="memitem:ga6207194fb0de60699bed536aa655896f"·id="r_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>
89 <tr·class="separator:ga6207194fb0de60699bed536aa655896f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga6207194fb0de60699bed536aa655896f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 <tr·class="separator:ga946866a34f2a843eed8ddbffa1c9a9f6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:ga946866a34f2a843eed8ddbffa1c9a9f6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:ga54c25c1ea2d1838200aa68ad86bcdbdb"·id="r_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>93 <tr·class="memitem:ga54c25c1ea2d1838200aa68ad86bcdbdb"·id="r_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>
94 <tr·class="separator:ga54c25c1ea2d1838200aa68ad86bcdbdb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:ga54c25c1ea2d1838200aa68ad86bcdbdb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:gaa8ff4d2d7d2f8d66275fa39a1854e883"·id="r_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>95 <tr·class="memitem:gaa8ff4d2d7d2f8d66275fa39a1854e883"·id="r_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>
96 <tr·class="separator:gaa8ff4d2d7d2f8d66275fa39a1854e883"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:gaa8ff4d2d7d2f8d66275fa39a1854e883"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table>97 </table>
98 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>98 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
99 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>99 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a01456.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Iterator·class·for·sparse·vector-like·containers.··83 <p>Iterator·class·for·sparse·vector-like·containers.··
84 ·<a·href="a01456.html#details">More...</a></p>84 ·<a·href="a01456.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;:</div>87 Inheritance·diagram·for·Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Iterator·class·for·sparse·vector&#45;like·containers."·alt=""·coords="660,15,867,55"/>91 <area·shape="rect"·title="Iterator·class·for·sparse·vector&#45;like·containers."·alt=""·coords="660,15,867,55"/>
92 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,62"/>92 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,62"/>
Offset 635, 15 lines modifiedOffset 635, 15 lines modified
635 </div><div·class="memdoc">635 </div><div·class="memdoc">
  
636 <p>Postincrement·operator.·</p>636 <p>Postincrement·operator.·</p>
  
637 </div>637 </div>
638 </div>638 </div>
639 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>639 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
640 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>640 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.hh</a></li>
641 </ul>641 </ul>
642 </div><!--·contents·-->642 </div><!--·contents·-->
643 <!--·start·footer·part·-->643 <!--·start·footer·part·-->
644 <hr·class="footer"/><address·class="footer"><small>644 <hr·class="footer"/><address·class="footer"><small>
645 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8645 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
646 </small></address>646 </small></address>
647 </body>647 </body>
2.57 KB
./usr/share/doc/libdune-common-doc/doxygen/a01460.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>A·diagonal·matrix·of·static·size.··85 <p>A·diagonal·matrix·of·static·size.··
86 ·<a·href="a01460.html#details">More...</a></p>86 ·<a·href="a01460.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
88 <table·class="memberdecls">88 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
90 Public·Types</h2></td></tr>90 Public·Types</h2></td></tr>
91 <tr·class="memitem:gadcf811f77d0dbfbbfbebefe63d8c43c2"·id="r_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>91 <tr·class="memitem:gadcf811f77d0dbfbbfbebefe63d8c43c2"·id="r_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>
92 <tr·class="memdesc:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">export·the·type·representing·the·field··<br·/></td></tr>92 <tr·class="memdesc:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">export·the·type·representing·the·field··<br·/></td></tr>
93 <tr·class="separator:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:ga87d01fed9cbade66ddcb30e6e7132a9a"·id="r_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>94 <tr·class="memitem:ga87d01fed9cbade66ddcb30e6e7132a9a"·id="r_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 325, 15 lines modifiedOffset 325, 15 lines modified
325 ··<table·class="tparams">325 ··<table·class="tparams">
326 ····<tr><td·class="paramname">K</td><td>Type·used·for·scalars·</td></tr>326 ····<tr><td·class="paramname">K</td><td>Type·used·for·scalars·</td></tr>
327 ····<tr><td·class="paramname">n</td><td>Matrix·size·</td></tr>327 ····<tr><td·class="paramname">n</td><td>Matrix·size·</td></tr>
328 ··</table>328 ··</table>
329 ··</dd>329 ··</dd>
330 </dl>330 </dl>
331 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>331 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
332 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>332 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.hh</a></li>
333 </ul>333 </ul>
334 </div><!--·contents·-->334 </div><!--·contents·-->
335 <!--·start·footer·part·-->335 <!--·start·footer·part·-->
336 <hr·class="footer"/><address·class="footer"><small>336 <hr·class="footer"/><address·class="footer"><small>
337 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8337 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
338 </small></address>338 </small></address>
339 </body>339 </body>
2.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a01464.html
    
Offset 76, 25 lines modifiedOffset 76, 25 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01461.html">List·of·all·members</a>··</div>78 <a·href="a01461.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ga06947d572d7c28aab71c731e41de6854"·id="r_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>86 <tr·class="memitem:ga06947d572d7c28aab71c731e41de6854"·id="r_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>
87 <tr·class="separator:ga06947d572d7c28aab71c731e41de6854"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga06947d572d7c28aab71c731e41de6854"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:gaeaa44fc39dd6d14d3c8b05c45ae146fe"·id="r_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>88 <tr·class="memitem:gaeaa44fc39dd6d14d3c8b05c45ae146fe"·id="r_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>
89 <tr·class="separator:gaeaa44fc39dd6d14d3c8b05c45ae146fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:gaeaa44fc39dd6d14d3c8b05c45ae146fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>91 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
92 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>92 <li><a·class="el"·href="a00260_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.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.8
98 </small></address>98 </small></address>
99 </body>99 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01468.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01465.html">List·of·all·members</a>··</div>78 <a·href="a01465.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:gabc526795104d73a60982e4e56d97f9e0"·id="r_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>86 <tr·class="memitem:gabc526795104d73a60982e4e56d97f9e0"·id="r_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>
87 <tr·class="separator:gabc526795104d73a60982e4e56d97f9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gabc526795104d73a60982e4e56d97f9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>90 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01472.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01469.html">List·of·all·members</a>··</div>78 <a·href="a01469.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ga249ab0cf1a399fb2ddadbeaa51150721"·id="r_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>86 <tr·class="memitem:ga249ab0cf1a399fb2ddadbeaa51150721"·id="r_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>
87 <tr·class="separator:ga249ab0cf1a399fb2ddadbeaa51150721"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga249ab0cf1a399fb2ddadbeaa51150721"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>90 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01476.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01473.html">List·of·all·members</a>··</div>78 <a·href="a01473.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ga28c984d0ebcafd7c2d413905dedad07d"·id="r_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>86 <tr·class="memitem:ga28c984d0ebcafd7c2d413905dedad07d"·id="r_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>
87 <tr·class="separator:ga28c984d0ebcafd7c2d413905dedad07d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga28c984d0ebcafd7c2d413905dedad07d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>90 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01480.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01477.html">List·of·all·members</a>··</div>78 <a·href="a01477.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ga6c0dc6df097a09a2706166b882e4b7a2"·id="r_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>86 <tr·class="memitem:ga6c0dc6df097a09a2706166b882e4b7a2"·id="r_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>
87 <tr·class="separator:ga6c0dc6df097a09a2706166b882e4b7a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga6c0dc6df097a09a2706166b882e4b7a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>90 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a01484.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a01481.html">List·of·all·members</a>··</div>78 <a·href="a01481.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/diagonalmatrix.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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:gacdc8dd0929e24775063d1bae351a6741"·id="r_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>86 <tr·class="memitem:gacdc8dd0929e24775063d1bae351a6741"·id="r_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>
87 <tr·class="separator:gacdc8dd0929e24775063d1bae351a6741"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gacdc8dd0929e24775063d1bae351a6741"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00185_source.html">diagonalmatrix.hh</a></li>90 <li><a·class="el"·href="a00260_source.html">diagonalmatrix.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
2.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01488.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::ImplementationDefined·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>76 ··<div·class="headertitle"><div·class="title">Dune::ImplementationDefined·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Dummy·struct·used·for·documentation·purposes.··79 <p>Dummy·struct·used·for·documentation·purposes.··
80 ·<a·href="a01488.html#details">More...</a></p>80 ·<a·href="a01488.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/documentation.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/documentation.hh</a>&gt;</code></p>
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"><p>Dummy·struct·used·for·documentation·purposes.·</p>83 <div·class="textblock"><p>Dummy·struct·used·for·documentation·purposes.·</p>
84 <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>84 <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>
85 <div·class="line"><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>85 <div·class="line"><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
86 <div·class="line"><span·class="keyword">class·</span>SomeTraits·{</div>86 <div·class="line"><span·class="keyword">class·</span>SomeTraits·{</div>
87 <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>87 <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>
88 <div·class="line">················<span·class="stringliteral">&quot;Sorry,·SomeTraits·must·be·specialized·for·all·types&quot;</span>);</div>88 <div·class="line">················<span·class="stringliteral">&quot;Sorry,·SomeTraits·must·be·specialized·for·all·types&quot;</span>);</div>
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 <div·class="line">};</div>99 <div·class="line">};</div>
100 <div·class="line"><span·class="comment">//·...</span></div>100 <div·class="line"><span·class="comment">//·...</span></div>
101 <div·class="line"><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>101 <div·class="line"><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>
102 <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>102 <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>
103 <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>103 <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>
104 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">implementationDefined</a>·</dd></dl>104 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00425.html#a90bbc2f44b2002c6431570e453a822a0ae4aaf80b04d4217953c7f8612ad78371">implementationDefined</a>·</dd></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="a00101_source.html">documentation.hh</a></li>106 <li><a·class="el"·href="a00134_source.html">documentation.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.8111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>112 </small></address>
113 </body>113 </body>
1.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a01492.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::IsVector&lt;·T,·class·&gt;:</div>81 Inheritance·diagram·for·Dune::IsVector&lt;·T,·class·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,79,137,119"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,79,137,119"/>
86 <area·shape="rect"·title="·"·alt=""·coords="17,5,125,31"/>86 <area·shape="rect"·title="·"·alt=""·coords="17,5,125,31"/>
87 <area·shape="poly"·title="·"·alt=""·coords="74,44,74,79,69,79,69,44"/>87 <area·shape="poly"·title="·"·alt=""·coords="74,44,74,79,69,79,69,44"/>
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="a00032_source.html">dotproduct.hh</a></li>91 <li><a·class="el"·href="a00128_source.html">dotproduct.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01496.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;:</div>81 Inheritance·diagram·for·Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,79,160,133"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,79,160,133"/>
86 <area·shape="rect"·title="·"·alt=""·coords="31,5,134,31"/>86 <area·shape="rect"·title="·"·alt=""·coords="31,5,134,31"/>
87 <area·shape="poly"·title="·"·alt=""·coords="85,44,85,79,80,79,80,44"/>87 <area·shape="poly"·title="·"·alt=""·coords="85,44,85,79,80,79,80,44"/>
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="a00032_source.html">dotproduct.hh</a></li>91 <li><a·class="el"·href="a00128_source.html">dotproduct.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a01500.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>Construct·a·matrix·with·a·dynamic·size.··85 <p>Construct·a·matrix·with·a·dynamic·size.··
86 ·<a·href="a01500.html#details">More...</a></p>86 ·<a·href="a01500.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>
88 <div·class="dynheader">88 <div·class="dynheader">
89 Inheritance·diagram·for·Dune::DynamicMatrix&lt;·K·&gt;:</div>89 Inheritance·diagram·for·Dune::DynamicMatrix&lt;·K·&gt;:</div>
90 <div·class="dyncontent">90 <div·class="dyncontent">
91 <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>91 <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>
92 <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">92 <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">
93 <area·shape="rect"·title="Construct·a·matrix·with·a·dynamic·size."·alt=""·coords="5,197,188,223"/>93 <area·shape="rect"·title="Construct·a·matrix·with·a·dynamic·size."·alt=""·coords="5,197,188,223"/>
94 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="17,108,176,148"/>94 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="17,108,176,148"/>
Offset 2622, 15 lines modifiedOffset 2622, 15 lines modified
2622 </div><div·class="memdoc">2622 </div><div·class="memdoc">
  
2623 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>2623 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
2624 </div>2624 </div>
2625 </div>2625 </div>
2626 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>2626 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
2627 <li><a·class="el"·href="a00188_source.html">dynmatrix.hh</a></li>2627 <li><a·class="el"·href="a00383_source.html">dynmatrix.hh</a></li>
2628 </ul>2628 </ul>
2629 </div><!--·contents·-->2629 </div><!--·contents·-->
2630 <!--·start·footer·part·-->2630 <!--·start·footer·part·-->
2631 <hr·class="footer"/><address·class="footer"><small>2631 <hr·class="footer"/><address·class="footer"><small>
2632 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.82632 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
2633 </small></address>2633 </small></address>
2634 </body>2634 </body>
2.47 KB
./usr/share/doc/libdune-common-doc/doxygen/a01504.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01501.html">List·of·all·members</a>··</div>78 <a·href="a01501.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/dynmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ab086d3113b0356d8541bd1414f194b2f"·id="r_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>86 <tr·class="memitem:ab086d3113b0356d8541bd1414f194b2f"·id="r_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>
87 <tr·class="separator:ab086d3113b0356d8541bd1414f194b2f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ab086d3113b0356d8541bd1414f194b2f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a3b63fa35f7a0ce0a293896a6a894486a"·id="r_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>88 <tr·class="memitem:a3b63fa35f7a0ce0a293896a6a894486a"·id="r_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>
89 <tr·class="separator:a3b63fa35f7a0ce0a293896a6a894486a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a3b63fa35f7a0ce0a293896a6a894486a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
209 ········</tr>209 ········</tr>
210 ······</table>210 ······</table>
211 </div><div·class="memdoc">211 </div><div·class="memdoc">
  
212 </div>212 </div>
213 </div>213 </div>
214 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>214 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
215 <li><a·class="el"·href="a00188_source.html">dynmatrix.hh</a></li>215 <li><a·class="el"·href="a00383_source.html">dynmatrix.hh</a></li>
216 </ul>216 </ul>
217 </div><!--·contents·-->217 </div><!--·contents·-->
218 <!--·start·footer·part·-->218 <!--·start·footer·part·-->
219 <hr·class="footer"/><address·class="footer"><small>219 <hr·class="footer"/><address·class="footer"><small>
220 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8220 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
221 </small></address>221 </small></address>
222 </body>222 </body>
2.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a01508.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01505.html">List·of·all·members</a>··</div>78 <a·href="a01505.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/dynmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a56ba0ff08580dfe31323cb76a7869869"·id="r_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>86 <tr·class="memitem:a56ba0ff08580dfe31323cb76a7869869"·id="r_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>
87 <tr·class="separator:a56ba0ff08580dfe31323cb76a7869869"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a56ba0ff08580dfe31323cb76a7869869"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a145951e3e4ac1843008bd044659498eb"·id="r_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>88 <tr·class="memitem:a145951e3e4ac1843008bd044659498eb"·id="r_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>
89 <tr·class="separator:a145951e3e4ac1843008bd044659498eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a145951e3e4ac1843008bd044659498eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00188_source.html">dynmatrix.hh</a></li>125 <li><a·class="el"·href="a00383_source.html">dynmatrix.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a01512.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>Construct·a·vector·with·a·dynamic·size.··85 <p>Construct·a·vector·with·a·dynamic·size.··
86 ·<a·href="a01512.html#details">More...</a></p>86 ·<a·href="a01512.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/dynvector.hh</a>&gt;</code></p>
88 <div·class="dynheader">88 <div·class="dynheader">
89 Inheritance·diagram·for·Dune::DynamicVector&lt;·K,·Allocator·&gt;:</div>89 Inheritance·diagram·for·Dune::DynamicVector&lt;·K,·Allocator·&gt;:</div>
90 <div·class="dyncontent">90 <div·class="dyncontent">
91 <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>91 <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>
92 <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">92 <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">
93 <area·shape="rect"·title="Construct·a·vector·with·a·dynamic·size."·alt=""·coords="15,79,165,119"/>93 <area·shape="rect"·title="Construct·a·vector·with·a·dynamic·size."·alt=""·coords="15,79,165,119"/>
94 <area·shape="rect"·href="a01424.html"·title="Interface·for·a·class·of·dense·vectors·over·a·given·field."·alt=""·coords="5,5,175,31"/>94 <area·shape="rect"·href="a01424.html"·title="Interface·for·a·class·of·dense·vectors·over·a·given·field."·alt=""·coords="5,5,175,31"/>
Offset 2555, 15 lines modifiedOffset 2555, 15 lines modified
2555 </div><div·class="memdoc">2555 </div><div·class="memdoc">
  
2556 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>2556 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
2557 </div>2557 </div>
2558 </div>2558 </div>
2559 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>2559 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
2560 <li><a·class="el"·href="a00179_source.html">dynvector.hh</a></li>2560 <li><a·class="el"·href="a00011_source.html">dynvector.hh</a></li>
2561 </ul>2561 </ul>
2562 </div><!--·contents·-->2562 </div><!--·contents·-->
2563 <!--·start·footer·part·-->2563 <!--·start·footer·part·-->
2564 <hr·class="footer"/><address·class="footer"><small>2564 <hr·class="footer"/><address·class="footer"><small>
2565 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.82565 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
2566 </small></address>2566 </small></address>
2567 </body>2567 </body>
2.47 KB
./usr/share/doc/libdune-common-doc/doxygen/a01516.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01513.html">List·of·all·members</a>··</div>78 <a·href="a01513.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/dynvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:aaa1148eeccbfc9782c9cb2259d7b7d92"·id="r_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>86 <tr·class="memitem:aaa1148eeccbfc9782c9cb2259d7b7d92"·id="r_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>
87 <tr·class="separator:aaa1148eeccbfc9782c9cb2259d7b7d92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:aaa1148eeccbfc9782c9cb2259d7b7d92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"·id="r_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>88 <tr·class="memitem:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"·id="r_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>
89 <tr·class="separator:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ········</tr>155 ········</tr>
156 ······</table>156 ······</table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00179_source.html">dynvector.hh</a></li>161 <li><a·class="el"·href="a00011_source.html">dynvector.hh</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.8166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
167 </small></address>167 </small></address>
168 </body>168 </body>
2.49 KB
./usr/share/doc/libdune-common-doc/doxygen/a01520.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01517.html">List·of·all·members</a>··</div>78 <a·href="a01517.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/dynvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:abc5a4bc2b8bd878283c3278fe9b3560e"·id="r_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>86 <tr·class="memitem:abc5a4bc2b8bd878283c3278fe9b3560e"·id="r_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>
87 <tr·class="separator:abc5a4bc2b8bd878283c3278fe9b3560e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:abc5a4bc2b8bd878283c3278fe9b3560e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a2f99a07803a3f6151b198b7c02deec83"·id="r_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>88 <tr·class="memitem:a2f99a07803a3f6151b198b7c02deec83"·id="r_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>
89 <tr·class="separator:a2f99a07803a3f6151b198b7c02deec83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a2f99a07803a3f6151b198b7c02deec83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00179_source.html">dynvector.hh</a></li>125 <li><a·class="el"·href="a00011_source.html">dynvector.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01524.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>An·empty·set.··83 <p>An·empty·set.··
84 ·<a·href="a01524.html#details">More...</a></p>84 ·<a·href="a01524.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a97993af013629e59913a6c9cd41f527c"·id="r_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>89 <tr·class="memitem:a97993af013629e59913a6c9cd41f527c"·id="r_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>
90 <tr·class="memdesc:a97993af013629e59913a6c9cd41f527c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<br·/></td></tr>90 <tr·class="memdesc:a97993af013629e59913a6c9cd41f527c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<br·/></td></tr>
91 <tr·class="separator:a97993af013629e59913a6c9cd41f527c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a97993af013629e59913a6c9cd41f527c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 </div><div·class="memdoc">117 </div><div·class="memdoc">
  
118 <p>The·POD·type·the·set·holds.·</p>118 <p>The·POD·type·the·set·holds.·</p>
  
119 </div>119 </div>
120 </div>120 </div>
121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
122 <li><a·class="el"·href="a00167_source.html">enumset.hh</a></li>122 <li><a·class="el"·href="a00122_source.html">enumset.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.8127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
128 </small></address>128 </small></address>
129 </body>129 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a01528.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·set·containing·everything.··83 <p>A·set·containing·everything.··
84 ·<a·href="a01528.html#details">More...</a></p>84 ·<a·href="a01528.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a3c41c31d404b64943a46f88d96b1890d"·id="r_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>89 <tr·class="memitem:a3c41c31d404b64943a46f88d96b1890d"·id="r_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>
90 <tr·class="memdesc:a3c41c31d404b64943a46f88d96b1890d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<br·/></td></tr>90 <tr·class="memdesc:a3c41c31d404b64943a46f88d96b1890d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<br·/></td></tr>
91 <tr·class="separator:a3c41c31d404b64943a46f88d96b1890d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a3c41c31d404b64943a46f88d96b1890d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 </div><div·class="memdoc">117 </div><div·class="memdoc">
  
118 <p>The·POD·type·the·set·holds.·</p>118 <p>The·POD·type·the·set·holds.·</p>
  
119 </div>119 </div>
120 </div>120 </div>
121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
122 <li><a·class="el"·href="a00167_source.html">enumset.hh</a></li>122 <li><a·class="el"·href="a00122_source.html">enumset.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.8127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
128 </small></address>128 </small></address>
129 </body>129 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a01532.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·set·consisting·only·of·one·item.··83 <p>A·set·consisting·only·of·one·item.··
84 ·<a·href="a01532.html#details">More...</a></p>84 ·<a·href="a01532.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a38b6b18d6a44b18e42f42be188baa255"·id="r_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>89 <tr·class="memitem:a38b6b18d6a44b18e42f42be188baa255"·id="r_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>
90 <tr·class="memdesc:a38b6b18d6a44b18e42f42be188baa255"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<br·/></td></tr>90 <tr·class="memdesc:a38b6b18d6a44b18e42f42be188baa255"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<br·/></td></tr>
91 <tr·class="separator:a38b6b18d6a44b18e42f42be188baa255"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a38b6b18d6a44b18e42f42be188baa255"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 </div><div·class="memdoc">117 </div><div·class="memdoc">
  
118 <p>The·type·the·set·holds.·</p>118 <p>The·type·the·set·holds.·</p>
  
119 </div>119 </div>
120 </div>120 </div>
121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>121 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
122 <li><a·class="el"·href="a00167_source.html">enumset.hh</a></li>122 <li><a·class="el"·href="a00122_source.html">enumset.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.8127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
128 </small></address>128 </small></address>
129 </body>129 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a01536.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·set·representing·a·range·including·the·borders.··83 <p>A·set·representing·a·range·including·the·borders.··
84 ·<a·href="a01536.html#details">More...</a></p>84 ·<a·href="a01536.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a66bf0a9ee750c30004df0fcb92605fe2"·id="r_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>89 <tr·class="memitem:a66bf0a9ee750c30004df0fcb92605fe2"·id="r_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>
90 <tr·class="memdesc:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<br·/></td></tr>90 <tr·class="memdesc:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<br·/></td></tr>
91 <tr·class="separator:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 116, 15 lines modifiedOffset 116, 15 lines modified
116 </div><div·class="memdoc">116 </div><div·class="memdoc">
  
117 <p>The·type·the·set·holds.·</p>117 <p>The·type·the·set·holds.·</p>
  
118 </div>118 </div>
119 </div>119 </div>
120 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>120 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
121 <li><a·class="el"·href="a00167_source.html">enumset.hh</a></li>121 <li><a·class="el"·href="a00122_source.html">enumset.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.8126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
127 </small></address>127 </small></address>
128 </body>128 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a01540.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <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.··83 <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.··
84 ·<a·href="a01540.html#details">More...</a></p>84 ·<a·href="a01540.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a627e2719804a05a0169b0ccb94369eb5"·id="r_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>89 <tr·class="memitem:a627e2719804a05a0169b0ccb94369eb5"·id="r_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>
90 <tr·class="separator:a627e2719804a05a0169b0ccb94369eb5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a627e2719804a05a0169b0ccb94369eb5"><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="pub-static-methods"·name="pub-static-methods"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 142, 15 lines modifiedOffset 142, 15 lines modified
142 ··</tr>142 ··</tr>
143 </table>143 </table>
144 </div><div·class="memdoc">144 </div><div·class="memdoc">
  
145 </div>145 </div>
146 </div>146 </div>
147 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>147 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
148 <li><a·class="el"·href="a00167_source.html">enumset.hh</a></li>148 <li><a·class="el"·href="a00122_source.html">enumset.hh</a></li>
149 </ul>149 </ul>
150 </div><!--·contents·-->150 </div><!--·contents·-->
151 <!--·start·footer·part·-->151 <!--·start·footer·part·-->
152 <hr·class="footer"/><address·class="footer"><small>152 <hr·class="footer"/><address·class="footer"><small>
153 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8153 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
154 </small></address>154 </small></address>
155 </body>155 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01544.html
    
Offset 79, 26 lines modifiedOffset 79, 26 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·set·combining·two·other·sets.··82 <p>A·set·combining·two·other·sets.··
83 ·<a·href="a01544.html#details">More...</a></p>83 ·<a·href="a01544.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
87 Static·Public·Member·Functions</h2></td></tr>87 Static·Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ga9d4f7c53b0cf0f05e7535a1585e9dda7"·id="r_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>88 <tr·class="memitem:ga9d4f7c53b0cf0f05e7535a1585e9dda7"·id="r_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>
89 <tr·class="separator:ga9d4f7c53b0cf0f05e7535a1585e9dda7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga9d4f7c53b0cf0f05e7535a1585e9dda7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
92 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TI1,·class·TI2,·typename·TA·=·typename·TI1::Type&gt;<br·/>92 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TI1,·class·TI2,·typename·TA·=·typename·TI1::Type&gt;<br·/>
93 class·Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</div><p>A·set·combining·two·other·sets.·</p>93 class·Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</div><p>A·set·combining·two·other·sets.·</p>
94 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>94 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
95 <li><a·class="el"·href="a00167_source.html">enumset.hh</a></li>95 <li><a·class="el"·href="a00122_source.html">enumset.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.8100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
101 </small></address>101 </small></address>
102 </body>102 </body>
3.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a01548.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Base·class·for·Dune-Exceptions.··83 <p>Base·class·for·Dune-Exceptions.··
84 ·<a·href="a01548.html#details">More...</a></p>84 ·<a·href="a01548.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::Exception:</div>87 Inheritance·diagram·for·Dune::Exception:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01547.png"·border="0"·usemap="#a_dune_1_1_exception_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01547.png"·border="0"·usemap="#a_dune_1_1_exception_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_exception_inherit__map"·id="a_dune_1_1_exception_inherit__map">90 <map·name="a_dune_1_1_exception_inherit__map"·id="a_dune_1_1_exception_inherit__map">
91 <area·shape="rect"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="156,259,275,285"/>91 <area·shape="rect"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="156,259,275,285"/>
92 <area·shape="rect"·href="a02384.html"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="348,54,484,79"/>92 <area·shape="rect"·href="a02384.html"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="348,54,484,79"/>
Offset 156, 16 lines modifiedOffset 156, 16 lines modified
156 <div·class="textblock"><p>Base·class·for·Dune-Exceptions.·</p>156 <div·class="textblock"><p>Base·class·for·Dune-Exceptions.·</p>
157 <p>all·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·exceptions·are·derived·from·this·class·via·trivial·subclassing:</p>157 <p>all·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·exceptions·are·derived·from·this·class·via·trivial·subclassing:</p>
158 <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>158 <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>
159 <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>159 <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>
160 </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>160 </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>
161 <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>161 <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>
162 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>162 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
163 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>163 <li><a·class="el"·href="a00110_source.html">exceptions.hh</a></li>
164 <li><a·class="el"·href="a00266.html">exceptions.cc</a></li>164 <li><a·class="el"·href="a00044.html">exceptions.cc</a></li>
165 </ul>165 </ul>
166 </div><!--·contents·-->166 </div><!--·contents·-->
167 <!--·start·footer·part·-->167 <!--·start·footer·part·-->
168 <hr·class="footer"/><address·class="footer"><small>168 <hr·class="footer"/><address·class="footer"><small>
169 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8169 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
170 </small></address>170 </small></address>
171 </body>171 </body>
4.25 KB
./usr/share/doc/libdune-common-doc/doxygen/a01552.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Base·class·to·add·a·hook·to·the·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>.··82 <p>Base·class·to·add·a·hook·to·the·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>.··
83 ·<a·href="a01552.html#details">More...</a></p>83 ·<a·href="a01552.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:gac5b2708f8a37c9a4ebb890e4a1545c1c"·id="r_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>88 <tr·class="memitem:gac5b2708f8a37c9a4ebb890e4a1545c1c"·id="r_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>
89 <tr·class="separator:gac5b2708f8a37c9a4ebb890e4a1545c1c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:gac5b2708f8a37c9a4ebb890e4a1545c1c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:gab7d05055167bdb067cce622f051cb551"·id="r_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>90 <tr·class="memitem:gab7d05055167bdb067cce622f051cb551"·id="r_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>
91 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 151, 15 lines modifiedOffset 151, 15 lines modified
151 <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>151 <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>
152 <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>152 <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>
153 <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>153 <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>
154 <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>154 <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>
155 <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>155 <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>
156 <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>156 <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>
157 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>157 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
158 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>158 <li><a·class="el"·href="a00110_source.html">exceptions.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.8163 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
164 </small></address>164 </small></address>
165 </body>165 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01556.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·class·for·I/O·errors.··83 <p>Default·exception·class·for·I/O·errors.··
84 ·<a·href="a01556.html#details">More...</a></p>84 ·<a·href="a01556.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::IOError:</div>87 Inheritance·diagram·for·Dune::IOError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01555.png"·border="0"·usemap="#a_dune_1_1_i_o_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01555.png"·border="0"·usemap="#a_dune_1_1_i_o_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_i_o_error_inherit__map"·id="a_dune_1_1_i_o_error_inherit__map">90 <map·name="a_dune_1_1_i_o_error_inherit__map"·id="a_dune_1_1_i_o_error_inherit__map">
91 <area·shape="rect"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="129,152,232,177"/>91 <area·shape="rect"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="129,152,232,177"/>
92 <area·shape="rect"·href="a02016.html"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,225,167,265"/>92 <area·shape="rect"·href="a02016.html"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,225,167,265"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 <p>This·is·a·superclass·for·any·errors·dealing·with·file/socket·I/O·problems·like</p>125 <p>This·is·a·superclass·for·any·errors·dealing·with·file/socket·I/O·problems·like</p>
126 <ul>126 <ul>
127 <li>file·not·found</li>127 <li>file·not·found</li>
128 <li>could·not·write·file</li>128 <li>could·not·write·file</li>
129 <li>could·not·connect·to·remote·socket·</li>129 <li>could·not·connect·to·remote·socket·</li>
130 </ul>130 </ul>
131 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>131 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
132 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>132 <li><a·class="el"·href="a00110_source.html">exceptions.hh</a></li>
133 </ul>133 </ul>
134 </div><!--·contents·-->134 </div><!--·contents·-->
135 <!--·start·footer·part·-->135 <!--·start·footer·part·-->
136 <hr·class="footer"/><address·class="footer"><small>136 <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.8137 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
138 </small></address>138 </small></address>
139 </body>139 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a01560.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·class·for·mathematical·errors.··83 <p>Default·exception·class·for·mathematical·errors.··
84 ·<a·href="a01560.html#details">More...</a></p>84 ·<a·href="a01560.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::MathError:</div>87 Inheritance·diagram·for·Dune::MathError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01559.png"·border="0"·usemap="#a_dune_1_1_math_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01559.png"·border="0"·usemap="#a_dune_1_1_math_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_math_error_inherit__map"·id="a_dune_1_1_math_error_inherit__map">90 <map·name="a_dune_1_1_math_error_inherit__map"·id="a_dune_1_1_math_error_inherit__map">
91 <area·shape="rect"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,152,131,177"/>91 <area·shape="rect"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,152,131,177"/>
92 <area·shape="rect"·href="a01420.html"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,225,139,251"/>92 <area·shape="rect"·href="a01420.html"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,225,139,251"/>
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
122 <div·class="textblock"><p>Default·exception·class·for·mathematical·errors.·</p>122 <div·class="textblock"><p>Default·exception·class·for·mathematical·errors.·</p>
123 <p>This·is·the·superclass·for·all·errors·which·are·caused·by·mathematical·problems·like</p>123 <p>This·is·the·superclass·for·all·errors·which·are·caused·by·mathematical·problems·like</p>
124 <ul>124 <ul>
125 <li>matrix·not·invertible</li>125 <li>matrix·not·invertible</li>
126 <li>not·convergent·</li>126 <li>not·convergent·</li>
127 </ul>127 </ul>
128 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>128 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
129 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>129 <li><a·class="el"·href="a00110_source.html">exceptions.hh</a></li>
130 </ul>130 </ul>
131 </div><!--·contents·-->131 </div><!--·contents·-->
132 <!--·start·footer·part·-->132 <!--·start·footer·part·-->
133 <hr·class="footer"/><address·class="footer"><small>133 <hr·class="footer"/><address·class="footer"><small>
134 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8134 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
135 </small></address>135 </small></address>
136 </body>136 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a01564.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·class·for·range·errors.··83 <p>Default·exception·class·for·range·errors.··
84 ·<a·href="a01564.html#details">More...</a></p>84 ·<a·href="a01564.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::RangeError:</div>87 Inheritance·diagram·for·Dune::RangeError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01563.png"·border="0"·usemap="#a_dune_1_1_range_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01563.png"·border="0"·usemap="#a_dune_1_1_range_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_range_error_inherit__map"·id="a_dune_1_1_range_error_inherit__map">90 <map·name="a_dune_1_1_range_error_inherit__map"·id="a_dune_1_1_range_error_inherit__map">
91 <area·shape="rect"·title="Default·exception·class·for·range·errors."·alt=""·coords="323,45,449,70"/>91 <area·shape="rect"·title="Default·exception·class·for·range·errors."·alt=""·coords="323,45,449,70"/>
92 <area·shape="rect"·href="a02380.html"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="507,5,693,45"/>92 <area·shape="rect"·href="a02380.html"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="507,5,693,45"/>
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 <div·class="textblock"><p>Default·exception·class·for·range·errors.·</p>124 <div·class="textblock"><p>Default·exception·class·for·range·errors.·</p>
125 <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>125 <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>
126 <ul>126 <ul>
127 <li>accessing·array·entries·behind·the·last·entry</li>127 <li>accessing·array·entries·behind·the·last·entry</li>
128 <li>adding·the·fourth·non·zero·entry·in·a·sparse·matrix·with·only·three·non·zero·entries·per·row·</li>128 <li>adding·the·fourth·non·zero·entry·in·a·sparse·matrix·with·only·three·non·zero·entries·per·row·</li>
129 </ul>129 </ul>
130 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>130 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
131 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>131 <li><a·class="el"·href="a00110_source.html">exceptions.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a01568.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·for·dummy·implementations.··83 <p>Default·exception·for·dummy·implementations.··
84 ·<a·href="a01568.html#details">More...</a></p>84 ·<a·href="a01568.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::NotImplemented:</div>87 Inheritance·diagram·for·Dune::NotImplemented:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01567.png"·border="0"·usemap="#a_dune_1_1_not_implemented_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01567.png"·border="0"·usemap="#a_dune_1_1_not_implemented_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_not_implemented_inherit__map"·id="a_dune_1_1_not_implemented_inherit__map">90 <map·name="a_dune_1_1_not_implemented_inherit__map"·id="a_dune_1_1_not_implemented_inherit__map">
91 <area·shape="rect"·title="Default·exception·for·dummy·implementations."·alt=""·coords="5,152,163,177"/>91 <area·shape="rect"·title="Default·exception·for·dummy·implementations."·alt=""·coords="5,152,163,177"/>
92 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="25,79,143,104"/>92 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="25,79,143,104"/>
Offset 120, 15 lines modifiedOffset 120, 15 lines modified
120 <div·class="textblock"><p>Default·exception·for·dummy·implementations.·</p>120 <div·class="textblock"><p>Default·exception·for·dummy·implementations.·</p>
121 <p>This·exception·can·be·used·for·functions/methods</p>121 <p>This·exception·can·be·used·for·functions/methods</p>
122 <ul>122 <ul>
123 <li>that·have·to·be·implemented·but·should·never·be·called</li>123 <li>that·have·to·be·implemented·but·should·never·be·called</li>
124 <li>that·are·missing·</li>124 <li>that·are·missing·</li>
125 </ul>125 </ul>
126 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>126 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
127 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>127 <li><a·class="el"·href="a00110_source.html">exceptions.hh</a></li>
128 </ul>128 </ul>
129 </div><!--·contents·-->129 </div><!--·contents·-->
130 <!--·start·footer·part·-->130 <!--·start·footer·part·-->
131 <hr·class="footer"/><address·class="footer"><small>131 <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.8132 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
133 </small></address>133 </small></address>
134 </body>134 </body>
2.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a01572.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·class·for·OS·errors.··83 <p>Default·exception·class·for·OS·errors.··
84 ·<a·href="a01572.html#details">More...</a></p>84 ·<a·href="a01572.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::SystemError:</div>87 Inheritance·diagram·for·Dune::SystemError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01571.png"·border="0"·usemap="#a_dune_1_1_system_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01571.png"·border="0"·usemap="#a_dune_1_1_system_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_system_error_inherit__map"·id="a_dune_1_1_system_error_inherit__map">90 <map·name="a_dune_1_1_system_error_inherit__map"·id="a_dune_1_1_system_error_inherit__map">
91 <area·shape="rect"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,152,158,177"/>91 <area·shape="rect"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,152,158,177"/>
92 <area·shape="rect"·href="a01576.html"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,225,177,251"/>92 <area·shape="rect"·href="a01576.html"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,225,177,251"/>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><p>Default·exception·class·for·OS·errors.·</p>122 <div·class="textblock"><p>Default·exception·class·for·OS·errors.·</p>
123 <p>This·class·is·thrown·when·a·system-call·is·used·and·returns·an·error.·</p>123 <p>This·class·is·thrown·when·a·system-call·is·used·and·returns·an·error.·</p>
124 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>124 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>125 <li><a·class="el"·href="a00110_source.html">exceptions.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.52 KB
./usr/share/doc/libdune-common-doc/doxygen/a01576.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·if·memory·allocation·fails.··83 <p>Default·exception·if·memory·allocation·fails.··
84 ·<a·href="a01576.html#details">More...</a></p>84 ·<a·href="a01576.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::OutOfMemoryError:</div>87 Inheritance·diagram·for·Dune::OutOfMemoryError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01575.png"·border="0"·usemap="#a_dune_1_1_out_of_memory_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01575.png"·border="0"·usemap="#a_dune_1_1_out_of_memory_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_out_of_memory_error_inherit__map"·id="a_dune_1_1_out_of_memory_error_inherit__map">90 <map·name="a_dune_1_1_out_of_memory_error_inherit__map"·id="a_dune_1_1_out_of_memory_error_inherit__map">
91 <area·shape="rect"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,225,177,251"/>91 <area·shape="rect"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,225,177,251"/>
92 <area·shape="rect"·href="a01572.html"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,152,158,177"/>92 <area·shape="rect"·href="a01572.html"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,152,158,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><p>Default·exception·if·memory·allocation·fails.·</p>122 <div·class="textblock"><p>Default·exception·if·memory·allocation·fails.·</p>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>124 <li><a·class="el"·href="a00110_source.html">exceptions.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.68 KB
./usr/share/doc/libdune-common-doc/doxygen/a01580.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.··83 <p>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.··
84 ·<a·href="a01580.html#details">More...</a></p>84 ·<a·href="a01580.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::InvalidStateException:</div>87 Inheritance·diagram·for·Dune::InvalidStateException:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01579.png"·border="0"·usemap="#a_dune_1_1_invalid_state_exception_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01579.png"·border="0"·usemap="#a_dune_1_1_invalid_state_exception_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_invalid_state_exception_inherit__map"·id="a_dune_1_1_invalid_state_exception_inherit__map">90 <map·name="a_dune_1_1_invalid_state_exception_inherit__map"·id="a_dune_1_1_invalid_state_exception_inherit__map">
91 <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,70,509,95"/>91 <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,70,509,95"/>
92 <area·shape="rect"·href="a02140.html"·title="·"·alt=""·coords="565,5,741,45"/>92 <area·shape="rect"·href="a02140.html"·title="·"·alt=""·coords="565,5,741,45"/>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>121 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
122 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>122 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
123 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 </table>124 </table>
125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
126 <div·class="textblock"><p>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.·</p>126 <div·class="textblock"><p>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.·</p>
127 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>127 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
128 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>128 <li><a·class="el"·href="a00110_source.html">exceptions.hh</a></li>
129 </ul>129 </ul>
130 </div><!--·contents·-->130 </div><!--·contents·-->
131 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
132 <hr·class="footer"/><address·class="footer"><small>132 <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.8133 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
134 </small></address>134 </small></address>
135 </body>135 </body>
2.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a01584.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.··83 <p>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.··
84 ·<a·href="a01584.html#details">More...</a></p>84 ·<a·href="a01584.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/exceptions.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::ParallelError:</div>87 Inheritance·diagram·for·Dune::ParallelError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a01583.png"·border="0"·usemap="#a_dune_1_1_parallel_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a01583.png"·border="0"·usemap="#a_dune_1_1_parallel_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_parallel_error_inherit__map"·id="a_dune_1_1_parallel_error_inherit__map">90 <map·name="a_dune_1_1_parallel_error_inherit__map"·id="a_dune_1_1_parallel_error_inherit__map">
91 <area·shape="rect"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,152,145,177"/>91 <area·shape="rect"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,152,145,177"/>
92 <area·shape="rect"·href="a02196.html"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,225,152,251"/>92 <area·shape="rect"·href="a02196.html"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,225,152,251"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><p>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.·</p>122 <div·class="textblock"><p>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.·</p>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00221_source.html">exceptions.hh</a></li>124 <li><a·class="el"·href="a00110_source.html">exceptions.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
746 B
./usr/share/doc/libdune-common-doc/doxygen/a01588.html
    
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 <p>The·epsilon·type·corresponding·to·value·type·T.·</p>115 <p>The·epsilon·type·corresponding·to·value·type·T.·</p>
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00308_source.html">float_cmp.cc</a></li>119 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
767 B
./usr/share/doc/libdune-common-doc/doxygen/a01592.html
    
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 <p>The·epsilon·type·corresponding·to·value·type·std::vector&lt;T,·A&gt;·</p>116 <p>The·epsilon·type·corresponding·to·value·type·std::vector&lt;T,·A&gt;·</p>
  
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="a00308_source.html">float_cmp.cc</a></li>120 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</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.8125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>126 </small></address>
127 </body>127 </body>
773 B
./usr/share/doc/libdune-common-doc/doxygen/a01596.html
    
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 <p>The·epsilon·type·corresponding·to·value·type·Dune::FieldVector&lt;T,·n&gt;·</p>116 <p>The·epsilon·type·corresponding·to·value·type·Dune::FieldVector&lt;T,·n&gt;·</p>
  
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="a00308_source.html">float_cmp.cc</a></li>120 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</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.8125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>126 </small></address>
127 </body>127 </body>
706 B
./usr/share/doc/libdune-common-doc/doxygen/a01600.html
    
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">float_cmp.cc</a></li>116 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
706 B
./usr/share/doc/libdune-common-doc/doxygen/a01604.html
    
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">float_cmp.cc</a></li>116 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
706 B
./usr/share/doc/libdune-common-doc/doxygen/a01608.html
    
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">float_cmp.cc</a></li>116 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
2.31 KB
./usr/share/doc/libdune-common-doc/doxygen/a01716.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon··82 <p>mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon··
83 ·<a·href="a01716.html#details">More...</a></p>83 ·<a·href="a01716.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
87 Static·Public·Member·Functions</h2></td></tr>87 Static·Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a8c1b66b1b6246c26c1052a286a1a71af"·id="r_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>88 <tr·class="memitem:a8c1b66b1b6246c26c1052a286a1a71af"·id="r_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>
89 <tr·class="memdesc:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.··<br·/></td></tr>89 <tr·class="memdesc:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.··<br·/></td></tr>
90 <tr·class="separator:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 128, 15 lines modifiedOffset 128, 15 lines modified
128 </div><div·class="memdoc">128 </div><div·class="memdoc">
  
129 <p>Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.·</p>129 <p>Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.·</p>
  
130 </div>130 </div>
131 </div>131 </div>
132 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>132 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
133 <li><a·class="el"·href="a00104_source.html">float_cmp.hh</a></li>133 <li><a·class="el"·href="a00026_source.html">float_cmp.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.8138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
139 </small></address>139 </small></address>
140 </body>140 </body>
2.58 KB
./usr/share/doc/libdune-common-doc/doxygen/a01720.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Class·encapsulating·a·default·epsilon.··84 <p>Class·encapsulating·a·default·epsilon.··
85 ·<a·href="a01720.html#details">More...</a></p>85 ·<a·href="a01720.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
89 Public·Types</h2></td></tr>89 Public·Types</h2></td></tr>
90 <tr·class="memitem:ad2305e7e05141f16470ad1c4178834c2"·id="r_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>90 <tr·class="memitem:ad2305e7e05141f16470ad1c4178834c2"·id="r_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>
91 <tr·class="memdesc:ad2305e7e05141f16470ad1c4178834c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·values·to·compare.··<br·/></td></tr>91 <tr·class="memdesc:ad2305e7e05141f16470ad1c4178834c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·values·to·compare.··<br·/></td></tr>
92 <tr·class="separator:ad2305e7e05141f16470ad1c4178834c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:ad2305e7e05141f16470ad1c4178834c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:aa865bb7b8fda1c3460ea956c00c48205"·id="r_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>93 <tr·class="memitem:aa865bb7b8fda1c3460ea956c00c48205"·id="r_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 586, 16 lines modifiedOffset 586, 16 lines modified
586 </div><div·class="memdoc">586 </div><div·class="memdoc">
  
587 <p>How·rounding·is·done.·</p>587 <p>How·rounding·is·done.·</p>
  
588 </div>588 </div>
589 </div>589 </div>
590 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>590 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
591 <li><a·class="el"·href="a00104_source.html">float_cmp.hh</a></li>591 <li><a·class="el"·href="a00026_source.html">float_cmp.hh</a></li>
592 <li><a·class="el"·href="a00308_source.html">float_cmp.cc</a></li>592 <li><a·class="el"·href="a00278_source.html">float_cmp.cc</a></li>
593 </ul>593 </ul>
594 </div><!--·contents·-->594 </div><!--·contents·-->
595 <!--·start·footer·part·-->595 <!--·start·footer·part·-->
596 <hr·class="footer"/><address·class="footer"><small>596 <hr·class="footer"/><address·class="footer"><small>
597 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8597 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
598 </small></address>598 </small></address>
599 </body>599 </body>
2.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a01732.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01729.html">List·of·all·members</a>··</div>78 <a·href="a01729.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a343345362ef65a205b8ca4e46a7076a4"·id="r_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>86 <tr·class="memitem:a343345362ef65a205b8ca4e46a7076a4"·id="r_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>
87 <tr·class="separator:a343345362ef65a205b8ca4e46a7076a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a343345362ef65a205b8ca4e46a7076a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a9870ce2e1a490f38aeb9dc02edbe4005"·id="r_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>88 <tr·class="memitem:a9870ce2e1a490f38aeb9dc02edbe4005"·id="r_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>
89 <tr·class="separator:a9870ce2e1a490f38aeb9dc02edbe4005"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a9870ce2e1a490f38aeb9dc02edbe4005"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
209 ········</tr>209 ········</tr>
210 ······</table>210 ······</table>
211 </div><div·class="memdoc">211 </div><div·class="memdoc">
  
212 </div>212 </div>
213 </div>213 </div>
214 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>214 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
215 <li><a·class="el"·href="a00224_source.html">fmatrix.hh</a></li>215 <li><a·class="el"·href="a00170_source.html">fmatrix.hh</a></li>
216 </ul>216 </ul>
217 </div><!--·contents·-->217 </div><!--·contents·-->
218 <!--·start·footer·part·-->218 <!--·start·footer·part·-->
219 <hr·class="footer"/><address·class="footer"><small>219 <hr·class="footer"/><address·class="footer"><small>
220 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8220 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
221 </small></address>221 </small></address>
222 </body>222 </body>
2.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a01736.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01733.html">List·of·all·members</a>··</div>78 <a·href="a01733.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/fmatrix.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a71956c856d1bed6341ba509a9954276b"·id="r_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>86 <tr·class="memitem:a71956c856d1bed6341ba509a9954276b"·id="r_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>
87 <tr·class="separator:a71956c856d1bed6341ba509a9954276b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a71956c856d1bed6341ba509a9954276b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:abf2504393ce409e20a4d2567e8a65a5e"·id="r_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>88 <tr·class="memitem:abf2504393ce409e20a4d2567e8a65a5e"·id="r_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>
89 <tr·class="separator:abf2504393ce409e20a4d2567e8a65a5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:abf2504393ce409e20a4d2567e8a65a5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00224_source.html">fmatrix.hh</a></li>125 <li><a·class="el"·href="a00170_source.html">fmatrix.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
1.74 KB
./usr/share/doc/libdune-common-doc/doxygen/a01740.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01737.html">List·of·all·members</a>··</div>78 <a·href="a01737.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/ftraits.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/ftraits.hh</a>&gt;</code></p>
83 <div·class="dynheader">83 <div·class="dynheader">
84 Inheritance·diagram·for·Dune::FieldTraits&lt;·T·&gt;:</div>84 Inheritance·diagram·for·Dune::FieldTraits&lt;·T·&gt;:</div>
85 <div·class="dyncontent">85 <div·class="dyncontent">
86 <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>86 <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>
87 <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">87 <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">
88 <area·shape="rect"·title="·"·alt=""·coords="5,60,159,85"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,60,159,85"/>
89 <area·shape="rect"·href="a01740.html"·title="·"·alt=""·coords="331,45,475,100"/>89 <area·shape="rect"·href="a01740.html"·title="·"·alt=""·coords="331,45,475,100"/>
Offset 139, 15 lines modifiedOffset 139, 15 lines modified
139 </div><div·class="memdoc">139 </div><div·class="memdoc">
  
140 <p>export·the·type·representing·the·real·type·of·the·field·</p>140 <p>export·the·type·representing·the·real·type·of·the·field·</p>
  
141 </div>141 </div>
142 </div>142 </div>
143 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>143 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
144 <li><a·class="el"·href="a00383_source.html">ftraits.hh</a></li>144 <li><a·class="el"·href="a00179_source.html">ftraits.hh</a></li>
145 </ul>145 </ul>
146 </div><!--·contents·-->146 </div><!--·contents·-->
147 <!--·start·footer·part·-->147 <!--·start·footer·part·-->
148 <hr·class="footer"/><address·class="footer"><small>148 <hr·class="footer"/><address·class="footer"><small>
149 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8149 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
150 </small></address>150 </small></address>
151 </body>151 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a01744.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01741.html">List·of·all·members</a>··</div>78 <a·href="a01741.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·const·T·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·const·T·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/ftraits.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/ftraits.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:aa27c02e1da0f2f0c2df4d004d16dc6c4"·id="r_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>86 <tr·class="memitem:aa27c02e1da0f2f0c2df4d004d16dc6c4"·id="r_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>
87 <tr·class="separator:aa27c02e1da0f2f0c2df4d004d16dc6c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:aa27c02e1da0f2f0c2df4d004d16dc6c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:aa363d2f65a2c96d056733f6cd8cc7f15"·id="r_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>88 <tr·class="memitem:aa363d2f65a2c96d056733f6cd8cc7f15"·id="r_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>
89 <tr·class="separator:aa363d2f65a2c96d056733f6cd8cc7f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:aa363d2f65a2c96d056733f6cd8cc7f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00383_source.html">ftraits.hh</a></li>125 <li><a·class="el"·href="a00179_source.html">ftraits.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a01748.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01745.html">List·of·all·members</a>··</div>78 <a·href="a01745.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/ftraits.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/ftraits.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ac76b233134c70cfa5427c3565a4e37e7"·id="r_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>86 <tr·class="memitem:ac76b233134c70cfa5427c3565a4e37e7"·id="r_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>
87 <tr·class="separator:ac76b233134c70cfa5427c3565a4e37e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ac76b233134c70cfa5427c3565a4e37e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a76567b85e3ecbb6218b1791983b71b38"·id="r_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>88 <tr·class="memitem:a76567b85e3ecbb6218b1791983b71b38"·id="r_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>
89 <tr·class="separator:a76567b85e3ecbb6218b1791983b71b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a76567b85e3ecbb6218b1791983b71b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00383_source.html">ftraits.hh</a></li>125 <li><a·class="el"·href="a00179_source.html">ftraits.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a01752.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01749.html">List·of·all·members</a>··</div>78 <a·href="a01749.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T[N]·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T[N]·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/ftraits.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/ftraits.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ac0f6d61f79c34c7e88138ff0814603da"·id="r_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>86 <tr·class="memitem:ac0f6d61f79c34c7e88138ff0814603da"·id="r_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>
87 <tr·class="separator:ac0f6d61f79c34c7e88138ff0814603da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ac0f6d61f79c34c7e88138ff0814603da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ac42cd4f57abdbe6f4dc2e79848e016f1"·id="r_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>88 <tr·class="memitem:ac42cd4f57abdbe6f4dc2e79848e016f1"·id="r_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>
89 <tr·class="separator:ac42cd4f57abdbe6f4dc2e79848e016f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ac42cd4f57abdbe6f4dc2e79848e016f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00383_source.html">ftraits.hh</a></li>125 <li><a·class="el"·href="a00179_source.html">ftraits.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a01756.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01753.html">List·of·all·members</a>··</div>78 <a·href="a01753.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/ftraits.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/ftraits.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a24c2784cd0a4098bcbf1ec9460974e7c"·id="r_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>86 <tr·class="memitem:a24c2784cd0a4098bcbf1ec9460974e7c"·id="r_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>
87 <tr·class="separator:a24c2784cd0a4098bcbf1ec9460974e7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a24c2784cd0a4098bcbf1ec9460974e7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a149ab84bd8a57ccfabdbf483abefc214"·id="r_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>88 <tr·class="memitem:a149ab84bd8a57ccfabdbf483abefc214"·id="r_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>
89 <tr·class="separator:a149ab84bd8a57ccfabdbf483abefc214"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a149ab84bd8a57ccfabdbf483abefc214"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00383_source.html">ftraits.hh</a></li>125 <li><a·class="el"·href="a00179_source.html">ftraits.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
1.81 KB
./usr/share/doc/libdune-common-doc/doxygen/a01760.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Base·class·template·for·function·classes.··84 <p>Base·class·template·for·function·classes.··
85 ·<a·href="a01760.html#details">More...</a></p>85 ·<a·href="a01760.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/function.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/function.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::Function&lt;·Domain,·Range·&gt;:</div>88 Inheritance·diagram·for·Dune::Function&lt;·Domain,·Range·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="Base·class·template·for·function·classes."·alt=""·coords="5,35,177,75"/>92 <area·shape="rect"·title="Base·class·template·for·function·classes."·alt=""·coords="5,35,177,75"/>
93 <area·shape="rect"·href="a01768.html"·title="·"·alt=""·coords="1023,5,1172,45"/>93 <area·shape="rect"·href="a01768.html"·title="·"·alt=""·coords="1023,5,1172,45"/>
Offset 211, 15 lines modifiedOffset 211, 15 lines modified
211 ··</table>211 ··</table>
212 ··</dd>212 ··</dd>
213 </dl>213 </dl>
  
214 </div>214 </div>
215 </div>215 </div>
216 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>216 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
217 <li><a·class="el"·href="a00245_source.html">function.hh</a></li>217 <li><a·class="el"·href="a00053_source.html">function.hh</a></li>
218 </ul>218 </ul>
219 </div><!--·contents·-->219 </div><!--·contents·-->
220 <!--·start·footer·part·-->220 <!--·start·footer·part·-->
221 <hr·class="footer"/><address·class="footer"><small>221 <hr·class="footer"/><address·class="footer"><small>
222 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8222 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
223 </small></address>223 </small></address>
224 </body>224 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a01764.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::Function&lt;·Domain,·Range·&gt;::Traits·Struct·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Function&lt;·Domain,·Range·&gt;::Traits·Struct·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><a·class="el"·href="a01764.html"·title="Traits·class·containing·raw·types.">Traits</a>·class·containing·raw·types.··82 <p><a·class="el"·href="a01764.html"·title="Traits·class·containing·raw·types.">Traits</a>·class·containing·raw·types.··
83 ·<a·href="a01764.html#details">More...</a></p>83 ·<a·href="a01764.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/function.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/function.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a66c4ebef1a18a71c2c642f40cea94b98"·id="r_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>88 <tr·class="memitem:a66c4ebef1a18a71c2c642f40cea94b98"·id="r_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>
89 <tr·class="separator:a66c4ebef1a18a71c2c642f40cea94b98"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a66c4ebef1a18a71c2c642f40cea94b98"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:aaea602c51557193beda54005f318361e"·id="r_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>90 <tr·class="memitem:aaea602c51557193beda54005f318361e"·id="r_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>
91 <tr·class="separator:aaea602c51557193beda54005f318361e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:aaea602c51557193beda54005f318361e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ········</tr>125 ········</tr>
126 ······</table>126 ······</table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00245_source.html">function.hh</a></li>131 <li><a·class="el"·href="a00053_source.html">function.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a01768.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Virtual·base·class·template·for·function·classes.··83 <p>Virtual·base·class·template·for·function·classes.··
84 ·<a·href="a01768.html#details">More...</a></p>84 ·<a·href="a01768.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/function.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/function.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;:</div>87 Inheritance·diagram·for·Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Virtual·base·class·template·for·function·classes."·alt=""·coords="15,212,205,252"/>91 <area·shape="rect"·title="Virtual·base·class·template·for·function·classes."·alt=""·coords="15,212,205,252"/>
92 <area·shape="rect"·href="a01768.html"·title="·"·alt=""·coords="35,315,185,355"/>92 <area·shape="rect"·href="a01768.html"·title="·"·alt=""·coords="35,315,185,355"/>
Offset 270, 15 lines modifiedOffset 270, 15 lines modified
270 ··</table>270 ··</table>
271 ··</dd>271 ··</dd>
272 </dl>272 </dl>
  
273 </div>273 </div>
274 </div>274 </div>
275 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>275 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
276 <li><a·class="el"·href="a00245_source.html">function.hh</a></li>276 <li><a·class="el"·href="a00053_source.html">function.hh</a></li>
277 </ul>277 </ul>
278 </div><!--·contents·-->278 </div><!--·contents·-->
279 <!--·start·footer·part·-->279 <!--·start·footer·part·-->
280 <hr·class="footer"/><address·class="footer"><small>280 <hr·class="footer"/><address·class="footer"><small>
281 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8281 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
282 </small></address>282 </small></address>
283 </body>283 </body>
2.44 KB
./usr/share/doc/libdune-common-doc/doxygen/a01776.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01773.html">List·of·all·members</a>··</div>78 <a·href="a01773.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:aed7a78fa3310284a3b6b4a581d871648"·id="r_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>86 <tr·class="memitem:aed7a78fa3310284a3b6b4a581d871648"·id="r_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>
87 <tr·class="separator:aed7a78fa3310284a3b6b4a581d871648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:aed7a78fa3310284a3b6b4a581d871648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:aabd9770f9fa1881a7f26c4d38ca3f1a9"·id="r_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>88 <tr·class="memitem:aabd9770f9fa1881a7f26c4d38ca3f1a9"·id="r_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>
89 <tr·class="separator:aabd9770f9fa1881a7f26c4d38ca3f1a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:aabd9770f9fa1881a7f26c4d38ca3f1a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ········</tr>155 ········</tr>
156 ······</table>156 ······</table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00293_source.html">fvector.hh</a></li>161 <li><a·class="el"·href="a00098_source.html">fvector.hh</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.8166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
167 </small></address>167 </small></address>
168 </body>168 </body>
2.47 KB
./usr/share/doc/libdune-common-doc/doxygen/a01780.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01777.html">List·of·all·members</a>··</div>78 <a·href="a01777.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ade3402a89a4d8cdd598ca0a5131d7a83"·id="r_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>86 <tr·class="memitem:ade3402a89a4d8cdd598ca0a5131d7a83"·id="r_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>
87 <tr·class="separator:ade3402a89a4d8cdd598ca0a5131d7a83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ade3402a89a4d8cdd598ca0a5131d7a83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a45febe4d04b7969068ab107fee6fb667"·id="r_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>88 <tr·class="memitem:a45febe4d04b7969068ab107fee6fb667"·id="r_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>
89 <tr·class="separator:a45febe4d04b7969068ab107fee6fb667"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a45febe4d04b7969068ab107fee6fb667"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 ········</tr>119 ········</tr>
120 ······</table>120 ······</table>
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 </div>122 </div>
123 </div>123 </div>
124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>124 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00293_source.html">fvector.hh</a></li>125 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.41 KB
./usr/share/doc/libdune-common-doc/doxygen/a01784.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.··82 <p>TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.··
83 ·<a·href="a01784.html#details">More...</a></p>83 ·<a·href="a01784.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:a2ef454b47f5c9d6b7add4aed1b9eb084"·id="r_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>88 <tr·class="memitem:a2ef454b47f5c9d6b7add4aed1b9eb084"·id="r_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>
89 <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.··<br·/></td></tr>89 <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.··<br·/></td></tr>
90 <tr·class="separator:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 </div><div·class="memdoc">125 </div><div·class="memdoc">
  
126 <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>126 <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>
  
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="a00293_source.html">fvector.hh</a></li>130 <li><a·class="el"·href="a00098_source.html">fvector.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.8135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
136 </small></address>136 </small></address>
137 </body>137 </body>
2.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a01788.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;77 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
78 <a·href="a01785.html">List·of·all·members</a>··</div>78 <a·href="a01785.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.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="pub-static-attribs"·name="pub-static-attribs"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
85 Static·Public·Attributes</h2></td></tr>85 Static·Public·Attributes</h2></td></tr>
86 <tr·class="memitem:a3e031c5ca425e889a5f12753d77954a2"·id="r_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>86 <tr·class="memitem:a3e031c5ca425e889a5f12753d77954a2"·id="r_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>
87 <tr·class="separator:a3e031c5ca425e889a5f12753d77954a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a3e031c5ca425e889a5f12753d77954a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Data·Documentation</h2>89 <h2·class="groupheader">Member·Data·Documentation</h2>
Offset 109, 15 lines modifiedOffset 109, 15 lines modified
109 ··</tr>109 ··</tr>
110 </table>110 </table>
111 </div><div·class="memdoc">111 </div><div·class="memdoc">
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00293_source.html">fvector.hh</a></li>115 <li><a·class="el"·href="a00098_source.html">fvector.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.8120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
121 </small></address>121 </small></address>
122 </body>122 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01792.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;77 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
78 <a·href="a01789.html">List·of·all·members</a>··</div>78 <a·href="a01789.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/fvector.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.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="pub-static-attribs"·name="pub-static-attribs"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
85 Static·Public·Attributes</h2></td></tr>85 Static·Public·Attributes</h2></td></tr>
86 <tr·class="memitem:a44206952cd90ed89888dde55039771f7"·id="r_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>86 <tr·class="memitem:a44206952cd90ed89888dde55039771f7"·id="r_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>
87 <tr·class="separator:a44206952cd90ed89888dde55039771f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a44206952cd90ed89888dde55039771f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Data·Documentation</h2>89 <h2·class="groupheader">Member·Data·Documentation</h2>
Offset 109, 15 lines modifiedOffset 109, 15 lines modified
109 ··</tr>109 ··</tr>
110 </table>110 </table>
111 </div><div·class="memdoc">111 </div><div·class="memdoc">
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00293_source.html">fvector.hh</a></li>115 <li><a·class="el"·href="a00098_source.html">fvector.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.8120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
121 </small></address>121 </small></address>
122 </body>122 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01796.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Get·the·'const'·version·of·a·reference·to·a·mutable·object.··82 <p>Get·the·'const'·version·of·a·reference·to·a·mutable·object.··
83 ·<a·href="a01796.html#details">More...</a></p>83 ·<a·href="a01796.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a1e953f3f8e374949e032b7f80fd05a86"·id="r_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>88 <tr·class="memitem:a1e953f3f8e374949e032b7f80fd05a86"·id="r_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>
89 <tr·class="separator:a1e953f3f8e374949e032b7f80fd05a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a1e953f3f8e374949e032b7f80fd05a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 ········</tr>108 ········</tr>
109 ······</table>109 ······</table>
110 </div><div·class="memdoc">110 </div><div·class="memdoc">
  
111 </div>111 </div>
112 </div>112 </div>
113 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>113 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00227_source.html">genericiterator.hh</a></li>114 <li><a·class="el"·href="a00065_source.html">genericiterator.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.8119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
120 </small></address>120 </small></address>
121 </body>121 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01800.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01797.html">List·of·all·members</a>··</div>78 <a·href="a01797.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a74cee274ffbf5dc02b9d9ca6a82b1543"·id="r_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>86 <tr·class="memitem:a74cee274ffbf5dc02b9d9ca6a82b1543"·id="r_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>
87 <tr·class="separator:a74cee274ffbf5dc02b9d9ca6a82b1543"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a74cee274ffbf5dc02b9d9ca6a82b1543"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00227_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00065_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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01804.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01801.html">List·of·all·members</a>··</div>78 <a·href="a01801.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a98aab38fc38bbacd88751805f3a0e1c9"·id="r_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>86 <tr·class="memitem:a98aab38fc38bbacd88751805f3a0e1c9"·id="r_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>
87 <tr·class="separator:a98aab38fc38bbacd88751805f3a0e1c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a98aab38fc38bbacd88751805f3a0e1c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00227_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00065_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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01808.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01805.html">List·of·all·members</a>··</div>78 <a·href="a01805.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:af0e679b203aebaf86f048da9bcd4912e"·id="r_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>86 <tr·class="memitem:af0e679b203aebaf86f048da9bcd4912e"·id="r_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>
87 <tr·class="separator:af0e679b203aebaf86f048da9bcd4912e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:af0e679b203aebaf86f048da9bcd4912e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00227_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00065_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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01812.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>get·the·'mutable'·version·of·a·reference·to·a·const·object··82 <p>get·the·'mutable'·version·of·a·reference·to·a·const·object··
83 ·<a·href="a01812.html#details">More...</a></p>83 ·<a·href="a01812.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a5df1dcae36e710f8d5a337d6f5810f87"·id="r_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>88 <tr·class="memitem:a5df1dcae36e710f8d5a337d6f5810f87"·id="r_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>
89 <tr·class="separator:a5df1dcae36e710f8d5a337d6f5810f87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a5df1dcae36e710f8d5a337d6f5810f87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 ········</tr>108 ········</tr>
109 ······</table>109 ······</table>
110 </div><div·class="memdoc">110 </div><div·class="memdoc">
  
111 </div>111 </div>
112 </div>112 </div>
113 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>113 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00227_source.html">genericiterator.hh</a></li>114 <li><a·class="el"·href="a00065_source.html">genericiterator.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.8119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
120 </small></address>120 </small></address>
121 </body>121 </body>
1.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a01816.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01813.html">List·of·all·members</a>··</div>78 <a·href="a01813.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a2d78ceb0438d32d19da9c495cb60264a"·id="r_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>86 <tr·class="memitem:a2d78ceb0438d32d19da9c495cb60264a"·id="r_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>
87 <tr·class="separator:a2d78ceb0438d32d19da9c495cb60264a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a2d78ceb0438d32d19da9c495cb60264a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00227_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00065_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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01820.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01817.html">List·of·all·members</a>··</div>78 <a·href="a01817.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a91ae2e13ffe6fbfd651336e97562360a"·id="r_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>86 <tr·class="memitem:a91ae2e13ffe6fbfd651336e97562360a"·id="r_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>
87 <tr·class="separator:a91ae2e13ffe6fbfd651336e97562360a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a91ae2e13ffe6fbfd651336e97562360a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00227_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00065_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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01824.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01821.html">List·of·all·members</a>··</div>78 <a·href="a01821.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a83e91c5f25c6fb9ef57644c290ebd498"·id="r_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>86 <tr·class="memitem:a83e91c5f25c6fb9ef57644c290ebd498"·id="r_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>
87 <tr·class="separator:a83e91c5f25c6fb9ef57644c290ebd498"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a83e91c5f25c6fb9ef57644c290ebd498"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00227_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00065_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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
2.19 KB
./usr/share/doc/libdune-common-doc/doxygen/a01828.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Generic·class·for·stl-conforming·iterators·for·container·classes·with·operator[].··83 <p>Generic·class·for·stl-conforming·iterators·for·container·classes·with·operator[].··
84 ·<a·href="a01828.html#details">More...</a></p>84 ·<a·href="a01828.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;:</div>87 Inheritance·diagram·for·Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Generic·class·for·stl&#45;conforming·iterators·for·container·classes·with·operator[]."·alt=""·coords="281,27,480,67"/>91 <area·shape="rect"·title="Generic·class·for·stl&#45;conforming·iterators·for·container·classes·with·operator[]."·alt=""·coords="281,27,480,67"/>
92 <area·shape="rect"·title="·"·alt=""·coords="5,5,233,89"/>92 <area·shape="rect"·title="·"·alt=""·coords="5,5,233,89"/>
Offset 614, 15 lines modifiedOffset 614, 15 lines modified
614 ··</tr>614 ··</tr>
615 </table>615 </table>
616 </div><div·class="memdoc">616 </div><div·class="memdoc">
  
617 </div>617 </div>
618 </div>618 </div>
619 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>619 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
620 <li><a·class="el"·href="a00227_source.html">genericiterator.hh</a></li>620 <li><a·class="el"·href="a00065_source.html">genericiterator.hh</a></li>
621 </ul>621 </ul>
622 </div><!--·contents·-->622 </div><!--·contents·-->
623 <!--·start·footer·part·-->623 <!--·start·footer·part·-->
624 <hr·class="footer"/><address·class="footer"><small>624 <hr·class="footer"/><address·class="footer"><small>
625 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8625 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
626 </small></address>626 </small></address>
627 </body>627 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01832.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation.··82 <p>Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation.··
83 ·<a·href="a01832.html#details">More...</a></p>83 ·<a·href="a01832.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::GMPField&lt;·precision·&gt;:</div>86 Inheritance·diagram·for·Dune::GMPField&lt;·precision·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation."·alt=""·coords="5,79,200,104"/>90 <area·shape="rect"·title="Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation."·alt=""·coords="5,79,200,104"/>
91 <area·shape="rect"·title="·"·alt=""·coords="61,5,144,31"/>91 <area·shape="rect"·title="·"·alt=""·coords="61,5,144,31"/>
Offset 263, 15 lines modifiedOffset 263, 15 lines modified
263 ··</tr>263 ··</tr>
264 </table>264 </table>
265 </div><div·class="memdoc">265 </div><div·class="memdoc">
  
266 </div>266 </div>
267 </div>267 </div>
268 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>268 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
269 <li><a·class="el"·href="a00257_source.html">gmpfield.hh</a></li>269 <li><a·class="el"·href="a00107_source.html">gmpfield.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.8274 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
275 </small></address>275 </small></address>
276 </body>276 </body>
1.73 KB
./usr/share/doc/libdune-common-doc/doxygen/a01836.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;·Struct·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="a00257_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;:</div>81 Inheritance·diagram·for·Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,93,192,133"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,93,192,133"/>
86 <area·shape="rect"·title="·"·alt=""·coords="25,5,172,45"/>86 <area·shape="rect"·title="·"·alt=""·coords="25,5,172,45"/>
87 <area·shape="poly"·title="·"·alt=""·coords="101,59,101,93,96,93,96,59"/>87 <area·shape="poly"·title="·"·alt=""·coords="101,59,101,93,96,93,96,59"/>
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="a00257_source.html">gmpfield.hh</a></li>91 <li><a·class="el"·href="a00107_source.html">gmpfield.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
1.99 KB
./usr/share/doc/libdune-common-doc/doxygen/a01840.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01837.html">List·of·all·members</a>··</div>78 <a·href="a01837.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision1·&gt;,·GMPField&lt;·precision2·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision1·&gt;,·GMPField&lt;·precision2·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/gmpfield.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:af814fa56640f9019d2b096b3aa365e0e"·id="r_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>86 <tr·class="memitem:af814fa56640f9019d2b096b3aa365e0e"·id="r_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>
87 <tr·class="separator:af814fa56640f9019d2b096b3aa365e0e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:af814fa56640f9019d2b096b3aa365e0e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00257_source.html">gmpfield.hh</a></li>107 <li><a·class="el"·href="a00107_source.html">gmpfield.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01844.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01841.html">List·of·all·members</a>··</div>78 <a·href="a01841.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/gmpfield.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:aeda98e0b61d7a6958bdd1f1ba93dfd79"·id="r_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>86 <tr·class="memitem:aeda98e0b61d7a6958bdd1f1ba93dfd79"·id="r_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>
87 <tr·class="separator:aeda98e0b61d7a6958bdd1f1ba93dfd79"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:aeda98e0b61d7a6958bdd1f1ba93dfd79"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00257_source.html">gmpfield.hh</a></li>107 <li><a·class="el"·href="a00107_source.html">gmpfield.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a01848.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01845.html">List·of·all·members</a>··</div>78 <a·href="a01845.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·T·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·T·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/gmpfield.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ab29744d04f497ab356bb62f42d77c866"·id="r_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>86 <tr·class="memitem:ab29744d04f497ab356bb62f42d77c866"·id="r_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>
87 <tr·class="separator:ab29744d04f497ab356bb62f42d77c866"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ab29744d04f497ab356bb62f42d77c866"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00257_source.html">gmpfield.hh</a></li>107 <li><a·class="el"·href="a00107_source.html">gmpfield.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a01852.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01849.html">List·of·all·members</a>··</div>78 <a·href="a01849.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/gmpfield.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:af819792396739bc1bdf908b5741ae9bd"·id="r_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>86 <tr·class="memitem:af819792396739bc1bdf908b5741ae9bd"·id="r_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>
87 <tr·class="separator:af819792396739bc1bdf908b5741ae9bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:af819792396739bc1bdf908b5741ae9bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00257_source.html">gmpfield.hh</a></li>107 <li><a·class="el"·href="a00107_source.html">gmpfield.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01856.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::hash&lt;·T·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::hash&lt;·T·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Functor·for·hashing·objects·of·type·T.··82 <p>Functor·for·hashing·objects·of·type·T.··
83 ·<a·href="a01856.html#details">More...</a></p>83 ·<a·href="a01856.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/hash.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/hash.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ae27633febd753959d3b8ab013e8bb4a7"·id="r_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>88 <tr·class="memitem:ae27633febd753959d3b8ab013e8bb4a7"·id="r_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>
89 <tr·class="memdesc:ae27633febd753959d3b8ab013e8bb4a7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·hash·of·t.··<br·/></td></tr>89 <tr·class="memdesc:ae27633febd753959d3b8ab013e8bb4a7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·hash·of·t.··<br·/></td></tr>
90 <tr·class="separator:ae27633febd753959d3b8ab013e8bb4a7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ae27633febd753959d3b8ab013e8bb4a7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 123, 15 lines modifiedOffset 123, 15 lines modified
123 </div><div·class="memdoc">123 </div><div·class="memdoc">
  
124 <p>Calculates·the·hash·of·t.·</p>124 <p>Calculates·the·hash·of·t.·</p>
  
125 </div>125 </div>
126 </div>126 </div>
127 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>127 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
128 <li><a·class="el"·href="a00065_source.html">hash.hh</a></li>128 <li><a·class="el"·href="a00215_source.html">hash.hh</a></li>
129 </ul>129 </ul>
130 </div><!--·contents·-->130 </div><!--·contents·-->
131 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
132 <hr·class="footer"/><address·class="footer"><small>132 <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.8133 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
134 </small></address>134 </small></address>
135 </body>135 </body>
4.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a01864.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::Indent·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Indent·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Utility·class·for·handling·nested·indentation·in·output.··82 <p>Utility·class·for·handling·nested·indentation·in·output.··
83 ·<a·href="a01864.html#details">More...</a></p>83 ·<a·href="a01864.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/indent.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/indent.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:gabb0f032ac7f93f75e8918741c6da79c5"·id="r_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>88 <tr·class="memitem:gabb0f032ac7f93f75e8918741c6da79c5"·id="r_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>
89 <tr·class="memdesc:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">setup·without·parent··<br·/></td></tr>89 <tr·class="memdesc:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">setup·without·parent··<br·/></td></tr>
90 <tr·class="separator:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:ga1f1ea564f5a91476186d98f86bc9e9c5"·id="r_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>91 <tr·class="memitem:ga1f1ea564f5a91476186d98f86bc9e9c5"·id="r_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 117, 15 lines modifiedOffset 117, 15 lines modified
117 <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>117 <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>
118 <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>118 <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>
119 <p>You·can·use·the·++·operator·to·raise·and·the·&ndash;·operator·to·lower·the·indentation·by·one·level.</p>119 <p>You·can·use·the·++·operator·to·raise·and·the·&ndash;·operator·to·lower·the·indentation·by·one·level.</p>
120 <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>120 <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>
121 <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>121 <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>
122 <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>122 <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>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00026_source.html">indent.hh</a></li>124 <li><a·class="el"·href="a00275_source.html">indent.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.56 KB
./usr/share/doc/libdune-common-doc/doxygen/a01868.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::Cloneable·Struct·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Cloneable·Struct·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span></div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>An·interface·class·for·cloneable·objects.··82 <p>An·interface·class·for·cloneable·objects.··
83 ·<a·href="a01868.html#details">More...</a></p>83 ·<a·href="a01868.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/interfaces.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/interfaces.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ab939bd736273aeaa041ac6ec7da846e9"·id="r_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>88 <tr·class="memitem:ab939bd736273aeaa041ac6ec7da846e9"·id="r_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>
89 <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.··<br·/></td></tr>89 <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.··<br·/></td></tr>
90 <tr·class="separator:ab939bd736273aeaa041ac6ec7da846e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ab939bd736273aeaa041ac6ec7da846e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a7f08c4409e8f17388832c262eaadea88"·id="r_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>91 <tr·class="memitem:a7f08c4409e8f17388832c262eaadea88"·id="r_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 149, 15 lines modifiedOffset 149, 15 lines modified
149 </div><div·class="memdoc">149 </div><div·class="memdoc">
  
150 <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>150 <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>
  
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="a00281_source.html">interfaces.hh</a></li>154 <li><a·class="el"·href="a00371_source.html">interfaces.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.8159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
160 </small></address>160 </small></address>
161 </body>161 </body>
2.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a01872.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Utility·class·for·storing·and·resetting·stream·attributes.··83 <p>Utility·class·for·storing·and·resetting·stream·attributes.··
84 ·<a·href="a01872.html#details">More...</a></p>84 ·<a·href="a01872.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/ios_state.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/ios_state.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:gaab42b8e2cf5e10c794a7957e003edd76"·id="r_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>89 <tr·class="memitem:gaab42b8e2cf5e10c794a7957e003edd76"·id="r_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>
90 <tr·class="memdesc:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·object·we·save·the·state·for.··<br·/></td></tr>90 <tr·class="memdesc:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·object·we·save·the·state·for.··<br·/></td></tr>
91 <tr·class="separator:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 106, 16 lines modifiedOffset 106, 16 lines modified
106 </table>106 </table>
107 <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>
108 <div·class="textblock"><p>Utility·class·for·storing·and·resetting·stream·attributes.·</p>108 <div·class="textblock"><p>Utility·class·for·storing·and·resetting·stream·attributes.·</p>
109 <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>109 <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>
110 <p>The·saved·attributes·are·the·format·flags,·precision,·and·width.</p>110 <p>The·saved·attributes·are·the·format·flags,·precision,·and·width.</p>
111 <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>111 <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>
112 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>112 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
113 <li><a·class="el"·href="a00119_source.html">ios_state.hh</a></li>113 <li><a·class="el"·href="a00302_source.html">ios_state.hh</a></li>
114 <li><a·class="el"·href="a00149.html">ios_state.cc</a></li>114 <li><a·class="el"·href="a00056.html">ios_state.cc</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.8119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
120 </small></address>120 </small></address>
121 </body>121 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a01876.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Base·class·for·stl·conformant·forward·iterators.··83 <p>Base·class·for·stl·conformant·forward·iterators.··
84 ·<a·href="a01876.html#details">More...</a></p>84 ·<a·href="a01876.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>87 Inheritance·diagram·for·Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,300,197,340"/>91 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,300,197,340"/>
92 <area·shape="rect"·href="a02844.html"·title="·"·alt=""·coords="1135,78,1316,118"/>92 <area·shape="rect"·href="a02844.html"·title="·"·alt=""·coords="1135,78,1316,118"/>
Offset 468, 15 lines modifiedOffset 468, 15 lines modified
468 ··</tr>468 ··</tr>
469 </table>469 </table>
470 </div><div·class="memdoc">470 </div><div·class="memdoc">
  
471 </div>471 </div>
472 </div>472 </div>
473 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>473 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
474 <li><a·class="el"·href="a00113_source.html">iteratorfacades.hh</a></li>474 <li><a·class="el"·href="a00374_source.html">iteratorfacades.hh</a></li>
475 </ul>475 </ul>
476 </div><!--·contents·-->476 </div><!--·contents·-->
477 <!--·start·footer·part·-->477 <!--·start·footer·part·-->
478 <hr·class="footer"/><address·class="footer"><small>478 <hr·class="footer"/><address·class="footer"><small>
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.8479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
480 </small></address>480 </small></address>
481 </body>481 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a01880.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Facade·class·for·stl·conformant·bidirectional·iterators.··83 <p>Facade·class·for·stl·conformant·bidirectional·iterators.··
84 ·<a·href="a01880.html#details">More...</a></p>84 ·<a·href="a01880.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>87 Inheritance·diagram·for·Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Facade·class·for·stl·conformant·bidirectional·iterators."·alt=""·coords="5,15,179,55"/>91 <area·shape="rect"·title="Facade·class·for·stl·conformant·bidirectional·iterators."·alt=""·coords="5,15,179,55"/>
92 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,62"/>92 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,62"/>
Offset 506, 15 lines modifiedOffset 506, 15 lines modified
506 ··</tr>506 ··</tr>
507 </table>507 </table>
508 </div><div·class="memdoc">508 </div><div·class="memdoc">
  
509 </div>509 </div>
510 </div>510 </div>
511 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>511 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
512 <li><a·class="el"·href="a00113_source.html">iteratorfacades.hh</a></li>512 <li><a·class="el"·href="a00374_source.html">iteratorfacades.hh</a></li>
513 </ul>513 </ul>
514 </div><!--·contents·-->514 </div><!--·contents·-->
515 <!--·start·footer·part·-->515 <!--·start·footer·part·-->
516 <hr·class="footer"/><address·class="footer"><small>516 <hr·class="footer"/><address·class="footer"><small>
517 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8517 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
518 </small></address>518 </small></address>
519 </body>519 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a01884.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Base·class·for·stl·conformant·forward·iterators.··83 <p>Base·class·for·stl·conformant·forward·iterators.··
84 ·<a·href="a01884.html#details">More...</a></p>84 ·<a·href="a01884.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>87 Inheritance·diagram·for·Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,209,200,249"/>91 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,209,200,249"/>
92 <area·shape="rect"·href="a01280.html"·title="·"·alt=""·coords="953,23,1160,93"/>92 <area·shape="rect"·href="a01280.html"·title="·"·alt=""·coords="953,23,1160,93"/>
Offset 691, 15 lines modifiedOffset 691, 15 lines modified
691 ··</dd>691 ··</dd>
692 </dl>692 </dl>
693 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>693 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>
  
694 </div>694 </div>
695 </div>695 </div>
696 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>696 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
697 <li><a·class="el"·href="a00113_source.html">iteratorfacades.hh</a></li>697 <li><a·class="el"·href="a00374_source.html">iteratorfacades.hh</a></li>
698 </ul>698 </ul>
699 </div><!--·contents·-->699 </div><!--·contents·-->
700 <!--·start·footer·part·-->700 <!--·start·footer·part·-->
701 <hr·class="footer"/><address·class="footer"><small>701 <hr·class="footer"/><address·class="footer"><small>
702 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8702 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
703 </small></address>703 </small></address>
704 </body>704 </body>
2.47 KB
./usr/share/doc/libdune-common-doc/doxygen/a01888.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Simple·range·between·a·begin·and·an·end·iterator.··83 <p>Simple·range·between·a·begin·and·an·end·iterator.··
84 ·<a·href="a01888.html#details">More...</a></p>84 ·<a·href="a01888.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/iteratorrange.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/iteratorrange.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ad98380cc975a532110a0838d1c89e029"·id="r_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>89 <tr·class="memitem:ad98380cc975a532110a0838d1c89e029"·id="r_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>
90 <tr·class="memdesc:ad98380cc975a532110a0838d1c89e029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·iterator·belonging·to·this·range.··<br·/></td></tr>90 <tr·class="memdesc:ad98380cc975a532110a0838d1c89e029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·iterator·belonging·to·this·range.··<br·/></td></tr>
91 <tr·class="separator:ad98380cc975a532110a0838d1c89e029"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ad98380cc975a532110a0838d1c89e029"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a49421ddcbc715d99afed075e73eb4f67"·id="r_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>92 <tr·class="memitem:a49421ddcbc715d99afed075e73eb4f67"·id="r_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 284, 15 lines modifiedOffset 284, 15 lines modified
284 </div><div·class="memdoc">284 </div><div·class="memdoc">
  
285 <p>Returns·an·iterator·pointing·past·the·end·of·the·range.·</p>285 <p>Returns·an·iterator·pointing·past·the·end·of·the·range.·</p>
  
286 </div>286 </div>
287 </div>287 </div>
288 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>288 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
289 <li><a·class="el"·href="a00260_source.html">iteratorrange.hh</a></li>289 <li><a·class="el"·href="a00173_source.html">iteratorrange.hh</a></li>
290 </ul>290 </ul>
291 </div><!--·contents·-->291 </div><!--·contents·-->
292 <!--·start·footer·part·-->292 <!--·start·footer·part·-->
293 <hr·class="footer"/><address·class="footer"><small>293 <hr·class="footer"/><address·class="footer"><small>
294 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8294 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
295 </small></address>295 </small></address>
296 </body>296 </body>
2.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a01896.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::lru&lt;·Key,·Tp,·Traits·&gt;·Class·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::lru&lt;·Key,·Tp,·Traits·&gt;·Class·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>LRU·Cache·Container.··83 <p>LRU·Cache·Container.··
84 ·<a·href="a01896.html#details">More...</a></p>84 ·<a·href="a01896.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/lru.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/lru.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:aeda92a2b060663bbceb17c16bb0ab3aa"·id="r_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>89 <tr·class="memitem:aeda92a2b060663bbceb17c16bb0ab3aa"·id="r_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>
90 <tr·class="separator:aeda92a2b060663bbceb17c16bb0ab3aa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:aeda92a2b060663bbceb17c16bb0ab3aa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a40f89573d1b557b338531dcbf81af42c"·id="r_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>91 <tr·class="memitem:a40f89573d1b557b338531dcbf81af42c"·id="r_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>
92 <tr·class="separator:a40f89573d1b557b338531dcbf81af42c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:a40f89573d1b557b338531dcbf81af42c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 725, 15 lines modifiedOffset 725, 15 lines modified
  
725 <p>mark·data·associated·with·key·as·most·recent·</p>725 <p>mark·data·associated·with·key·as·most·recent·</p>
726 <dl·class="section·return"><dt>Returns</dt><dd>reference·of·stored·data·</dd></dl>726 <dl·class="section·return"><dt>Returns</dt><dd>reference·of·stored·data·</dd></dl>
  
727 </div>727 </div>
728 </div>728 </div>
729 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>729 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
730 <li><a·class="el"·href="a00083_source.html">lru.hh</a></li>730 <li><a·class="el"·href="a00281_source.html">lru.hh</a></li>
731 </ul>731 </ul>
732 </div><!--·contents·-->732 </div><!--·contents·-->
733 <!--·start·footer·part·-->733 <!--·start·footer·part·-->
734 <hr·class="footer"/><address·class="footer"><small>734 <hr·class="footer"/><address·class="footer"><small>
735 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8735 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
736 </small></address>736 </small></address>
737 </body>737 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a01900.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Allocators·implementation·which·simply·calls·malloc/free.··84 <p>Allocators·implementation·which·simply·calls·malloc/free.··
85 ·<a·href="a01900.html#details">More...</a></p>85 ·<a·href="a01900.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::MallocAllocator&lt;·T·&gt;:</div>88 Inheritance·diagram·for·Dune::MallocAllocator&lt;·T·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,31"/>92 <area·shape="rect"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,31"/>
93 <area·shape="rect"·href="a01268.html"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,79,174,119"/>93 <area·shape="rect"·href="a01268.html"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,79,174,119"/>
Offset 637, 15 lines modifiedOffset 637, 15 lines modified
637 </div><div·class="memdoc">637 </div><div·class="memdoc">
  
638 <p>max·size·for·allocate·</p>638 <p>max·size·for·allocate·</p>
  
639 </div>639 </div>
640 </div>640 </div>
641 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>641 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
642 <li><a·class="el"·href="a00107_source.html">mallocallocator.hh</a></li>642 <li><a·class="el"·href="a00047_source.html">mallocallocator.hh</a></li>
643 </ul>643 </ul>
644 </div><!--·contents·-->644 </div><!--·contents·-->
645 <!--·start·footer·part·-->645 <!--·start·footer·part·-->
646 <hr·class="footer"/><address·class="footer"><small>646 <hr·class="footer"/><address·class="footer"><small>
647 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8647 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
648 </small></address>648 </small></address>
649 </body>649 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a01904.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a01901.html">List·of·all·members</a>··</div>78 <a·href="a01901.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/mallocallocator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ac7be9e590b210d8694a19e329048982c"·id="r_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>86 <tr·class="memitem:ac7be9e590b210d8694a19e329048982c"·id="r_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>
87 <tr·class="separator:ac7be9e590b210d8694a19e329048982c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ac7be9e590b210d8694a19e329048982c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00107_source.html">mallocallocator.hh</a></li>109 <li><a·class="el"·href="a00047_source.html">mallocallocator.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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>115 </small></address>
116 </body>116 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a01908.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::StandardMathematicalConstants&lt;·T·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::StandardMathematicalConstants&lt;·T·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Standard·implementation·of·<a·class="el"·href="a01912.html"·title="Provides·commonly·used·mathematical·constants.">MathematicalConstants</a>.··82 <p>Standard·implementation·of·<a·class="el"·href="a01912.html"·title="Provides·commonly·used·mathematical·constants.">MathematicalConstants</a>.··
83 ·<a·href="a01908.html#details">More...</a></p>83 ·<a·href="a01908.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::StandardMathematicalConstants&lt;·T·&gt;:</div>86 Inheritance·diagram·for·Dune::StandardMathematicalConstants&lt;·T·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Standard·implementation·of·MathematicalConstants."·alt=""·coords="9,5,200,45"/>90 <area·shape="rect"·title="Standard·implementation·of·MathematicalConstants."·alt=""·coords="9,5,200,45"/>
91 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,108,200,148"/>91 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,108,200,148"/>
Offset 167, 15 lines modifiedOffset 167, 15 lines modified
167 </div><div·class="memdoc">167 </div><div·class="memdoc">
  
168 <p>Archimedes'·constant.·</p>168 <p>Archimedes'·constant.·</p>
  
169 </div>169 </div>
170 </div>170 </div>
171 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>171 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
172 <li><a·class="el"·href="a00386_source.html">math.hh</a></li>172 <li><a·class="el"·href="a00101_source.html">math.hh</a></li>
173 </ul>173 </ul>
174 </div><!--·contents·-->174 </div><!--·contents·-->
175 <!--·start·footer·part·-->175 <!--·start·footer·part·-->
176 <hr·class="footer"/><address·class="footer"><small>176 <hr·class="footer"/><address·class="footer"><small>
177 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8177 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
178 </small></address>178 </small></address>
179 </body>179 </body>
1.79 KB
./usr/share/doc/libdune-common-doc/doxygen/a01912.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::MathematicalConstants&lt;·Field·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::MathematicalConstants&lt;·Field·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Provides·commonly·used·mathematical·constants.··82 <p>Provides·commonly·used·mathematical·constants.··
83 ·<a·href="a01912.html#details">More...</a></p>83 ·<a·href="a01912.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::MathematicalConstants&lt;·Field·&gt;:</div>86 Inheritance·diagram·for·Dune::MathematicalConstants&lt;·Field·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Provides·commonly·used·mathematical·constants."·alt=""·coords="5,197,204,237"/>90 <area·shape="rect"·title="Provides·commonly·used·mathematical·constants."·alt=""·coords="5,197,204,237"/>
91 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,108,200,148"/>91 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,108,200,148"/>
Offset 162, 15 lines modifiedOffset 162, 15 lines modified
162 </div><div·class="memdoc">162 </div><div·class="memdoc">
  
163 <p>Archimedes'·constant.·</p>163 <p>Archimedes'·constant.·</p>
  
164 </div>164 </div>
165 </div>165 </div>
166 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>166 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
167 <li><a·class="el"·href="a00386_source.html">math.hh</a></li>167 <li><a·class="el"·href="a00101_source.html">math.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.8172 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
173 </small></address>173 </small></address>
174 </body>174 </body>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a01916.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;77 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
78 <a·href="a01913.html">List·of·all·members</a>··</div>78 <a·href="a01913.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·m·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·m·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.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="pub-static-attribs"·name="pub-static-attribs"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
85 Static·Public·Attributes</h2></td></tr>85 Static·Public·Attributes</h2></td></tr>
86 <tr·class="memitem:a344581ab6632cf09593f45780ed8dca6"·id="r_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>86 <tr·class="memitem:a344581ab6632cf09593f45780ed8dca6"·id="r_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>
87 <tr·class="memdesc:a344581ab6632cf09593f45780ed8dca6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">factorial·stores·m!··<br·/></td></tr>87 <tr·class="memdesc:a344581ab6632cf09593f45780ed8dca6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">factorial·stores·m!··<br·/></td></tr>
88 <tr·class="separator:a344581ab6632cf09593f45780ed8dca6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a344581ab6632cf09593f45780ed8dca6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>89 </table>
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 <p>factorial·stores·m!·</p>116 <p>factorial·stores·m!·</p>
  
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="a00386_source.html">math.hh</a></li>120 <li><a·class="el"·href="a00101_source.html">math.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.8125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
126 </small></address>126 </small></address>
127 </body>127 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a01920.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·0·&gt;·Struct·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·0·&gt;·Struct·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>end·of·recursion·of·factorial·via·specialization··82 <p>end·of·recursion·of·factorial·via·specialization··
83 ·<a·href="a01920.html#details">More...</a></p>83 ·<a·href="a01920.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:a99ca49c05e13fcd5502c745b69b55e6d"·id="r_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>88 <tr·class="memitem:a99ca49c05e13fcd5502c745b69b55e6d"·id="r_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>
89 <tr·class="separator:a99ca49c05e13fcd5502c745b69b55e6d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a99ca49c05e13fcd5502c745b69b55e6d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
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="a00386_source.html">math.hh</a></li>118 <li><a·class="el"·href="a00101_source.html">math.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.8123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
124 </small></address>124 </small></address>
125 </body>125 </body>
1.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a01928.html
    
Offset 76, 19 lines modifiedOffset 76, 19 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::MathOverloads::ADLTag·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::MathOverloads::ADLTag·Struct·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.··79 <p>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.··
80 ·<a·href="a01928.html#details">More...</a></p>80 ·<a·href="a01928.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.hh</a>&gt;</code></p>
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"><p>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.·</p>83 <div·class="textblock"><p>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.·</p>
84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
85 <li><a·class="el"·href="a00386_source.html">math.hh</a></li>85 <li><a·class="el"·href="a00101_source.html">math.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.890 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
91 </small></address>91 </small></address>
92 </body>92 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01932.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a01929.html">List·of·all·members</a>··</div>78 <a·href="a01929.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::MathImpl::isUnorderedImpl·Struct·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::MathImpl::isUnorderedImpl·Struct·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/math.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/math.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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a8d23d823bd25c412130cc47608870676"·id="r_a8d23d823bd25c412130cc47608870676"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>86 <tr·class="memitem:a8d23d823bd25c412130cc47608870676"·id="r_a8d23d823bd25c412130cc47608870676"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
87 <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>87 <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>
88 <tr·class="separator:a8d23d823bd25c412130cc47608870676"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a8d23d823bd25c412130cc47608870676"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>89 </table>
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 ··</tr>124 ··</tr>
125 </table>125 </table>
126 </div><div·class="memdoc">126 </div><div·class="memdoc">
  
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="a00386_source.html">math.hh</a></li>130 <li><a·class="el"·href="a00101_source.html">math.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.8135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
136 </small></address>136 </small></address>
137 </body>137 </body>
1.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a01968.html
    
Offset 73, 17 lines modifiedOffset 73, 17 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·T·&gt;·Struct·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="a00236_source.html">dune/common/matvectraits.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/matvectraits.hh</a>&gt;</code></p>
80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
81 <li><a·class="el"·href="a00236_source.html">matvectraits.hh</a></li>81 <li><a·class="el"·href="a00248_source.html">matvectraits.hh</a></li>
82 </ul>82 </ul>
83 </div><!--·contents·-->83 </div><!--·contents·-->
84 <!--·start·footer·part·-->84 <!--·start·footer·part·-->
85 <hr·class="footer"/><address·class="footer"><small>85 <hr·class="footer"/><address·class="footer"><small>
86 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.886 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
87 </small></address>87 </small></address>
88 </body>88 </body>
1.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a01984.html
    
Offset 73, 17 lines modifiedOffset 73, 17 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::No_Comm·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::No_Comm·Struct·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="a00329_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>
80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
81 <li><a·class="el"·href="a00329_source.html">communication.hh</a></li>81 <li><a·class="el"·href="a00359_source.html">communication.hh</a></li>
82 </ul>82 </ul>
83 </div><!--·contents·-->83 </div><!--·contents·-->
84 <!--·start·footer·part·-->84 <!--·start·footer·part·-->
85 <hr·class="footer"/><address·class="footer"><small>85 <hr·class="footer"/><address·class="footer"><small>
86 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.886 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
87 </small></address>87 </small></address>
88 </body>88 </body>
2.63 KB
./usr/share/doc/libdune-common-doc/doxygen/a01988.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Collective·communication·interface·and·sequential·default·implementation.··82 <p>Collective·communication·interface·and·sequential·default·implementation.··
83 ·<a·href="a01988.html#details">More...</a></p>83 ·<a·href="a01988.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:af9873f31f9e81114b4edcc50b01b0a3c"·id="r_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>88 <tr·class="memitem:af9873f31f9e81114b4edcc50b01b0a3c"·id="r_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>
89 <tr·class="memdesc:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·default·object.··<br·/></td></tr>89 <tr·class="memdesc:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·default·object.··<br·/></td></tr>
90 <tr·class="separator:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a8e0e5bd2a26b9faa9e838f6511251299"·id="r_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>91 <tr·class="memitem:a8e0e5bd2a26b9faa9e838f6511251299"·id="r_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 1826, 15 lines modifiedOffset 1826, 15 lines modified
  
1826 <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>1826 <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>
1827 <dl·class="section·return"><dt>Returns</dt><dd>MPI_SUCCESS·(==0)·if·successful,·an·MPI·error·code·otherwise·</dd></dl>1827 <dl·class="section·return"><dt>Returns</dt><dd>MPI_SUCCESS·(==0)·if·successful,·an·MPI·error·code·otherwise·</dd></dl>
  
1828 </div>1828 </div>
1829 </div>1829 </div>
1830 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1830 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1831 <li><a·class="el"·href="a00329_source.html">communication.hh</a></li>1831 <li><a·class="el"·href="a00359_source.html">communication.hh</a></li>
1832 </ul>1832 </ul>
1833 </div><!--·contents·-->1833 </div><!--·contents·-->
1834 <!--·start·footer·part·-->1834 <!--·start·footer·part·-->
1835 <hr·class="footer"/><address·class="footer"><small>1835 <hr·class="footer"/><address·class="footer"><small>
1836 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81836 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1837 </small></address>1837 </small></address>
1838 </body>1838 </body>
1.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a01992.html
    
Offset 76, 20 lines modifiedOffset 76, 20 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··79 <p>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··
80 ·<a·href="a01992.html#details">More...</a></p>80 ·<a·href="a01992.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
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"><p>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.·</p>83 <div·class="textblock"><p>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.·</p>
84 <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>84 <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>
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="a00365_source.html">communicator.hh</a></li>86 <li><a·class="el"·href="a00311_source.html">communicator.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.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.8
92 </small></address>92 </small></address>
93 </body>93 </body>
1.81 KB
./usr/share/doc/libdune-common-doc/doxygen/a01996.html
    
Offset 76, 20 lines modifiedOffset 76, 20 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.··79 <p>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.··
80 ·<a·href="a01996.html#details">More...</a></p>80 ·<a·href="a01996.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
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"><p>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.·</p>83 <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>
84 <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>84 <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>
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="a00365_source.html">communicator.hh</a></li>86 <li><a·class="el"·href="a00311_source.html">communicator.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.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.8
92 </small></address>92 </small></address>
93 </body>93 </body>
2.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a02000.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Default·policy·used·for·communicating·an·indexed·type.··84 <p>Default·policy·used·for·communicating·an·indexed·type.··
85 ·<a·href="a02000.html#details">More...</a></p>85 ·<a·href="a02000.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
87 <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>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
89 Classes</h2></td></tr>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="a02012.html">CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&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="a02012.html">CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;</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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02016.html">CommunicationError</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="a02016.html">CommunicationError</a></td></tr>
93 <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>93 <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 271, 15 lines modifiedOffset 271, 15 lines modified
  
271 <p>Get·the·number·of·primitive·elements·at·that·index.·</p>271 <p>Get·the·number·of·primitive·elements·at·that·index.·</p>
272 <p>The·default·always·returns·1.·</p>272 <p>The·default·always·returns·1.·</p>
  
273 </div>273 </div>
274 </div>274 </div>
275 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>275 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
276 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>276 <li><a·class="el"·href="a00311_source.html">communicator.hh</a></li>
277 </ul>277 </ul>
278 </div><!--·contents·-->278 </div><!--·contents·-->
279 <!--·start·footer·part·-->279 <!--·start·footer·part·-->
280 <hr·class="footer"/><address·class="footer"><small>280 <hr·class="footer"/><address·class="footer"><small>
281 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8281 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
282 </small></address>282 </small></address>
283 </body>283 </body>
878 B
./usr/share/doc/libdune-common-doc/doxygen/a02004.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::FieldVector&lt;·K,·n·&gt;·Class·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::FieldVector&lt;·K,·n·&gt;·Class·Template·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
79 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>79 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
80 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>80 <li><a·class="el"·href="a00311_source.html">communicator.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.885 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
86 </small></address>86 </small></address>
87 </body>87 </body>
886 B
./usr/share/doc/libdune-common-doc/doxygen/a02008.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::VariableBlockVector&lt;·B,·A·&gt;·Class·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::VariableBlockVector&lt;·B,·A·&gt;·Class·Template·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
79 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>79 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
80 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>80 <li><a·class="el"·href="a00311_source.html">communicator.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.885 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
86 </small></address>86 </small></address>
87 </body>87 </body>
2.44 KB
./usr/share/doc/libdune-common-doc/doxygen/a02012.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02009.html">List·of·all·members</a>··</div>79 <a·href="a02009.html">List·of·all·members</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
86 Public·Types</h2></td></tr>86 Public·Types</h2></td></tr>
87 <tr·class="memitem:a63316a3f87f4edf2011ffa151e1abd73"·id="r_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>87 <tr·class="memitem:a63316a3f87f4edf2011ffa151e1abd73"·id="r_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>
88 <tr·class="separator:a63316a3f87f4edf2011ffa151e1abd73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a63316a3f87f4edf2011ffa151e1abd73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:af196fdca100c252ea392e44d2cdf02b8"·id="r_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>89 <tr·class="memitem:af196fdca100c252ea392e44d2cdf02b8"·id="r_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>
90 <tr·class="separator:af196fdca100c252ea392e44d2cdf02b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:af196fdca100c252ea392e44d2cdf02b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 232, 15 lines modifiedOffset 232, 15 lines modified
232 ··</tr>232 ··</tr>
233 </table>233 </table>
234 </div><div·class="memdoc">234 </div><div·class="memdoc">
  
235 </div>235 </div>
236 </div>236 </div>
237 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>237 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
238 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>238 <li><a·class="el"·href="a00311_source.html">communicator.hh</a></li>
239 </ul>239 </ul>
240 </div><!--·contents·-->240 </div><!--·contents·-->
241 <!--·start·footer·part·-->241 <!--·start·footer·part·-->
242 <hr·class="footer"/><address·class="footer"><small>242 <hr·class="footer"/><address·class="footer"><small>
243 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8243 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
244 </small></address>244 </small></address>
245 </body>245 </body>
2.41 KB
./usr/share/doc/libdune-common-doc/doxygen/a02016.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CommunicationError·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CommunicationError·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Error·thrown·if·there·was·a·problem·with·the·communication.··83 <p>Error·thrown·if·there·was·a·problem·with·the·communication.··
84 ·<a·href="a02016.html#details">More...</a></p>84 ·<a·href="a02016.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::CommPolicy&lt;·V·&gt;::CommunicationError:</div>87 Inheritance·diagram·for·Dune::CommPolicy&lt;·V·&gt;::CommunicationError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,225,167,265"/>91 <area·shape="rect"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,225,167,265"/>
92 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="35,152,137,177"/>92 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="35,152,137,177"/>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·V&gt;<br·/>122 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·V&gt;<br·/>
123 class·Dune::CommPolicy&lt;·V·&gt;::CommunicationError</div><p>Error·thrown·if·there·was·a·problem·with·the·communication.·</p>123 class·Dune::CommPolicy&lt;·V·&gt;::CommunicationError</div><p>Error·thrown·if·there·was·a·problem·with·the·communication.·</p>
124 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>124 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
125 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>125 <li><a·class="el"·href="a00311_source.html">communicator.hh</a></li>
126 </ul>126 </ul>
127 </div><!--·contents·-->127 </div><!--·contents·-->
128 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
129 <hr·class="footer"/><address·class="footer"><small>129 <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.8130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
131 </small></address>131 </small></address>
132 </body>132 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a02020.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;·Struct·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;·Struct·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>GatherScatter·default·implementation·that·just·copies·data.··83 <p>GatherScatter·default·implementation·that·just·copies·data.··
84 ·<a·href="a02020.html#details">More...</a></p>84 ·<a·href="a02020.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a75f3ea805efadcb366dc402490a20929"·id="r_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>89 <tr·class="memitem:a75f3ea805efadcb366dc402490a20929"·id="r_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>
90 <tr·class="separator:a75f3ea805efadcb366dc402490a20929"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a75f3ea805efadcb366dc402490a20929"><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="pub-static-methods"·name="pub-static-methods"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 205, 15 lines modifiedOffset 205, 15 lines modified
205 ··</tr>205 ··</tr>
206 </table>206 </table>
207 </div><div·class="memdoc">207 </div><div·class="memdoc">
  
208 </div>208 </div>
209 </div>209 </div>
210 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>210 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
211 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>211 <li><a·class="el"·href="a00311_source.html">communicator.hh</a></li>
212 </ul>212 </ul>
213 </div><!--·contents·-->213 </div><!--·contents·-->
214 <!--·start·footer·part·-->214 <!--·start·footer·part·-->
215 <hr·class="footer"/><address·class="footer"><small>215 <hr·class="footer"/><address·class="footer"><small>
216 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8216 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
217 </small></address>217 </small></address>
218 </body>218 </body>
2.44 KB
./usr/share/doc/libdune-common-doc/doxygen/a02024.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be·send·or·received.··83 <p>A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be·send·or·received.··
84 ·<a·href="a02024.html#details">More...</a></p>84 ·<a·href="a02024.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:a1f300848507ebf916d81c4408ddc1822"·id="r_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>89 <tr·class="memitem:a1f300848507ebf916d81c4408ddc1822"·id="r_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>
90 <tr·class="memdesc:a1f300848507ebf916d81c4408ddc1822"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.··<br·/></td></tr>90 <tr·class="memdesc:a1f300848507ebf916d81c4408ddc1822"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.··<br·/></td></tr>
91 <tr·class="separator:a1f300848507ebf916d81c4408ddc1822"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a1f300848507ebf916d81c4408ddc1822"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:acfb64d823c219d4947f6a172e422daab"·id="r_acfb64d823c219d4947f6a172e422daab"><td·class="memTemplParams"·colspan="2">template&lt;class·Data·,·class·<a·class="el"·href="a02148.html">Interface</a>·&gt;·</td></tr>92 <tr·class="memitem:acfb64d823c219d4947f6a172e422daab"·id="r_acfb64d823c219d4947f6a172e422daab"><td·class="memTemplParams"·colspan="2">template&lt;class·Data·,·class·<a·class="el"·href="a02148.html">Interface</a>·&gt;·</td></tr>
Offset 436, 15 lines modifiedOffset 436, 15 lines modified
436 </div><div·class="memdoc">436 </div><div·class="memdoc">
  
437 <p>Free·the·allocated·memory·(i.e.·buffers·and·message·information.·</p>437 <p>Free·the·allocated·memory·(i.e.·buffers·and·message·information.·</p>
  
438 </div>438 </div>
439 </div>439 </div>
440 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>440 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
441 <li><a·class="el"·href="a00365_source.html">communicator.hh</a></li>441 <li><a·class="el"·href="a00311_source.html">communicator.hh</a></li>
442 </ul>442 </ul>
443 </div><!--·contents·-->443 </div><!--·contents·-->
444 <!--·start·footer·part·-->444 <!--·start·footer·part·-->
445 <hr·class="footer"/><address·class="footer"><small>445 <hr·class="footer"/><address·class="footer"><small>
446 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8446 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
447 </small></address>447 </small></address>
448 </body>448 </body>
2.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02068.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::InvalidFutureException·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::InvalidFutureException·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code>get()</code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code>get()</code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.··83 <p>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code>get()</code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code>get()</code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.··
84 ·<a·href="a02068.html#details">More...</a></p>84 ·<a·href="a02068.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::InvalidFutureException:</div>87 Inheritance·diagram·for·Dune::InvalidFutureException:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a02067.png"·border="0"·usemap="#a_dune_1_1_invalid_future_exception_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a02067.png"·border="0"·usemap="#a_dune_1_1_invalid_future_exception_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_invalid_future_exception_inherit__map"·id="a_dune_1_1_invalid_future_exception_inherit__map">90 <map·name="a_dune_1_1_invalid_future_exception_inherit__map"·id="a_dune_1_1_invalid_future_exception_inherit__map">
91 <area·shape="rect"·title="This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an·invalid·future...."·alt=""·coords="5,225,197,251"/>91 <area·shape="rect"·title="This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an·invalid·future...."·alt=""·coords="5,225,197,251"/>
92 <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,152,195,177"/>92 <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,152,195,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><p>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code>get()</code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code>get()</code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.·</p>122 <div·class="textblock"><p>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code>get()</code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code>get()</code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.·</p>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00353_source.html">future.hh</a></li>124 <li><a·class="el"·href="a00344_source.html">future.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02072.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·T·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·T·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·wrapper-class·for·a·object·which·is·ready·immediately.··82 <p>A·wrapper-class·for·a·object·which·is·ready·immediately.··
83 ·<a·href="a02072.html#details">More...</a></p>83 ·<a·href="a02072.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ad2af2f7c1f6c313ac03e170e56c27f66"·id="r_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>88 <tr·class="memitem:ad2af2f7c1f6c313ac03e170e56c27f66"·id="r_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>
89 <tr·class="separator:ad2af2f7c1f6c313ac03e170e56c27f66"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ad2af2f7c1f6c313ac03e170e56c27f66"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:a5f37cc21afd107dec16f778d95dbf03c"·id="r_a5f37cc21afd107dec16f778d95dbf03c"><td·class="memTemplParams"·colspan="2">template&lt;class·U·&gt;·</td></tr>90 <tr·class="memitem:a5f37cc21afd107dec16f778d95dbf03c"·id="r_a5f37cc21afd107dec16f778d95dbf03c"><td·class="memTemplParams"·colspan="2">template&lt;class·U·&gt;·</td></tr>
91 <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>91 <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 268, 15 lines modifiedOffset 268, 15 lines modified
268 ··</tr>268 ··</tr>
269 </table>269 </table>
270 </div><div·class="memdoc">270 </div><div·class="memdoc">
  
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="a00353_source.html">future.hh</a></li>274 <li><a·class="el"·href="a00344_source.html">future.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.8279 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
280 </small></address>280 </small></address>
281 </body>281 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02076.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::Future&lt;·T·&gt;·Class·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::Future&lt;·T·&gt;·Class·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object·satisfying·the·interface·of·FutureBase.··83 <p>Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object·satisfying·the·interface·of·FutureBase.··
84 ·<a·href="a02076.html#details">More...</a></p>84 ·<a·href="a02076.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:adada4a4ddbf330c0be748bf754ba8d80"·id="r_adada4a4ddbf330c0be748bf754ba8d80"><td·class="memTemplParams"·colspan="2">template&lt;class·F·&gt;·</td></tr>89 <tr·class="memitem:adada4a4ddbf330c0be748bf754ba8d80"·id="r_adada4a4ddbf330c0be748bf754ba8d80"><td·class="memTemplParams"·colspan="2">template&lt;class·F·&gt;·</td></tr>
90 <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>90 <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>
91 <tr·class="separator:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a28ce185948d5dfc6ae38e53ea0200cfd"·id="r_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>92 <tr·class="memitem:a28ce185948d5dfc6ae38e53ea0200cfd"·id="r_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 332, 15 lines modifiedOffset 332, 15 lines modified
332 ··</table>332 ··</table>
333 ··</dd>333 ··</dd>
334 </dl>334 </dl>
  
335 </div>335 </div>
336 </div>336 </div>
337 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>337 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
338 <li><a·class="el"·href="a00353_source.html">future.hh</a></li>338 <li><a·class="el"·href="a00344_source.html">future.hh</a></li>
339 </ul>339 </ul>
340 </div><!--·contents·-->340 </div><!--·contents·-->
341 <!--·start·footer·part·-->341 <!--·start·footer·part·-->
342 <hr·class="footer"/><address·class="footer"><small>342 <hr·class="footer"/><address·class="footer"><small>
343 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8343 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
344 </small></address>344 </small></address>
345 </body>345 </body>
2.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a02088.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a02085.html">List·of·all·members</a>··</div>78 <a·href="a02085.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·void·&gt;·Class·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·void·&gt;·Class·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/future.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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a73b8e4e78cbe2bd5ec76e717c1dba863"·id="r_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>86 <tr·class="memitem:a73b8e4e78cbe2bd5ec76e717c1dba863"·id="r_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>
87 <tr·class="separator:a73b8e4e78cbe2bd5ec76e717c1dba863"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a73b8e4e78cbe2bd5ec76e717c1dba863"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ae37adc535a1a8c5d67d8555d7de0293f"·id="r_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>88 <tr·class="memitem:ae37adc535a1a8c5d67d8555d7de0293f"·id="r_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>
89 <tr·class="separator:ae37adc535a1a8c5d67d8555d7de0293f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ae37adc535a1a8c5d67d8555d7de0293f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 220, 15 lines modifiedOffset 220, 15 lines modified
220 ··</tr>220 ··</tr>
221 </table>221 </table>
222 </div><div·class="memdoc">222 </div><div·class="memdoc">
  
223 </div>223 </div>
224 </div>224 </div>
225 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>225 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
226 <li><a·class="el"·href="a00353_source.html">future.hh</a></li>226 <li><a·class="el"·href="a00344_source.html">future.hh</a></li>
227 </ul>227 </ul>
228 </div><!--·contents·-->228 </div><!--·contents·-->
229 <!--·start·footer·part·-->229 <!--·start·footer·part·-->
230 <hr·class="footer"/><address·class="footer"><small>230 <hr·class="footer"/><address·class="footer"><small>
231 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8231 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
232 </small></address>232 </small></address>
233 </body>233 </body>
2.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02092.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·pair·consisting·of·a·global·and·local·index.··83 <p>A·pair·consisting·of·a·global·and·local·index.··
84 ·<a·href="a02092.html#details">More...</a></p>84 ·<a·href="a02092.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:gac7ba161114dcda480ec1e03fade5d887"·id="r_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>89 <tr·class="memitem:gac7ba161114dcda480ec1e03fade5d887"·id="r_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>
90 <tr·class="memdesc:gac7ba161114dcda480ec1e03fade5d887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·type·of·the·global·index.··<br·/></td></tr>90 <tr·class="memdesc:gac7ba161114dcda480ec1e03fade5d887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·type·of·the·global·index.··<br·/></td></tr>
91 <tr·class="separator:gac7ba161114dcda480ec1e03fade5d887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gac7ba161114dcda480ec1e03fade5d887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:ga43eed1b88f2bc2e0b683465638df39fb"·id="r_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>92 <tr·class="memitem:ga43eed1b88f2bc2e0b683465638df39fb"·id="r_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 119, 15 lines modifiedOffset 119, 15 lines modified
119 <tr·class="memdesc:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·the·local·index.··<br·/></td></tr>119 <tr·class="memdesc:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·the·local·index.··<br·/></td></tr>
120 <tr·class="separator:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 </table>121 </table>
122 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>122 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
123 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TG,·class·TL&gt;<br·/>123 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TG,·class·TL&gt;<br·/>
124 class·Dune::IndexPair&lt;·TG,·TL·&gt;</div><p>A·pair·consisting·of·a·global·and·local·index.·</p>124 class·Dune::IndexPair&lt;·TG,·TL·&gt;</div><p>A·pair·consisting·of·a·global·and·local·index.·</p>
125 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>125 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
126 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>126 <li><a·class="el"·href="a00329_source.html">indexset.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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
132 </small></address>132 </small></address>
133 </body>133 </body>
2.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a02096.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <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.··83 <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.··
84 ·<a·href="a02096.html#details">More...</a></p>84 ·<a·href="a02096.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::InvalidIndexSetState:</div>87 Inheritance·diagram·for·Dune::InvalidIndexSetState:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a02095.png"·border="0"·usemap="#a_dune_1_1_invalid_index_set_state_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a02095.png"·border="0"·usemap="#a_dune_1_1_invalid_index_set_state_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_invalid_index_set_state_inherit__map"·id="a_dune_1_1_invalid_index_set_state_inherit__map">90 <map·name="a_dune_1_1_invalid_index_set_state_inherit__map"·id="a_dune_1_1_invalid_index_set_state_inherit__map">
91 <area·shape="rect"·title="Exception·indicating·that·the·index·set·is·not·in·the·expected·state."·alt=""·coords="8,225,189,251"/>91 <area·shape="rect"·title="Exception·indicating·that·the·index·set·is·not·in·the·expected·state."·alt=""·coords="8,225,189,251"/>
92 <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,152,192,177"/>92 <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,152,192,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <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>122 <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>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>124 <li><a·class="el"·href="a00329_source.html">indexset.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
3.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a02100.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.··83 <p>Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.··
84 ·<a·href="a02100.html#details">More...</a></p>84 ·<a·href="a02100.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ga7b244f68738204004286a1e6833ef95f"·id="r_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>89 <tr·class="memitem:ga7b244f68738204004286a1e6833ef95f"·id="r_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>
90 <tr·class="memdesc:ga7b244f68738204004286a1e6833ef95f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<br·/></td></tr>90 <tr·class="memdesc:ga7b244f68738204004286a1e6833ef95f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<br·/></td></tr>
91 <tr·class="separator:ga7b244f68738204004286a1e6833ef95f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ga7b244f68738204004286a1e6833ef95f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:ga8b7de52f424abbff8027cd528e1f0c58"·id="r_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>92 <tr·class="memitem:ga8b7de52f424abbff8027cd528e1f0c58"·id="r_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 133, 15 lines modifiedOffset 133, 15 lines modified
133 <tr·class="memdesc:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·total·number·(public·and·nonpublic)·indices.··<br·/></td></tr>133 <tr·class="memdesc:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·total·number·(public·and·nonpublic)·indices.··<br·/></td></tr>
134 <tr·class="separator:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 </table>135 </table>
136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
137 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·I&gt;<br·/>137 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·I&gt;<br·/>
138 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>138 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>
139 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>139 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
140 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>140 <li><a·class="el"·href="a00329_source.html">indexset.hh</a></li>
141 </ul>141 </ul>
142 </div><!--·contents·-->142 </div><!--·contents·-->
143 <!--·start·footer·part·-->143 <!--·start·footer·part·-->
144 <hr·class="footer"/><address·class="footer"><small>144 <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.8145 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
146 </small></address>146 </small></address>
147 </body>147 </body>
2.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a02104.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.··85 <p>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.··
86 ·<a·href="a02104.html#details">More...</a></p>86 ·<a·href="a02104.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
88 <div·class="dynheader">88 <div·class="dynheader">
89 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;:</div>89 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;:</div>
90 <div·class="dyncontent">90 <div·class="dyncontent">
91 <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>91 <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>
92 <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">92 <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">
93 <area·shape="rect"·title="Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices."·alt=""·coords="5,5,161,45"/>93 <area·shape="rect"·title="Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices."·alt=""·coords="5,5,161,45"/>
94 <area·shape="rect"·href="a02104.html"·title="·"·alt=""·coords="5,108,161,148"/>94 <area·shape="rect"·href="a02104.html"·title="·"·alt=""·coords="5,108,161,148"/>
Offset 186, 15 lines modifiedOffset 186, 15 lines modified
186 <tr·class="separator:ga01c36fd54680cc86b8cb7f6f0d2fdae4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>186 <tr·class="separator:ga01c36fd54680cc86b8cb7f6f0d2fdae4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
187 </table>187 </table>
188 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>188 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
189 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TG,·typename·TL,·int·N·=·100&gt;<br·/>189 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TG,·typename·TL,·int·N·=·100&gt;<br·/>
190 class·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</div><p>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.·</p>190 class·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</div><p>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.·</p>
191 <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>191 <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>
192 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>192 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
193 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>193 <li><a·class="el"·href="a00329_source.html">indexset.hh</a></li>
194 </ul>194 </ul>
195 </div><!--·contents·-->195 </div><!--·contents·-->
196 <!--·start·footer·part·-->196 <!--·start·footer·part·-->
197 <hr·class="footer"/><address·class="footer"><small>197 <hr·class="footer"/><address·class="footer"><small>
198 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8198 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
199 </small></address>199 </small></address>
200 </body>200 </body>
2.19 KB
./usr/share/doc/libdune-common-doc/doxygen/a02108.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>The·iterator·over·the·pairs.··84 <p>The·iterator·over·the·pairs.··
85 ·<a·href="a02108.html#details">More...</a></p>85 ·<a·href="a02108.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator:</div>88 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="The·iterator·over·the·pairs."·alt=""·coords="872,44,1028,84"/>92 <area·shape="rect"·title="The·iterator·over·the·pairs."·alt=""·coords="872,44,1028,84"/>
93 <area·shape="rect"·href="a01276.html"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,44,823,84"/>93 <area·shape="rect"·href="a01276.html"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,44,823,84"/>
Offset 900, 15 lines modifiedOffset 900, 15 lines modified
  
900 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>900 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>
901 <p>This·has·to·be·at·least·one.·The·default·is·100.·</p>901 <p>This·has·to·be·at·least·one.·The·default·is·100.·</p>
  
902 </div>902 </div>
903 </div>903 </div>
904 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>904 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
905 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>905 <li><a·class="el"·href="a00329_source.html">indexset.hh</a></li>
906 </ul>906 </ul>
907 </div><!--·contents·-->907 </div><!--·contents·-->
908 <!--·start·footer·part·-->908 <!--·start·footer·part·-->
909 <hr·class="footer"/><address·class="footer"><small>909 <hr·class="footer"/><address·class="footer"><small>
910 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8910 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
911 </small></address>911 </small></address>
912 </body>912 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a02112.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02109.html">List·of·all·members</a>··</div>78 <a·href="a02109.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:ga513f0ea677a486f03ac70ab29907488b"·id="r_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>86 <tr·class="memitem:ga513f0ea677a486f03ac70ab29907488b"·id="r_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>
87 <tr·class="separator:ga513f0ea677a486f03ac70ab29907488b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga513f0ea677a486f03ac70ab29907488b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>90 <li><a·class="el"·href="a00329_source.html">indexset.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a02116.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a02113.html">List·of·all·members</a>··</div>78 <a·href="a02113.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indexset.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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:ga2e9e10ec7895128f5107668eef5d2842"·id="r_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>86 <tr·class="memitem:ga2e9e10ec7895128f5107668eef5d2842"·id="r_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>
87 <tr·class="separator:ga2e9e10ec7895128f5107668eef5d2842"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga2e9e10ec7895128f5107668eef5d2842"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00356_source.html">indexset.hh</a></li>90 <li><a·class="el"·href="a00329_source.html">indexset.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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
2.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a02120.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Class·for·recomputing·missing·indices·of·a·distributed·index·set.··84 <p>Class·for·recomputing·missing·indices·of·a·distributed·index·set.··
85 ·<a·href="a02120.html#details">More...</a></p>85 ·<a·href="a02120.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/parallel/indicessyncer.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/indicessyncer.hh</a>&gt;</code></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
89 Public·Types</h2></td></tr>89 Public·Types</h2></td></tr>
90 <tr·class="memitem:gaa1e45a96ec6d391e816cf3a6ecd3ba71"·id="r_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>90 <tr·class="memitem:gaa1e45a96ec6d391e816cf3a6ecd3ba71"·id="r_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>
91 <tr·class="memdesc:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<br·/></td></tr>91 <tr·class="memdesc:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<br·/></td></tr>
92 <tr·class="separator:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:gae01c9c9d98e213ba18897c0fc69dba78"·id="r_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>93 <tr·class="memitem:gae01c9c9d98e213ba18897c0fc69dba78"·id="r_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 119, 15 lines modifiedOffset 119, 15 lines modified
119 <tr·class="separator:gacf6bdea6809d17b74c69c255b7f4a233"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:gacf6bdea6809d17b74c69c255b7f4a233"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>122 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
123 class·Dune::IndicesSyncer&lt;·T·&gt;</div><p>Class·for·recomputing·missing·indices·of·a·distributed·index·set.·</p>123 class·Dune::IndicesSyncer&lt;·T·&gt;</div><p>Class·for·recomputing·missing·indices·of·a·distributed·index·set.·</p>
124 <p>Missing·local·and·remote·indices·will·be·added.·</p>124 <p>Missing·local·and·remote·indices·will·be·added.·</p>
125 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>125 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
126 <li><a·class="el"·href="a00335_source.html">indicessyncer.hh</a></li>126 <li><a·class="el"·href="a00338_source.html">indicessyncer.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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
132 </small></address>132 </small></address>
133 </body>133 </body>
1.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a02136.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder·Class·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder·Class·Reference</div></div>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>Base·class·of·all·classes·representing·a·communication·interface.··84 <p>Base·class·of·all·classes·representing·a·communication·interface.··
85 ·<a·href="a02136.html#details">More...</a></p>85 ·<a·href="a02136.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::InterfaceBuilder:</div>88 Inheritance·diagram·for·Dune::InterfaceBuilder:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <div·class="center"><img·src="a02135.png"·border="0"·usemap="#a_dune_1_1_interface_builder_inherit__map"·alt="Inheritance·graph"/></div>90 <div·class="center"><img·src="a02135.png"·border="0"·usemap="#a_dune_1_1_interface_builder_inherit__map"·alt="Inheritance·graph"/></div>
91 <map·name="a_dune_1_1_interface_builder_inherit__map"·id="a_dune_1_1_interface_builder_inherit__map">91 <map·name="a_dune_1_1_interface_builder_inherit__map"·id="a_dune_1_1_interface_builder_inherit__map">
92 <area·shape="rect"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,31"/>92 <area·shape="rect"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,31"/>
93 <area·shape="rect"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,79,139,104"/>93 <area·shape="rect"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,79,139,104"/>
Offset 170, 15 lines modifiedOffset 170, 15 lines modified
170 </div><div·class="memdoc">170 </div><div·class="memdoc">
  
171 <p>Not·for·public·use.·</p>171 <p>Not·for·public·use.·</p>
  
172 </div>172 </div>
173 </div>173 </div>
174 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>174 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
175 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>175 <li><a·class="el"·href="a04442_source.html">parallel/interface.hh</a></li>
176 </ul>176 </ul>
177 </div><!--·contents·-->177 </div><!--·contents·-->
178 <!--·start·footer·part·-->178 <!--·start·footer·part·-->
179 <hr·class="footer"/><address·class="footer"><small>179 <hr·class="footer"/><address·class="footer"><small>
180 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8180 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
181 </small></address>181 </small></address>
182 </body>182 </body>
2.99 KB
./usr/share/doc/libdune-common-doc/doxygen/a02140.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02137.html">List·of·all·members</a>··</div>79 <a·href="a02137.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder::RemoteIndicesStateError·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::InterfaceBuilder::RemoteIndicesStateError·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
84 <div·class="dynheader">84 <div·class="dynheader">
85 Inheritance·diagram·for·Dune::InterfaceBuilder::RemoteIndicesStateError:</div>85 Inheritance·diagram·for·Dune::InterfaceBuilder::RemoteIndicesStateError:</div>
86 <div·class="dyncontent">86 <div·class="dyncontent">
87 <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>87 <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>
88 <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">88 <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">
89 <area·shape="rect"·title="·"·alt=""·coords="11,225,187,265"/>89 <area·shape="rect"·title="·"·alt=""·coords="11,225,187,265"/>
90 <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,152,192,177"/>90 <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,152,192,177"/>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <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>)··<br·/></td></tr>112 <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>)··<br·/></td></tr>
113 <tr·class="separator:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>114 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
115 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>115 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
116 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>117 </table>
118 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>119 <li><a·class="el"·href="a04442_source.html">parallel/interface.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a02144.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::InterfaceInformation·Class·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::InterfaceInformation·Class·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Information·describing·an·interface.··82 <p>Information·describing·an·interface.··
83 ·<a·href="a02144.html#details">More...</a></p>83 ·<a·href="a02144.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ae44761e3e2f5b738e06d04b7e76cf90b"·id="r_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>88 <tr·class="memitem:ae44761e3e2f5b738e06d04b7e76cf90b"·id="r_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>
89 <tr·class="memdesc:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·number·of·entries·in·the·interface.··<br·/></td></tr>89 <tr·class="memdesc:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·number·of·entries·in·the·interface.··<br·/></td></tr>
90 <tr·class="separator:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ae44761e3e2f5b738e06d04b7e76cf90b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a60f60900cb0fae30c356be390fc26c53"·id="r_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>91 <tr·class="memitem:a60f60900cb0fae30c356be390fc26c53"·id="r_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 400, 15 lines modifiedOffset 400, 15 lines modified
400 </div><div·class="memdoc">400 </div><div·class="memdoc">
  
401 <p>Get·the·number·of·entries·in·the·interface.·</p>401 <p>Get·the·number·of·entries·in·the·interface.·</p>
  
402 </div>402 </div>
403 </div>403 </div>
404 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>404 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
405 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>405 <li><a·class="el"·href="a04442_source.html">parallel/interface.hh</a></li>
406 </ul>406 </ul>
407 </div><!--·contents·-->407 </div><!--·contents·-->
408 <!--·start·footer·part·-->408 <!--·start·footer·part·-->
409 <hr·class="footer"/><address·class="footer"><small>409 <hr·class="footer"/><address·class="footer"><small>
410 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8410 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
411 </small></address>411 </small></address>
412 </body>412 </body>
2.11 KB
./usr/share/doc/libdune-common-doc/doxygen/a02148.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ··<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>83 ··<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>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <p><a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·interface·between·remote·and·local·indices.··86 <p><a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·interface·between·remote·and·local·indices.··
87 ·<a·href="a02148.html#details">More...</a></p>87 ·<a·href="a02148.html#details">More...</a></p>
  
88 <p><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>88 <p><code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code></p>
89 <div·class="dynheader">89 <div·class="dynheader">
90 Inheritance·diagram·for·Dune::Interface:</div>90 Inheritance·diagram·for·Dune::Interface:</div>
91 <div·class="dyncontent">91 <div·class="dyncontent">
92 <div·class="center"><img·src="a02147.png"·border="0"·usemap="#a_dune_1_1_interface_inherit__map"·alt="Inheritance·graph"/></div>92 <div·class="center"><img·src="a02147.png"·border="0"·usemap="#a_dune_1_1_interface_inherit__map"·alt="Inheritance·graph"/></div>
93 <map·name="a_dune_1_1_interface_inherit__map"·id="a_dune_1_1_interface_inherit__map">93 <map·name="a_dune_1_1_interface_inherit__map"·id="a_dune_1_1_interface_inherit__map">
94 <area·shape="rect"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,79,139,104"/>94 <area·shape="rect"·title="Communication·interface·between·remote·and·local·indices."·alt=""·coords="25,79,139,104"/>
95 <area·shape="rect"·href="a02136.html"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,31"/>95 <area·shape="rect"·href="a02136.html"·title="Base·class·of·all·classes·representing·a·communication·interface."·alt=""·coords="5,5,159,31"/>
Offset 300, 15 lines modifiedOffset 300, 15 lines modified
300 </div><div·class="memdoc">300 </div><div·class="memdoc">
  
301 <p>The·MPI·communicator·we·use.·</p>301 <p>The·MPI·communicator·we·use.·</p>
  
302 </div>302 </div>
303 </div>303 </div>
304 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>304 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
305 <li><a·class="el"·href="a04445_source.html">parallel/interface.hh</a></li>305 <li><a·class="el"·href="a04442_source.html">parallel/interface.hh</a></li>
306 </ul>306 </ul>
307 </div><!--·contents·-->307 </div><!--·contents·-->
308 <!--·start·footer·part·-->308 <!--·start·footer·part·-->
309 <hr·class="footer"/><address·class="footer"><small>309 <hr·class="footer"/><address·class="footer"><small>
310 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8310 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
311 </small></address>311 </small></address>
312 </body>312 </body>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a02156.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>An·index·present·on·the·local·process.··82 <p>An·index·present·on·the·local·process.··
83 ·<a·href="a02156.html#details">More...</a></p>83 ·<a·href="a02156.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00326_source.html">dune/common/parallel/localindex.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/parallel/localindex.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a0da12322a253fc5169fbe2ed1c718cc7"·id="r_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>88 <tr·class="memitem:a0da12322a253fc5169fbe2ed1c718cc7"·id="r_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>
89 <tr·class="memdesc:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.·known·to·other·processes.··<br·/></td></tr>89 <tr·class="memdesc:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.·known·to·other·processes.··<br·/></td></tr>
90 <tr·class="separator:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a320964a5a6fa1425f4b7ab2dc219d748"·id="r_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>91 <tr·class="memitem:a320964a5a6fa1425f4b7ab2dc219d748"·id="r_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 170, 15 lines modifiedOffset 170, 15 lines modified
170 ··</table>170 ··</table>
171 ··</dd>171 ··</dd>
172 </dl>172 </dl>
  
173 </div>173 </div>
174 </div>174 </div>
175 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>175 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
176 <li><a·class="el"·href="a00326_source.html">localindex.hh</a></li>176 <li><a·class="el"·href="a00335_source.html">localindex.hh</a></li>
177 </ul>177 </ul>
178 </div><!--·contents·-->178 </div><!--·contents·-->
179 <!--·start·footer·part·-->179 <!--·start·footer·part·-->
180 <hr·class="footer"/><address·class="footer"><small>180 <hr·class="footer"/><address·class="footer"><small>
181 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8181 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
182 </small></address>182 </small></address>
183 </body>183 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a02160.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02157.html">List·of·all·members</a>··</div>78 <a·href="a02157.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/parallel/mpicommunication.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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a630e429addd37d613753026e63f07410"·id="r_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>86 <tr·class="memitem:a630e429addd37d613753026e63f07410"·id="r_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>
87 <tr·class="separator:a630e429addd37d613753026e63f07410"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a630e429addd37d613753026e63f07410"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
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·class·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00362_source.html">mpicommunication.hh</a></li>118 <li><a·class="el"·href="a00332_source.html">mpicommunication.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.8123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
124 </small></address>124 </small></address>
125 </body>125 </body>
2.64 KB
./usr/share/doc/libdune-common-doc/doxygen/a02164.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·of·<a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·for·MPI.··82 <p>Specialization·of·<a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·for·MPI.··
83 ·<a·href="a02164.html#details">More...</a></p>83 ·<a·href="a02164.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00332_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ae9ea46012bc9abda6405389beeb67fd0"·id="r_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>88 <tr·class="memitem:ae9ea46012bc9abda6405389beeb67fd0"·id="r_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>
89 <tr·class="memdesc:ae9ea46012bc9abda6405389beeb67fd0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Instantiation·using·a·MPI·communicator.··<br·/></td></tr>89 <tr·class="memdesc:ae9ea46012bc9abda6405389beeb67fd0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Instantiation·using·a·MPI·communicator.··<br·/></td></tr>
90 <tr·class="separator:ae9ea46012bc9abda6405389beeb67fd0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ae9ea46012bc9abda6405389beeb67fd0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a50d39037a0984cdbf4ab0be6529154cb"·id="r_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>91 <tr·class="memitem:a50d39037a0984cdbf4ab0be6529154cb"·id="r_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 1728, 15 lines modifiedOffset 1728, 15 lines modified
1728 </div><div·class="memdoc">1728 </div><div·class="memdoc">
  
1729 <p>Compute·the·sum·of·the·argument·over·all·processes·and·return·the·result·in·every·process.·Assumes·that·T·has·an·operator+.···</p>1729 <p>Compute·the·sum·of·the·argument·over·all·processes·and·return·the·result·in·every·process.·Assumes·that·T·has·an·operator+.···</p>
  
1730 </div>1730 </div>
1731 </div>1731 </div>
1732 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1732 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1733 <li><a·class="el"·href="a00362_source.html">mpicommunication.hh</a></li>1733 <li><a·class="el"·href="a00332_source.html">mpicommunication.hh</a></li>
1734 </ul>1734 </ul>
1735 </div><!--·contents·-->1735 </div><!--·contents·-->
1736 <!--·start·footer·part·-->1736 <!--·start·footer·part·-->
1737 <hr·class="footer"/><address·class="footer"><small>1737 <hr·class="footer"/><address·class="footer"><small>
1738 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81738 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1739 </small></address>1739 </small></address>
1740 </body>1740 </body>
2.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a02168.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;79 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
80 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;80 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
81 <a·href="a02165.html">List·of·all·members</a>··</div>81 <a·href="a02165.html">List·of·all·members</a>··</div>
82 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·T,·Enable·&gt;·Struct·Template·Reference</div></div>82 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·T,·Enable·&gt;·Struct·Template·Reference</div></div>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:a9834f1258b028e1fcda4f04c329a02f5"·id="r_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>89 <tr·class="memitem:a9834f1258b028e1fcda4f04c329a02f5"·id="r_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>
90 <tr·class="separator:a9834f1258b028e1fcda4f04c329a02f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a9834f1258b028e1fcda4f04c329a02f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:aaa76e34727f04969952f182fdac25c06"·id="r_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>91 <tr·class="memitem:aaa76e34727f04969952f182fdac25c06"·id="r_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>
92 <tr·class="separator:aaa76e34727f04969952f182fdac25c06"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:aaa76e34727f04969952f182fdac25c06"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 266, 15 lines modifiedOffset 266, 15 lines modified
266 ··</tr>266 ··</tr>
267 </table>267 </table>
268 </div><div·class="memdoc">268 </div><div·class="memdoc">
  
269 </div>269 </div>
270 </div>270 </div>
271 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>271 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
272 <li><a·class="el"·href="a00320_source.html">mpidata.hh</a></li>272 <li><a·class="el"·href="a00341_source.html">mpidata.hh</a></li>
273 </ul>273 </ul>
274 </div><!--·contents·-->274 </div><!--·contents·-->
275 <!--·start·footer·part·-->275 <!--·start·footer·part·-->
276 <hr·class="footer"/><address·class="footer"><small>276 <hr·class="footer"/><address·class="footer"><small>
277 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8277 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
278 </small></address>278 </small></address>
279 </body>279 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02172.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;78 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
79 <a·href="a02169.html">List·of·all·members</a>··</div>79 <a·href="a02169.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·void·&gt;·Struct·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·void·&gt;·Struct·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
86 Public·Member·Functions</h2></td></tr>86 Public·Member·Functions</h2></td></tr>
87 <tr·class="memitem:ae570394656e5e49658c9f84fc8ad6b38"·id="r_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>87 <tr·class="memitem:ae570394656e5e49658c9f84fc8ad6b38"·id="r_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>
88 <tr·class="separator:ae570394656e5e49658c9f84fc8ad6b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:ae570394656e5e49658c9f84fc8ad6b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:ac6af51037c43267ff48f26fff43c00e1"·id="r_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>89 <tr·class="memitem:ac6af51037c43267ff48f26fff43c00e1"·id="r_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>
90 <tr·class="separator:ac6af51037c43267ff48f26fff43c00e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ac6af51037c43267ff48f26fff43c00e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 223, 15 lines modifiedOffset 223, 15 lines modified
223 ··</tr>223 ··</tr>
224 </table>224 </table>
225 </div><div·class="memdoc">225 </div><div·class="memdoc">
  
226 </div>226 </div>
227 </div>227 </div>
228 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>228 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
229 <li><a·class="el"·href="a00320_source.html">mpidata.hh</a></li>229 <li><a·class="el"·href="a00341_source.html">mpidata.hh</a></li>
230 </ul>230 </ul>
231 </div><!--·contents·-->231 </div><!--·contents·-->
232 <!--·start·footer·part·-->232 <!--·start·footer·part·-->
233 <hr·class="footer"/><address·class="footer"><small>233 <hr·class="footer"/><address·class="footer"><small>
234 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8234 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
235 </small></address>235 </small></address>
236 </body>236 </body>
2.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a02176.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;79 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
80 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;80 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
81 <a·href="a02173.html">List·of·all·members</a>··</div>81 <a·href="a02173.html">List·of·all·members</a>··</div>
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:a3e2ebaf1cdd57c67aac90db5a306eef1"·id="r_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>89 <tr·class="memitem:a3e2ebaf1cdd57c67aac90db5a306eef1"·id="r_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>
90 <tr·class="separator:a3e2ebaf1cdd57c67aac90db5a306eef1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a3e2ebaf1cdd57c67aac90db5a306eef1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a92c2c66f424e9429fad7562554a2f9fe"·id="r_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>91 <tr·class="memitem:a92c2c66f424e9429fad7562554a2f9fe"·id="r_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>
92 <tr·class="separator:a92c2c66f424e9429fad7562554a2f9fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:a92c2c66f424e9429fad7562554a2f9fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 300, 15 lines modifiedOffset 300, 15 lines modified
300 ··</tr>300 ··</tr>
301 </table>301 </table>
302 </div><div·class="memdoc">302 </div><div·class="memdoc">
  
303 </div>303 </div>
304 </div>304 </div>
305 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>305 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
306 <li><a·class="el"·href="a00320_source.html">mpidata.hh</a></li>306 <li><a·class="el"·href="a00341_source.html">mpidata.hh</a></li>
307 </ul>307 </ul>
308 </div><!--·contents·-->308 </div><!--·contents·-->
309 <!--·start·footer·part·-->309 <!--·start·footer·part·-->
310 <hr·class="footer"/><address·class="footer"><small>310 <hr·class="footer"/><address·class="footer"><small>
311 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8311 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
312 </small></address>312 </small></address>
313 </body>313 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02180.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
79 <a·href="a02177.html">List·of·all·members</a>··</div>79 <a·href="a02177.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&gt;·Struct·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&gt;·Struct·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
84 <div·class="dynheader">84 <div·class="dynheader">
85 Inheritance·diagram·for·Dune::impl::Buffer&lt;·T·&gt;:</div>85 Inheritance·diagram·for·Dune::impl::Buffer&lt;·T·&gt;:</div>
86 <div·class="dyncontent">86 <div·class="dyncontent">
87 <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>87 <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>
88 <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">88 <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">
89 <area·shape="rect"·title="·"·alt=""·coords="7,5,165,31"/>89 <area·shape="rect"·title="·"·alt=""·coords="7,5,165,31"/>
90 <area·shape="rect"·href="a02180.html"·title="·"·alt=""·coords="5,93,167,119"/>90 <area·shape="rect"·href="a02180.html"·title="·"·alt=""·coords="5,93,167,119"/>
Offset 267, 15 lines modifiedOffset 267, 15 lines modified
267 ········</tr>267 ········</tr>
268 ······</table>268 ······</table>
269 </div><div·class="memdoc">269 </div><div·class="memdoc">
  
270 </div>270 </div>
271 </div>271 </div>
272 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>272 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
273 <li><a·class="el"·href="a00374_source.html">mpifuture.hh</a></li>273 <li><a·class="el"·href="a00350_source.html">mpifuture.hh</a></li>
274 </ul>274 </ul>
275 </div><!--·contents·-->275 </div><!--·contents·-->
276 <!--·start·footer·part·-->276 <!--·start·footer·part·-->
277 <hr·class="footer"/><address·class="footer"><small>277 <hr·class="footer"/><address·class="footer"><small>
278 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8278 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
279 </small></address>279 </small></address>
280 </body>280 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a02184.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
79 <a·href="a02181.html">List·of·all·members</a>··</div>79 <a·href="a02181.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&amp;·&gt;·Struct·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&amp;·&gt;·Struct·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
86 Public·Member·Functions</h2></td></tr>86 Public·Member·Functions</h2></td></tr>
87 <tr·class="memitem:a452244eaa73c4de337aa2bdf7bf2a6f1"·id="r_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>87 <tr·class="memitem:a452244eaa73c4de337aa2bdf7bf2a6f1"·id="r_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>
88 <tr·class="separator:a452244eaa73c4de337aa2bdf7bf2a6f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a452244eaa73c4de337aa2bdf7bf2a6f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:afbd96d60f9a2dd1e336b1fb14645c0a5"·id="r_afbd96d60f9a2dd1e336b1fb14645c0a5"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>89 <tr·class="memitem:afbd96d60f9a2dd1e336b1fb14645c0a5"·id="r_afbd96d60f9a2dd1e336b1fb14645c0a5"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
90 <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>90 <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 257, 15 lines modifiedOffset 257, 15 lines modified
257 ········</tr>257 ········</tr>
258 ······</table>258 ······</table>
259 </div><div·class="memdoc">259 </div><div·class="memdoc">
  
260 </div>260 </div>
261 </div>261 </div>
262 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>262 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
263 <li><a·class="el"·href="a00374_source.html">mpifuture.hh</a></li>263 <li><a·class="el"·href="a00350_source.html">mpifuture.hh</a></li>
264 </ul>264 </ul>
265 </div><!--·contents·-->265 </div><!--·contents·-->
266 <!--·start·footer·part·-->266 <!--·start·footer·part·-->
267 <hr·class="footer"/><address·class="footer"><small>267 <hr·class="footer"/><address·class="footer"><small>
268 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8268 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
269 </small></address>269 </small></address>
270 </body>270 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a02188.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
79 <a·href="a02185.html">List·of·all·members</a>··</div>79 <a·href="a02185.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·void·&gt;·Struct·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·void·&gt;·Struct·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
86 Public·Member·Functions</h2></td></tr>86 Public·Member·Functions</h2></td></tr>
87 <tr·class="memitem:af1e6146bcdfe51e49f250898c42fa32d"·id="r_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>87 <tr·class="memitem:af1e6146bcdfe51e49f250898c42fa32d"·id="r_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>
88 <tr·class="separator:af1e6146bcdfe51e49f250898c42fa32d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:af1e6146bcdfe51e49f250898c42fa32d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a4ba66cd0b4596d5b18d62e1a5b84e71f"·id="r_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>89 <tr·class="memitem:a4ba66cd0b4596d5b18d62e1a5b84e71f"·id="r_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>
90 <tr·class="separator:a4ba66cd0b4596d5b18d62e1a5b84e71f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a4ba66cd0b4596d5b18d62e1a5b84e71f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 187, 15 lines modifiedOffset 187, 15 lines modified
187 ········</tr>187 ········</tr>
188 ······</table>188 ······</table>
189 </div><div·class="memdoc">189 </div><div·class="memdoc">
  
190 </div>190 </div>
191 </div>191 </div>
192 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>192 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
193 <li><a·class="el"·href="a00374_source.html">mpifuture.hh</a></li>193 <li><a·class="el"·href="a00350_source.html">mpifuture.hh</a></li>
194 </ul>194 </ul>
195 </div><!--·contents·-->195 </div><!--·contents·-->
196 <!--·start·footer·part·-->196 <!--·start·footer·part·-->
197 <hr·class="footer"/><address·class="footer"><small>197 <hr·class="footer"/><address·class="footer"><small>
198 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8198 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
199 </small></address>199 </small></address>
200 </body>200 </body>
2.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a02192.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::MPIFuture&lt;·R,·S·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::MPIFuture&lt;·R,·S·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <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.··82 <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.··
83 ·<a·href="a02192.html#details">More...</a></p>83 ·<a·href="a02192.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a6a22bdeaef8af5b3e999f94fcfa1578e"·id="r_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>88 <tr·class="memitem:a6a22bdeaef8af5b3e999f94fcfa1578e"·id="r_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>
89 <tr·class="separator:a6a22bdeaef8af5b3e999f94fcfa1578e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a6a22bdeaef8af5b3e999f94fcfa1578e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:ac815aaa3205bb243232fab54ded55621"·id="r_ac815aaa3205bb243232fab54ded55621"><td·class="memTemplParams"·colspan="2">template&lt;class·V··=·R,·class·U··=·S&gt;·</td></tr>90 <tr·class="memitem:ac815aaa3205bb243232fab54ded55621"·id="r_ac815aaa3205bb243232fab54ded55621"><td·class="memTemplParams"·colspan="2">template&lt;class·V··=·R,·class·U··=·S&gt;·</td></tr>
91 <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>91 <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 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="a00374_source.html">mpifuture.hh</a></li>510 <li><a·class="el"·href="a00350_source.html">mpifuture.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.8515 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
516 </small></address>516 </small></address>
517 </body>517 </body>
2.89 KB
./usr/share/doc/libdune-common-doc/doxygen/a02196.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <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.··83 <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.··
84 ·<a·href="a02196.html#details">More...</a></p>84 ·<a·href="a02196.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00326_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::MPIGuardError:</div>87 Inheritance·diagram·for·Dune::MPIGuardError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,225,152,251"/>91 <area·shape="rect"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,225,152,251"/>
92 <area·shape="rect"·href="a01584.html"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,152,145,177"/>92 <area·shape="rect"·href="a01584.html"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,152,145,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <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>122 <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>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00371_source.html">mpiguard.hh</a></li>124 <li><a·class="el"·href="a00326_source.html">mpiguard.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.68 KB
./usr/share/doc/libdune-common-doc/doxygen/a02200.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>detects·a·thrown·exception·and·communicates·to·all·other·processes··82 <p>detects·a·thrown·exception·and·communicates·to·all·other·processes··
83 ·<a·href="a02200.html#details">More...</a></p>83 ·<a·href="a02200.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00326_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ad0dafbe8eb21985ac54f70e48ce44def"·id="r_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>88 <tr·class="memitem:ad0dafbe8eb21985ac54f70e48ce44def"·id="r_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>
89 <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>··<br·/></td></tr>89 <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>··<br·/></td></tr>
90 <tr·class="separator:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:ade82937388e34e6b822f440abcebc515"·id="r_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>91 <tr·class="memitem:ade82937388e34e6b822f440abcebc515"·id="r_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 390, 15 lines modifiedOffset 390, 15 lines modified
  
390 <p>reactivate·the·guard.·</p>390 <p>reactivate·the·guard.·</p>
391 <p>If·the·guard·is·still·active·finalize(true)·is·called·first.·</p>391 <p>If·the·guard·is·still·active·finalize(true)·is·called·first.·</p>
  
392 </div>392 </div>
393 </div>393 </div>
394 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>394 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
395 <li><a·class="el"·href="a00371_source.html">mpiguard.hh</a></li>395 <li><a·class="el"·href="a00326_source.html">mpiguard.hh</a></li>
396 </ul>396 </ul>
397 </div><!--·contents·-->397 </div><!--·contents·-->
398 <!--·start·footer·part·-->398 <!--·start·footer·part·-->
399 <hr·class="footer"/><address·class="footer"><small>399 <hr·class="footer"/><address·class="footer"><small>
400 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8400 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
401 </small></address>401 </small></address>
402 </body>402 </body>
9.25 KB
./usr/share/doc/libdune-common-doc/doxygen/a02204.html
    
Offset 101, 28 lines modifiedOffset 101, 28 lines modified
101 <tr·class="separator:aebff07320a4b09dc687d0d13ee9a75a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:aebff07320a4b09dc687d0d13ee9a75a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a60a600fe6ed51c70a0a61b86ebba2977"·id="r_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>102 <tr·class="memitem:a60a600fe6ed51c70a0a61b86ebba2977"·id="r_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>
103 <tr·class="memdesc:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·rank·of·process,·i.e.·one··<br·/></td></tr>103 <tr·class="memdesc:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·rank·of·process,·i.e.·one··<br·/></td></tr>
104 <tr·class="separator:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">105 </table><table·class="memberdecls">
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
107 Static·Public·Member·Functions</h2></td></tr>107 Static·Public·Member·Functions</h2></td></tr>
108 <tr·class="memitem:a021b715f26fb0098c3d7647bab416338"·id="r_a021b715f26fb0098c3d7647bab416338"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00095.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>108 <tr·class="memitem:a021b715f26fb0098c3d7647bab416338"·id="r_a021b715f26fb0098c3d7647bab416338"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00164.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>
109 <tr·class="memdesc:a021b715f26fb0098c3d7647bab416338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·default·communicator··<br·/></td></tr>109 <tr·class="memdesc:a021b715f26fb0098c3d7647bab416338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·default·communicator··<br·/></td></tr>
110 <tr·class="separator:a021b715f26fb0098c3d7647bab416338"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:a021b715f26fb0098c3d7647bab416338"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a7c0cb1ffbda2e8f4feeadd745f64a5ef"·id="r_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>111 <tr·class="memitem:a7c0cb1ffbda2e8f4feeadd745f64a5ef"·id="r_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>
112 <tr·class="memdesc:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<br·/></td></tr>112 <tr·class="memdesc:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<br·/></td></tr>
113 <tr·class="separator:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:a6f7959361cf241356fb6cd7a1618e643"·id="r_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>114 <tr·class="memitem:a6f7959361cf241356fb6cd7a1618e643"·id="r_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>
115 <tr·class="separator:a6f7959361cf241356fb6cd7a1618e643"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:a6f7959361cf241356fb6cd7a1618e643"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 <tr·class="memitem:ad2aa684d80dfcfc38ed0c314d5c6a648"·id="r_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>116 <tr·class="memitem:ad2aa684d80dfcfc38ed0c314d5c6a648"·id="r_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>
117 <tr·class="separator:ad2aa684d80dfcfc38ed0c314d5c6a648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:ad2aa684d80dfcfc38ed0c314d5c6a648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 <tr·class="memitem:a957ab3c46933eaa060a6de415a738247"·id="r_a957ab3c46933eaa060a6de415a738247"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00095.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>118 <tr·class="memitem:a957ab3c46933eaa060a6de415a738247"·id="r_a957ab3c46933eaa060a6de415a738247"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00164.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>
119 <tr·class="memdesc:a957ab3c46933eaa060a6de415a738247"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<br·/></td></tr>119 <tr·class="memdesc:a957ab3c46933eaa060a6de415a738247"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<br·/></td></tr>
120 <tr·class="separator:a957ab3c46933eaa060a6de415a738247"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:a957ab3c46933eaa060a6de415a738247"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:abfe6f30c37fb06179ec7b8fb607040e0"·id="r_abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00095.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>121 <tr·class="memitem:abfe6f30c37fb06179ec7b8fb607040e0"·id="r_abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00164.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>
122 <tr·class="separator:abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 </table><table·class="memberdecls">123 </table><table·class="memberdecls">
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
125 Static·Public·Attributes</h2></td></tr>125 Static·Public·Attributes</h2></td></tr>
126 <tr·class="memitem:ad9493432e4a2a80668846429b56a3933"·id="r_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>126 <tr·class="memitem:ad9493432e4a2a80668846429b56a3933"·id="r_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>
127 <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.)··<br·/></td></tr>127 <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.)··<br·/></td></tr>
128 <tr·class="separator:ad9493432e4a2a80668846429b56a3933"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:ad9493432e4a2a80668846429b56a3933"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 206, 15 lines modifiedOffset 206, 15 lines modified
206 <div·class="memitem">206 <div·class="memitem">
207 <div·class="memproto">207 <div·class="memproto">
208 <table·class="mlabels">208 <table·class="mlabels">
209 ··<tr>209 ··<tr>
210 ··<td·class="mlabels-left">210 ··<td·class="mlabels-left">
211 ······<table·class="memname">211 ······<table·class="memname">
212 ········<tr>212 ········<tr>
213 ··········<td·class="memname">static·<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·Dune::FakeMPIHelper::getCommunicator·</td>213 ··········<td·class="memname">static·<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·Dune::FakeMPIHelper::getCommunicator·</td>
214 ··········<td>(</td>214 ··········<td>(</td>
215 ··········<td·class="paramname"></td><td>)</td>215 ··········<td·class="paramname"></td><td>)</td>
216 ··········<td></td>216 ··········<td></td>
217 ········</tr>217 ········</tr>
218 ······</table>218 ······</table>
219 ··</td>219 ··</td>
220 ··<td·class="mlabels-right">220 ··<td·class="mlabels-right">
Offset 264, 15 lines modifiedOffset 264, 15 lines modified
264 <div·class="memitem">264 <div·class="memitem">
265 <div·class="memproto">265 <div·class="memproto">
266 <table·class="mlabels">266 <table·class="mlabels">
267 ··<tr>267 ··<tr>
268 ··<td·class="mlabels-left">268 ··<td·class="mlabels-left">
269 ······<table·class="memname">269 ······<table·class="memname">
270 ········<tr>270 ········<tr>
271 ··········<td·class="memname">static·<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>271 ··········<td·class="memname">static·<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>
272 ··········<td>(</td>272 ··········<td>(</td>
273 ··········<td·class="paramname"></td><td>)</td>273 ··········<td·class="paramname"></td><td>)</td>
274 ··········<td></td>274 ··········<td></td>
275 ········</tr>275 ········</tr>
276 ······</table>276 ······</table>
277 ··</td>277 ··</td>
278 ··<td·class="mlabels-right">278 ··<td·class="mlabels-right">
Offset 289, 15 lines modifiedOffset 289, 15 lines modified
289 <div·class="memitem">289 <div·class="memitem">
290 <div·class="memproto">290 <div·class="memproto">
291 <table·class="mlabels">291 <table·class="mlabels">
292 ··<tr>292 ··<tr>
293 ··<td·class="mlabels-left">293 ··<td·class="mlabels-left">
294 ······<table·class="memname">294 ······<table·class="memname">
295 ········<tr>295 ········<tr>
296 ··········<td·class="memname">static·<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>296 ··········<td·class="memname">static·<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>
297 ··········<td>(</td>297 ··········<td>(</td>
298 ··········<td·class="paramtype">int&#160;</td>298 ··········<td·class="paramtype">int&#160;</td>
299 ··········<td·class="paramname"><em>argc</em>,·</td>299 ··········<td·class="paramname"><em>argc</em>,·</td>
300 ········</tr>300 ········</tr>
301 ········<tr>301 ········<tr>
302 ··········<td·class="paramkey"></td>302 ··········<td·class="paramkey"></td>
303 ··········<td></td>303 ··········<td></td>
6.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a02208.html
    
Offset 114, 18 lines modifiedOffset 114, 18 lines modified
114 <tr·class="memitem:a9dd9120f09ba5a96e6c85f24ed9117dd"·id="r_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>114 <tr·class="memitem:a9dd9120f09ba5a96e6c85f24ed9117dd"·id="r_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>
115 <tr·class="memdesc:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<br·/></td></tr>115 <tr·class="memdesc:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<br·/></td></tr>
116 <tr·class="separator:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:accdbef5c68d94f5dfa9a1f5ed24cddc6"·id="r_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>117 <tr·class="memitem:accdbef5c68d94f5dfa9a1f5ed24cddc6"·id="r_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>
118 <tr·class="separator:accdbef5c68d94f5dfa9a1f5ed24cddc6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:accdbef5c68d94f5dfa9a1f5ed24cddc6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:a5dc7f84923245a6c68421fa2b3e4fa33"·id="r_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>119 <tr·class="memitem:a5dc7f84923245a6c68421fa2b3e4fa33"·id="r_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>
120 <tr·class="separator:a5dc7f84923245a6c68421fa2b3e4fa33"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:a5dc7f84923245a6c68421fa2b3e4fa33"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:a4ec30b56d985e3be3b0bfa14b1109c93"·id="r_a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00095.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>121 <tr·class="memitem:a4ec30b56d985e3be3b0bfa14b1109c93"·id="r_a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00164.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>
122 <tr·class="memdesc:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<br·/></td></tr>122 <tr·class="memdesc:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<br·/></td></tr>
123 <tr·class="separator:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 <tr·class="memitem:a25bb6bfa9963548bf4de5ae038815416"·id="r_a25bb6bfa9963548bf4de5ae038815416"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00095.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>124 <tr·class="memitem:a25bb6bfa9963548bf4de5ae038815416"·id="r_a25bb6bfa9963548bf4de5ae038815416"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00164.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>
125 <tr·class="separator:a25bb6bfa9963548bf4de5ae038815416"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:a25bb6bfa9963548bf4de5ae038815416"><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="pub-static-attribs"·name="pub-static-attribs"></a>127 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
128 Static·Public·Attributes</h2></td></tr>128 Static·Public·Attributes</h2></td></tr>
129 <tr·class="memitem:a2873dfa4334235a0ac70430447e104fa"·id="r_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>129 <tr·class="memitem:a2873dfa4334235a0ac70430447e104fa"·id="r_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>
130 <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.··<br·/></td></tr>130 <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.··<br·/></td></tr>
131 <tr·class="separator:a2873dfa4334235a0ac70430447e104fa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>131 <tr·class="separator:a2873dfa4334235a0ac70430447e104fa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 295, 15 lines modifiedOffset 295, 15 lines modified
295 <div·class="memitem">295 <div·class="memitem">
296 <div·class="memproto">296 <div·class="memproto">
297 <table·class="mlabels">297 <table·class="mlabels">
298 ··<tr>298 ··<tr>
299 ··<td·class="mlabels-left">299 ··<td·class="mlabels-left">
300 ······<table·class="memname">300 ······<table·class="memname">
301 ········<tr>301 ········<tr>
302 ··········<td·class="memname">static·<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>302 ··········<td·class="memname">static·<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>
303 ··········<td>(</td>303 ··········<td>(</td>
304 ··········<td·class="paramname"></td><td>)</td>304 ··········<td·class="paramname"></td><td>)</td>
305 ··········<td></td>305 ··········<td></td>
306 ········</tr>306 ········</tr>
307 ······</table>307 ······</table>
308 ··</td>308 ··</td>
309 ··<td·class="mlabels-right">309 ··<td·class="mlabels-right">
Offset 320, 15 lines modifiedOffset 320, 15 lines modified
320 <div·class="memitem">320 <div·class="memitem">
321 <div·class="memproto">321 <div·class="memproto">
322 <table·class="mlabels">322 <table·class="mlabels">
323 ··<tr>323 ··<tr>
324 ··<td·class="mlabels-left">324 ··<td·class="mlabels-left">
325 ······<table·class="memname">325 ······<table·class="memname">
326 ········<tr>326 ········<tr>
327 ··········<td·class="memname">static·<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>327 ··········<td·class="memname">static·<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>
328 ··········<td>(</td>328 ··········<td>(</td>
329 ··········<td·class="paramtype">int·&amp;&#160;</td>329 ··········<td·class="paramtype">int·&amp;&#160;</td>
330 ··········<td·class="paramname"><em>argc</em>,·</td>330 ··········<td·class="paramname"><em>argc</em>,·</td>
331 ········</tr>331 ········</tr>
332 ········<tr>332 ········<tr>
333 ··········<td·class="paramkey"></td>333 ··········<td·class="paramkey"></td>
334 ··········<td></td>334 ··········<td></td>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a02212.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02209.html">List·of·all·members</a>··</div>79 <a·href="a02209.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::MPIPack·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::MPIPack·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
86 Public·Member·Functions</h2></td></tr>86 Public·Member·Functions</h2></td></tr>
87 <tr·class="memitem:a4e166e81e3c9ffba16197994c428112f"·id="r_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>87 <tr·class="memitem:a4e166e81e3c9ffba16197994c428112f"·id="r_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>
88 <tr·class="separator:a4e166e81e3c9ffba16197994c428112f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a4e166e81e3c9ffba16197994c428112f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a9f5ffce415d2f91c197a89d66f8c168e"·id="r_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>89 <tr·class="memitem:a9f5ffce415d2f91c197a89d66f8c168e"·id="r_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>
90 <tr·class="separator:a9f5ffce415d2f91c197a89d66f8c168e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a9f5ffce415d2f91c197a89d66f8c168e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 676, 15 lines modifiedOffset 676, 15 lines modified
676 ··</table>676 ··</table>
677 ··</dd>677 ··</dd>
678 </dl>678 </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="a00359_source.html">mpipack.hh</a></li>682 <li><a·class="el"·href="a00314_source.html">mpipack.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.8687 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
688 </small></address>688 </small></address>
689 </body>689 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a02216.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;79 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
80 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;80 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
81 <a·href="a02213.html">List·of·all·members</a>··</div>81 <a·href="a02213.html">List·of·all·members</a>··</div>
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:a70058db2020c44aea1466ec4d032057a"·id="r_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>89 <tr·class="memitem:a70058db2020c44aea1466ec4d032057a"·id="r_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>
90 <tr·class="separator:a70058db2020c44aea1466ec4d032057a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a70058db2020c44aea1466ec4d032057a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a59cd59c3ed948bd63ac2458ee979fa8c"·id="r_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>91 <tr·class="memitem:a59cd59c3ed948bd63ac2458ee979fa8c"·id="r_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>
92 <tr·class="separator:a59cd59c3ed948bd63ac2458ee979fa8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:a59cd59c3ed948bd63ac2458ee979fa8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 296, 15 lines modifiedOffset 296, 15 lines modified
296 ··</tr>296 ··</tr>
297 </table>297 </table>
298 </div><div·class="memdoc">298 </div><div·class="memdoc">
  
299 </div>299 </div>
300 </div>300 </div>
301 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>301 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
302 <li><a·class="el"·href="a00359_source.html">mpipack.hh</a></li>302 <li><a·class="el"·href="a00314_source.html">mpipack.hh</a></li>
303 </ul>303 </ul>
304 </div><!--·contents·-->304 </div><!--·contents·-->
305 <!--·start·footer·part·-->305 <!--·start·footer·part·-->
306 <hr·class="footer"/><address·class="footer"><small>306 <hr·class="footer"/><address·class="footer"><small>
307 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8307 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
308 </small></address>308 </small></address>
309 </body>309 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a02220.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>An·index·present·on·the·local·process·with·an·additional·attribute·flag.··83 <p>An·index·present·on·the·local·process·with·an·additional·attribute·flag.··
84 ·<a·href="a02220.html#details">More...</a></p>84 ·<a·href="a02220.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a7e473eb41ada9a29dd9b18b59d27cab4"·id="r_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>89 <tr·class="memitem:a7e473eb41ada9a29dd9b18b59d27cab4"·id="r_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>
90 <tr·class="memdesc:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.··<br·/></td></tr>90 <tr·class="memdesc:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.··<br·/></td></tr>
91 <tr·class="separator:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 149, 15 lines modifiedOffset 149, 15 lines modified
149 <p>The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.·</p>149 <p>The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.·</p>
150 <pre>150 <pre>
151 enum·Attributes{owner,·border,·overlap};151 enum·Attributes{owner,·border,·overlap};
152 </pre>·152 </pre>·
153 </div>153 </div>
154 </div>154 </div>
155 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>155 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
156 <li><a·class="el"·href="a00338_source.html">plocalindex.hh</a></li>156 <li><a·class="el"·href="a00320_source.html">plocalindex.hh</a></li>
157 </ul>157 </ul>
158 </div><!--·contents·-->158 </div><!--·contents·-->
159 <!--·start·footer·part·-->159 <!--·start·footer·part·-->
160 <hr·class="footer"/><address·class="footer"><small>160 <hr·class="footer"/><address·class="footer"><small>
161 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8161 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
162 </small></address>162 </small></address>
163 </body>163 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a02224.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02221.html">List·of·all·members</a>··</div>78 <a·href="a02221.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a3477a42c2d755bb829f26147dc03e0b8"·id="r_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>86 <tr·class="memitem:a3477a42c2d755bb829f26147dc03e0b8"·id="r_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>
87 <tr·class="separator:a3477a42c2d755bb829f26147dc03e0b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a3477a42c2d755bb829f26147dc03e0b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 123, 15 lines modifiedOffset 123, 15 lines modified
123 ··</tr>123 ··</tr>
124 </table>124 </table>
125 </div><div·class="memdoc">125 </div><div·class="memdoc">
  
126 </div>126 </div>
127 </div>127 </div>
128 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>128 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
129 <li><a·class="el"·href="a00338_source.html">plocalindex.hh</a></li>129 <li><a·class="el"·href="a00320_source.html">plocalindex.hh</a></li>
130 </ul>130 </ul>
131 </div><!--·contents·-->131 </div><!--·contents·-->
132 <!--·start·footer·part·-->132 <!--·start·footer·part·-->
133 <hr·class="footer"/><address·class="footer"><small>133 <hr·class="footer"/><address·class="footer"><small>
134 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8134 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
135 </small></address>135 </small></address>
136 </body>136 </body>
2.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a02228.html
    
Offset 76, 26 lines modifiedOffset 76, 26 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02225.html">List·of·all·members</a>··</div>78 <a·href="a02225.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:ga841c70a0d146199e4a88408895390856"·id="r_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>86 <tr·class="memitem:ga841c70a0d146199e4a88408895390856"·id="r_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>
87 <tr·class="separator:ga841c70a0d146199e4a88408895390856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga841c70a0d146199e4a88408895390856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
90 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>90 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
91 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>91 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>
92 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>92 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
93 <li><a·class="el"·href="a00338_source.html">plocalindex.hh</a></li>93 <li><a·class="el"·href="a00320_source.html">plocalindex.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.898 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
99 </small></address>99 </small></address>
100 </body>100 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02232.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02229.html">List·of·all·members</a>··</div>78 <a·href="a02229.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:af122c1dea36537fe760b7d0c7a54d35c"·id="r_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>86 <tr·class="memitem:af122c1dea36537fe760b7d0c7a54d35c"·id="r_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>
87 <tr·class="separator:af122c1dea36537fe760b7d0c7a54d35c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:af122c1dea36537fe760b7d0c7a54d35c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>89 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 ··</tr>115 ··</tr>
116 </table>116 </table>
117 </div><div·class="memdoc">117 </div><div·class="memdoc">
  
118 </div>118 </div>
119 </div>119 </div>
120 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>120 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
121 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>121 <li><a·class="el"·href="a00362_source.html">remoteindices.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.8126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
127 </small></address>127 </small></address>
128 </body>128 </body>
2.56 KB
./usr/share/doc/libdune-common-doc/doxygen/a02236.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>The·indices·present·on·remote·processes.··83 <p>The·indices·present·on·remote·processes.··
84 ·<a·href="a02236.html#details">More...</a></p>84 ·<a·href="a02236.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a34d5b63b71b70bc705fb5821c24c4896"·id="r_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>89 <tr·class="memitem:a34d5b63b71b70bc705fb5821c24c4896"·id="r_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>
90 <tr·class="memdesc:a34d5b63b71b70bc705fb5821c24c4896"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·index·set·we·use,·e.g.·ParallelLocalIndexSet.··<br·/></td></tr>90 <tr·class="memdesc:a34d5b63b71b70bc705fb5821c24c4896"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·index·set·we·use,·e.g.·ParallelLocalIndexSet.··<br·/></td></tr>
91 <tr·class="separator:a34d5b63b71b70bc705fb5821c24c4896"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a34d5b63b71b70bc705fb5821c24c4896"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:ad171da4ad3ec90525937ecb0d09c14e9"·id="r_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>92 <tr·class="memitem:ad171da4ad3ec90525937ecb0d09c14e9"·id="r_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 1089, 15 lines modifiedOffset 1089, 15 lines modified
1089 </div><div·class="memdoc">1089 </div><div·class="memdoc">
  
1090 <p>Get·the·index·set·at·the·source.·</p>1090 <p>Get·the·index·set·at·the·source.·</p>
  
1091 </div>1091 </div>
1092 </div>1092 </div>
1093 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1093 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1094 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>1094 <li><a·class="el"·href="a00362_source.html">remoteindices.hh</a></li>
1095 </ul>1095 </ul>
1096 </div><!--·contents·-->1096 </div><!--·contents·-->
1097 <!--·start·footer·part·-->1097 <!--·start·footer·part·-->
1098 <hr·class="footer"/><address·class="footer"><small>1098 <hr·class="footer"/><address·class="footer"><small>
1099 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81099 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1100 </small></address>1100 </small></address>
1101 </body>1101 </body>
2.51 KB
./usr/share/doc/libdune-common-doc/doxygen/a02240.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Information·about·an·index·residing·on·another·processor.··83 <p>Information·about·an·index·residing·on·another·processor.··
84 ·<a·href="a02240.html#details">More...</a></p>84 ·<a·href="a02240.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a38bf1a0bd2297f499cf393d0562e5b5d"·id="r_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>89 <tr·class="memitem:a38bf1a0bd2297f499cf393d0562e5b5d"·id="r_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>
90 <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.··<br·/></td></tr>90 <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.··<br·/></td></tr>
91 <tr·class="separator:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a5d69db3a848cd9ba863871d8ef39bc7f"·id="r_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>92 <tr·class="memitem:a5d69db3a848cd9ba863871d8ef39bc7f"·id="r_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 383, 15 lines modifiedOffset 383, 15 lines modified
383 ··</tr>383 ··</tr>
384 </table>384 </table>
385 </div><div·class="memdoc">385 </div><div·class="memdoc">
  
386 </div>386 </div>
387 </div>387 </div>
388 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>388 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
389 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>389 <li><a·class="el"·href="a00362_source.html">remoteindices.hh</a></li>
390 </ul>390 </ul>
391 </div><!--·contents·-->391 </div><!--·contents·-->
392 <!--·start·footer·part·-->392 <!--·start·footer·part·-->
393 <hr·class="footer"/><address·class="footer"><small>393 <hr·class="footer"/><address·class="footer"><small>
394 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8394 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
395 </small></address>395 </small></address>
396 </body>396 </body>
2.37 KB
./usr/share/doc/libdune-common-doc/doxygen/a02244.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote·index·list.··85 <p>Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote·index·list.··
86 ·<a·href="a02244.html#details">More...</a></p>86 ·<a·href="a02244.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
88 <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>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
90 Classes</h2></td></tr>90 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="a02256.html">InvalidPosition</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="a02256.html">InvalidPosition</a></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
Offset 565, 15 lines modifiedOffset 565, 15 lines modified
  
565 <p>If·true·the·index·set·corresponding·to·the·remote·indices·might·get·modified.·</p>565 <p>If·true·the·index·set·corresponding·to·the·remote·indices·might·get·modified.·</p>
566 <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>566 <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>
  
567 </div>567 </div>
568 </div>568 </div>
569 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>569 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
570 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>570 <li><a·class="el"·href="a00362_source.html">remoteindices.hh</a></li>
571 </ul>571 </ul>
572 </div><!--·contents·-->572 </div><!--·contents·-->
573 <!--·start·footer·part·-->573 <!--·start·footer·part·-->
574 <hr·class="footer"/><address·class="footer"><small>574 <hr·class="footer"/><address·class="footer"><small>
575 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8575 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
576 </small></address>576 </small></address>
577 </body>577 </body>
2.11 KB
./usr/share/doc/libdune-common-doc/doxygen/a02248.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>A·collective·iterator·for·moving·over·the·remote·indices·for·all·processes·collectively.··84 <p>A·collective·iterator·for·moving·over·the·remote·indices·for·all·processes·collectively.··
85 ·<a·href="a02248.html#details">More...</a></p>85 ·<a·href="a02248.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
87 <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>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
89 Classes</h2></td></tr>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="a02260.html">iterator</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="a02260.html">iterator</a></td></tr>
91 <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>91 <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>
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">
Offset 381, 15 lines modifiedOffset 381, 15 lines modified
381 ··</tr>381 ··</tr>
382 </table>382 </table>
383 </div><div·class="memdoc">383 </div><div·class="memdoc">
  
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="a00377_source.html">remoteindices.hh</a></li>387 <li><a·class="el"·href="a00362_source.html">remoteindices.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.8392 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
393 </small></address>393 </small></address>
394 </body>394 </body>
1.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a02252.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
79 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>79 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
80 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>80 <li><a·class="el"·href="a00362_source.html">remoteindices.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.885 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
86 </small></address>86 </small></address>
87 </body>87 </body>
3.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a02256.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02253.html">List·of·all·members</a>··</div>79 <a·href="a02253.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
84 <div·class="dynheader">84 <div·class="dynheader">
85 Inheritance·diagram·for·Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition:</div>85 Inheritance·diagram·for·Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition:</div>
86 <div·class="dyncontent">86 <div·class="dyncontent">
87 <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>87 <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>
88 <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">88 <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">
89 <area·shape="rect"·title="·"·alt=""·coords="5,225,211,265"/>89 <area·shape="rect"·title="·"·alt=""·coords="5,225,211,265"/>
90 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="45,152,171,177"/>90 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="45,152,171,177"/>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <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>)··<br·/></td></tr>112 <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>)··<br·/></td></tr>
113 <tr·class="separator:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>114 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
115 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>115 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
116 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table>117 </table>
118 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>119 <li><a·class="el"·href="a00362_source.html">remoteindices.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
2.31 KB
./usr/share/doc/libdune-common-doc/doxygen/a02260.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Iterator·over·the·valid·underlying·iterators.··83 <p>Iterator·over·the·valid·underlying·iterators.··
84 ·<a·href="a02260.html#details">More...</a></p>84 ·<a·href="a02260.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ae5d41226652625640a8563fdb03886b1"·id="r_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>89 <tr·class="memitem:ae5d41226652625640a8563fdb03886b1"·id="r_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>
90 <tr·class="separator:ae5d41226652625640a8563fdb03886b1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ae5d41226652625640a8563fdb03886b1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a871662531ccfbf6c44275ae503a0bbae"·id="r_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>91 <tr·class="memitem:a871662531ccfbf6c44275ae503a0bbae"·id="r_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>
92 <tr·class="separator:a871662531ccfbf6c44275ae503a0bbae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:a871662531ccfbf6c44275ae503a0bbae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 444, 15 lines modifiedOffset 444, 15 lines modified
444 </table>444 </table>
445 </div><div·class="memdoc">445 </div><div·class="memdoc">
446 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000013">Todo:</a></b></dt><dd>Please·doc·me!·</dd></dl>446 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000013">Todo:</a></b></dt><dd>Please·doc·me!·</dd></dl>
  
447 </div>447 </div>
448 </div>448 </div>
449 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>449 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
450 <li><a·class="el"·href="a00377_source.html">remoteindices.hh</a></li>450 <li><a·class="el"·href="a00362_source.html">remoteindices.hh</a></li>
451 </ul>451 </ul>
452 </div><!--·contents·-->452 </div><!--·contents·-->
453 <!--·start·footer·part·-->453 <!--·start·footer·part·-->
454 <hr·class="footer"/><address·class="footer"><small>454 <hr·class="footer"/><address·class="footer"><small>
455 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8455 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
456 </small></address>456 </small></address>
457 </body>457 </body>
2.52 KB
./usr/share/doc/libdune-common-doc/doxygen/a02264.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·const·iterator·over·an·uncached·selection.··83 <p>A·const·iterator·over·an·uncached·selection.··
84 ·<a·href="a02264.html#details">More...</a></p>84 ·<a·href="a02264.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a879e7b4fc89ddd0e688db4b259a4d804"·id="r_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>89 <tr·class="memitem:a879e7b4fc89ddd0e688db4b259a4d804"·id="r_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>
90 <tr·class="memdesc:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<br·/></td></tr>90 <tr·class="memdesc:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<br·/></td></tr>
91 <tr·class="separator:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a886346234b927463117431b844788c1b"·id="r_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>92 <tr·class="memitem:a886346234b927463117431b844788c1b"·id="r_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 325, 15 lines modifiedOffset 325, 15 lines modified
325 ··</tr>325 ··</tr>
326 </table>326 </table>
327 </div><div·class="memdoc">327 </div><div·class="memdoc">
  
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="a00344_source.html">selection.hh</a></li>331 <li><a·class="el"·href="a00356_source.html">selection.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.8336 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
337 </small></address>337 </small></address>
338 </body>338 </body>
2.43 KB
./usr/share/doc/libdune-common-doc/doxygen/a02268.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>An·uncached·selection·of·indices.··83 <p>An·uncached·selection·of·indices.··
84 ·<a·href="a02268.html#details">More...</a></p>84 ·<a·href="a02268.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a589f0ae8cab2af79028ade308825715a"·id="r_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>89 <tr·class="memitem:a589f0ae8cab2af79028ade308825715a"·id="r_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>
90 <tr·class="memdesc:a589f0ae8cab2af79028ade308825715a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<br·/></td></tr>90 <tr·class="memdesc:a589f0ae8cab2af79028ade308825715a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<br·/></td></tr>
91 <tr·class="separator:a589f0ae8cab2af79028ade308825715a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a589f0ae8cab2af79028ade308825715a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a8748b8516080752715bf8549cf31ba7b"·id="r_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>92 <tr·class="memitem:a8748b8516080752715bf8549cf31ba7b"·id="r_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 291, 15 lines modifiedOffset 291, 15 lines modified
291 ··</tr>291 ··</tr>
292 </table>292 </table>
293 </div><div·class="memdoc">293 </div><div·class="memdoc">
  
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="a00344_source.html">selection.hh</a></li>297 <li><a·class="el"·href="a00356_source.html">selection.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.8302 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
303 </small></address>303 </small></address>
304 </body>304 </body>
2.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a02272.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·cached·selection·of·indices.··83 <p>A·cached·selection·of·indices.··
84 ·<a·href="a02272.html#details">More...</a></p>84 ·<a·href="a02272.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a9c09045504d302872563ec0e272cb0a9"·id="r_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>89 <tr·class="memitem:a9c09045504d302872563ec0e272cb0a9"·id="r_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>
90 <tr·class="memdesc:a9c09045504d302872563ec0e272cb0a9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·set·of·attributes.··<br·/></td></tr>90 <tr·class="memdesc:a9c09045504d302872563ec0e272cb0a9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·set·of·attributes.··<br·/></td></tr>
91 <tr·class="separator:a9c09045504d302872563ec0e272cb0a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a9c09045504d302872563ec0e272cb0a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a609d50e4e956d21622d176a406994abb"·id="r_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>92 <tr·class="memitem:a609d50e4e956d21622d176a406994abb"·id="r_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 296, 15 lines modifiedOffset 296, 15 lines modified
296 ··</tr>296 ··</tr>
297 </table>297 </table>
298 </div><div·class="memdoc">298 </div><div·class="memdoc">
  
299 </div>299 </div>
300 </div>300 </div>
301 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>301 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
302 <li><a·class="el"·href="a00344_source.html">selection.hh</a></li>302 <li><a·class="el"·href="a00356_source.html">selection.hh</a></li>
303 </ul>303 </ul>
304 </div><!--·contents·-->304 </div><!--·contents·-->
305 <!--·start·footer·part·-->305 <!--·start·footer·part·-->
306 <hr·class="footer"/><address·class="footer"><small>306 <hr·class="footer"/><address·class="footer"><small>
307 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8307 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
308 </small></address>308 </small></address>
309 </body>309 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a02276.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a02273.html">List·of·all·members</a>··</div>78 <a·href="a02273.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Concept::HasFixedSize·Struct·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Concept::HasFixedSize·Struct·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/variablesizecommunicator.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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a9acffceab715728d980beae9cbbe8634"·id="r_a9acffceab715728d980beae9cbbe8634"><td·class="memTemplParams"·colspan="2">template&lt;typename·H·&gt;·</td></tr>86 <tr·class="memitem:a9acffceab715728d980beae9cbbe8634"·id="r_a9acffceab715728d980beae9cbbe8634"><td·class="memTemplParams"·colspan="2">template&lt;typename·H·&gt;·</td></tr>
87 <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(h.fixedSize())</td></tr>87 <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(h.fixedSize())</td></tr>
88 <tr·class="separator:a9acffceab715728d980beae9cbbe8634"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:a9acffceab715728d980beae9cbbe8634"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>89 </table>
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="a00350_source.html">variablesizecommunicator.hh</a></li>112 <li><a·class="el"·href="a00353_source.html">variablesizecommunicator.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.8117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
118 </small></address>118 </small></address>
119 </body>119 </body>
2.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a02288.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to·be·known·a·priori.··83 <p>A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to·be·known·a·priori.··
84 ·<a·href="a02288.html#details">More...</a></p>84 ·<a·href="a02288.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ac07b014b2b75db794151757adb6b492e"·id="r_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>89 <tr·class="memitem:ac07b014b2b75db794151757adb6b492e"·id="r_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>
90 <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.··<br·/></td></tr>90 <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.··<br·/></td></tr>
91 <tr·class="separator:ac07b014b2b75db794151757adb6b492e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ac07b014b2b75db794151757adb6b492e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
Offset 534, 15 lines modifiedOffset 534, 15 lines modified
534 ··</table>534 ··</table>
535 ··</dd>535 ··</dd>
536 </dl>536 </dl>
  
537 </div>537 </div>
538 </div>538 </div>
539 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>539 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
540 <li><a·class="el"·href="a00350_source.html">variablesizecommunicator.hh</a></li>540 <li><a·class="el"·href="a00353_source.html">variablesizecommunicator.hh</a></li>
541 </ul>541 </ul>
542 </div><!--·contents·-->542 </div><!--·contents·-->
543 <!--·start·footer·part·-->543 <!--·start·footer·part·-->
544 <hr·class="footer"/><address·class="footer"><small>544 <hr·class="footer"/><address·class="footer"><small>
545 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8545 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
546 </small></address>546 </small></address>
547 </body>547 </body>
1.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a02328.html
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 ··<table·class="tparams">89 ··<table·class="tparams">
90 ····<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>90 ····<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>
91 ····<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>91 ····<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>
92 ··</table>92 ··</table>
93 ··</dd>93 ··</dd>
94 </dl>94 </dl>
95 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>95 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
96 <li><a·class="el"·href="a00116_source.html">parameterizedobject.hh</a></li>96 <li><a·class="el"·href="a00251_source.html">parameterizedobject.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.31 KB
./usr/share/doc/libdune-common-doc/doxygen/a02332.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 <a·href="#pro-types">Protected·Types</a>·&#124;80 <a·href="#pro-types">Protected·Types</a>·&#124;
81 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;81 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;
82 <a·href="a02329.html">List·of·all·members</a>··</div>82 <a·href="a02329.html">List·of·all·members</a>··</div>
83 ··<div·class="headertitle"><div·class="title">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;·Class·Template·Reference</div></div>83 ··<div·class="headertitle"><div·class="title">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;·Class·Template·Reference</div></div>
84 </div><!--header-->84 </div><!--header-->
85 <div·class="contents">85 <div·class="contents">
  
86 <p><code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/parameterizedobject.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/parameterizedobject.hh</a>&gt;</code></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
89 Public·Types</h2></td></tr>89 Public·Types</h2></td></tr>
90 <tr·class="memitem:aaacef10f443ad58ee6b9ffeefac18ac5"·id="r_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>90 <tr·class="memitem:aaacef10f443ad58ee6b9ffeefac18ac5"·id="r_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>
91 <tr·class="memdesc:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·typ·of·the·keys.··<br·/></td></tr>91 <tr·class="memdesc:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·typ·of·the·keys.··<br·/></td></tr>
92 <tr·class="separator:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:a929aacd539c11aa66e8db93a13c69f2f"·id="r_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>93 <tr·class="memitem:a929aacd539c11aa66e8db93a13c69f2f"·id="r_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 490, 15 lines modifiedOffset 490, 15 lines modified
490 ··</tr>490 ··</tr>
491 </table>491 </table>
492 </div><div·class="memdoc">492 </div><div·class="memdoc">
  
493 </div>493 </div>
494 </div>494 </div>
495 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>495 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
496 <li><a·class="el"·href="a00116_source.html">parameterizedobject.hh</a></li>496 <li><a·class="el"·href="a00251_source.html">parameterizedobject.hh</a></li>
497 </ul>497 </ul>
498 </div><!--·contents·-->498 </div><!--·contents·-->
499 <!--·start·footer·part·-->499 <!--·start·footer·part·-->
500 <hr·class="footer"/><address·class="footer"><small>500 <hr·class="footer"/><address·class="footer"><small>
501 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8501 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
502 </small></address>502 </small></address>
503 </body>503 </body>
2.09 KB
./usr/share/doc/libdune-common-doc/doxygen/a02344.html
    
Offset 84, 15 lines modifiedOffset 84, 15 lines modified
84 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>84 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
85 </div><!--header-->85 </div><!--header-->
86 <div·class="contents">86 <div·class="contents">
  
87 <p>Hierarchical·structure·of·string·parameters.··87 <p>Hierarchical·structure·of·string·parameters.··
88 ·<a·href="a02344.html#details">More...</a></p>88 ·<a·href="a02344.html#details">More...</a></p>
  
89 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>89 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
90 <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>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>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="a02356.html">Parser&lt;·bool·&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="a02356.html">Parser&lt;·bool·&gt;</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">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>95 <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>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 927, 16 lines modifiedOffset 927, 16 lines modified
927 ··</tr>927 ··</tr>
928 </table>928 </table>
929 </div><div·class="memdoc">929 </div><div·class="memdoc">
  
930 </div>930 </div>
931 </div>931 </div>
932 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>932 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
933 <li><a·class="el"·href="a00311_source.html">parametertree.hh</a></li>933 <li><a·class="el"·href="a00266_source.html">parametertree.hh</a></li>
934 <li><a·class="el"·href="a00272.html">parametertree.cc</a></li>934 <li><a·class="el"·href="a00041.html">parametertree.cc</a></li>
935 </ul>935 </ul>
936 </div><!--·contents·-->936 </div><!--·contents·-->
937 <!--·start·footer·part·-->937 <!--·start·footer·part·-->
938 <hr·class="footer"/><address·class="footer"><small>938 <hr·class="footer"/><address·class="footer"><small>
939 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8939 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
940 </small></address>940 </small></address>
941 </body>941 </body>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a02352.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02349.html">List·of·all·members</a>··</div>78 <a·href="a02349.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00266_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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a0893e8a386a2bfe275960582038ede26"·id="r_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>86 <tr·class="memitem:a0893e8a386a2bfe275960582038ede26"·id="r_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>
87 <tr·class="separator:a0893e8a386a2bfe275960582038ede26"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a0893e8a386a2bfe275960582038ede26"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00311_source.html">parametertree.hh</a></li>119 <li><a·class="el"·href="a00266_source.html">parametertree.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a02356.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02353.html">List·of·all·members</a>··</div>79 <a·href="a02353.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;·Struct·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;·Struct·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/parametertree.hh</a>&gt;</code></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="a02360.html">ToLower</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="a02360.html">ToLower</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="pub-static-methods"·name="pub-static-methods"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
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="a00311_source.html">parametertree.hh</a></li>123 <li><a·class="el"·href="a00266_source.html">parametertree.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.8128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
129 </small></address>129 </small></address>
130 </body>130 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a02360.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a02357.html">List·of·all·members</a>··</div>78 <a·href="a02357.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower·Struct·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower·Struct·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00266_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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:ac099c5cf62ffa1b441f8dea0b532fcd3"·id="r_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>86 <tr·class="memitem:ac099c5cf62ffa1b441f8dea0b532fcd3"·id="r_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>
87 <tr·class="separator:ac099c5cf62ffa1b441f8dea0b532fcd3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ac099c5cf62ffa1b441f8dea0b532fcd3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 111, 15 lines modifiedOffset 111, 15 lines modified
111 ··</tr>111 ··</tr>
112 </table>112 </table>
113 </div><div·class="memdoc">113 </div><div·class="memdoc">
  
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="a00311_source.html">parametertree.hh</a></li>117 <li><a·class="el"·href="a00266_source.html">parametertree.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.8122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
123 </small></address>123 </small></address>
124 </body>124 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a02364.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02361.html">List·of·all·members</a>··</div>78 <a·href="a02361.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00266_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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a7ce39251f1733b95f516bd5d078f53ee"·id="r_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>86 <tr·class="memitem:a7ce39251f1733b95f516bd5d078f53ee"·id="r_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>
87 <tr·class="separator:a7ce39251f1733b95f516bd5d078f53ee"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a7ce39251f1733b95f516bd5d078f53ee"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00311_source.html">parametertree.hh</a></li>119 <li><a·class="el"·href="a00266_source.html">parametertree.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a02368.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02365.html">List·of·all·members</a>··</div>78 <a·href="a02365.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00266_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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a76d721380f735806ca67ec98d3f760f9"·id="r_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>86 <tr·class="memitem:a76d721380f735806ca67ec98d3f760f9"·id="r_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>
87 <tr·class="separator:a76d721380f735806ca67ec98d3f760f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a76d721380f735806ca67ec98d3f760f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00311_source.html">parametertree.hh</a></li>119 <li><a·class="el"·href="a00266_source.html">parametertree.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a02372.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02369.html">List·of·all·members</a>··</div>78 <a·href="a02369.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00266_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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a121bd47349a138086415bc838f23d856"·id="r_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>86 <tr·class="memitem:a121bd47349a138086415bc838f23d856"·id="r_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>
87 <tr·class="separator:a121bd47349a138086415bc838f23d856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a121bd47349a138086415bc838f23d856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00311_source.html">parametertree.hh</a></li>119 <li><a·class="el"·href="a00266_source.html">parametertree.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a02376.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;77 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
78 <a·href="a02373.html">List·of·all·members</a>··</div>78 <a·href="a02373.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00266_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="pub-static-methods"·name="pub-static-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
85 Static·Public·Member·Functions</h2></td></tr>85 Static·Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:ae6a90c3bcd0bbdefda234af797d1da56"·id="r_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>86 <tr·class="memitem:ae6a90c3bcd0bbdefda234af797d1da56"·id="r_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>
87 <tr·class="separator:ae6a90c3bcd0bbdefda234af797d1da56"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ae6a90c3bcd0bbdefda234af797d1da56"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Function·Documentation</h2>89 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00311_source.html">parametertree.hh</a></li>119 <li><a·class="el"·href="a00266_source.html">parametertree.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
2.65 KB
./usr/share/doc/libdune-common-doc/doxygen/a02380.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParserError·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParserError·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>··83 <p>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>··
84 ·<a·href="a02380.html#details">More...</a></p>84 ·<a·href="a02380.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::ParameterTreeParserError:</div>87 Inheritance·diagram·for·Dune::ParameterTreeParserError:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a02379.png"·border="0"·usemap="#a_dune_1_1_parameter_tree_parser_error_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a02379.png"·border="0"·usemap="#a_dune_1_1_parameter_tree_parser_error_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_parameter_tree_parser_error_inherit__map"·id="a_dune_1_1_parameter_tree_parser_error_inherit__map">90 <map·name="a_dune_1_1_parameter_tree_parser_error_inherit__map"·id="a_dune_1_1_parameter_tree_parser_error_inherit__map">
91 <area·shape="rect"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="5,225,191,265"/>91 <area·shape="rect"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="5,225,191,265"/>
92 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="35,152,161,177"/>92 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="35,152,161,177"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>117 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"·id="r_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>
118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>118 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 </table>120 </table>
121 <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>
122 <div·class="textblock"><p>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·</p>122 <div·class="textblock"><p>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·</p>
123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>123 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00038_source.html">parametertreeparser.hh</a></li>124 <li><a·class="el"·href="a00245_source.html">parametertreeparser.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02384.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::HelpRequest·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::HelpRequest·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>exception·thrown·if·the·user·wants·to·see·help·string··83 <p>exception·thrown·if·the·user·wants·to·see·help·string··
84 ·<a·href="a02384.html#details">More...</a></p>84 ·<a·href="a02384.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::HelpRequest:</div>87 Inheritance·diagram·for·Dune::HelpRequest:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a02383.png"·border="0"·usemap="#a_dune_1_1_help_request_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a02383.png"·border="0"·usemap="#a_dune_1_1_help_request_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_help_request_inherit__map"·id="a_dune_1_1_help_request_inherit__map">90 <map·name="a_dune_1_1_help_request_inherit__map"·id="a_dune_1_1_help_request_inherit__map">
91 <area·shape="rect"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="5,152,141,177"/>91 <area·shape="rect"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="5,152,141,177"/>
92 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="14,79,133,104"/>92 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="14,79,133,104"/>
Offset 116, 15 lines modifiedOffset 116, 15 lines modified
116 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>116 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<br·/></td></tr>
117 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>118 </table>
119 <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>
120 <div·class="textblock"><p>exception·thrown·if·the·user·wants·to·see·help·string·</p>120 <div·class="textblock"><p>exception·thrown·if·the·user·wants·to·see·help·string·</p>
121 <p>this·exception·is·only·thrown·if·the·command·line·parameters·contain·an·option·&ndash;help·or·-h·</p>121 <p>this·exception·is·only·thrown·if·the·command·line·parameters·contain·an·option·&ndash;help·or·-h·</p>
122 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>122 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00038_source.html">parametertreeparser.hh</a></li>123 <li><a·class="el"·href="a00245_source.html">parametertreeparser.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.8128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
129 </small></address>129 </small></address>
130 </body>130 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a02388.html
    
Offset 78, 15 lines modifiedOffset 78, 15 lines modified
78 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParser·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>78 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParser·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>Parsers·to·set·up·a·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·from·various·input·sources.··81 <p>Parsers·to·set·up·a·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·from·various·input·sources.··
82 ·<a·href="a02388.html#details">More...</a></p>82 ·<a·href="a02388.html#details">More...</a></p>
  
83 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader">Parsing·methods·for·the·INITree·file·format</h2></td></tr>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader">Parsing·methods·for·the·INITree·file·format</h2></td></tr>
86 <tr><td·class="ititle"·colspan="2"><p>INITree·files·should·look·like·this·</p><pre·class="fragment">*·#·this·file·configures·fruit·colors·in·fruitsalad86 <tr><td·class="ititle"·colspan="2"><p>INITree·files·should·look·like·this·</p><pre·class="fragment">*·#·this·file·configures·fruit·colors·in·fruitsalad
87 *87 *
88 *88 *
89 *·#these·are·no·fruit·but·could·also·appear·in·fruit·salad89 *·#these·are·no·fruit·but·could·also·appear·in·fruit·salad
90 *·honeydewmelon·=·yellow90 *·honeydewmelon·=·yellow
Offset 511, 16 lines modifiedOffset 511, 16 lines modified
511 ··</table>511 ··</table>
512 ··</dd>512 ··</dd>
513 </dl>513 </dl>
  
514 </div>514 </div>
515 </div>515 </div>
516 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>516 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
517 <li><a·class="el"·href="a00038_source.html">parametertreeparser.hh</a></li>517 <li><a·class="el"·href="a00245_source.html">parametertreeparser.hh</a></li>
518 <li><a·class="el"·href="a00230.html">parametertreeparser.cc</a></li>518 <li><a·class="el"·href="a00161.html">parametertreeparser.cc</a></li>
519 </ul>519 </ul>
520 </div><!--·contents·-->520 </div><!--·contents·-->
521 <!--·start·footer·part·-->521 <!--·start·footer·part·-->
522 <hr·class="footer"/><address·class="footer"><small>522 <hr·class="footer"/><address·class="footer"><small>
523 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8523 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
524 </small></address>524 </small></address>
525 </body>525 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a02392.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>A·memory·pool·of·objects.··85 <p>A·memory·pool·of·objects.··
86 ·<a·href="a02392.html#details">More...</a></p>86 ·<a·href="a02392.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
88 <div·class="dynheader">88 <div·class="dynheader">
89 Inheritance·diagram·for·Dune::Pool&lt;·T,·s·&gt;:</div>89 Inheritance·diagram·for·Dune::Pool&lt;·T,·s·&gt;:</div>
90 <div·class="dyncontent">90 <div·class="dyncontent">
91 <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>91 <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>
92 <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">92 <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">
93 <area·shape="rect"·title="A·memory·pool·of·objects."·alt=""·coords="13,5,147,31"/>93 <area·shape="rect"·title="A·memory·pool·of·objects."·alt=""·coords="13,5,147,31"/>
94 <area·shape="rect"·href="a02392.html"·title="·"·alt=""·coords="5,93,155,119"/>94 <area·shape="rect"·href="a02392.html"·title="·"·alt=""·coords="5,93,155,119"/>
Offset 344, 15 lines modifiedOffset 344, 15 lines modified
344 <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>344 <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>
345 </div><!--·fragment·-->345 </div><!--·fragment·-->
346 <p>The·size·of·a·union·of·Reference·and·MemberType.·</p>346 <p>The·size·of·a·union·of·Reference·and·MemberType.·</p>
  
347 </div>347 </div>
348 </div>348 </div>
349 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>349 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
350 <li><a·class="el"·href="a00314_source.html">poolallocator.hh</a></li>350 <li><a·class="el"·href="a00023_source.html">poolallocator.hh</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.8355 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
356 </small></address>356 </small></address>
357 </body>357 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a02396.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<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>82 ··<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>
83 </div><!--header-->83 </div><!--header-->
84 <div·class="contents">84 <div·class="contents">
  
85 <p>An·allocator·managing·a·pool·of·objects·for·reuse.··85 <p>An·allocator·managing·a·pool·of·objects·for·reuse.··
86 ·<a·href="a02396.html#details">More...</a></p>86 ·<a·href="a02396.html#details">More...</a></p>
  
87 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>87 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
88 <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>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
90 Classes</h2></td></tr>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="a02408.html">rebind</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="a02408.html">rebind</a></td></tr>
92 <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>92 <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>
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">
Offset 496, 15 lines modifiedOffset 496, 15 lines modified
496 </div><div·class="memdoc">496 </div><div·class="memdoc">
  
497 <p>The·number·of·objects·to·fit·into·one·memory·chunk·allocated.·</p>497 <p>The·number·of·objects·to·fit·into·one·memory·chunk·allocated.·</p>
  
498 </div>498 </div>
499 </div>499 </div>
500 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>500 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
501 <li><a·class="el"·href="a00314_source.html">poolallocator.hh</a></li>501 <li><a·class="el"·href="a00023_source.html">poolallocator.hh</a></li>
502 </ul>502 </ul>
503 </div><!--·contents·-->503 </div><!--·contents·-->
504 <!--·start·footer·part·-->504 <!--·start·footer·part·-->
505 <hr·class="footer"/><address·class="footer"><small>505 <hr·class="footer"/><address·class="footer"><small>
506 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8506 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
507 </small></address>507 </small></address>
508 </body>508 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a02408.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Rebind·the·allocator·to·another·type.··82 <p>Rebind·the·allocator·to·another·type.··
83 ·<a·href="a02408.html#details">More...</a></p>83 ·<a·href="a02408.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a0048e10bf60a17b106ab2139bcf87006"·id="r_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>88 <tr·class="memitem:a0048e10bf60a17b106ab2139bcf87006"·id="r_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>
89 <tr·class="separator:a0048e10bf60a17b106ab2139bcf87006"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a0048e10bf60a17b106ab2139bcf87006"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
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="a00314_source.html">poolallocator.hh</a></li>116 <li><a·class="el"·href="a00023_source.html">poolallocator.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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a02412.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#pub-types">Public·Types</a>·&#124;78 <a·href="#pub-types">Public·Types</a>·&#124;
79 <a·href="a02409.html">List·of·all·members</a>··</div>79 <a·href="a02409.html">List·of·all·members</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/poolallocator.hh</a>&gt;</code></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="a02416.html">rebind</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="a02416.html">rebind</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="pub-types"·name="pub-types"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
Offset 143, 15 lines modifiedOffset 143, 15 lines modified
143 ········</tr>143 ········</tr>
144 ······</table>144 ······</table>
145 </div><div·class="memdoc">145 </div><div·class="memdoc">
  
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="a00314_source.html">poolallocator.hh</a></li>149 <li><a·class="el"·href="a00023_source.html">poolallocator.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.8154 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
155 </small></address>155 </small></address>
156 </body>156 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a02416.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02413.html">List·of·all·members</a>··</div>78 <a·href="a02413.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/poolallocator.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a39aac025e673bbe9da3e99e15e6e4e89"·id="r_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>86 <tr·class="memitem:a39aac025e673bbe9da3e99e15e6e4e89"·id="r_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>
87 <tr·class="separator:a39aac025e673bbe9da3e99e15e6e4e89"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a39aac025e673bbe9da3e99e15e6e4e89"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00314_source.html">poolallocator.hh</a></li>109 <li><a·class="el"·href="a00023_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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>115 </small></address>
116 </body>116 </body>
2.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a02420.html
    
Offset 79, 28 lines modifiedOffset 79, 28 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Calculates·b^p·at·compile·time.··82 <p>Calculates·b^p·at·compile·time.··
83 ·<a·href="a02420.html#details">More...</a></p>83 ·<a·href="a02420.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/power.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/power.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:ga0d7dfc20424ea16d20ae167409d90eeb"·id="r_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>88 <tr·class="memitem:ga0d7dfc20424ea16d20ae167409d90eeb"·id="r_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>
89 <tr·class="memdesc:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">power·stores·b^p··<br·/></td></tr>89 <tr·class="memdesc:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">power·stores·b^p··<br·/></td></tr>
90 <tr·class="separator:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga0d7dfc20424ea16d20ae167409d90eeb"><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;int·b,·int·p&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·b,·int·p&gt;<br·/>
94 struct·Dune::StaticPower&lt;·b,·p·&gt;</div><p>Calculates·b^p·at·compile·time.·</p>94 struct·Dune::StaticPower&lt;·b,·p·&gt;</div><p>Calculates·b^p·at·compile·time.·</p>
95 <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="a00386.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd></dl>95 <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="a00101.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</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="a00284_source.html">power.hh</a></li>97 <li><a·class="el"·href="a00035_source.html">power.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.8102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
103 </small></address>103 </small></address>
104 </body>104 </body>
2.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a02424.html
    
Offset 79, 34 lines modifiedOffset 79, 34 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.··82 <p>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.··
83 ·<a·href="a02424.html#details">More...</a></p>83 ·<a·href="a02424.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/power.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/power.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
87 Static·Public·Member·Functions</h2></td></tr>87 Static·Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ga71e044edf267e984da3cb61e61a9d886"·id="r_ga71e044edf267e984da3cb61e61a9d886"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>88 <tr·class="memitem:ga71e044edf267e984da3cb61e61a9d886"·id="r_ga71e044edf267e984da3cb61e61a9d886"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
89 <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>89 <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>
90 <tr·class="separator:ga71e044edf267e984da3cb61e61a9d886"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga71e044edf267e984da3cb61e61a9d886"><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;int·p&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·p&gt;<br·/>
94 struct·Dune::Power&lt;·p·&gt;</div><p>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.·</p>94 struct·Dune::Power&lt;·p·&gt;</div><p>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.·</p>
95 <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="a00386.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!</dd></dl>95 <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="a00101.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!</dd></dl>
96 <dl·class="tparams"><dt>Template·Parameters</dt><dd>96 <dl·class="tparams"><dt>Template·Parameters</dt><dd>
97 ··<table·class="tparams">97 ··<table·class="tparams">
98 ····<tr><td·class="paramname">p</td><td>The·exponent·</td></tr>98 ····<tr><td·class="paramname">p</td><td>The·exponent·</td></tr>
99 ··</table>99 ··</table>
100 ··</dd>100 ··</dd>
101 </dl>101 </dl>
102 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>102 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
103 <li><a·class="el"·href="a00284_source.html">power.hh</a></li>103 <li><a·class="el"·href="a00035_source.html">power.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.8108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
109 </small></address>109 </small></address>
110 </body>110 </body>
2.61 KB
./usr/share/doc/libdune-common-doc/doxygen/a02428.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <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>.··82 <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>.··
83 ·<a·href="a02428.html#details">More...</a></p>83 ·<a·href="a02428.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/precision.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/precision.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
87 Static·Public·Member·Functions</h2></td></tr>87 Static·Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a554b13677982d46917bb1bd05f831aec"·id="r_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>88 <tr·class="memitem:a554b13677982d46917bb1bd05f831aec"·id="r_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>
89 <tr·class="memdesc:a554b13677982d46917bb1bd05f831aec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·threshold·to·declare·matrix·singular··<br·/></td></tr>89 <tr·class="memdesc:a554b13677982d46917bb1bd05f831aec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·threshold·to·declare·matrix·singular··<br·/></td></tr>
90 <tr·class="separator:a554b13677982d46917bb1bd05f831aec"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a554b13677982d46917bb1bd05f831aec"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:aae2188f98a4cc65afa86fc2e5d334b58"·id="r_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>91 <tr·class="memitem:aae2188f98a4cc65afa86fc2e5d334b58"·id="r_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 154, 15 lines modifiedOffset 154, 15 lines modified
154 </div><div·class="memdoc">154 </div><div·class="memdoc">
  
155 <p>set·singular·threshold·</p>155 <p>set·singular·threshold·</p>
  
156 </div>156 </div>
157 </div>157 </div>
158 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>158 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
159 <li><a·class="el"·href="a00275_source.html">precision.hh</a></li>159 <li><a·class="el"·href="a00227_source.html">precision.hh</a></li>
160 </ul>160 </ul>
161 </div><!--·contents·-->161 </div><!--·contents·-->
162 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
163 <hr·class="footer"/><address·class="footer"><small>163 <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.8164 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
165 </small></address>165 </small></address>
166 </body>166 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a02432.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··82 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··
83 ·<a·href="a02432.html#details">More...</a></p>83 ·<a·href="a02432.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a3f2079447de3426b9da835d3f32d73b6"·id="r_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>88 <tr·class="memitem:a3f2079447de3426b9da835d3f32d73b6"·id="r_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>
89 <tr·class="separator:a3f2079447de3426b9da835d3f32d73b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a3f2079447de3426b9da835d3f32d73b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <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="a00212_source.html">promotiontraits.hh</a></li>113 <li><a·class="el"·href="a00257_source.html">promotiontraits.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.8118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
119 </small></address>119 </small></address>
120 </body>120 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a02436.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02433.html">List·of·all·members</a>··</div>78 <a·href="a02433.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/promotiontraits.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ab4f6d422c0baac66e9496252327e6682"·id="r_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>86 <tr·class="memitem:ab4f6d422c0baac66e9496252327e6682"·id="r_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>
87 <tr·class="separator:ab4f6d422c0baac66e9496252327e6682"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ab4f6d422c0baac66e9496252327e6682"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00212_source.html">promotiontraits.hh</a></li>107 <li><a·class="el"·href="a00257_source.html">promotiontraits.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a02440.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02437.html">List·of·all·members</a>··</div>78 <a·href="a02437.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·PM·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·PM·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:aefa8f676ee021f8ea1115671ffc2151a"·id="r_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>86 <tr·class="memitem:aefa8f676ee021f8ea1115671ffc2151a"·id="r_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>
87 <tr·class="memdesc:aefa8f676ee021f8ea1115671ffc2151a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·key·of·the·property·map.··<br·/></td></tr>87 <tr·class="memdesc:aefa8f676ee021f8ea1115671ffc2151a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·key·of·the·property·map.··<br·/></td></tr>
88 <tr·class="separator:aefa8f676ee021f8ea1115671ffc2151a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:aefa8f676ee021f8ea1115671ffc2151a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a3bb5afe09fc0319fa3a2dc95c47438cd"·id="r_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>89 <tr·class="memitem:a3bb5afe09fc0319fa3a2dc95c47438cd"·id="r_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 167, 15 lines modifiedOffset 167, 15 lines modified
167 </div><div·class="memdoc">167 </div><div·class="memdoc">
  
168 <p>The·type·of·the·values·of·the·property·map.·</p>168 <p>The·type·of·the·values·of·the·property·map.·</p>
  
169 </div>169 </div>
170 </div>170 </div>
171 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>171 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
172 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>172 <li><a·class="el"·href="a00236_source.html">propertymap.hh</a></li>
173 </ul>173 </ul>
174 </div><!--·contents·-->174 </div><!--·contents·-->
175 <!--·start·footer·part·-->175 <!--·start·footer·part·-->
176 <hr·class="footer"/><address·class="footer"><small>176 <hr·class="footer"/><address·class="footer"><small>
177 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8177 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
178 </small></address>178 </small></address>
179 </body>179 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a02444.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::ReadablePropertyMapTag·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::ReadablePropertyMapTag·Struct·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Tag·for·the·category·of·readable·property·maps.··79 <p>Tag·for·the·category·of·readable·property·maps.··
80 ·<a·href="a02444.html#details">More...</a></p>80 ·<a·href="a02444.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::ReadablePropertyMapTag:</div>83 Inheritance·diagram·for·Dune::ReadablePropertyMapTag:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a02443.png"·border="0"·usemap="#a_dune_1_1_readable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a02443.png"·border="0"·usemap="#a_dune_1_1_readable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_readable_property_map_tag_inherit__map"·id="a_dune_1_1_readable_property_map_tag_inherit__map">86 <map·name="a_dune_1_1_readable_property_map_tag_inherit__map"·id="a_dune_1_1_readable_property_map_tag_inherit__map">
87 <area·shape="rect"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="9,5,219,31"/>87 <area·shape="rect"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="9,5,219,31"/>
88 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,79,223,104"/>88 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,79,223,104"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,152,211,177"/>92 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,152,211,177"/>
93 <area·shape="poly"·title="·"·alt=""·coords="117,118,117,152,111,152,111,118"/>93 <area·shape="poly"·title="·"·alt=""·coords="117,118,117,152,111,152,111,118"/>
94 </map>94 </map>
95 </div>95 </div>
96 <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>
97 <div·class="textblock"><p>Tag·for·the·category·of·readable·property·maps.·</p>97 <div·class="textblock"><p>Tag·for·the·category·of·readable·property·maps.·</p>
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="a00173_source.html">propertymap.hh</a></li>99 <li><a·class="el"·href="a00236_source.html">propertymap.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a02448.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::WritablePropertyMapTag·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::WritablePropertyMapTag·Struct·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Tag·for·the·category·of·writable·property·maps.··79 <p>Tag·for·the·category·of·writable·property·maps.··
80 ·<a·href="a02448.html#details">More...</a></p>80 ·<a·href="a02448.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::WritablePropertyMapTag:</div>83 Inheritance·diagram·for·Dune::WritablePropertyMapTag:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a02447.png"·border="0"·usemap="#a_dune_1_1_writable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a02447.png"·border="0"·usemap="#a_dune_1_1_writable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_writable_property_map_tag_inherit__map"·id="a_dune_1_1_writable_property_map_tag_inherit__map">86 <map·name="a_dune_1_1_writable_property_map_tag_inherit__map"·id="a_dune_1_1_writable_property_map_tag_inherit__map">
87 <area·shape="rect"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="12,5,216,31"/>87 <area·shape="rect"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="12,5,216,31"/>
88 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,79,223,104"/>88 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,79,223,104"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,152,211,177"/>92 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,152,211,177"/>
93 <area·shape="poly"·title="·"·alt=""·coords="117,118,117,152,111,152,111,118"/>93 <area·shape="poly"·title="·"·alt=""·coords="117,118,117,152,111,152,111,118"/>
94 </map>94 </map>
95 </div>95 </div>
96 <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>
97 <div·class="textblock"><p>Tag·for·the·category·of·writable·property·maps.·</p>97 <div·class="textblock"><p>Tag·for·the·category·of·writable·property·maps.·</p>
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="a00173_source.html">propertymap.hh</a></li>99 <li><a·class="el"·href="a00236_source.html">propertymap.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a02452.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::ReadWritePropertyMapTag·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::ReadWritePropertyMapTag·Struct·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Tag·for·the·category·of·readable·and·writable·property·maps.··79 <p>Tag·for·the·category·of·readable·and·writable·property·maps.··
80 ·<a·href="a02452.html#details">More...</a></p>80 ·<a·href="a02452.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::ReadWritePropertyMapTag:</div>83 Inheritance·diagram·for·Dune::ReadWritePropertyMapTag:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,79,335,104"/>87 <area·shape="rect"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,79,335,104"/>
88 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,152,324,177"/>88 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,152,324,177"/>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,31"/>94 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,31"/>
95 <area·shape="poly"·title="·"·alt=""·coords="314,40,247,81,244,76,311,35"/>95 <area·shape="poly"·title="·"·alt=""·coords="314,40,247,81,244,76,311,35"/>
96 </map>96 </map>
97 </div>97 </div>
98 <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>
99 <div·class="textblock"><p>Tag·for·the·category·of·readable·and·writable·property·maps.·</p>99 <div·class="textblock"><p>Tag·for·the·category·of·readable·and·writable·property·maps.·</p>
100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
101 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>101 <li><a·class="el"·href="a00236_source.html">propertymap.hh</a></li>
102 </ul>102 </ul>
103 </div><!--·contents·-->103 </div><!--·contents·-->
104 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>107 </small></address>
108 </body>108 </body>
2.09 KB
./usr/share/doc/libdune-common-doc/doxygen/a02456.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::LvaluePropertyMapTag·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::LvaluePropertyMapTag·Struct·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Tag·for·the·category·of·lvalue·property·maps.··79 <p>Tag·for·the·category·of·lvalue·property·maps.··
80 ·<a·href="a02456.html#details">More...</a></p>80 ·<a·href="a02456.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::LvaluePropertyMapTag:</div>83 Inheritance·diagram·for·Dune::LvaluePropertyMapTag:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a02455.png"·border="0"·usemap="#a_dune_1_1_lvalue_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a02455.png"·border="0"·usemap="#a_dune_1_1_lvalue_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_lvalue_property_map_tag_inherit__map"·id="a_dune_1_1_lvalue_property_map_tag_inherit__map">86 <map·name="a_dune_1_1_lvalue_property_map_tag_inherit__map"·id="a_dune_1_1_lvalue_property_map_tag_inherit__map">
87 <area·shape="rect"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,152,324,177"/>87 <area·shape="rect"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,152,324,177"/>
88 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,79,335,104"/>88 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,79,335,104"/>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,31"/>94 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,31"/>
95 <area·shape="poly"·title="·"·alt=""·coords="314,40,247,81,244,76,311,35"/>95 <area·shape="poly"·title="·"·alt=""·coords="314,40,247,81,244,76,311,35"/>
96 </map>96 </map>
97 </div>97 </div>
98 <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>
99 <div·class="textblock"><p>Tag·for·the·category·of·lvalue·property·maps.·</p>99 <div·class="textblock"><p>Tag·for·the·category·of·lvalue·property·maps.·</p>
100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
101 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>101 <li><a·class="el"·href="a00236_source.html">propertymap.hh</a></li>
102 </ul>102 </ul>
103 </div><!--·contents·-->103 </div><!--·contents·-->
104 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>107 </small></address>
108 </body>108 </body>
2.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a02460.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02457.html">List·of·all·members</a>··</div>78 <a·href="a02457.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·T·*·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·T·*·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ab39568f3b7665ef3f37133e3bd730769"·id="r_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>86 <tr·class="memitem:ab39568f3b7665ef3f37133e3bd730769"·id="r_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>
87 <tr·class="separator:ab39568f3b7665ef3f37133e3bd730769"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ab39568f3b7665ef3f37133e3bd730769"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:a07802b26da42da291623626023a7cb29"·id="r_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>88 <tr·class="memitem:a07802b26da42da291623626023a7cb29"·id="r_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>
89 <tr·class="separator:a07802b26da42da291623626023a7cb29"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a07802b26da42da291623626023a7cb29"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ········</tr>155 ········</tr>
156 ······</table>156 ······</table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>161 <li><a·class="el"·href="a00236_source.html">propertymap.hh</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.8166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
167 </small></address>167 </small></address>
168 </body>168 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a02464.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02461.html">List·of·all·members</a>··</div>78 <a·href="a02461.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·const·T·*·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·const·T·*·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ad04ca9d77ff37df29ee625faa3a41b74"·id="r_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>86 <tr·class="memitem:ad04ca9d77ff37df29ee625faa3a41b74"·id="r_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>
87 <tr·class="separator:ad04ca9d77ff37df29ee625faa3a41b74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ad04ca9d77ff37df29ee625faa3a41b74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ab2b795946cd41b7bd3b6926516c8b1a0"·id="r_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>88 <tr·class="memitem:ab2b795946cd41b7bd3b6926516c8b1a0"·id="r_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>
89 <tr·class="separator:ab2b795946cd41b7bd3b6926516c8b1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ab2b795946cd41b7bd3b6926516c8b1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ········</tr>155 ········</tr>
156 ······</table>156 ······</table>
157 </div><div·class="memdoc">157 </div><div·class="memdoc">
  
158 </div>158 </div>
159 </div>159 </div>
160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>160 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
161 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>161 <li><a·class="el"·href="a00236_source.html">propertymap.hh</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.8166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
167 </small></address>167 </small></address>
168 </body>168 </body>
2.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a02468.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·Struct·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="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;:</div>81 Inheritance·diagram·for·Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,164,199,204"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,164,199,204"/>
86 <area·shape="rect"·href="a02472.html"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="494,5,671,45"/>86 <area·shape="rect"·href="a02472.html"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="494,5,671,45"/>
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 <area·shape="rect"·href="a02480.html"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="763,164,976,204"/>99 <area·shape="rect"·href="a02480.html"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="763,164,976,204"/>
100 <area·shape="poly"·title="·"·alt=""·coords="706,181,762,181,762,187,706,187"/>100 <area·shape="poly"·title="·"·alt=""·coords="706,181,762,181,762,187,706,187"/>
101 <area·shape="rect"·href="a02484.html"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="805,250,934,275"/>101 <area·shape="rect"·href="a02484.html"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="805,250,934,275"/>
102 <area·shape="poly"·title="·"·alt=""·coords="693,260,805,260,805,265,693,265"/>102 <area·shape="poly"·title="·"·alt=""·coords="693,260,805,260,805,265,693,265"/>
103 </map>103 </map>
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="a00173_source.html">propertymap.hh</a></li>106 <li><a·class="el"·href="a00236_source.html">propertymap.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.8111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>112 </small></address>
113 </body>113 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a02472.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;·Class·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;·Class·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>Adapter·to·turn·a·random·access·iterator·into·a·property·map.··83 <p>Adapter·to·turn·a·random·access·iterator·into·a·property·map.··
84 ·<a·href="a02472.html#details">More...</a></p>84 ·<a·href="a02472.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;:</div>87 Inheritance·diagram·for·Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="13,93,191,133"/>91 <area·shape="rect"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="13,93,191,133"/>
92 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,5,199,45"/>92 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,5,199,45"/>
Offset 347, 15 lines modifiedOffset 347, 15 lines modified
347 </div><div·class="memdoc">347 </div><div·class="memdoc">
  
348 <p>Access·the·a·value·by·reference.·</p>348 <p>Access·the·a·value·by·reference.·</p>
  
349 </div>349 </div>
350 </div>350 </div>
351 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>351 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
352 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>352 <li><a·class="el"·href="a00236_source.html">propertymap.hh</a></li>
353 </ul>353 </ul>
354 </div><!--·contents·-->354 </div><!--·contents·-->
355 <!--·start·footer·part·-->355 <!--·start·footer·part·-->
356 <hr·class="footer"/><address·class="footer"><small>356 <hr·class="footer"/><address·class="footer"><small>
357 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8357 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
358 </small></address>358 </small></address>
359 </body>359 </body>
2.17 KB
./usr/share/doc/libdune-common-doc/doxygen/a02476.html
    
Offset 78, 15 lines modifiedOffset 78, 15 lines modified
78 ··<div·class="headertitle"><div·class="title">Dune::AssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">Dune::AssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.··81 <p>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.··
82 ·<a·href="a02476.html#details">More...</a></p>82 ·<a·href="a02476.html#details">More...</a></p>
  
83 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
84 <div·class="dynheader">84 <div·class="dynheader">
85 Inheritance·diagram·for·Dune::AssociativePropertyMap&lt;·T·&gt;:</div>85 Inheritance·diagram·for·Dune::AssociativePropertyMap&lt;·T·&gt;:</div>
86 <div·class="dyncontent">86 <div·class="dyncontent">
87 <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>87 <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>
88 <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">88 <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">
89 <area·shape="rect"·title="An·adapter·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="728,29,907,69"/>89 <area·shape="rect"·title="An·adapter·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="728,29,907,69"/>
90 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="417,22,679,77"/>90 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="417,22,679,77"/>
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 <area·shape="poly"·title="·"·alt=""·coords="212,47,417,47,417,52,212,52"/>95 <area·shape="poly"·title="·"·alt=""·coords="212,47,417,47,417,52,212,52"/>
96 </map>96 </map>
97 </div>97 </div>
98 <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>
99 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>99 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
100 class·Dune::AssociativePropertyMap&lt;·T·&gt;</div><p>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.·</p>100 class·Dune::AssociativePropertyMap&lt;·T·&gt;</div><p>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.·</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="a00173_source.html">propertymap.hh</a></li>102 <li><a·class="el"·href="a00236_source.html">propertymap.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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>108 </small></address>
109 </body>109 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02480.html
    
Offset 78, 15 lines modifiedOffset 78, 15 lines modified
78 ··<div·class="headertitle"><div·class="title">Dune::ConstAssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">Dune::ConstAssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.··81 <p>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.··
82 ·<a·href="a02480.html#details">More...</a></p>82 ·<a·href="a02480.html#details">More...</a></p>
  
83 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
84 <div·class="dynheader">84 <div·class="dynheader">
85 Inheritance·diagram·for·Dune::ConstAssociativePropertyMap&lt;·T·&gt;:</div>85 Inheritance·diagram·for·Dune::ConstAssociativePropertyMap&lt;·T·&gt;:</div>
86 <div·class="dyncontent">86 <div·class="dyncontent">
87 <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>87 <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>
88 <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">88 <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">
89 <area·shape="rect"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="720,29,933,69"/>89 <area·shape="rect"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="720,29,933,69"/>
90 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="452,15,671,84"/>90 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="452,15,671,84"/>
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 <area·shape="poly"·title="·"·alt=""·coords="213,47,452,47,452,52,213,52"/>95 <area·shape="poly"·title="·"·alt=""·coords="213,47,452,47,452,52,213,52"/>
96 </map>96 </map>
97 </div>97 </div>
98 <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>
99 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>99 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
100 class·Dune::ConstAssociativePropertyMap&lt;·T·&gt;</div><p>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.·</p>100 class·Dune::ConstAssociativePropertyMap&lt;·T·&gt;</div><p>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.·</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="a00173_source.html">propertymap.hh</a></li>102 <li><a·class="el"·href="a00236_source.html">propertymap.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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>108 </small></address>
109 </body>109 </body>
1.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a02484.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::IdentityMap·Struct·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::IdentityMap·Struct·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·property·map·that·applies·the·identity·function·to·integers.··83 <p>A·property·map·that·applies·the·identity·function·to·integers.··
84 ·<a·href="a02484.html#details">More...</a></p>84 ·<a·href="a02484.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::IdentityMap:</div>87 Inheritance·diagram·for·Dune::IdentityMap:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <div·class="center"><img·src="a02483.png"·border="0"·usemap="#a_dune_1_1_identity_map_inherit__map"·alt="Inheritance·graph"/></div>89 <div·class="center"><img·src="a02483.png"·border="0"·usemap="#a_dune_1_1_identity_map_inherit__map"·alt="Inheritance·graph"/></div>
90 <map·name="a_dune_1_1_identity_map_inherit__map"·id="a_dune_1_1_identity_map_inherit__map">90 <map·name="a_dune_1_1_identity_map_inherit__map"·id="a_dune_1_1_identity_map_inherit__map">
91 <area·shape="rect"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="37,197,167,223"/>91 <area·shape="rect"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="37,197,167,223"/>
92 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,108,199,148"/>92 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,108,199,148"/>
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
209 ··</tr>209 ··</tr>
210 </table>210 </table>
211 </div><div·class="memdoc">211 </div><div·class="memdoc">
  
212 </div>212 </div>
213 </div>213 </div>
214 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>214 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
215 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>215 <li><a·class="el"·href="a00236_source.html">propertymap.hh</a></li>
216 </ul>216 </ul>
217 </div><!--·contents·-->217 </div><!--·contents·-->
218 <!--·start·footer·part·-->218 <!--·start·footer·part·-->
219 <hr·class="footer"/><address·class="footer"><small>219 <hr·class="footer"/><address·class="footer"><small>
220 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8220 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
221 </small></address>221 </small></address>
222 </body>222 </body>
2.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a02488.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Selector·for·the·property·map·type.··82 <p>Selector·for·the·property·map·type.··
83 ·<a·href="a02488.html#details">More...</a></p>83 ·<a·href="a02488.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/propertymap.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a4c7559b11fa26cde5dbc32ed4b787b70"·id="r_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>88 <tr·class="memitem:a4c7559b11fa26cde5dbc32ed4b787b70"·id="r_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>
89 <tr·class="memdesc:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·tag·identifying·the·property.··<br·/></td></tr>89 <tr·class="memdesc:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·tag·identifying·the·property.··<br·/></td></tr>
90 <tr·class="separator:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:add93eb935a165d1c8d687767819ab13a"·id="r_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>91 <tr·class="memitem:add93eb935a165d1c8d687767819ab13a"·id="r_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 132, 15 lines modifiedOffset 132, 15 lines modified
132 </div><div·class="memdoc">132 </div><div·class="memdoc">
  
133 <p>the·tag·identifying·the·property.·</p>133 <p>the·tag·identifying·the·property.·</p>
  
134 </div>134 </div>
135 </div>135 </div>
136 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>136 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
137 <li><a·class="el"·href="a00173_source.html">propertymap.hh</a></li>137 <li><a·class="el"·href="a00236_source.html">propertymap.hh</a></li>
138 </ul>138 </ul>
139 </div><!--·contents·-->139 </div><!--·contents·-->
140 <!--·start·footer·part·-->140 <!--·start·footer·part·-->
141 <hr·class="footer"/><address·class="footer"><small>141 <hr·class="footer"/><address·class="footer"><small>
142 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8142 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
143 </small></address>143 </small></address>
144 </body>144 </body>
2.46 KB
./usr/share/doc/libdune-common-doc/doxygen/a02500.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>dynamic·integer·range·for·use·in·range-based·for·loops··83 <p>dynamic·integer·range·for·use·in·range-based·for·loops··
84 ·<a·href="a02500.html#details">More...</a></p>84 ·<a·href="a02500.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ad74cc554ddff91fd5db8715d320f8062"·id="r_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>89 <tr·class="memitem:ad74cc554ddff91fd5db8715d320f8062"·id="r_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>
90 <tr·class="memdesc:ad74cc554ddff91fd5db8715d320f8062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<br·/></td></tr>90 <tr·class="memdesc:ad74cc554ddff91fd5db8715d320f8062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<br·/></td></tr>
91 <tr·class="separator:ad74cc554ddff91fd5db8715d320f8062"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ad74cc554ddff91fd5db8715d320f8062"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a5cd7c770e0ee88827d4e16268e3c67af"·id="r_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>92 <tr·class="memitem:a5cd7c770e0ee88827d4e16268e3c67af"·id="r_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 435, 15 lines modifiedOffset 435, 15 lines modified
435 </div><div·class="memdoc">435 </div><div·class="memdoc">
  
436 <p>obtain·number·of·elements·in·the·range·</p>436 <p>obtain·number·of·elements·in·the·range·</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="a00017_source.html">rangeutilities.hh</a></li>440 <li><a·class="el"·href="a00131_source.html">rangeutilities.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.8445 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
446 </small></address>446 </small></address>
447 </body>447 </body>
2.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a02504.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>static·integer·range·for·use·in·range-based·for·loops··84 <p>static·integer·range·for·use·in·range-based·for·loops··
85 ·<a·href="a02504.html#details">More...</a></p>85 ·<a·href="a02504.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
89 Public·Types</h2></td></tr>89 Public·Types</h2></td></tr>
90 <tr·class="memitem:a58ff891755441b324726ec12439164eb"·id="r_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>90 <tr·class="memitem:a58ff891755441b324726ec12439164eb"·id="r_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>
91 <tr·class="memdesc:a58ff891755441b324726ec12439164eb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<br·/></td></tr>91 <tr·class="memdesc:a58ff891755441b324726ec12439164eb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<br·/></td></tr>
92 <tr·class="separator:a58ff891755441b324726ec12439164eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:a58ff891755441b324726ec12439164eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:aeafa4f9b8cd8551d2b127a7eb7fa63ad"·id="r_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>93 <tr·class="memitem:aeafa4f9b8cd8551d2b127a7eb7fa63ad"·id="r_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 487, 15 lines modifiedOffset 487, 15 lines modified
487 </div><div·class="memdoc">487 </div><div·class="memdoc">
  
488 <p>obtain·number·of·elements·in·the·range·</p>488 <p>obtain·number·of·elements·in·the·range·</p>
  
489 </div>489 </div>
490 </div>490 </div>
491 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>491 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
492 <li><a·class="el"·href="a00017_source.html">rangeutilities.hh</a></li>492 <li><a·class="el"·href="a00131_source.html">rangeutilities.hh</a></li>
493 </ul>493 </ul>
494 </div><!--·contents·-->494 </div><!--·contents·-->
495 <!--·start·footer·part·-->495 <!--·start·footer·part·-->
496 <hr·class="footer"/><address·class="footer"><small>496 <hr·class="footer"/><address·class="footer"><small>
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.8497 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
498 </small></address>498 </small></address>
499 </body>499 </body>
1.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a02508.html
    
Offset 76, 19 lines modifiedOffset 76, 19 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <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>.··79 <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>.··
80 ·<a·href="a02508.html#details">More...</a></p>80 ·<a·href="a02508.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
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"><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>83 <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>
84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
85 <li><a·class="el"·href="a00017_source.html">rangeutilities.hh</a></li>85 <li><a·class="el"·href="a00131_source.html">rangeutilities.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.890 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
91 </small></address>91 </small></address>
92 </body>92 </body>
1.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a02512.html
    
Offset 76, 19 lines modifiedOffset 76, 19 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <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>.··79 <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>.··
80 ·<a·href="a02512.html#details">More...</a></p>80 ·<a·href="a02512.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
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"><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>83 <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>
84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
85 <li><a·class="el"·href="a00017_source.html">rangeutilities.hh</a></li>85 <li><a·class="el"·href="a00131_source.html">rangeutilities.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.890 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
91 </small></address>91 </small></address>
92 </body>92 </body>
3.09 KB
./usr/share/doc/libdune-common-doc/doxygen/a02536.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·range·transforming·the·values·of·another·range·on-the-fly.··83 <p>A·range·transforming·the·values·of·another·range·on-the-fly.··
84 ·<a·href="a02536.html#details">More...</a></p>84 ·<a·href="a02536.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:a4525e9203f5db4cf3e1fdf9b0d453df8"·id="r_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>89 <tr·class="memitem:a4525e9203f5db4cf3e1fdf9b0d453df8"·id="r_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>
90 <tr·class="memdesc:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Const·iterator·type.··<br·/></td></tr>90 <tr·class="memdesc:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Const·iterator·type.··<br·/></td></tr>
91 <tr·class="separator:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:a8482e5b84a047127fe60cc80bb53bad2"·id="r_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>92 <tr·class="memitem:a8482e5b84a047127fe60cc80bb53bad2"·id="r_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 446, 15 lines modifiedOffset 446, 15 lines modified
446 <p>Obtain·the·size·of·the·range.·</p>446 <p>Obtain·the·size·of·the·range.·</p>
447 <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>447 <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>
448 <p>Attention:·Don't·select·the·template·parameters·explicitly.·They·are·only·used·to·implement·SFINAE.·</p>448 <p>Attention:·Don't·select·the·template·parameters·explicitly.·They·are·only·used·to·implement·SFINAE.·</p>
  
449 </div>449 </div>
450 </div>450 </div>
451 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>451 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
452 <li><a·class="el"·href="a00017_source.html">rangeutilities.hh</a></li>452 <li><a·class="el"·href="a00131_source.html">rangeutilities.hh</a></li>
453 </ul>453 </ul>
454 </div><!--·contents·-->454 </div><!--·contents·-->
455 <!--·start·footer·part·-->455 <!--·start·footer·part·-->
456 <hr·class="footer"/><address·class="footer"><small>456 <hr·class="footer"/><address·class="footer"><small>
457 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8457 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
458 </small></address>458 </small></address>
459 </body>459 </body>
2.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a02552.html
    
Offset 78, 15 lines modifiedOffset 78, 15 lines modified
78 ··<div·class="headertitle"><div·class="title">Dune::ReservedVector&lt;·T,·n·&gt;·Class·Template·Reference</div></div>78 ··<div·class="headertitle"><div·class="title">Dune::ReservedVector&lt;·T,·n·&gt;·Class·Template·Reference</div></div>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>A·Vector·class·with·statically·reserved·memory.··81 <p>A·Vector·class·with·statically·reserved·memory.··
82 ·<a·href="a02552.html#details">More...</a></p>82 ·<a·href="a02552.html#details">More...</a></p>
  
83 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/reservedvector.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/reservedvector.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
86 Public·Types</h2></td></tr>86 Public·Types</h2></td></tr>
87 <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr>87 <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr>
88 <tr·class="memitem:abba3052e39dc47e93616057091f31fd5"·id="r_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>88 <tr·class="memitem:abba3052e39dc47e93616057091f31fd5"·id="r_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>
89 <tr·class="memdesc:abba3052e39dc47e93616057091f31fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<br·/></td></tr>89 <tr·class="memdesc:abba3052e39dc47e93616057091f31fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<br·/></td></tr>
90 <tr·class="separator:abba3052e39dc47e93616057091f31fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:abba3052e39dc47e93616057091f31fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 1833, 15 lines modifiedOffset 1833, 15 lines modified
1833 </div><div·class="memdoc">1833 </div><div·class="memdoc">
  
1834 <p>Swap·the·content·with·another·vector.·</p>1834 <p>Swap·the·content·with·another·vector.·</p>
  
1835 </div>1835 </div>
1836 </div>1836 </div>
1837 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1837 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1838 <li><a·class="el"·href="a00269_source.html">reservedvector.hh</a></li>1838 <li><a·class="el"·href="a00233_source.html">reservedvector.hh</a></li>
1839 </ul>1839 </ul>
1840 </div><!--·contents·-->1840 </div><!--·contents·-->
1841 <!--·start·footer·part·-->1841 <!--·start·footer·part·-->
1842 <hr·class="footer"/><address·class="footer"><small>1842 <hr·class="footer"/><address·class="footer"><small>
1843 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.81843 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
1844 </small></address>1844 </small></address>
1845 </body>1845 </body>
3.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a02588.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<div·class="headertitle"><div·class="title">Dune::null_deleter&lt;·T·&gt;·Struct·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::null_deleter&lt;·T·&gt;·Struct·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything··83 <p>implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything··
84 ·<a·href="a02588.html#details">More...</a></p>84 ·<a·href="a02588.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/shared_ptr.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/shared_ptr.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
88 Public·Member·Functions</h2></td></tr>88 Public·Member·Functions</h2></td></tr>
89 <tr·class="memitem:a3f1c97c83e9a406bab22a317a51056fb"·id="r_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>89 <tr·class="memitem:a3f1c97c83e9a406bab22a317a51056fb"·id="r_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>
90 <tr·class="separator:a3f1c97c83e9a406bab22a317a51056fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a3f1c97c83e9a406bab22a317a51056fb"><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="related"·name="related"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="related"·name="related"></a>
Offset 174, 25 lines modifiedOffset 174, 25 lines modified
174 ··<td·class="mlabels-right">174 ··<td·class="mlabels-right">
175 <span·class="mlabels"><span·class="mlabel">related</span></span>··</td>175 <span·class="mlabels"><span·class="mlabel">related</span></span>··</td>
176 ··</tr>176 ··</tr>
177 </table>177 </table>
178 </div><div·class="memdoc">178 </div><div·class="memdoc">
  
179 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>179 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>
180 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00056.html">dune/common/shared_ptr.hh</a>&gt;</span></div>180 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00008.html">dune/common/shared_ptr.hh</a>&gt;</span></div>
181 <div·class="ttc"·id="aa00056_html"><div·class="ttname"><a·href="a00056.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>181 <div·class="ttc"·id="aa00008_html"><div·class="ttname"><a·href="a00008.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>
182 </div><!--·fragment·--><p>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>182 </div><!--·fragment·--><p>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>
183 <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>183 <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>
184 </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>184 </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>
185 <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>185 <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>
  
186 </div>186 </div>
187 </div>187 </div>
188 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>188 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
189 <li><a·class="el"·href="a00056_source.html">shared_ptr.hh</a></li>189 <li><a·class="el"·href="a00008_source.html">shared_ptr.hh</a></li>
190 </ul>190 </ul>
191 </div><!--·contents·-->191 </div><!--·contents·-->
192 <!--·start·footer·part·-->192 <!--·start·footer·part·-->
193 <hr·class="footer"/><address·class="footer"><small>193 <hr·class="footer"/><address·class="footer"><small>
194 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8194 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
195 </small></address>195 </small></address>
196 </body>196 </body>
1.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a02592.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02589.html">List·of·all·members</a>··</div>78 <a·href="a02589.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/simd.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00194_source.html">dune/common/simd.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ac58eb6a061f11b93623abcf9f541307d"·id="r_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>86 <tr·class="memitem:ac58eb6a061f11b93623abcf9f541307d"·id="r_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>
87 <tr·class="separator:ac58eb6a061f11b93623abcf9f541307d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ac58eb6a061f11b93623abcf9f541307d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00047_source.html">simd.hh</a></li>107 <li><a·class="el"·href="a00194_source.html">simd.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a02596.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··82 <p>deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··
83 ·<a·href="a02596.html#details">More...</a></p>83 ·<a·href="a02596.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/simd.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00194_source.html">dune/common/simd.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a991769055c785002cb76df598012401c"·id="r_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>88 <tr·class="memitem:a991769055c785002cb76df598012401c"·id="r_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>
89 <tr·class="separator:a991769055c785002cb76df598012401c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a991769055c785002cb76df598012401c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <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="a00047_source.html">simd.hh</a></li>113 <li><a·class="el"·href="a00194_source.html">simd.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.8118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
119 </small></address>119 </small></address>
120 </body>120 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a02600.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02597.html">List·of·all·members</a>··</div>78 <a·href="a02597.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::SimdIndexTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::SimdIndexTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/simd.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00194_source.html">dune/common/simd.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a29a1c3676f164a724e95fc2a56a85c96"·id="r_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>86 <tr·class="memitem:a29a1c3676f164a724e95fc2a56a85c96"·id="r_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>
87 <tr·class="separator:a29a1c3676f164a724e95fc2a56a85c96"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a29a1c3676f164a724e95fc2a56a85c96"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00047_source.html">simd.hh</a></li>107 <li><a·class="el"·href="a00194_source.html">simd.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a02604.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02601.html">List·of·all·members</a>··</div>78 <a·href="a02601.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/simd.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00194_source.html">dune/common/simd.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a18caa08e28fdf11a680d2bf13e75a45c"·id="r_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>86 <tr·class="memitem:a18caa08e28fdf11a680d2bf13e75a45c"·id="r_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>
87 <tr·class="separator:a18caa08e28fdf11a680d2bf13e75a45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a18caa08e28fdf11a680d2bf13e75a45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00047_source.html">simd.hh</a></li>107 <li><a·class="el"·href="a00194_source.html">simd.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.37 KB
./usr/share/doc/libdune-common-doc/doxygen/a02608.html
    
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 <li><code>i==4</code>:·override·standard·implementation,·but·prefer·other·implementations</li>117 <li><code>i==4</code>:·override·standard·implementation,·but·prefer·other·implementations</li>
118 <li><code>i==7</code>:·try·to·override·other·implementations</li>118 <li><code>i==7</code>:·try·to·override·other·implementations</li>
119 </ul>119 </ul>
120 <p><code>i==7</code>·is·the·highest·supported·priority.</p>120 <p><code>i==7</code>·is·the·highest·supported·priority.</p>
121 <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>121 <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>
122 </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>122 </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>
123 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>123 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00131_source.html">base.hh</a></li>124 <li><a·class="el"·href="a00191_source.html">base.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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a02612.html
    
Offset 73, 29 lines modifiedOffset 73, 29 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::Simd::Overloads::ADLTag&lt;·i·&gt;:</div>81 Inheritance·diagram·for·Dune::Simd::Overloads::ADLTag&lt;·i·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,197,163,237"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,197,163,237"/>
86 <area·shape="rect"·href="a02608.html"·title="·"·alt=""·coords="5,108,163,148"/>86 <area·shape="rect"·href="a02608.html"·title="·"·alt=""·coords="5,108,163,148"/>
87 <area·shape="poly"·title="·"·alt=""·coords="87,162,87,197,81,197,81,162"/>87 <area·shape="poly"·title="·"·alt=""·coords="87,162,87,197,81,197,81,162"/>
88 <area·shape="rect"·href="a02608.html"·title="Tag·used·to·force·late&#45;binding·lookup·in·Dune::Simd::Overloads."·alt=""·coords="5,5,163,45"/>88 <area·shape="rect"·href="a02608.html"·title="Tag·used·to·force·late&#45;binding·lookup·in·Dune::Simd::Overloads."·alt=""·coords="5,5,163,45"/>
89 <area·shape="poly"·title="·"·alt=""·coords="87,59,87,108,81,108,81,59"/>89 <area·shape="poly"·title="·"·alt=""·coords="87,59,87,108,81,108,81,59"/>
90 </map>90 </map>
91 </div>91 </div>
92 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>92 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
93 <li><a·class="el"·href="a00131_source.html">base.hh</a></li>93 <li><a·class="el"·href="a00191_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.898 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
99 </small></address>99 </small></address>
100 </body>100 </body>
1.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a02616.html
    
Offset 73, 17 lines modifiedOffset 73, 17 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code></p>
80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
81 <li><a·class="el"·href="a00131_source.html">base.hh</a></li>81 <li><a·class="el"·href="a00191_source.html">base.hh</a></li>
82 </ul>82 </ul>
83 </div><!--·contents·-->83 </div><!--·contents·-->
84 <!--·start·footer·part·-->84 <!--·start·footer·part·-->
85 <hr·class="footer"/><address·class="footer"><small>85 <hr·class="footer"/><address·class="footer"><small>
86 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.886 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
87 </small></address>87 </small></address>
88 </body>88 </body>
2.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a02620.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>should·have·a·member·type·<code>type</code>··82 <p>should·have·a·member·type·<code>type</code>··
83 ·<a·href="a02620.html#details">More...</a></p>83 ·<a·href="a02620.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:ab4f6f38e2c9e3272e5146799d512d978"·id="r_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>88 <tr·class="memitem:ab4f6f38e2c9e3272e5146799d512d978"·id="r_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>
89 <tr·class="separator:ab4f6f38e2c9e3272e5146799d512d978"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ab4f6f38e2c9e3272e5146799d512d978"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 109, 16 lines modifiedOffset 109, 16 lines modified
109 ········</tr>109 ········</tr>
110 ······</table>110 ······</table>
111 </div><div·class="memdoc">111 </div><div·class="memdoc">
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
115 <li><a·class="el"·href="a00131_source.html">base.hh</a></li>115 <li><a·class="el"·href="a00191_source.html">base.hh</a></li>
116 <li><a·class="el"·href="a00143_source.html">standard.hh</a></li>116 <li><a·class="el"·href="a00203_source.html">standard.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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
2.19 KB
./usr/share/doc/libdune-common-doc/doxygen/a02624.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>should·have·a·member·type·<code>type</code>··82 <p>should·have·a·member·type·<code>type</code>··
83 ·<a·href="a02624.html#details">More...</a></p>83 ·<a·href="a02624.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a36ba8db89c385f576f383a984ef8c286"·id="r_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>88 <tr·class="memitem:a36ba8db89c385f576f383a984ef8c286"·id="r_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>
89 <tr·class="separator:a36ba8db89c385f576f383a984ef8c286"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a36ba8db89c385f576f383a984ef8c286"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 109, 16 lines modifiedOffset 109, 16 lines modified
109 ········</tr>109 ········</tr>
110 ······</table>110 ······</table>
111 </div><div·class="memdoc">111 </div><div·class="memdoc">
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>114 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
115 <li><a·class="el"·href="a00131_source.html">base.hh</a></li>115 <li><a·class="el"·href="a00191_source.html">base.hh</a></li>
116 <li><a·class="el"·href="a00143_source.html">standard.hh</a></li>116 <li><a·class="el"·href="a00203_source.html">standard.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.8121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
122 </small></address>122 </small></address>
123 </body>123 </body>
3.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a02628.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <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>··79 <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>··
80 ·<a·href="a02628.html#details">More...</a></p>80 ·<a·href="a02628.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;:</div>83 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="should·be·derived·from·a·Dune::index_constant"·alt=""·coords="5,79,192,119"/>87 <area·shape="rect"·title="should·be·derived·from·a·Dune::index_constant"·alt=""·coords="5,79,192,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="28,5,169,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="28,5,169,31"/>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class,·class&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class,·class&gt;<br·/>
96 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>96 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>
97 <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>97 <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>
98 <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>98 <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>
99 <p>Implements·<a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305"·title="Number·of·lanes·in·a·SIMD·type.">Simd::lanes()</a>·</p>99 <p>Implements·<a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305"·title="Number·of·lanes·in·a·SIMD·type.">Simd::lanes()</a>·</p>
100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
101 <li><a·class="el"·href="a00131_source.html">base.hh</a></li>101 <li><a·class="el"·href="a00191_source.html">base.hh</a></li>
102 </ul>102 </ul>
103 </div><!--·contents·-->103 </div><!--·contents·-->
104 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>107 </small></address>
108 </body>108 </body>
1.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a02632.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="a02629.html">List·of·all·members</a>··</div>78 <a·href="a02629.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::SimdImpl::Inserter&lt;·T·&gt;·Class·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::SimdImpl::Inserter&lt;·T·&gt;·Class·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/simd/io.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/simd/io.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="pub-methods"·name="pub-methods"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
85 Public·Member·Functions</h2></td></tr>85 Public·Member·Functions</h2></td></tr>
86 <tr·class="memitem:a232e95fd4c68d29088364920b6049269"·id="r_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>86 <tr·class="memitem:a232e95fd4c68d29088364920b6049269"·id="r_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>
87 <tr·class="separator:a232e95fd4c68d29088364920b6049269"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a232e95fd4c68d29088364920b6049269"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>89 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00137_source.html">io.hh</a></li>119 <li><a·class="el"·href="a00185_source.html">io.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
1.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a02636.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;77 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;78 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
79 <a·href="a02633.html">List·of·all·members</a>··</div>79 <a·href="a02633.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::LoopSIMD&lt;·T,·S,·A·&gt;·Class·Template·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::LoopSIMD&lt;·T,·S,·A·&gt;·Class·Template·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
84 <div·class="dynheader">84 <div·class="dynheader">
85 Inheritance·diagram·for·Dune::LoopSIMD&lt;·T,·S,·A·&gt;:</div>85 Inheritance·diagram·for·Dune::LoopSIMD&lt;·T,·S,·A·&gt;:</div>
86 <div·class="dyncontent">86 <div·class="dyncontent">
87 <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>87 <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>
88 <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">88 <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">
89 <area·shape="rect"·title="·"·alt=""·coords="5,79,152,119"/>89 <area·shape="rect"·title="·"·alt=""·coords="5,79,152,119"/>
90 <area·shape="rect"·title="·"·alt=""·coords="24,5,133,31"/>90 <area·shape="rect"·title="·"·alt=""·coords="24,5,133,31"/>
Offset 544, 15 lines modifiedOffset 544, 15 lines modified
544 </div><div·class="memdoc">544 </div><div·class="memdoc">
  
545 <p>STL·member.·</p>545 <p>STL·member.·</p>
  
546 </div>546 </div>
547 </div>547 </div>
548 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>548 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
549 <li><a·class="el"·href="a00134_source.html">loop.hh</a></li>549 <li><a·class="el"·href="a00197_source.html">loop.hh</a></li>
550 </ul>550 </ul>
551 </div><!--·contents·-->551 </div><!--·contents·-->
552 <!--·start·footer·part·-->552 <!--·start·footer·part·-->
553 <hr·class="footer"/><address·class="footer"><small>553 <hr·class="footer"/><address·class="footer"><small>
554 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8554 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
555 </small></address>555 </small></address>
556 </body>556 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a02640.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02637.html">List·of·all·members</a>··</div>78 <a·href="a02637.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:afd217750ca3a8095dc151ddee578fedb"·id="r_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>86 <tr·class="memitem:afd217750ca3a8095dc151ddee578fedb"·id="r_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>
87 <tr·class="separator:afd217750ca3a8095dc151ddee578fedb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:afd217750ca3a8095dc151ddee578fedb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00134_source.html">loop.hh</a></li>107 <li><a·class="el"·href="a00197_source.html">loop.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a02644.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02641.html">List·of·all·members</a>··</div>78 <a·href="a02641.html">List·of·all·members</a>··</div>
79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:a30f2b8d6e6db39e878ac1bbcda904b2a"·id="r_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>86 <tr·class="memitem:a30f2b8d6e6db39e878ac1bbcda904b2a"·id="r_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>
87 <tr·class="separator:a30f2b8d6e6db39e878ac1bbcda904b2a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:a30f2b8d6e6db39e878ac1bbcda904b2a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <h2·class="groupheader">Member·Typedef·Documentation</h2>89 <h2·class="groupheader">Member·Typedef·Documentation</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="a00134_source.html">loop.hh</a></li>107 <li><a·class="el"·href="a00197_source.html">loop.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
1.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a02648.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·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="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>81 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="7,93,174,148"/>85 <area·shape="rect"·title="·"·alt=""·coords="7,93,174,148"/>
86 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,45"/>86 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,45"/>
87 <area·shape="poly"·title="·"·alt=""·coords="93,59,93,93,88,93,88,59"/>87 <area·shape="poly"·title="·"·alt=""·coords="93,59,93,93,88,93,88,59"/>
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="a00134_source.html">loop.hh</a></li>91 <li><a·class="el"·href="a00197_source.html">loop.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
1.75 KB
./usr/share/doc/libdune-common-doc/doxygen/a02652.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·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="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>81 Inheritance·diagram·for·Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,108,197,148"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,108,197,148"/>
86 <area·shape="rect"·title="·"·alt=""·coords="24,5,179,60"/>86 <area·shape="rect"·title="·"·alt=""·coords="24,5,179,60"/>
87 <area·shape="poly"·title="·"·alt=""·coords="104,74,104,108,99,108,99,74"/>87 <area·shape="poly"·title="·"·alt=""·coords="104,74,104,108,99,108,99,74"/>
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="a00134_source.html">loop.hh</a></li>91 <li><a·class="el"·href="a00197_source.html">loop.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
1.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a02724.html
    
Offset 76, 19 lines modifiedOffset 76, 19 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::Simd::EndMark·Struct·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::Simd::EndMark·Struct·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>final·element·marker·for·<code>RebindList</code>··79 <p>final·element·marker·for·<code>RebindList</code>··
80 ·<a·href="a02724.html#details">More...</a></p>80 ·<a·href="a02724.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/simd/test.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/simd/test.hh</a>&gt;</code></p>
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"><p>final·element·marker·for·<code>RebindList</code>·</p>83 <div·class="textblock"><p>final·element·marker·for·<code>RebindList</code>·</p>
84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
85 <li><a·class="el"·href="a00125_source.html">test.hh</a></li>85 <li><a·class="el"·href="a00206_source.html">test.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.890 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
91 </small></address>91 </small></address>
92 </body>92 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a02728.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
79 <a·href="a02725.html">List·of·all·members</a>··</div>79 <a·href="a02725.html">List·of·all·members</a>··</div>
80 ··<div·class="headertitle"><div·class="title">Dune::Simd::UnitTest·Class·Reference</div></div>80 ··<div·class="headertitle"><div·class="title">Dune::Simd::UnitTest·Class·Reference</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/simd/test.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/simd/test.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
86 Public·Member·Functions</h2></td></tr>86 Public·Member·Functions</h2></td></tr>
87 <tr·class="memitem:a4f1d473ac4656d85fc4bae772f75e5ae"·id="r_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>87 <tr·class="memitem:a4f1d473ac4656d85fc4bae772f75e5ae"·id="r_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>
88 <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>88 <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>
89 <tr·class="memdesc:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">run·unit·tests·for·simd·vector·type·V··<br·/></td></tr>89 <tr·class="memdesc:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">run·unit·tests·for·simd·vector·type·V··<br·/></td></tr>
90 <tr·class="separator:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 378, 16 lines modifiedOffset 378, 16 lines modified
378 </div><div·class="memdoc">378 </div><div·class="memdoc">
  
379 <p>whether·all·tests·succeeded·</p>379 <p>whether·all·tests·succeeded·</p>
  
380 </div>380 </div>
381 </div>381 </div>
382 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>382 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
383 <li><a·class="el"·href="a00125_source.html">test.hh</a></li>383 <li><a·class="el"·href="a00206_source.html">test.hh</a></li>
384 <li><a·class="el"·href="a00128.html">test.cc</a></li>384 <li><a·class="el"·href="a00209.html">test.cc</a></li>
385 </ul>385 </ul>
386 </div><!--·contents·-->386 </div><!--·contents·-->
387 <!--·start·footer·part·-->387 <!--·start·footer·part·-->
388 <hr·class="footer"/><address·class="footer"><small>388 <hr·class="footer"/><address·class="footer"><small>
389 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8389 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
390 </small></address>390 </small></address>
391 </body>391 </body>
8.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a02840.html
    
Offset 81, 40 lines modifiedOffset 81, 40 lines modified
81 ··<div·class="headertitle"><div·class="title">Dune::Singleton&lt;·T·&gt;·Class·Template·Reference</div></div>81 ··<div·class="headertitle"><div·class="title">Dune::Singleton&lt;·T·&gt;·Class·Template·Reference</div></div>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>An·adapter·to·turn·a·class·into·a·singleton.··84 <p>An·adapter·to·turn·a·class·into·a·singleton.··
85 ·<a·href="a02840.html#details">More...</a></p>85 ·<a·href="a02840.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/singleton.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/singleton.hh</a>&gt;</code></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
89 Public·Member·Functions</h2></td></tr>89 Public·Member·Functions</h2></td></tr>
90 <tr·class="memitem:a57f3c57f7f9f0fcfc08550d94e15aaf1"·id="r_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>90 <tr·class="memitem:a57f3c57f7f9f0fcfc08550d94e15aaf1"·id="r_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>
91 <tr·class="separator:a57f3c57f7f9f0fcfc08550d94e15aaf1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:a57f3c57f7f9f0fcfc08550d94e15aaf1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:aaa5a12878e6f4ca89127990e5197898f"·id="r_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>92 <tr·class="memitem:aaa5a12878e6f4ca89127990e5197898f"·id="r_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>
93 <tr·class="separator:aaa5a12878e6f4ca89127990e5197898f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:aaa5a12878e6f4ca89127990e5197898f"><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="pub-static-methods"·name="pub-static-methods"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
96 Static·Public·Member·Functions</h2></td></tr>96 Static·Public·Member·Functions</h2></td></tr>
97 <tr·class="memitem:ac74959a5e2b2dfecd5406a931dc45aa0"·id="r_ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00095.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>97 <tr·class="memitem:ac74959a5e2b2dfecd5406a931dc45aa0"·id="r_ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00164.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>
98 <tr·class="memdesc:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·instance·of·the·singleton.··<br·/></td></tr>98 <tr·class="memdesc:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·instance·of·the·singleton.··<br·/></td></tr>
99 <tr·class="separator:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>
102 Protected·Member·Functions</h2></td></tr>102 Protected·Member·Functions</h2></td></tr>
103 <tr·class="memitem:a4c8e8068dc0d09d23e86e320e9355cc8"·id="r_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>103 <tr·class="memitem:a4c8e8068dc0d09d23e86e320e9355cc8"·id="r_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>
104 <tr·class="separator:a4c8e8068dc0d09d23e86e320e9355cc8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a4c8e8068dc0d09d23e86e320e9355cc8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table>105 </table>
106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
107 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>107 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
108 class·Dune::Singleton&lt;·T·&gt;</div><p>An·adapter·to·turn·a·class·into·a·singleton.·</p>108 class·Dune::Singleton&lt;·T·&gt;</div><p>An·adapter·to·turn·a·class·into·a·singleton.·</p>
109 <p>The·class·represented·by·the·template·parameter·T·must·have·a·parameterless·constructor.</p>109 <p>The·class·represented·by·the·template·parameter·T·must·have·a·parameterless·constructor.</p>
110 <p>Class·T·can·be·publicly·derived·from·Singleton&lt;T&gt;:</p>110 <p>Class·T·can·be·publicly·derived·from·Singleton&lt;T&gt;:</p>
111 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00290.html">dune/common/singleton.hh</a>&gt;</span></div>111 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00068.html">dune/common/singleton.hh</a>&gt;</span></div>
112 <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>112 <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>
113 <div·class="line">{</div>113 <div·class="line">{</div>
114 <div·class="line"><span·class="keyword">public</span>:</div>114 <div·class="line"><span·class="keyword">public</span>:</div>
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">····bytes·=·<span·class="keyword">new</span>·<span·class="keywordtype">char</span>[1000];</div>117 <div·class="line">····bytes·=·<span·class="keyword">new</span>·<span·class="keywordtype">char</span>[1000];</div>
118 <div·class="line">··}</div>118 <div·class="line">··}</div>
Offset 122, 15 lines modifiedOffset 122, 15 lines modified
122 <div·class="line">··~Foo()</div>122 <div·class="line">··~Foo()</div>
123 <div·class="line">··{</div>123 <div·class="line">··{</div>
124 <div·class="line">····<span·class="keyword">delete</span>[]·bytes;</div>124 <div·class="line">····<span·class="keyword">delete</span>[]·bytes;</div>
125 <div·class="line">··}</div>125 <div·class="line">··}</div>
126 <div·class="line"><span·class="keyword">private</span>:</div>126 <div·class="line"><span·class="keyword">private</span>:</div>
127 <div·class="line">··<span·class="keywordtype">char</span>*·bytes;</div>127 <div·class="line">··<span·class="keywordtype">char</span>*·bytes;</div>
128 <div·class="line">};</div>128 <div·class="line">};</div>
129 <div·class="ttc"·id="aa00290_html"><div·class="ttname"><a·href="a00290.html">singleton.hh</a></div><div·class="ttdoc">Useful·wrapper·for·creating·singletons.</div></div>129 <div·class="ttc"·id="aa00068_html"><div·class="ttname"><a·href="a00068.html">singleton.hh</a></div><div·class="ttdoc">Useful·wrapper·for·creating·singletons.</div></div>
130 <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>130 <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>
131 </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>131 </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>
132 <div·class="line">Foo1·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>&amp;·=·FooSingleton::instance();</div>132 <div·class="line">Foo1·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>&amp;·=·FooSingleton::instance();</div>
133 <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>133 <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>
134 </div><!--·fragment·--><p>·Creates·a·singleton·of·that·class·and·accesses·its·instance.·</p>134 </div><!--·fragment·--><p>·Creates·a·singleton·of·that·class·and·accesses·its·instance.·</p>
135 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>135 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
136 <a·id="a4c8e8068dc0d09d23e86e320e9355cc8"·name="a4c8e8068dc0d09d23e86e320e9355cc8"></a>136 <a·id="a4c8e8068dc0d09d23e86e320e9355cc8"·name="a4c8e8068dc0d09d23e86e320e9355cc8"></a>
Offset 197, 15 lines modifiedOffset 197, 15 lines modified
197 <div·class="memtemplate">197 <div·class="memtemplate">
198 template&lt;class·T·&gt;·</div>198 template&lt;class·T·&gt;·</div>
199 <table·class="mlabels">199 <table·class="mlabels">
200 ··<tr>200 ··<tr>
201 ··<td·class="mlabels-left">201 ··<td·class="mlabels-left">
202 ······<table·class="memname">202 ······<table·class="memname">
203 ········<tr>203 ········<tr>
204 ··········<td·class="memname">static·<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·T·&amp;·<a·class="el"·href="a02840.html">Dune::Singleton</a>&lt;·T·&gt;::instance·</td>204 ··········<td·class="memname">static·<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·T·&amp;·<a·class="el"·href="a02840.html">Dune::Singleton</a>&lt;·T·&gt;::instance·</td>
205 ··········<td>(</td>205 ··········<td>(</td>
206 ··········<td·class="paramname"></td><td>)</td>206 ··········<td·class="paramname"></td><td>)</td>
207 ··········<td></td>207 ··········<td></td>
208 ········</tr>208 ········</tr>
209 ······</table>209 ······</table>
210 ··</td>210 ··</td>
211 ··<td·class="mlabels-right">211 ··<td·class="mlabels-right">
Offset 244, 15 lines modifiedOffset 244, 15 lines modified
244 ··</tr>244 ··</tr>
245 </table>245 </table>
246 </div><div·class="memdoc">246 </div><div·class="memdoc">
  
247 </div>247 </div>
248 </div>248 </div>
249 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>249 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
250 <li><a·class="el"·href="a00290_source.html">singleton.hh</a></li>250 <li><a·class="el"·href="a00068_source.html">singleton.hh</a></li>
251 </ul>251 </ul>
252 </div><!--·contents·-->252 </div><!--·contents·-->
253 <!--·start·footer·part·-->253 <!--·start·footer·part·-->
254 <hr·class="footer"/><address·class="footer"><small>254 <hr·class="footer"/><address·class="footer"><small>
255 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8255 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
256 </small></address>256 </small></address>
257 </body>257 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a02844.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··83 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··
84 ·<a·href="a02844.html#details">More...</a></p>84 ·<a·href="a02844.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/sllist.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/sllist.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::SLListIterator&lt;·T,·A·&gt;:</div>87 Inheritance·diagram·for·Dune::SLListIterator&lt;·T,·A·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="32,227,171,267"/>91 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="32,227,171,267"/>
92 <area·shape="rect"·href="a02844.html"·title="·"·alt=""·coords="11,329,192,369"/>92 <area·shape="rect"·href="a02844.html"·title="·"·alt=""·coords="11,329,192,369"/>
Offset 525, 15 lines modifiedOffset 525, 15 lines modified
525 ··</tr>525 ··</tr>
526 </table>526 </table>
527 </div><div·class="memdoc">527 </div><div·class="memdoc">
  
528 </div>528 </div>
529 </div>529 </div>
530 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>530 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
531 <li><a·class="el"·href="a00287_source.html">sllist.hh</a></li>531 <li><a·class="el"·href="a00038_source.html">sllist.hh</a></li>
532 </ul>532 </ul>
533 </div><!--·contents·-->533 </div><!--·contents·-->
534 <!--·start·footer·part·-->534 <!--·start·footer·part·-->
535 <hr·class="footer"/><address·class="footer"><small>535 <hr·class="footer"/><address·class="footer"><small>
536 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8536 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
537 </small></address>537 </small></address>
538 </body>538 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a02848.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·constant·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··83 <p>A·constant·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··
84 ·<a·href="a02848.html#details">More...</a></p>84 ·<a·href="a02848.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/sllist.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/sllist.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::SLListConstIterator&lt;·T,·A·&gt;:</div>87 Inheritance·diagram·for·Dune::SLListConstIterator&lt;·T,·A·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="A·constant·iterator·for·the·SLList."·alt=""·coords="627,29,801,69"/>91 <area·shape="rect"·title="A·constant·iterator·for·the·SLList."·alt=""·coords="627,29,801,69"/>
92 <area·shape="rect"·href="a01876.html"·title="·"·alt=""·coords="385,15,577,84"/>92 <area·shape="rect"·href="a01876.html"·title="·"·alt=""·coords="385,15,577,84"/>
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="a00287_source.html">sllist.hh</a></li>519 <li><a·class="el"·href="a00038_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.8524 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
525 </small></address>525 </small></address>
526 </body>526 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02852.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··83 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··
84 ·<a·href="a02852.html#details">More...</a></p>84 ·<a·href="a02852.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/sllist.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/sllist.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::SLListModifyIterator&lt;·T,·A·&gt;:</div>87 Inheritance·diagram·for·Dune::SLListModifyIterator&lt;·T,·A·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="12,241,191,281"/>91 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="12,241,191,281"/>
92 <area·shape="rect"·href="a02852.html"·title="·"·alt=""·coords="11,344,192,384"/>92 <area·shape="rect"·href="a02852.html"·title="·"·alt=""·coords="11,344,192,384"/>
Offset 523, 15 lines modifiedOffset 523, 15 lines modified
523 ··</tr>523 ··</tr>
524 </table>524 </table>
525 </div><div·class="memdoc">525 </div><div·class="memdoc">
  
526 </div>526 </div>
527 </div>527 </div>
528 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>528 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
529 <li><a·class="el"·href="a00287_source.html">sllist.hh</a></li>529 <li><a·class="el"·href="a00038_source.html">sllist.hh</a></li>
530 </ul>530 </ul>
531 </div><!--·contents·-->531 </div><!--·contents·-->
532 <!--·start·footer·part·-->532 <!--·start·footer·part·-->
533 <hr·class="footer"/><address·class="footer"><small>533 <hr·class="footer"/><address·class="footer"><small>
534 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8534 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
535 </small></address>535 </small></address>
536 </body>536 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02856.html
    
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
81 ··<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>81 ··<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>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
  
84 <p>A·single·linked·list.··84 <p>A·single·linked·list.··
85 ·<a·href="a02856.html#details">More...</a></p>85 ·<a·href="a02856.html#details">More...</a></p>
  
86 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/sllist.hh</a>&gt;</code></p>86 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/sllist.hh</a>&gt;</code></p>
87 <div·class="dynheader">87 <div·class="dynheader">
88 Inheritance·diagram·for·Dune::SLList&lt;·T,·A·&gt;:</div>88 Inheritance·diagram·for·Dune::SLList&lt;·T,·A·&gt;:</div>
89 <div·class="dyncontent">89 <div·class="dyncontent">
90 <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>90 <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>
91 <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">91 <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">
92 <area·shape="rect"·title="A·single·linked·list."·alt=""·coords="5,77,152,102"/>92 <area·shape="rect"·title="A·single·linked·list."·alt=""·coords="5,77,152,102"/>
93 <area·shape="rect"·href="a02856.html"·title="·"·alt=""·coords="368,5,551,45"/>93 <area·shape="rect"·href="a02856.html"·title="·"·alt=""·coords="368,5,551,45"/>
Offset 182, 15 lines modifiedOffset 182, 15 lines modified
182 <tr·class="separator:ga29be35a0986714d7a74946eaea406628"><td·class="memSeparator"·colspan="2">&#160;</td></tr>182 <tr·class="separator:ga29be35a0986714d7a74946eaea406628"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
183 </table>183 </table>
184 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>184 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
185 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·class·A·=·std::allocator&lt;T&gt;&gt;<br·/>185 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·class·A·=·std::allocator&lt;T&gt;&gt;<br·/>
186 class·Dune::SLList&lt;·T,·A·&gt;</div><p>A·single·linked·list.·</p>186 class·Dune::SLList&lt;·T,·A·&gt;</div><p>A·single·linked·list.·</p>
187 <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>187 <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>
188 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>188 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
189 <li><a·class="el"·href="a00287_source.html">sllist.hh</a></li>189 <li><a·class="el"·href="a00038_source.html">sllist.hh</a></li>
190 </ul>190 </ul>
191 </div><!--·contents·-->191 </div><!--·contents·-->
192 <!--·start·footer·part·-->192 <!--·start·footer·part·-->
193 <hr·class="footer"/><address·class="footer"><small>193 <hr·class="footer"/><address·class="footer"><small>
194 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8194 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
195 </small></address>195 </small></address>
196 </body>196 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a02864.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::Std::identity·Struct·Reference</div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Std::identity·Struct·Reference</div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·function·object·type·whose·operator()·returns·its·argument·unchanged.··82 <p>A·function·object·type·whose·operator()·returns·its·argument·unchanged.··
83 ·<a·href="a02864.html#details">More...</a></p>83 ·<a·href="a02864.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/std/functional.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00149_source.html">dune/common/std/functional.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a01171400202cf7f1039454c787ed1e7a"·id="r_a01171400202cf7f1039454c787ed1e7a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>88 <tr·class="memitem:a01171400202cf7f1039454c787ed1e7a"·id="r_a01171400202cf7f1039454c787ed1e7a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
89 <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>89 <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>
90 <tr·class="separator:a01171400202cf7f1039454c787ed1e7a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a01171400202cf7f1039454c787ed1e7a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 ··</tr>121 ··</tr>
122 </table>122 </table>
123 </div><div·class="memdoc">123 </div><div·class="memdoc">
  
124 </div>124 </div>
125 </div>125 </div>
126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>126 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
127 <li><a·class="el"·href="a00197_source.html">functional.hh</a></li>127 <li><a·class="el"·href="a00149_source.html">functional.hh</a></li>
128 </ul>128 </ul>
129 </div><!--·contents·-->129 </div><!--·contents·-->
130 <!--·start·footer·part·-->130 <!--·start·footer·part·-->
131 <hr·class="footer"/><address·class="footer"><small>131 <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.8132 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
133 </small></address>133 </small></address>
134 </body>134 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a02868.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Type·representing·a·lookup·failure·by·std::detected_or·and·friends.··82 <p>Type·representing·a·lookup·failure·by·std::detected_or·and·friends.··
83 ·<a·href="a02868.html#details">More...</a></p>83 ·<a·href="a02868.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a4bee85fb45f38b33038badf2f2ffe9d5"·id="r_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>88 <tr·class="memitem:a4bee85fb45f38b33038badf2f2ffe9d5"·id="r_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>
89 <tr·class="separator:a4bee85fb45f38b33038badf2f2ffe9d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a4bee85fb45f38b33038badf2f2ffe9d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:aa6b9d5c13bf56e0833d2bec017b87128"·id="r_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>90 <tr·class="memitem:aa6b9d5c13bf56e0833d2bec017b87128"·id="r_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>
91 <tr·class="separator:aa6b9d5c13bf56e0833d2bec017b87128"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:aa6b9d5c13bf56e0833d2bec017b87128"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 201, 15 lines modifiedOffset 201, 15 lines modified
201 ··</tr>201 ··</tr>
202 </table>202 </table>
203 </div><div·class="memdoc">203 </div><div·class="memdoc">
  
204 </div>204 </div>
205 </div>205 </div>
206 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>206 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
207 <li><a·class="el"·href="a00206_source.html">type_traits.hh</a></li>207 <li><a·class="el"·href="a00155_source.html">type_traits.hh</a></li>
208 </ul>208 </ul>
209 </div><!--·contents·-->209 </div><!--·contents·-->
210 <!--·start·footer·part·-->210 <!--·start·footer·part·-->
211 <hr·class="footer"/><address·class="footer"><small>211 <hr·class="footer"/><address·class="footer"><small>
212 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8212 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
213 </small></address>213 </small></address>
214 </body>214 </body>
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a02872.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>forms·the·logical·conjunction·of·the·type·traits·B...··79 <p>forms·the·logical·conjunction·of·the·type·traits·B...··
80 ·<a·href="a02872.html#details">More...</a></p>80 ·<a·href="a02872.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::Std::conjunction&lt;·B·&gt;:</div>83 Inheritance·diagram·for·Dune::Std::conjunction&lt;·B·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="forms·the·logical·conjunction·of·the·type·traits·B..."·alt=""·coords="5,79,193,104"/>87 <area·shape="rect"·title="forms·the·logical·conjunction·of·the·type·traits·B..."·alt=""·coords="5,79,193,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="20,5,179,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="20,5,179,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>
96 struct·Dune::Std::conjunction&lt;·B·&gt;</div><p>forms·the·logical·conjunction·of·the·type·traits·B...·</p>96 struct·Dune::Std::conjunction&lt;·B·&gt;</div><p>forms·the·logical·conjunction·of·the·type·traits·B...·</p>
97 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>97 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</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="a00206_source.html">type_traits.hh</a></li>99 <li><a·class="el"·href="a00155_source.html">type_traits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a02876.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>forms·the·logical·disjunction·of·the·type·traits·B...··79 <p>forms·the·logical·disjunction·of·the·type·traits·B...··
80 ·<a·href="a02876.html#details">More...</a></p>80 ·<a·href="a02876.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::Std::disjunction&lt;·B·&gt;:</div>83 Inheritance·diagram·for·Dune::Std::disjunction&lt;·B·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="forms·the·logical·disjunction·of·the·type·traits·B..."·alt=""·coords="5,79,189,104"/>87 <area·shape="rect"·title="forms·the·logical·disjunction·of·the·type·traits·B..."·alt=""·coords="5,79,189,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="20,5,175,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="20,5,175,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>
96 struct·Dune::Std::disjunction&lt;·B·&gt;</div><p>forms·the·logical·disjunction·of·the·type·traits·B...·</p>96 struct·Dune::Std::disjunction&lt;·B·&gt;</div><p>forms·the·logical·disjunction·of·the·type·traits·B...·</p>
97 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>97 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</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="a00206_source.html">type_traits.hh</a></li>99 <li><a·class="el"·href="a00155_source.html">type_traits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a02880.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>forms·the·logical·negation·of·the·type·traits·B...··79 <p>forms·the·logical·negation·of·the·type·traits·B...··
80 ·<a·href="a02880.html#details">More...</a></p>80 ·<a·href="a02880.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::Std::negation&lt;·B·&gt;:</div>83 Inheritance·diagram·for·Dune::Std::negation&lt;·B·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="forms·the·logical·negation·of·the·type·traits·B..."·alt=""·coords="5,79,176,104"/>87 <area·shape="rect"·title="forms·the·logical·negation·of·the·type·traits·B..."·alt=""·coords="5,79,176,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="25,5,156,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="25,5,156,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·B&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·B&gt;<br·/>
96 struct·Dune::Std::negation&lt;·B·&gt;</div><p>forms·the·logical·negation·of·the·type·traits·B...·</p>96 struct·Dune::Std::negation&lt;·B·&gt;</div><p>forms·the·logical·negation·of·the·type·traits·B...·</p>
97 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>97 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</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="a00206_source.html">type_traits.hh</a></li>99 <li><a·class="el"·href="a00155_source.html">type_traits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a02884.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<div·class="headertitle"><div·class="title">Dune::Timer·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>79 ··<div·class="headertitle"><div·class="title">Dune::Timer·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·simple·stop·watch.··82 <p>A·simple·stop·watch.··
83 ·<a·href="a02884.html#details">More...</a></p>83 ·<a·href="a02884.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/timer.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/timer.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
87 Public·Member·Functions</h2></td></tr>87 Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:a55b4e69b9e9ef128b998fb0f59f0fa63"·id="r_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>88 <tr·class="memitem:a55b4e69b9e9ef128b998fb0f59f0fa63"·id="r_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>
89 <tr·class="memdesc:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·new·timer,·create·and·reset.··<br·/></td></tr>89 <tr·class="memdesc:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·new·timer,·create·and·reset.··<br·/></td></tr>
90 <tr·class="separator:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a08ea290ecdd2cb4e98b4bc22e65abff4"·id="r_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>91 <tr·class="memitem:a08ea290ecdd2cb4e98b4bc22e65abff4"·id="r_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 279, 15 lines modifiedOffset 279, 15 lines modified
279 </div><div·class="memdoc">279 </div><div·class="memdoc">
  
280 <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>280 <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>
  
281 </div>281 </div>
282 </div>282 </div>
283 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>283 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
284 <li><a·class="el"·href="a00098_source.html">timer.hh</a></li>284 <li><a·class="el"·href="a00284_source.html">timer.hh</a></li>
285 </ul>285 </ul>
286 </div><!--·contents·-->286 </div><!--·contents·-->
287 <!--·start·footer·part·-->287 <!--·start·footer·part·-->
288 <hr·class="footer"/><address·class="footer"><small>288 <hr·class="footer"/><address·class="footer"><small>
289 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8289 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
290 </small></address>290 </small></address>
291 </body>291 </body>
2.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02916.html
    
Offset 76, 27 lines modifiedOffset 76, 27 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02913.html">List·of·all·members</a>··</div>78 <a·href="a02913.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ga041f1e2352cf960c2cdabcc24b63810b"·id="r_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>86 <tr·class="memitem:ga041f1e2352cf960c2cdabcc24b63810b"·id="r_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>
87 <tr·class="separator:ga041f1e2352cf960c2cdabcc24b63810b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga041f1e2352cf960c2cdabcc24b63810b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ga7ac7c737f08242dabc75d211dffb4573"·id="r_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>88 <tr·class="memitem:ga7ac7c737f08242dabc75d211dffb4573"·id="r_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>
89 <tr·class="separator:ga7ac7c737f08242dabc75d211dffb4573"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga7ac7c737f08242dabc75d211dffb4573"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:gaf3eb742968041769424b84691408fb73"·id="r_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>90 <tr·class="memitem:gaf3eb742968041769424b84691408fb73"·id="r_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>
91 <tr·class="separator:gaf3eb742968041769424b84691408fb73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gaf3eb742968041769424b84691408fb73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>92 </table>
93 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>93 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
94 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>94 <li><a·class="el"·href="a00389_source.html">tupleutility.hh</a></li>
95 </ul>95 </ul>
96 </div><!--·contents·-->96 </div><!--·contents·-->
97 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>98 <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.899 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
100 </small></address>100 </small></address>
101 </body>101 </body>
2.74 KB
./usr/share/doc/libdune-common-doc/doxygen/a02920.html
    
Offset 76, 27 lines modifiedOffset 76, 27 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02917.html">List·of·all·members</a>··</div>78 <a·href="a02917.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:gaf5d4dd28478959589b3ea38408a58c8e"·id="r_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>86 <tr·class="memitem:gaf5d4dd28478959589b3ea38408a58c8e"·id="r_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>
87 <tr·class="separator:gaf5d4dd28478959589b3ea38408a58c8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gaf5d4dd28478959589b3ea38408a58c8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ga340eaa6d59fbad9efa50f39495267dde"·id="r_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>88 <tr·class="memitem:ga340eaa6d59fbad9efa50f39495267dde"·id="r_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>
89 <tr·class="separator:ga340eaa6d59fbad9efa50f39495267dde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga340eaa6d59fbad9efa50f39495267dde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:ga12185fab48344d079604e6357fe83025"·id="r_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>90 <tr·class="memitem:ga12185fab48344d079604e6357fe83025"·id="r_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>
91 <tr·class="separator:ga12185fab48344d079604e6357fe83025"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:ga12185fab48344d079604e6357fe83025"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>92 </table>
93 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>93 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
94 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>94 <li><a·class="el"·href="a00389_source.html">tupleutility.hh</a></li>
95 </ul>95 </ul>
96 </div><!--·contents·-->96 </div><!--·contents·-->
97 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>98 <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.899 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
100 </small></address>100 </small></address>
101 </body>101 </body>
2.72 KB
./usr/share/doc/libdune-common-doc/doxygen/a02924.html
    
Offset 76, 27 lines modifiedOffset 76, 27 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02921.html">List·of·all·members</a>··</div>78 <a·href="a02921.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:ga2613d7a17e0204d5184be226f62c528d"·id="r_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>86 <tr·class="memitem:ga2613d7a17e0204d5184be226f62c528d"·id="r_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>
87 <tr·class="separator:ga2613d7a17e0204d5184be226f62c528d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga2613d7a17e0204d5184be226f62c528d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:ga7642b9a2b63fc07ad3adcbfa7742bc71"·id="r_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>88 <tr·class="memitem:ga7642b9a2b63fc07ad3adcbfa7742bc71"·id="r_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>
89 <tr·class="separator:ga7642b9a2b63fc07ad3adcbfa7742bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga7642b9a2b63fc07ad3adcbfa7742bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:gaef361574ba7087d6324f129026b13d3d"·id="r_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>90 <tr·class="memitem:gaef361574ba7087d6324f129026b13d3d"·id="r_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>
91 <tr·class="separator:gaef361574ba7087d6324f129026b13d3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gaef361574ba7087d6324f129026b13d3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>92 </table>
93 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>93 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
94 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>94 <li><a·class="el"·href="a00389_source.html">tupleutility.hh</a></li>
95 </ul>95 </ul>
96 </div><!--·contents·-->96 </div><!--·contents·-->
97 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>98 <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.899 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
100 </small></address>100 </small></address>
101 </body>101 </body>
1.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02928.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 <p>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.··80 <p>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.··
81 ·<a·href="a02928.html#details">More...</a></p>81 ·<a·href="a02928.html#details">More...</a></p>
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;class·T&gt;<br·/>83 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
84 struct·Dune::NullPointerInitialiser&lt;·T·&gt;</div><p>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.·</p>84 struct·Dune::NullPointerInitialiser&lt;·T·&gt;</div><p>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.·</p>
85 <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>85 <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>
86 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>86 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
87 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00389_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.892 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
93 </small></address>93 </small></address>
94 </body>94 </body>
2.67 KB
./usr/share/doc/libdune-common-doc/doxygen/a02932.html
    
Offset 77, 28 lines modifiedOffset 77, 28 lines modified
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02929.html">List·of·all·members</a>··</div>79 <a·href="a02929.html">List·of·all·members</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
86 Public·Types</h2></td></tr>86 Public·Types</h2></td></tr>
87 <tr·class="memitem:ga54bf4fc69e946380c712ba483d7e8d3e"·id="r_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>87 <tr·class="memitem:ga54bf4fc69e946380c712ba483d7e8d3e"·id="r_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>
88 <tr·class="separator:ga54bf4fc69e946380c712ba483d7e8d3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:ga54bf4fc69e946380c712ba483d7e8d3e"><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="pub-static-methods"·name="pub-static-methods"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
91 Static·Public·Member·Functions</h2></td></tr>91 Static·Public·Member·Functions</h2></td></tr>
92 <tr·class="memitem:ga4eee92ad122054a54cbb68659499f090"·id="r_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>92 <tr·class="memitem:ga4eee92ad122054a54cbb68659499f090"·id="r_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>
93 <tr·class="separator:ga4eee92ad122054a54cbb68659499f090"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:ga4eee92ad122054a54cbb68659499f090"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table>94 </table>
95 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>95 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
96 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>96 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02936.html
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 <div·class="line">};</div>90 <div·class="line">};</div>
91 <div·class="line">·</div>91 <div·class="line">·</div>
92 <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>92 <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>
93 <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>93 <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>
94 </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>94 </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>
95 <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>95 <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>
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="a00086_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00389_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.8102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
103 </small></address>103 </small></address>
104 </body>104 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a02940.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02937.html">List·of·all·members</a>··</div>78 <a·href="a02937.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:gae36d1b293a8e0e6a505be040434331e9"·id="r_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>86 <tr·class="memitem:gae36d1b293a8e0e6a505be040434331e9"·id="r_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>
87 <tr·class="separator:gae36d1b293a8e0e6a505be040434331e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gae36d1b293a8e0e6a505be040434331e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>90 <li><a·class="el"·href="a00389_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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
2.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a02944.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <a·href="#nested-classes">Classes</a>·&#124;77 <a·href="#nested-classes">Classes</a>·&#124;
78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;78 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
79 <a·href="a02941.html">List·of·all·members</a>··</div>79 <a·href="a02941.html">List·of·all·members</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></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="a02948.html">TypeEvaluator</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="a02948.html">TypeEvaluator</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="pub-methods"·name="pub-methods"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 <div·class="line">··{</div>115 <div·class="line">··{</div>
116 <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>116 <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>
117 <div·class="line">··}</div>117 <div·class="line">··}</div>
118 <div·class="line">};</div>118 <div·class="line">};</div>
119 <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>119 <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>
120 </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>120 </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>
121 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>121 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
122 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>122 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
128 </small></address>128 </small></address>
129 </body>129 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a02948.html
    
Offset 73, 27 lines modifiedOffset 73, 27 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;:</div>81 Inheritance·diagram·for·Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <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>83 <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>
84 <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">84 <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">
85 <area·shape="rect"·title="·"·alt=""·coords="5,79,225,119"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,79,225,119"/>
86 <area·shape="rect"·title="·"·alt=""·coords="80,5,151,31"/>86 <area·shape="rect"·title="·"·alt=""·coords="80,5,151,31"/>
87 <area·shape="poly"·title="·"·alt=""·coords="118,44,118,79,113,79,113,44"/>87 <area·shape="poly"·title="·"·alt=""·coords="118,44,118,79,113,79,113,44"/>
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="a00086_source.html">tupleutility.hh</a></li>91 <li><a·class="el"·href="a00389_source.html">tupleutility.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.896 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
97 </small></address>97 </small></address>
98 </body>98 </body>
2.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a02952.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>··83 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>··
84 ·<a·href="a02952.html#details">More...</a></p>84 ·<a·href="a02952.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ga9089c4ce2c50287440a7970a8629343e"·id="r_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>89 <tr·class="memitem:ga9089c4ce2c50287440a7970a8629343e"·id="r_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>
90 <tr·class="separator:ga9089c4ce2c50287440a7970a8629343e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga9089c4ce2c50287440a7970a8629343e"><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="pub-static-methods"·name="pub-static-methods"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 97, 15 lines modifiedOffset 97, 15 lines modified
97 <tr·class="separator:ga420a17ec4f5415c1aa51c01da6a04a38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:ga420a17ec4f5415c1aa51c01da6a04a38"><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 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>101 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>
102 <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>102 <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>
103 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>103 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
104 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>104 <li><a·class="el"·href="a00389_source.html">tupleutility.hh</a></li>
105 </ul>105 </ul>
106 </div><!--·contents·-->106 </div><!--·contents·-->
107 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
108 <hr·class="footer"/><address·class="footer"><small>108 <hr·class="footer"/><address·class="footer"><small>
109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
110 </small></address>110 </small></address>
111 </body>111 </body>
2.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a02956.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>··83 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>··
84 ·<a·href="a02956.html#details">More...</a></p>84 ·<a·href="a02956.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
86 <table·class="memberdecls">86 <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>
88 Public·Types</h2></td></tr>88 Public·Types</h2></td></tr>
89 <tr·class="memitem:ga3f79c29b08ec96b9cbc7a2dafa05932a"·id="r_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>89 <tr·class="memitem:ga3f79c29b08ec96b9cbc7a2dafa05932a"·id="r_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>
90 <tr·class="separator:ga3f79c29b08ec96b9cbc7a2dafa05932a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga3f79c29b08ec96b9cbc7a2dafa05932a"><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="pub-static-methods"·name="pub-static-methods"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 97, 15 lines modifiedOffset 97, 15 lines modified
97 <tr·class="separator:gac945ea1ce184ff4c0c0ed12497774afc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:gac945ea1ce184ff4c0c0ed12497774afc"><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 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>101 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>
102 <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>102 <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>
103 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>103 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
104 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>104 <li><a·class="el"·href="a00389_source.html">tupleutility.hh</a></li>
105 </ul>105 </ul>
106 </div><!--·contents·-->106 </div><!--·contents·-->
107 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
108 <hr·class="footer"/><address·class="footer"><small>108 <hr·class="footer"/><address·class="footer"><small>
109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
110 </small></address>110 </small></address>
111 </body>111 </body>
2.65 KB
./usr/share/doc/libdune-common-doc/doxygen/a02960.html
    
Offset 77, 28 lines modifiedOffset 77, 28 lines modified
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;78 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
79 <a·href="a02957.html">List·of·all·members</a>··</div>79 <a·href="a02957.html">List·of·all·members</a>··</div>
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
86 Public·Types</h2></td></tr>86 Public·Types</h2></td></tr>
87 <tr·class="memitem:ga5a1f880a8524d4366bfdf5c3495707d6"·id="r_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>87 <tr·class="memitem:ga5a1f880a8524d4366bfdf5c3495707d6"·id="r_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>
88 <tr·class="separator:ga5a1f880a8524d4366bfdf5c3495707d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:ga5a1f880a8524d4366bfdf5c3495707d6"><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="pub-static-methods"·name="pub-static-methods"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
91 Static·Public·Member·Functions</h2></td></tr>91 Static·Public·Member·Functions</h2></td></tr>
92 <tr·class="memitem:ga631ae1fa474cb50d89fde7b5d89deeab"·id="r_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>92 <tr·class="memitem:ga631ae1fa474cb50d89fde7b5d89deeab"·id="r_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>
93 <tr·class="separator:ga631ae1fa474cb50d89fde7b5d89deeab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:ga631ae1fa474cb50d89fde7b5d89deeab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table>94 </table>
95 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>95 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
96 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>96 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.25 KB
./usr/share/doc/libdune-common-doc/doxygen/a02964.html
    
Offset 79, 27 lines modifiedOffset 79, 27 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Type·for·reverse·element·access.··82 <p>Type·for·reverse·element·access.··
83 ·<a·href="a02964.html#details">More...</a></p>83 ·<a·href="a02964.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:ga62e4f9e3987330be63f694226893a47a"·id="r_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>88 <tr·class="memitem:ga62e4f9e3987330be63f694226893a47a"·id="r_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>
89 <tr·class="separator:ga62e4f9e3987330be63f694226893a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga62e4f9e3987330be63f694226893a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
92 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N,·class·Tuple&gt;<br·/>92 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N,·class·Tuple&gt;<br·/>
93 struct·Dune::AtType&lt;·N,·Tuple·&gt;</div><p>Type·for·reverse·element·access.·</p>93 struct·Dune::AtType&lt;·N,·Tuple·&gt;</div><p>Type·for·reverse·element·access.·</p>
94 <p>Counterpart·to·ElementType·for·reverse·element·access.·</p>94 <p>Counterpart·to·ElementType·for·reverse·element·access.·</p>
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="a00086_source.html">tupleutility.hh</a></li>96 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a02968.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Reverse·element·access.··82 <p>Reverse·element·access.··
83 ·<a·href="a02968.html#details">More...</a></p>83 ·<a·href="a02968.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
87 Static·Public·Member·Functions</h2></td></tr>87 Static·Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ga91f1d1de05dd2f4910851f13e6eb8787"·id="r_ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>88 <tr·class="memitem:ga91f1d1de05dd2f4910851f13e6eb8787"·id="r_ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>
89 <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>89 <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>
90 <tr·class="separator:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:ga8c720c206fc40a79b25ed53561557e44"·id="r_ga8c720c206fc40a79b25ed53561557e44"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>91 <tr·class="memitem:ga8c720c206fc40a79b25ed53561557e44"·id="r_ga8c720c206fc40a79b25ed53561557e44"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 <tr·class="separator:ga8c720c206fc40a79b25ed53561557e44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:ga8c720c206fc40a79b25ed53561557e44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>96 </table>
97 <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>
98 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N&gt;<br·/>98 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N&gt;<br·/>
99 struct·Dune::At&lt;·N·&gt;</div><p>Reverse·element·access.·</p>99 struct·Dune::At&lt;·N·&gt;</div><p>Reverse·element·access.·</p>
100 <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>100 <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>
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="a00086_source.html">tupleutility.hh</a></li>102 <li><a·class="el"·href="a00389_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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>108 </small></address>
109 </body>109 </body>
2.39 KB
./usr/share/doc/libdune-common-doc/doxygen/a02972.html
    
Offset 79, 27 lines modifiedOffset 79, 27 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.··82 <p>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.··
83 ·<a·href="a02972.html#details">More...</a></p>83 ·<a·href="a02972.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
87 Static·Public·Member·Functions</h2></td></tr>87 Static·Public·Member·Functions</h2></td></tr>
88 <tr·class="memitem:ga07b35bb47020e1850b89d151ca24d24b"·id="r_ga07b35bb47020e1850b89d151ca24d24b"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Ts&gt;·</td></tr>88 <tr·class="memitem:ga07b35bb47020e1850b89d151ca24d24b"·id="r_ga07b35bb47020e1850b89d151ca24d24b"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Ts&gt;·</td></tr>
89 <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>89 <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>
90 <tr·class="separator:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga07b35bb47020e1850b89d151ca24d24b"><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·Tuple&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·Tuple&gt;<br·/>
94 struct·Dune::PointerPairDeletor&lt;·Tuple·&gt;</div><p>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·</p>94 struct·Dune::PointerPairDeletor&lt;·Tuple·&gt;</div><p>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·</p>
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="a00086_source.html">tupleutility.hh</a></li>96 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a02976.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Finding·the·index·of·a·certain·type·in·a·std::tuple.··79 <p>Finding·the·index·of·a·certain·type·in·a·std::tuple.··
80 ·<a·href="a02976.html#details">More...</a></p>80 ·<a·href="a02976.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;:</div>83 Inheritance·diagram·for·Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple."·alt=""·coords="273,34,448,89"/>87 <area·shape="rect"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple."·alt=""·coords="273,34,448,89"/>
88 <area·shape="rect"·href="a02988.html"·title="Find·the·first·occurrence·of·a·type·in·a·std::tuple."·alt=""·coords="681,5,829,45"/>88 <area·shape="rect"·href="a02988.html"·title="Find·the·first·occurrence·of·a·type·in·a·std::tuple."·alt=""·coords="681,5,829,45"/>
Offset 105, 15 lines modifiedOffset 105, 15 lines modified
105 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·tuple·elements.·</td></tr>105 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·tuple·elements.·</td></tr>
106 ····<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>106 ····<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>
107 ··</table>107 ··</table>
108 ··</dd>108 ··</dd>
109 </dl>109 </dl>
110 <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>110 <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>
111 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>111 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>112 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
118 </small></address>118 </small></address>
119 </body>119 </body>
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a02980.html
    
Offset 78, 15 lines modifiedOffset 78, 15 lines modified
78 ··<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>78 ··<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>
79 </div><!--header-->79 </div><!--header-->
80 <div·class="contents">80 <div·class="contents">
  
81 <p>Generator·for·predicates·accepting·one·particular·type.··81 <p>Generator·for·predicates·accepting·one·particular·type.··
82 ·<a·href="a02980.html#details">More...</a></p>82 ·<a·href="a02980.html#details">More...</a></p>
  
83 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>83 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></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="a02984.html">Predicate</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="a02984.html">Predicate</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.html#details">More...</a><br·/></td></tr>88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.html#details">More...</a><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 </table>90 </table>
Offset 97, 15 lines modifiedOffset 97, 15 lines modified
97 ··<table·class="tparams">97 ··<table·class="tparams">
98 ····<tr><td·class="paramname">T</td><td>The·type·to·accept.</td></tr>98 ····<tr><td·class="paramname">T</td><td>The·type·to·accept.</td></tr>
99 ··</table>99 ··</table>
100 ··</dd>100 ··</dd>
101 </dl>101 </dl>
102 <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>102 <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>
103 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>103 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
104 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>104 <li><a·class="el"·href="a00389_source.html">tupleutility.hh</a></li>
105 </ul>105 </ul>
106 </div><!--·contents·-->106 </div><!--·contents·-->
107 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
108 <hr·class="footer"/><address·class="footer"><small>108 <hr·class="footer"/><address·class="footer"><small>
109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
110 </small></address>110 </small></address>
111 </body>111 </body>
2.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a02984.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>The·actual·predicate.··79 <p>The·actual·predicate.··
80 ·<a·href="a02984.html#details">More...</a></p>80 ·<a·href="a02984.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;:</div>83 Inheritance·diagram·for·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="The·actual·predicate."·alt=""·coords="9,79,149,119"/>87 <area·shape="rect"·title="The·actual·predicate."·alt=""·coords="9,79,149,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,152,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,152,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
96 template&lt;class·U&gt;<br·/>96 template&lt;class·U&gt;<br·/>
97 struct·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</div><p>The·actual·predicate.·</p>97 struct·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</div><p>The·actual·predicate.·</p>
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="a00086_source.html">tupleutility.hh</a></li>99 <li><a·class="el"·href="a00389_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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.54 KB
./usr/share/doc/libdune-common-doc/doxygen/a02988.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Find·the·first·occurrence·of·a·type·in·a·std::tuple.··79 <p>Find·the·first·occurrence·of·a·type·in·a·std::tuple.··
80 ·<a·href="a02988.html#details">More...</a></p>80 ·<a·href="a02988.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;:</div>83 Inheritance·diagram·for·Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Find·the·first·occurrence·of·a·type·in·a·std::tuple."·alt=""·coords="495,35,643,75"/>87 <area·shape="rect"·title="Find·the·first·occurrence·of·a·type·in·a·std::tuple."·alt=""·coords="495,35,643,75"/>
88 <area·shape="rect"·href="a02976.html"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple."·alt=""·coords="272,27,447,82"/>88 <area·shape="rect"·href="a02976.html"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple."·alt=""·coords="272,27,447,82"/>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 ····<tr><td·class="paramname">T</td><td>Type·to·search·for.·</td></tr>102 ····<tr><td·class="paramname">T</td><td>Type·to·search·for.·</td></tr>
103 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·std::tuple·elements.</td></tr>103 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·std::tuple·elements.</td></tr>
104 ··</table>104 ··</table>
105 ··</dd>105 ··</dd>
106 </dl>106 </dl>
107 <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>107 <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>
108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>109 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
115 </small></address>115 </small></address>
116 </body>116 </body>
886 B
./usr/share/doc/libdune-common-doc/doxygen/a02992.html
    
Offset 86, 15 lines modifiedOffset 86, 15 lines modified
86 ··<table·class="tparams">86 ··<table·class="tparams">
87 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>87 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>
88 ····<tr><td·class="paramname">T</td><td>The·type·to·be·appended·to·the·std::tuple·</td></tr>88 ····<tr><td·class="paramname">T</td><td>The·type·to·be·appended·to·the·std::tuple·</td></tr>
89 ··</table>89 ··</table>
90 ··</dd>90 ··</dd>
91 </dl>91 </dl>
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="a00086_source.html">tupleutility.hh</a></li>93 <li><a·class="el"·href="a00389_source.html">tupleutility.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.898 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
99 </small></address>99 </small></address>
100 </body>100 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a02996.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a02993.html">List·of·all·members</a>··</div>78 <a·href="a02993.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:gab4981425c1728ed7690aec0f7895ca14"·id="r_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>86 <tr·class="memitem:gab4981425c1728ed7690aec0f7895ca14"·id="r_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>
87 <tr·class="separator:gab4981425c1728ed7690aec0f7895ca14"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gab4981425c1728ed7690aec0f7895ca14"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>90 <li><a·class="el"·href="a00389_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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
887 B
./usr/share/doc/libdune-common-doc/doxygen/a03000.html
    
Offset 86, 15 lines modifiedOffset 86, 15 lines modified
86 ··<table·class="tparams">86 ··<table·class="tparams">
87 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>87 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>
88 ····<tr><td·class="paramname">T</td><td>The·type·to·be·prepended·to·the·std::tuple·</td></tr>88 ····<tr><td·class="paramname">T</td><td>The·type·to·be·prepended·to·the·std::tuple·</td></tr>
89 ··</table>89 ··</table>
90 ··</dd>90 ··</dd>
91 </dl>91 </dl>
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="a00086_source.html">tupleutility.hh</a></li>93 <li><a·class="el"·href="a00389_source.html">tupleutility.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.898 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
99 </small></address>99 </small></address>
100 </body>100 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a03004.html
    
Offset 76, 23 lines modifiedOffset 76, 23 lines modified
76 ··<div·class="summary">76 ··<div·class="summary">
77 <a·href="#pub-types">Public·Types</a>·&#124;77 <a·href="#pub-types">Public·Types</a>·&#124;
78 <a·href="a03001.html">List·of·all·members</a>··</div>78 <a·href="a03001.html">List·of·all·members</a>··</div>
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.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="pub-types"·name="pub-types"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
85 Public·Types</h2></td></tr>85 Public·Types</h2></td></tr>
86 <tr·class="memitem:gabd81573d00ffd85f700fba2552c3f45c"·id="r_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>86 <tr·class="memitem:gabd81573d00ffd85f700fba2552c3f45c"·id="r_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>
87 <tr·class="separator:gabd81573d00ffd85f700fba2552c3f45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:gabd81573d00ffd85f700fba2552c3f45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>88 </table>
89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>90 <li><a·class="el"·href="a00389_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.895 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
96 </small></address>96 </small></address>
97 </body>97 </body>
2.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a03008.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Apply·reduce·with·meta·binary·function·to·template.··82 <p>Apply·reduce·with·meta·binary·function·to·template.··
83 ·<a·href="a03008.html#details">More...</a></p>83 ·<a·href="a03008.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:ga2f1a4129639f49eaa68ce5af0e31bc85"·id="r_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>88 <tr·class="memitem:ga2f1a4129639f49eaa68ce5af0e31bc85"·id="r_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>
89 <tr·class="separator:ga2f1a4129639f49eaa68ce5af0e31bc85"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ga2f1a4129639f49eaa68ce5af0e31bc85"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:gaba31761b9eed8e33da272077bfe55d52"·id="r_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>90 <tr·class="memitem:gaba31761b9eed8e33da272077bfe55d52"·id="r_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>
91 <tr·class="separator:gaba31761b9eed8e33da272077bfe55d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gaba31761b9eed8e33da272077bfe55d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>106 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>
107 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>107 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>
108 ····<tr><td·class="paramname">N</td><td>Reduce·the·first·N·std::tuple·elements·</td></tr>108 ····<tr><td·class="paramname">N</td><td>Reduce·the·first·N·std::tuple·elements·</td></tr>
109 ··</table>109 ··</table>
110 ··</dd>110 ··</dd>
111 </dl>111 </dl>
112 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>112 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
113 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>113 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
119 </small></address>119 </small></address>
120 </body>120 </body>
2.34 KB
./usr/share/doc/libdune-common-doc/doxygen/a03012.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Apply·reduce·with·meta·binary·function·to·template.··82 <p>Apply·reduce·with·meta·binary·function·to·template.··
83 ·<a·href="a03012.html#details">More...</a></p>83 ·<a·href="a03012.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:ga3c82c919222082b94e5610411a7ea382"·id="r_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>88 <tr·class="memitem:ga3c82c919222082b94e5610411a7ea382"·id="r_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>
89 <tr·class="memdesc:ga3c82c919222082b94e5610411a7ea382"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·reduce·operation.··<br·/></td></tr>89 <tr·class="memdesc:ga3c82c919222082b94e5610411a7ea382"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·reduce·operation.··<br·/></td></tr>
90 <tr·class="separator:ga3c82c919222082b94e5610411a7ea382"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga3c82c919222082b94e5610411a7ea382"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 100, 15 lines modifiedOffset 100, 15 lines modified
100 ····<tr><td·class="paramname">F</td><td>Binary·meta·function·</td></tr>100 ····<tr><td·class="paramname">F</td><td>Binary·meta·function·</td></tr>
101 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>101 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>
102 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>102 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>
103 ··</table>103 ··</table>
104 ··</dd>104 ··</dd>
105 </dl>105 </dl>
106 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>106 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
107 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>107 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
113 </small></address>113 </small></address>
114 </body>114 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a03016.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Join·two·std::tuple's.··82 <p>Join·two·std::tuple's.··
83 ·<a·href="a03016.html#details">More...</a></p>83 ·<a·href="a03016.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:gad9a109a69768793a5742f119fb2ed8bb"·id="r_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>88 <tr·class="memitem:gad9a109a69768793a5742f119fb2ed8bb"·id="r_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>
89 <tr·class="memdesc:gad9a109a69768793a5742f119fb2ed8bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·join·operation.··<br·/></td></tr>89 <tr·class="memdesc:gad9a109a69768793a5742f119fb2ed8bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·join·operation.··<br·/></td></tr>
90 <tr·class="separator:gad9a109a69768793a5742f119fb2ed8bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:gad9a109a69768793a5742f119fb2ed8bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 ··<table·class="tparams">99 ··<table·class="tparams">
100 ····<tr><td·class="paramname">Head</td><td>Head·of·resulting·std::tuple·</td></tr>100 ····<tr><td·class="paramname">Head</td><td>Head·of·resulting·std::tuple·</td></tr>
101 ····<tr><td·class="paramname">Tail</td><td>Tail·of·resulting·std::tuple·</td></tr>101 ····<tr><td·class="paramname">Tail</td><td>Tail·of·resulting·std::tuple·</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="a00086_source.html">tupleutility.hh</a></li>106 <li><a·class="el"·href="a00389_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.8111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>112 </small></address>
113 </body>113 </body>
2.34 KB
./usr/share/doc/libdune-common-doc/doxygen/a03020.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Flatten·a·std::tuple·of·std::tuple's.··82 <p>Flatten·a·std::tuple·of·std::tuple's.··
83 ·<a·href="a03020.html#details">More...</a></p>83 ·<a·href="a03020.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:gac3d083b768bab47dc1ed53ef2baa26a0"·id="r_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>88 <tr·class="memitem:gac3d083b768bab47dc1ed53ef2baa26a0"·id="r_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>
89 <tr·class="memdesc:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·flatten·operation.··<br·/></td></tr>89 <tr·class="memdesc:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·flatten·operation.··<br·/></td></tr>
90 <tr·class="separator:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 98, 15 lines modifiedOffset 98, 15 lines modified
98 <dl·class="tparams"><dt>Template·Parameters</dt><dd>98 <dl·class="tparams"><dt>Template·Parameters</dt><dd>
99 ··<table·class="tparams">99 ··<table·class="tparams">
100 ····<tr><td·class="paramname">TupleTuple</td><td>A·std::tuple·of·std::tuple's·</td></tr>100 ····<tr><td·class="paramname">TupleTuple</td><td>A·std::tuple·of·std::tuple's·</td></tr>
101 ··</table>101 ··</table>
102 ··</dd>102 ··</dd>
103 </dl>103 </dl>
104 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>104 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
105 <li><a·class="el"·href="a00086_source.html">tupleutility.hh</a></li>105 <li><a·class="el"·href="a00389_source.html">tupleutility.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.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
111 </small></address>111 </small></address>
112 </body>112 </body>
1.89 KB
./usr/share/doc/libdune-common-doc/doxygen/a03024.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 ··<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>80 ··<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>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
  
83 <p>A·class·augmenting·std::tuple·by·element·access·via·operator[].··83 <p>A·class·augmenting·std::tuple·by·element·access·via·operator[].··
84 ·<a·href="a03024.html#details">More...</a></p>84 ·<a·href="a03024.html#details">More...</a></p>
  
85 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/tuplevector.hh</a>&gt;</code></p>85 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/tuplevector.hh</a>&gt;</code></p>
86 <div·class="dynheader">86 <div·class="dynheader">
87 Inheritance·diagram·for·Dune::TupleVector&lt;·T·&gt;:</div>87 Inheritance·diagram·for·Dune::TupleVector&lt;·T·&gt;:</div>
88 <div·class="dyncontent">88 <div·class="dyncontent">
89 <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>89 <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>
90 <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">90 <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">
91 <area·shape="rect"·title="A·class·augmenting·std::tuple·by·element·access·via·operator[]."·alt=""·coords="5,79,167,104"/>91 <area·shape="rect"·title="A·class·augmenting·std::tuple·by·element·access·via·operator[]."·alt=""·coords="5,79,167,104"/>
92 <area·shape="rect"·title="·"·alt=""·coords="27,5,145,31"/>92 <area·shape="rect"·title="·"·alt=""·coords="27,5,145,31"/>
Offset 277, 15 lines modifiedOffset 277, 15 lines modified
277 </div><div·class="memdoc">277 </div><div·class="memdoc">
  
278 <p>Number·of·elements·of·the·tuple.·</p>278 <p>Number·of·elements·of·the·tuple.·</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">tuplevector.hh</a></li>282 <li><a·class="el"·href="a00017_source.html">tuplevector.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.8287 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
288 </small></address>288 </small></address>
289 </body>289 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a03028.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>A·type·that·refers·to·another·type.··82 <p>A·type·that·refers·to·another·type.··
83 ·<a·href="a03028.html#details">More...</a></p>83 ·<a·href="a03028.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a6b3de5881641ffb3bb9c5af780fc3a13"·id="r_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>88 <tr·class="memitem:a6b3de5881641ffb3bb9c5af780fc3a13"·id="r_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>
89 <tr·class="memdesc:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·referred-to·type.··<br·/></td></tr>89 <tr·class="memdesc:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·referred-to·type.··<br·/></td></tr>
90 <tr·class="separator:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 </div><div·class="memdoc">113 </div><div·class="memdoc">
  
114 <p>The·referred-to·type.·</p>114 <p>The·referred-to·type.·</p>
  
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="a00302_source.html">typelist.hh</a></li>118 <li><a·class="el"·href="a00269_source.html">typelist.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.8123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
124 </small></address>124 </small></address>
125 </body>125 </body>
2.17 KB
./usr/share/doc/libdune-common-doc/doxygen/a03032.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·given·type·is·a·TypeList.··79 <p>Check·if·given·type·is·a·TypeList.··
80 ·<a·href="a03032.html#details">More...</a></p>80 ·<a·href="a03032.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsTypeList&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::IsTypeList&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,79,159,104"/>87 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,79,159,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="28,5,136,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="28,5,136,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
96 struct·Dune::IsTypeList&lt;·T·&gt;</div><p>Check·if·given·type·is·a·TypeList.·</p>96 struct·Dune::IsTypeList&lt;·T·&gt;</div><p>Check·if·given·type·is·a·TypeList.·</p>
97 <p>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>97 <p>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>
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="a00302_source.html">typelist.hh</a></li>99 <li><a·class="el"·href="a00269_source.html">typelist.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a03036.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·given·type·is·a·TypeList.····79 <p>Check·if·given·type·is·a·TypeList.····
80 ·<a·href="a03036.html#details">More...</a></p>80 ·<a·href="a03036.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>83 Inheritance·diagram·for·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,79,188,119"/>87 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,79,188,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="45,5,148,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="45,5,148,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>
96 struct·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p>Check·if·given·type·is·a·TypeList.···</p>96 struct·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p>Check·if·given·type·is·a·TypeList.···</p>
97 <p>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.···</p>97 <p>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.···</p>
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="a00302_source.html">typelist.hh</a></li>99 <li><a·class="el"·href="a00269_source.html">typelist.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a03040.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·given·type·is·an·empty·TypeList.··79 <p>Check·if·given·type·is·an·empty·TypeList.··
80 ·<a·href="a03040.html#details">More...</a></p>80 ·<a·href="a03040.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsEmptyTypeList&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::IsEmptyTypeList&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·given·type·is·an·empty·TypeList."·alt=""·coords="11,79,201,104"/>87 <area·shape="rect"·title="Check·if·given·type·is·an·empty·TypeList."·alt=""·coords="11,79,201,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,207,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,207,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
96 struct·Dune::IsEmptyTypeList&lt;·T·&gt;</div><p>Check·if·given·type·is·an·empty·TypeList.·</p>96 struct·Dune::IsEmptyTypeList&lt;·T·&gt;</div><p>Check·if·given·type·is·an·empty·TypeList.·</p>
97 <p>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>97 <p>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>
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="a00302_source.html">typelist.hh</a></li>99 <li><a·class="el"·href="a00269_source.html">typelist.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
1.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03044.html
    
Offset 73, 17 lines modifiedOffset 73, 17 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::TypeListSize&lt;·T·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::TypeListSize&lt;·T·&gt;·Struct·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="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
81 <li><a·class="el"·href="a00302_source.html">typelist.hh</a></li>81 <li><a·class="el"·href="a00269_source.html">typelist.hh</a></li>
82 </ul>82 </ul>
83 </div><!--·contents·-->83 </div><!--·contents·-->
84 <!--·start·footer·part·-->84 <!--·start·footer·part·-->
85 <hr·class="footer"/><address·class="footer"><small>85 <hr·class="footer"/><address·class="footer"><small>
86 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.886 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
87 </small></address>87 </small></address>
88 </body>88 </body>
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a03048.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Get·size·of·TypeList.··79 <p>Get·size·of·TypeList.··
80 ·<a·href="a03048.html#details">More...</a></p>80 ·<a·href="a03048.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>83 Inheritance·diagram·for·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Get·size·of·TypeList."·alt=""·coords="21,93,160,133"/>87 <area·shape="rect"·title="Get·size·of·TypeList."·alt=""·coords="21,93,160,133"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,45"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,45"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>
96 struct·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p>Get·size·of·TypeList.·</p>96 struct·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p>Get·size·of·TypeList.·</p>
97 <p>The·result·of·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;std::size_t,·result&gt;.·</p>97 <p>The·result·of·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;std::size_t,·result&gt;.·</p>
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="a00302_source.html">typelist.hh</a></li>99 <li><a·class="el"·href="a00269_source.html">typelist.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
1.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03052.html
    
Offset 73, 17 lines modifiedOffset 73, 17 lines modified
73 </div>73 </div>
74 </div><!--·top·-->74 </div><!--·top·-->
75 <div·class="header">75 <div·class="header">
76 ··<div·class="headertitle"><div·class="title">Dune::TypeListElement&lt;·i,·T·&gt;·Struct·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::TypeListElement&lt;·i,·T·&gt;·Struct·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="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>80 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
81 <li><a·class="el"·href="a00302_source.html">typelist.hh</a></li>81 <li><a·class="el"·href="a00269_source.html">typelist.hh</a></li>
82 </ul>82 </ul>
83 </div><!--·contents·-->83 </div><!--·contents·-->
84 <!--·start·footer·part·-->84 <!--·start·footer·part·-->
85 <hr·class="footer"/><address·class="footer"><small>85 <hr·class="footer"/><address·class="footer"><small>
86 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.886 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
87 </small></address>87 </small></address>
88 </body>88 </body>
2.64 KB
./usr/share/doc/libdune-common-doc/doxygen/a03056.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Get·element·of·TypeList.··82 <p>Get·element·of·TypeList.··
83 ·<a·href="a03056.html#details">More...</a></p>83 ·<a·href="a03056.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a9fb580f946834896c389e6c04d27675f"·id="r_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>88 <tr·class="memitem:a9fb580f946834896c389e6c04d27675f"·id="r_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>
89 <tr·class="memdesc:a9fb580f946834896c389e6c04d27675f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·i-th·element·in·TypeList.··<br·/></td></tr>89 <tr·class="memdesc:a9fb580f946834896c389e6c04d27675f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·i-th·element·in·TypeList.··<br·/></td></tr>
90 <tr·class="separator:a9fb580f946834896c389e6c04d27675f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:a9fb580f946834896c389e6c04d27675f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:ae91efdaa72ed01633da2f8fa2185408a"·id="r_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>91 <tr·class="memitem:ae91efdaa72ed01633da2f8fa2185408a"·id="r_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 133, 15 lines modifiedOffset 133, 15 lines modified
  
133 <p>Export·type·of·i-th·element·in·TypeList.·</p>133 <p>Export·type·of·i-th·element·in·TypeList.·</p>
134 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000021">Todo:</a></b></dt><dd>Implement·without·using·std::tuple.·</dd></dl>134 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000021">Todo:</a></b></dt><dd>Implement·without·using·std::tuple.·</dd></dl>
  
135 </div>135 </div>
136 </div>136 </div>
137 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>137 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
138 <li><a·class="el"·href="a00302_source.html">typelist.hh</a></li>138 <li><a·class="el"·href="a00269_source.html">typelist.hh</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.8143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
144 </small></address>144 </small></address>
145 </body>145 </body>
1.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a03084.html
    
Offset 76, 19 lines modifiedOffset 76, 19 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Just·an·empty·class.··79 <p>Just·an·empty·class.··
80 ·<a·href="a03084.html#details">More...</a></p>80 ·<a·href="a03084.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
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"><p>Just·an·empty·class.·</p>83 <div·class="textblock"><p>Just·an·empty·class.·</p>
84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>84 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
85 <li><a·class="el"·href="a00218_source.html">typetraits.hh</a></li>85 <li><a·class="el"·href="a00113_source.html">typetraits.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.890 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
91 </small></address>91 </small></address>
92 </body>92 </body>
2.31 KB
./usr/share/doc/libdune-common-doc/doxygen/a03088.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Checks·whether·two·types·are·interoperable.··82 <p>Checks·whether·two·types·are·interoperable.··
83 ·<a·href="a03088.html#details">More...</a></p>83 ·<a·href="a03088.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:ad72797bbca9b1a1c6db62e076608b8d6"·id="r_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>88 <tr·class="memitem:ad72797bbca9b1a1c6db62e076608b8d6"·id="r_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>
89 <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.··<br·/></td></tr>89 <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.··<br·/></td></tr>
90 <tr·class="separator:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
Offset 119, 15 lines modifiedOffset 119, 15 lines modified
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 <p>True·if·either·a·conversion·from·T1·to·T2·or·vice·versa·exists.·</p>120 <p>True·if·either·a·conversion·from·T1·to·T2·or·vice·versa·exists.·</p>
  
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="a00218_source.html">typetraits.hh</a></li>124 <li><a·class="el"·href="a00113_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.8129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
130 </small></address>130 </small></address>
131 </body>131 </body>
2.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a03092.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Enable·typedef·if·two·types·are·interoperable.··79 <p>Enable·typedef·if·two·types·are·interoperable.··
80 ·<a·href="a03092.html#details">More...</a></p>80 ·<a·href="a03092.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;:</div>83 Inheritance·diagram·for·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Enable·typedef·if·two·types·are·interoperable."·alt=""·coords="11,93,198,133"/>87 <area·shape="rect"·title="Enable·typedef·if·two·types·are·interoperable."·alt=""·coords="11,93,198,133"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,204,45"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,204,45"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T1,·class·T2,·class·Type&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T1,·class·T2,·class·Type&gt;<br·/>
96 struct·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</div><p>Enable·typedef·if·two·types·are·interoperable.·</p>96 struct·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</div><p>Enable·typedef·if·two·types·are·interoperable.·</p>
97 <p>(also·see·<a·class="el"·href="a03088.html"·title="Checks·whether·two·types·are·interoperable.">IsInteroperable</a>)·</p>97 <p>(also·see·<a·class="el"·href="a03088.html"·title="Checks·whether·two·types·are·interoperable.">IsInteroperable</a>)·</p>
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="a00218_source.html">typetraits.hh</a></li>99 <li><a·class="el"·href="a00113_source.html">typetraits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a03096.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>template·which·always·yields·a·false·value··79 <p>template·which·always·yields·a·false·value··
80 ·<a·href="a03096.html#details">More...</a></p>80 ·<a·href="a03096.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::AlwaysFalse&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::AlwaysFalse&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="template·which·always·yields·a·false·value"·alt=""·coords="5,79,172,104"/>87 <area·shape="rect"·title="template·which·always·yields·a·false·value"·alt=""·coords="5,79,172,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="35,5,143,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="35,5,143,31"/>
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 <div·class="line">·····················<span·class="stringliteral">&quot;error.··You·should·use·one·of·the·specializations·&quot;</span></div>115 <div·class="line">·····················<span·class="stringliteral">&quot;error.··You·should·use·one·of·the·specializations·&quot;</span></div>
116 <div·class="line">·····················<span·class="stringliteral">&quot;instead.&quot;</span>);</div>116 <div·class="line">·····················<span·class="stringliteral">&quot;instead.&quot;</span>);</div>
117 <div·class="line">··<span·class="keyword">typedef</span>·<span·class="keywordtype">void</span>·FrobnicateType;</div>117 <div·class="line">··<span·class="keyword">typedef</span>·<span·class="keywordtype">void</span>·FrobnicateType;</div>
118 <div·class="line">};</div>118 <div·class="line">};</div>
119 <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>119 <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>
120 </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>120 </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>
121 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>121 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
122 <li><a·class="el"·href="a00218_source.html">typetraits.hh</a></li>122 <li><a·class="el"·href="a00113_source.html">typetraits.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.8127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
128 </small></address>128 </small></address>
129 </body>129 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a03100.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>template·which·always·yields·a·true·value··79 <p>template·which·always·yields·a·true·value··
80 ·<a·href="a03100.html#details">More...</a></p>80 ·<a·href="a03100.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::AlwaysTrue&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::AlwaysTrue&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="template·which·always·yields·a·true·value"·alt=""·coords="5,79,164,104"/>87 <area·shape="rect"·title="template·which·always·yields·a·true·value"·alt=""·coords="5,79,164,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="33,5,136,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="33,5,136,31"/>
Offset 98, 15 lines modifiedOffset 98, 15 lines modified
98 ··<table·class="tparams">98 ··<table·class="tparams">
99 ····<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>99 ····<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>
100 ··</table>100 ··</table>
101 ··</dd>101 ··</dd>
102 </dl>102 </dl>
103 <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>103 <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>
104 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>104 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
105 <li><a·class="el"·href="a00218_source.html">typetraits.hh</a></li>105 <li><a·class="el"·href="a00113_source.html">typetraits.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.8110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
111 </small></address>111 </small></address>
112 </body>112 </body>
1.73 KB
./usr/share/doc/libdune-common-doc/doxygen/a03104.html
    
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 <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>92 <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>
93 <p>The·result·is·encoded·by·deriving·from·either·<code>std::true_type</code>·or·<code>std::false_type</code></p>93 <p>The·result·is·encoded·by·deriving·from·either·<code>std::true_type</code>·or·<code>std::false_type</code></p>
94 <p>If·D·is·not·of·the·form·<code>F(Args...)</code>·this·class·is·not·defined.</p>94 <p>If·D·is·not·of·the·form·<code>F(Args...)</code>·this·class·is·not·defined.</p>
95 <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>95 <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>
96 <dd>96 <dd>
97 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>97 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>
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="a00218_source.html">typetraits.hh</a></li>99 <li><a·class="el"·href="a00113_source.html">typetraits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.37 KB
./usr/share/doc/libdune-common-doc/doxygen/a03108.html
    
Offset 76, 30 lines modifiedOffset 76, 30 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.··79 <p>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.··
80 ·<a·href="a03108.html#details">More...</a></p>80 ·<a·href="a03108.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsCallable&lt;·F(Args...),·R·&gt;:</div>83 Inheritance·diagram·for·Dune::IsCallable&lt;·F(Args...),·R·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·a·type·is·callable·with·()&#45;operator·and·given·arguments."·alt=""·coords="237,27,376,67"/>87 <area·shape="rect"·title="Check·if·a·type·is·callable·with·()&#45;operator·and·given·arguments."·alt=""·coords="237,27,376,67"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,189,89"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,189,89"/>
89 <area·shape="poly"·title="·"·alt=""·coords="203,45,237,45,237,50,203,50"/>89 <area·shape="poly"·title="·"·alt=""·coords="203,45,237,45,237,50,203,50"/>
90 </map>90 </map>
91 </div>91 </div>
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;typename·R,·typename·F,·typename...·Args&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·R,·typename·F,·typename...·Args&gt;<br·/>
94 struct·Dune::IsCallable&lt;·F(Args...),·R·&gt;</div><p>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.·</p>94 struct·Dune::IsCallable&lt;·F(Args...),·R·&gt;</div><p>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.·</p>
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="a00218_source.html">typetraits.hh</a></li>96 <li><a·class="el"·href="a00113_source.html">typetraits.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a03112.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Whether·this·type·has·a·value·of·NaN.··79 <p>Whether·this·type·has·a·value·of·NaN.··
80 ·<a·href="a03112.html#details">More...</a></p>80 ·<a·href="a03112.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::HasNaN&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::HasNaN&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Whether·this·type·has·a·value·of·NaN."·alt=""·coords="9,108,153,133"/>87 <area·shape="rect"·title="Whether·this·type·has·a·value·of·NaN."·alt=""·coords="9,108,153,133"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,156,60"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,156,60"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
96 struct·Dune::HasNaN&lt;·T·&gt;</div><p>Whether·this·type·has·a·value·of·NaN.·</p>96 struct·Dune::HasNaN&lt;·T·&gt;</div><p>Whether·this·type·has·a·value·of·NaN.·</p>
97 <p>Internally,·this·is·just·a·forward·to·<code>std::is_floating_point&lt;T&gt;</code>.·</p>97 <p>Internally,·this·is·just·a·forward·to·<code>std::is_floating_point&lt;T&gt;</code>.·</p>
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="a00218_source.html">typetraits.hh</a></li>99 <li><a·class="el"·href="a00113_source.html">typetraits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.57 KB
./usr/share/doc/libdune-common-doc/doxygen/a03116.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <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.··79 <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.··
80 ·<a·href="a03116.html#details">More...</a></p>80 ·<a·href="a03116.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsIndexable&lt;·T,·I·&gt;:</div>83 Inheritance·diagram·for·Dune::IsIndexable&lt;·T,·I·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <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,93,140,133"/>87 <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,93,140,133"/>
88 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,45"/>88 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,45"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·I·=·std::size_t&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·I·=·std::size_t&gt;<br·/>
96 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>96 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>
97 <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>97 <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>
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="a00218_source.html">typetraits.hh</a></li>99 <li><a·class="el"·href="a00113_source.html">typetraits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a03120.html
    
Offset 76, 30 lines modifiedOffset 76, 30 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>typetrait·to·check·that·a·class·has·begin()·and·end()·members··79 <p>typetrait·to·check·that·a·class·has·begin()·and·end()·members··
80 ·<a·href="a03120.html#details">More...</a></p>80 ·<a·href="a03120.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsIterable&lt;·T,·typename·&gt;:</div>83 Inheritance·diagram·for·Dune::IsIterable&lt;·T,·typename·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="typetrait·to·check·that·a·class·has·begin()·and·end()·members"·alt=""·coords="5,79,144,119"/>87 <area·shape="rect"·title="typetrait·to·check·that·a·class·has·begin()·and·end()·members"·alt=""·coords="5,79,144,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="21,5,129,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="21,5,129,31"/>
89 <area·shape="poly"·title="·"·alt=""·coords="77,44,77,79,72,79,72,44"/>89 <area·shape="poly"·title="·"·alt=""·coords="77,44,77,79,72,79,72,44"/>
90 </map>90 </map>
91 </div>91 </div>
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;typename·T,·typename·=·void&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·=·void&gt;<br·/>
94 struct·Dune::IsIterable&lt;·T,·typename·&gt;</div><p>typetrait·to·check·that·a·class·has·begin()·and·end()·members·</p>94 struct·Dune::IsIterable&lt;·T,·typename·&gt;</div><p>typetrait·to·check·that·a·class·has·begin()·and·end()·members·</p>
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="a00218_source.html">typetraits.hh</a></li>96 <li><a·class="el"·href="a00113_source.html">typetraits.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.8101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
102 </small></address>102 </small></address>
103 </body>103 </body>
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a03124.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·T·is·a·std::tuple&lt;...&gt;··79 <p>Check·if·T·is·a·std::tuple&lt;...&gt;··
80 ·<a·href="a03124.html#details">More...</a></p>80 ·<a·href="a03124.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsTuple&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::IsTuple&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·T·is·a·std::tuple&lt;...&gt;"·alt=""·coords="5,79,140,104"/>87 <area·shape="rect"·title="Check·if·T·is·a·std::tuple&lt;...&gt;"·alt=""·coords="5,79,140,104"/>
88 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,31"/>88 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,31"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
96 struct·Dune::IsTuple&lt;·T·&gt;</div><p>Check·if·T·is·a·std::tuple&lt;...&gt;·</p>96 struct·Dune::IsTuple&lt;·T·&gt;</div><p>Check·if·T·is·a·std::tuple&lt;...&gt;·</p>
97 <p>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>97 <p>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>
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="a00218_source.html">typetraits.hh</a></li>99 <li><a·class="el"·href="a00113_source.html">typetraits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a03128.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·T·derived·from·a·std::tuple&lt;...&gt;··79 <p>Check·if·T·derived·from·a·std::tuple&lt;...&gt;··
80 ·<a·href="a03128.html#details">More...</a></p>80 ·<a·href="a03128.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsTupleOrDerived&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::IsTupleOrDerived&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·T·derived·from·a·std::tuple&lt;...&gt;"·alt=""·coords="98,93,291,119"/>87 <area·shape="rect"·title="Check·if·T·derived·from·a·std::tuple&lt;...&gt;"·alt=""·coords="98,93,291,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,227,45"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,227,45"/>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 </map>94 </map>
95 </div>95 </div>
96 <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>
97 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>97 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
98 struct·Dune::IsTupleOrDerived&lt;·T·&gt;</div><p>Check·if·T·derived·from·a·std::tuple&lt;...&gt;·</p>98 struct·Dune::IsTupleOrDerived&lt;·T·&gt;</div><p>Check·if·T·derived·from·a·std::tuple&lt;...&gt;·</p>
99 <p>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>99 <p>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>
100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>100 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
101 <li><a·class="el"·href="a00218_source.html">typetraits.hh</a></li>101 <li><a·class="el"·href="a00113_source.html">typetraits.hh</a></li>
102 </ul>102 </ul>
103 </div><!--·contents·-->103 </div><!--·contents·-->
104 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
107 </small></address>107 </small></address>
108 </body>108 </body>
2.26 KB
./usr/share/doc/libdune-common-doc/doxygen/a03132.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;··79 <p>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;··
80 ·<a·href="a03132.html#details">More...</a></p>80 ·<a·href="a03132.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::IsIntegralConstant&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::IsIntegralConstant&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;"·alt=""·coords="5,93,205,119"/>87 <area·shape="rect"·title="Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;"·alt=""·coords="5,93,205,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="24,5,187,45"/>88 <area·shape="rect"·title="·"·alt=""·coords="24,5,187,45"/>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 </map>92 </map>
93 </div>93 </div>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>95 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
96 struct·Dune::IsIntegralConstant&lt;·T·&gt;</div><p>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;·</p>96 struct·Dune::IsIntegralConstant&lt;·T·&gt;</div><p>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;·</p>
97 <p>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>97 <p>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>
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="a00218_source.html">typetraits.hh</a></li>99 <li><a·class="el"·href="a00113_source.html">typetraits.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.8104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
105 </small></address>105 </small></address>
106 </body>106 </body>
2.37 KB
./usr/share/doc/libdune-common-doc/doxygen/a03136.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<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>76 ··<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>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>Compute·size·of·variadic·type·list.··79 <p>Compute·size·of·variadic·type·list.··
80 ·<a·href="a03136.html#details">More...</a></p>80 ·<a·href="a03136.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::SizeOf&lt;·T·&gt;:</div>83 Inheritance·diagram·for·Dune::SizeOf&lt;·T·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <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>85 <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>
86 <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">86 <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">
87 <area·shape="rect"·title="Compute·size·of·variadic·type·list."·alt=""·coords="25,93,157,119"/>87 <area·shape="rect"·title="Compute·size·of·variadic·type·list."·alt=""·coords="25,93,157,119"/>
88 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,45"/>88 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,45"/>
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 ····<tr><td·class="paramname">T</td><td>Variadic·type·list</td></tr>99 ····<tr><td·class="paramname">T</td><td>Variadic·type·list</td></tr>
100 ··</table>100 ··</table>
101 ··</dd>101 ··</dd>
102 </dl>102 </dl>
103 <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>103 <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>
104 <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>104 <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>
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="a00218_source.html">typetraits.hh</a></li>106 <li><a·class="el"·href="a00113_source.html">typetraits.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.8111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
112 </small></address>112 </small></address>
113 </body>113 </body>
1.19 KB
./usr/share/doc/libdune-common-doc/doxygen/a03140.html
    
Offset 80, 15 lines modifiedOffset 80, 15 lines modified
80 <p>Get·entry·of·std::integer_sequence.··80 <p>Get·entry·of·std::integer_sequence.··
81 ·<a·href="a03140.html#details">More...</a></p>81 ·<a·href="a03140.html#details">More...</a></p>
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;class·IntegerSequence,·std::size_t·index&gt;<br·/>83 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·IntegerSequence,·std::size_t·index&gt;<br·/>
84 struct·Dune::IntegerSequenceEntry&lt;·IntegerSequence,·index·&gt;</div><p>Get·entry·of·std::integer_sequence.·</p>84 struct·Dune::IntegerSequenceEntry&lt;·IntegerSequence,·index·&gt;</div><p>Get·entry·of·std::integer_sequence.·</p>
85 <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>85 <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>
86 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>86 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
87 <li><a·class="el"·href="a00218_source.html">typetraits.hh</a></li>87 <li><a·class="el"·href="a00113_source.html">typetraits.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.892 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
93 </small></address>93 </small></address>
94 </body>94 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a03144.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··82 <p>Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··
83 ·<a·href="a03144.html#details">More...</a></p>83 ·<a·href="a03144.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&gt;:</div>86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,173,232,198"/>90 <area·shape="rect"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,173,232,198"/>
91 <area·shape="rect"·href="a03148.html"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="417,5,612,45"/>91 <area·shape="rect"·href="a03148.html"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="417,5,612,45"/>
Offset 132, 15 lines modifiedOffset 132, 15 lines modified
132 ········</tr>132 ········</tr>
133 ······</table>133 ······</table>
134 </div><div·class="memdoc">134 </div><div·class="memdoc">
  
135 </div>135 </div>
136 </div>136 </div>
137 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>137 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
138 <li><a·class="el"·href="a00218_source.html">typetraits.hh</a></li>138 <li><a·class="el"·href="a00113_source.html">typetraits.hh</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.8143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
144 </small></address>144 </small></address>
145 </body>145 </body>
2.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03148.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·to·remove·lvalue·references.··82 <p>Specialization·to·remove·lvalue·references.··
83 ·<a·href="a03148.html#details">More...</a></p>83 ·<a·href="a03148.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;·&gt;:</div>86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="21,79,216,119"/>90 <area·shape="rect"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="21,79,216,119"/>
91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00218_source.html">typetraits.hh</a></li>131 <li><a·class="el"·href="a00113_source.html">typetraits.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a03152.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·to·remove·rvalue·references.··82 <p>Specialization·to·remove·rvalue·references.··
83 ·<a·href="a03152.html#details">More...</a></p>83 ·<a·href="a03152.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;:</div>86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Specialization·to·remove·rvalue·references."·alt=""·coords="21,79,216,119"/>90 <area·shape="rect"·title="Specialization·to·remove·rvalue·references."·alt=""·coords="21,79,216,119"/>
91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00218_source.html">typetraits.hh</a></li>131 <li><a·class="el"·href="a00113_source.html">typetraits.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a03156.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·to·remove·const·qualifiers.··82 <p>Specialization·to·remove·const·qualifiers.··
83 ·<a·href="a03156.html#details">More...</a></p>83 ·<a·href="a03156.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·const·T·&gt;:</div>86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·const·T·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Specialization·to·remove·const·qualifiers."·alt=""·coords="21,79,216,119"/>90 <area·shape="rect"·title="Specialization·to·remove·const·qualifiers."·alt=""·coords="21,79,216,119"/>
91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00218_source.html">typetraits.hh</a></li>131 <li><a·class="el"·href="a00113_source.html">typetraits.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a03160.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·to·remove·volatile·qualifiers.··82 <p>Specialization·to·remove·volatile·qualifiers.··
83 ·<a·href="a03160.html#details">More...</a></p>83 ·<a·href="a03160.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·T·&gt;:</div>86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·T·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Specialization·to·remove·volatile·qualifiers."·alt=""·coords="21,79,216,119"/>90 <area·shape="rect"·title="Specialization·to·remove·volatile·qualifiers."·alt=""·coords="21,79,216,119"/>
91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00218_source.html">typetraits.hh</a></li>131 <li><a·class="el"·href="a00113_source.html">typetraits.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a03164.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·for·the·proxies·of·<code>vector&lt;bool&gt;</code>··82 <p>Specialization·for·the·proxies·of·<code>vector&lt;bool&gt;</code>··
83 ·<a·href="a03164.html#details">More...</a></p>83 ·<a·href="a03164.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
87 Public·Types</h2></td></tr>87 Public·Types</h2></td></tr>
88 <tr·class="memitem:a1c5109740f4aae48f9d1cc7696c18ae8"·id="r_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>88 <tr·class="memitem:a1c5109740f4aae48f9d1cc7696c18ae8"·id="r_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>
89 <tr·class="separator:a1c5109740f4aae48f9d1cc7696c18ae8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a1c5109740f4aae48f9d1cc7696c18ae8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</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="a00218_source.html">typetraits.hh</a></li>110 <li><a·class="el"·href="a00113_source.html">typetraits.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.8115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
116 </small></address>116 </small></address>
117 </body>117 </body>
2.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a03168.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Specialization·to·remove·both·const·and·volatile·qualifiers.··82 <p>Specialization·to·remove·both·const·and·volatile·qualifiers.··
83 ·<a·href="a03168.html#details">More...</a></p>83 ·<a·href="a03168.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
85 <div·class="dynheader">85 <div·class="dynheader">
86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·const·T·&gt;:</div>86 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·const·T·&gt;:</div>
87 <div·class="dyncontent">87 <div·class="dyncontent">
88 <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>88 <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>
89 <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">89 <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">
90 <area·shape="rect"·title="Specialization·to·remove·both·const·and·volatile·qualifiers."·alt=""·coords="21,79,216,119"/>90 <area·shape="rect"·title="Specialization·to·remove·both·const·and·volatile·qualifiers."·alt=""·coords="21,79,216,119"/>
91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>91 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,31"/>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00218_source.html">typetraits.hh</a></li>131 <li><a·class="el"·href="a00113_source.html">typetraits.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a03180.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Helper·class·for·tagging·priorities.··82 <p>Helper·class·for·tagging·priorities.··
83 ·<a·href="a03180.html#details">More...</a></p>83 ·<a·href="a03180.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:ac24cb72d1f984e7e73cd43b0ab55aee4"·id="r_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>88 <tr·class="memitem:ac24cb72d1f984e7e73cd43b0ab55aee4"·id="r_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>
89 <tr·class="separator:ac24cb72d1f984e7e73cd43b0ab55aee4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:ac24cb72d1f984e7e73cd43b0ab55aee4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 ··</tr>125 ··</tr>
126 </table>126 </table>
127 </div><div·class="memdoc">127 </div><div·class="memdoc">
  
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="a00215_source.html">typeutilities.hh</a></li>131 <li><a·class="el"·href="a00212_source.html">typeutilities.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.8136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
137 </small></address>137 </small></address>
138 </body>138 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a03184.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<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>79 ··<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>
80 </div><!--header-->80 </div><!--header-->
81 <div·class="contents">81 <div·class="contents">
  
82 <p>Helper·class·for·tagging·priorities.··82 <p>Helper·class·for·tagging·priorities.··
83 ·<a·href="a03184.html#details">More...</a></p>83 ·<a·href="a03184.html#details">More...</a></p>
  
84 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>84 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
87 Static·Public·Attributes</h2></td></tr>87 Static·Public·Attributes</h2></td></tr>
88 <tr·class="memitem:a31ed9dda850ce73e5a9117f1d2335b9d"·id="r_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>88 <tr·class="memitem:a31ed9dda850ce73e5a9117f1d2335b9d"·id="r_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>
89 <tr·class="separator:a31ed9dda850ce73e5a9117f1d2335b9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:a31ed9dda850ce73e5a9117f1d2335b9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>91 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 ··</tr>113 ··</tr>
114 </table>114 </table>
115 </div><div·class="memdoc">115 </div><div·class="memdoc">
  
116 </div>116 </div>
117 </div>117 </div>
118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>118 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00215_source.html">typeutilities.hh</a></li>119 <li><a·class="el"·href="a00212_source.html">typeutilities.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.8124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>125 </small></address>
126 </body>126 </body>
8.74 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 65, 31 lines modifiedOffset 65, 61 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>75 ··<div·class="summary">
 76 <a·href="#nested-classes">Classes</a>·&#124;
 77 <a·href="#namespaces">Namespaces</a>·&#124;
 78 <a·href="#func-members">Functions</a>··</div>
 79 ··<div·class="headertitle"><div·class="title">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>
76 </div><!--header-->80 </div><!--header-->
77 <div·class="contents">81 <div·class="contents">
  
78 <p>Include·file·for·users·of·the·SIMD·abstraction·layer.··82 <p>Provides·classes·for·building·the·communication·interface·between·remote·indices.··
79 <a·href="#details">More...</a></p>83 <a·href="#details">More...</a></p>
80 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>84 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00362_source.html">remoteindices.hh</a>&quot;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/simd/standard.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/enumset.hh</a>&gt;</code><br·/>
82 </div>86 </div>
83 <p><a·href="a04442_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a04442_source.html">Go·to·the·source·code·of·this·file.</a></p>
 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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02136.html">Dune::InterfaceBuilder</a></td></tr>
 92 <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>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <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>
 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="a02144.html">Dune::InterfaceInformation</a></td></tr>
 97 <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>
 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="a02148.html">Dune::Interface</a></td></tr>
 100 <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>
 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>
 104 Namespaces</h2></td></tr>
 105 <tr·class="memitem:a00425"·id="r_a00425"><td·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>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table><table·class="memberdecls">
 109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 110 Functions</h2></td></tr>
 111 <tr·class="memitem:ad9b8d21022d554e087cc9255238b6799"·id="r_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·<a·class="el"·href="a02148.html">Interface</a>·&amp;interface)</td></tr>
 112 <tr·class="separator:ad9b8d21022d554e087cc9255238b6799"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 </table>
84 <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>
85 <div·class="textblock"><p>Include·file·for·users·of·the·SIMD·abstraction·layer.·</p> 
86 <p>Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types·&ndash;·do·not·include·the·internal·headers·directly.·</p>115 <div·class="textblock"><p>Provides·classes·for·building·the·communication·interface·between·remote·indices.·</p>
 116 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
87 </div></div><!--·contents·-->117 </div></div><!--·contents·-->
88 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
89 <hr·class="footer"/><address·class="footer"><small>119 <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.8120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
91 </small></address>121 </small></address>
92 </body>122 </body>
93 </html>123 </html>
1.59 KB
html2text {}
    
Offset 6, 20 lines modifiedOffset 6, 44 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd12 ····*·parallel
 13 Classes·|·Namespaces·|·Functions
13 simd.hh·File·Reference14 interface.hh·File·Reference
14 Include·file·for·users·of·the·SIMD·abstraction·layer.·More... 
15 #include·<dune/common/simd/interface.hh>15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 16 Provides·classes·for·building·the·communication·interface·between·remote
 17 indices.·More...
 18 #include·"remoteindices.hh"
16 #include·<dune/common/simd/standard.hh>19 #include·<dune/common/enumset.hh>
17 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
 21 ·Classes
 22 class· Dune::InterfaceBuilder
 23  ······Base·class·of·all·classes·representing·a·communication·interface.
 24 ········More...
 25  
 26 class· Dune::InterfaceBuilder::RemoteIndicesStateError
 27  
 28 class· Dune::InterfaceInformation
 29  ······Information·describing·an·interface.·More...
 30  
 31 class· Dune::Interface
 32  ······Communication·interface·between·remote·and·local·indices.·More...
 33  
 34 ·Namespaces
 35 namespace· Dune
 36  ··········Dune·namespace.
 37  
 38 ·Functions
 39 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·Interface·&interface)
 40  
18 *****·Detailed·Description·*****41 *****·Detailed·Description·*****
19 Include·file·for·users·of·the·SIMD·abstraction·layer. 
20 Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types··do·not·include 
21 the·internal·headers·directly.42 Provides·classes·for·building·the·communication·interface·between·remote
 43 indices.
 44 ··Author
 45 ······Markus·Blatt
  
22 ===============================================================================46 ===============================================================================
23 ·····Generated·by [doxygen]·1.9.847 ·····Generated·by [doxygen]·1.9.8
94.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 70, 32 lines modifiedOffset 70, 485 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">simd/simd.hh</div></div>80 ··<div·class="headertitle"><div·class="title">parallel/interface.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACE_HH</span></div>
86 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACE_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <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>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
89 <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/simd/standard.hh</a>&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00362.html">remoteindices.hh</a>&quot;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/enumset.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 95 <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>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 97 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">
 98 <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>
 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">public</span>:</div>
 101 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">
 102 <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>
 103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{};</div>
 104 </div>
 105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 106 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}">
 107 <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>
 108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····{}</div>
 109 </div>
 110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">protected</span>:</div>
 112 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}">
 113 <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>
 114 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{}</div>
 115 </div>
 116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 117 <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>
 118 <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>
 119 <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>
 120 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·························Op&amp;·functor)·<span·class="keyword">const</span>;</div>
 121 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··};</div>
 122 </div>
 123 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 124 <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="};">
 125 <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>
 126 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··{</div>
 127 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 128 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">public</span>:</div>
 129 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 130 <div·class="foldopen"·id="foldopen00108"·data-start="{"·data-end="}">
 131 <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>
 132 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">····</span>{</div>
 133 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······<span·class="keywordflow">return</span>·size_;</div>
 134 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div>
 135 </div>
 136 <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="}">
 137 <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>
 138 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····{</div>
 139 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······assert(i&lt;size_);</div>
 140 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<span·class="keywordflow">return</span>·indices_[i];</div>
 141 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div>
 142 </div>
 143 <div·class="foldopen"·id="foldopen00125"·data-start="{"·data-end="}">
 144 <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>
 145 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">····</span>{</div>
 146 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······assert(i&lt;size_);</div>
 147 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">return</span>·indices_[i];</div>
 148 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div>
 149 </div>
 150 <div·class="foldopen"·id="foldopen00134"·data-start="{"·data-end="}">
 151 <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>
 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>······indices_·=·<span·class="keyword">new</span>·std::size_t[<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>];</div>
 154 <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>
 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>····}</div>
 157 </div>
 158 <div·class="foldopen"·id="foldopen00143"·data-start="{"·data-end="}">
 159 <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>
 160 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····{</div>
 161 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>······<span·class="keywordflow">if</span>(indices_)</div>
 162 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········<span·class="keyword">delete</span>[]·indices_;</div>
 163 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>······maxSize_·=·0;</div>
 164 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>······size_=0;</div>
 165 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>······indices_=0;</div>
 166 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····}</div>
 167 </div>
 168 <div·class="foldopen"·id="foldopen00154"·data-start="{"·data-end="}">
 169 <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>
 170 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····{</div>
 171 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>······assert(size_&lt;maxSize_);</div>
 172 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>······indices_[size_++]=index;</div>
 173 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····}</div>
 174 </div>
 175 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div>
 176 <div·class="foldopen"·id="foldopen00160"·data-start="{"·data-end="}">
 177 <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>
 178 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>······:·size_(0),·maxSize_(0),·indices_(0)</div>
 179 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>····{}</div>
Max diff block lines reached; 271/80371 bytes (0.34%) of diff not shown.
15.9 KB
html2text {}
    
Offset 7, 27 lines modifiedOffset 7, 537 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd 
13 simd/simd.hh12 ····*·parallel
 13 parallel/interface.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
 15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 16 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
18 ·3#ifndef·DUNE_COMMON_SIMD_SIMD_HH 
19 ·4#define·DUNE_COMMON_SIMD_SIMD_HH 
20 ·5 
21 ·13#include·<dune/common/simd/interface.hh>20 ·5#ifndef·DUNE_INTERFACE_HH
 21 ·6#define·DUNE_INTERFACE_HH
 22 ·7
 23 ·8#if·HAVE_MPI
 24 ·9
 25 ·10#include·"remoteindices.hh"
22 ·14#include·<dune/common/simd/standard.hh>26 ·11#include·<dune/common/enumset.hh>
 27 ·12
 28 ·13namespace·Dune
 29 ·14{
 30 34·class·InterfaceBuilder
 31 ·35·{
 32 ·36·public:
 33 37·class·RemoteIndicesStateError·:·public·InvalidStateException
 34 ·38·{};
 35 ·39
 36 40·virtual·~InterfaceBuilder()
 37 ·41·{}
 38 ·42
 39 ·43·protected:
 40 47·InterfaceBuilder()
 41 ·48·{}
 42 ·49
 43 ·87·template<class·R,·class·T1,·class·T2,·class·Op,·bool·send>
 44 ·88·void·buildInterface·(const·R&·remoteIndices,
 45 ·89·const·T1&·sourceFlags,·const·T2&·destFlags,
 46 ·90·Op&·functor)·const;
 47 ·91·};
 48 ·92
 49 100·class·InterfaceInformation
 50 ·101·{
 51 ·102
 52 ·103·public:
 53 ·104
 54 108·size_t·size()·const
 55 ·109·{
 56 ·110·return·size_;
 57 ·111·}
 58 116·std::size_t&·operator[](size_t·i)
 59 ·117·{
 60 ·118·assert(i<size_);
 61 ·119·return·indices_[i];
 62 ·120·}
 63 125·std::size_t·operator[](size_t·i)·const
 64 ·126·{
 65 ·127·assert(i<size_);
 66 ·128·return·indices_[i];
 67 ·129·}
 68 134·void·reserve(size_t·size)
 69 ·135·{
 70 ·136·indices_·=·new·std::size_t[size];
 71 ·137·maxSize_·=·size;
 72 ·138
 73 ·139·}
 74 143·void·free()
 75 ·144·{
 76 ·145·if(indices_)
 77 ·146·delete[]·indices_;
 78 ·147·maxSize_·=·0;
 79 ·148·size_=0;
 80 ·149·indices_=0;
 81 ·150·}
 82 154·void·add(std::size_t·index)
 83 ·155·{
 84 ·156·assert(size_<maxSize_);
 85 ·157·indices_[size_++]=index;
 86 ·158·}
23 ·1587 ·159
24 ·16#endif·//·DUNE_COMMON_SIMD_SIMD_HH 
25 standard.hh 
26 SIMD·abstractions·for·the·standard·built-in·types.88 160·InterfaceInformation()
 89 ·161·:·size_(0),·maxSize_(0),·indices_(0)
 90 ·162·{}
 91 ·163
 92 164·virtual·~InterfaceInformation()
 93 ·165·{}
 94 ·166
 95 167·bool·operator!=(const·InterfaceInformation&·o)·const
 96 ·168·{
 97 ·169·return·!operator==(o);
 98 ·170·}
 99 ·171
 100 172·bool·operator==(const·InterfaceInformation&·o)·const
 101 ·173·{
 102 ·174·if(size_!=o.size_)
 103 ·175·return·false;
 104 ·176·for(std::size_t·i=0;·i<·size_;·++i)
 105 ·177·if(indices_[i]!=o.indices_[i])
 106 ·178·return·false;
 107 ·179·return·true;
 108 ·180·}
 109 ·181
 110 ·182·private:
 111 ·186·size_t·size_;
 112 ·190·size_t·maxSize_;
 113 ·194·std::size_t*·indices_;
 114 ·195·};
 115 ·196
 116 208·class·Interface·:·public·InterfaceBuilder
 117 ·209·{
 118 ·210
 119 ·211·public:
 120 216·typedef·std::map<int,std::pair<InterfaceInformation,InterfaceInformation>·>
 121 InformationMap;
 122 ·217
 123 ·234·template<typename·R,·typename·T1,·typename·T2>
 124 ·235·void·build(const·R&·remoteIndices,·const·T1&·sourceFlags,
 125 ·236·const·T2&·destFlags);
Max diff block lines reached; 116/16296 bytes (0.71%) of diff not shown.
29.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a04445.html
    
Offset 65, 61 lines modifiedOffset 65, 138 lines modified
65 </div>65 </div>
66 </div>66 </div>
67 </div>67 </div>
68 </div>68 </div>
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
75 ··<div·class="summary">75 ··<div·class="summary">
76 <a·href="#nested-classes">Classes</a>·&#124; 
77 <a·href="#namespaces">Namespaces</a>·&#124;76 <a·href="#namespaces">Namespaces</a>··</div>
 77 ··<div·class="headertitle"><div·class="title">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>
78 <a·href="#func-members">Functions</a>··</div> 
79 ··<div·class="headertitle"><div·class="title">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> 
80 </div><!--header-->78 </div><!--header-->
81 <div·class="contents">79 <div·class="contents">
  
82 <p>Provides·classes·for·building·the·communication·interface·between·remote·indices.··80 <p>User·interface·of·the·SIMD·abstraction.··
83 <a·href="#details">More...</a></p>81 <a·href="#details">More...</a></p>
84 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00377_source.html">remoteindices.hh</a>&quot;</code><br·/>82 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 83 <code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;type_traits&gt;</code><br·/>
 85 <code>#include·&lt;utility&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00167_source.html">dune/common/enumset.hh</a>&gt;</code><br·/>87 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
86 </div>88 </div>
87 <p><a·href="a04445_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a04445_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">90 <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">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02136.html">Dune::InterfaceBuilder</a></td></tr> 
92 <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> 
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 <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> 
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="a02144.html">Dune::InterfaceInformation</a></td></tr> 
97 <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> 
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="a02148.html">Dune::Interface</a></td></tr> 
100 <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> 
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>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00425"·id="r_a00425"><td·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"·id="r_a00425"><td·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>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="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:a00429"·id="r_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>
 97 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<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">Basic·interface</h2></td></tr>
 101 <tr·class="memitem:gaf7f6f3418836afcdb2c033509fd2eb91"·id="r_gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 102 <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·<a·class="el"·href="a02620.html">Overloads::ScalarType</a>&lt;·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr>
 103 <tr·class="memdesc:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Element·type·of·some·SIMD·type.··<br·/></td></tr>
 104 <tr·class="separator:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:ga8d4752fe47def6075b211544a932c709"·id="r_ga8d4752fe47def6075b211544a932c709"><td·class="memTemplParams"·colspan="2">template&lt;class·S·,·class·V·&gt;·</td></tr>
 106 <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·<a·class="el"·href="a02624.html">Overloads::RebindType</a>&lt;·std::decay_t&lt;·S·&gt;,·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr>
 107 <tr·class="memdesc:ga8d4752fe47def6075b211544a932c709"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·SIMD·type·with·different·scalar·type.··<br·/></td></tr>
 108 <tr·class="separator:ga8d4752fe47def6075b211544a932c709"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:gac6a0cf43eb7664581bd8a6954d7ff305"·id="r_gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 110 <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>
 111 <tr·class="memdesc:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Number·of·lanes·in·a·SIMD·type.··<br·/></td></tr>
 112 <tr·class="separator:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:gaca5433c99a350b973623f94491e43a86"·id="r_gaca5433c99a350b973623f94491e43a86"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 114 <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>
 115 <tr·class="memdesc:gaca5433c99a350b973623f94491e43a86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Extract·an·element·of·a·SIMD·type.··<br·/></td></tr>
 116 <tr·class="separator:gaca5433c99a350b973623f94491e43a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:gab5615170452d6ad3d87596cafef62f7c"·id="r_gab5615170452d6ad3d87596cafef62f7c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr>
 118 <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>
 119 <tr·class="memdesc:gab5615170452d6ad3d87596cafef62f7c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cast·an·expression·from·one·implementation·to·another.··<br·/></td></tr>
 120 <tr·class="separator:gab5615170452d6ad3d87596cafef62f7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:gaa0d1652bc61cae3351079ca5510e8d4f"·id="r_gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr>
 122 <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>
 123 <tr·class="memdesc:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Broadcast·a·scalar·to·a·vector·explicitly.··<br·/></td></tr>
 124 <tr·class="separator:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ga1a04d18cec7c2f206e9de49926bfe5a8"·id="r_ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memTemplParams"·colspan="2">template&lt;class·M·,·class·V·&gt;·</td></tr>
 126 <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;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr>
 127 <tr·class="memdesc:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<br·/></td></tr>
 128 <tr·class="separator:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:gaed055bc5f93bbb34cee35cdcba278b3d"·id="r_gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 130 <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·<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr>
 131 <tr·class="memdesc:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<br·/></td></tr>
 132 <tr·class="separator:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:gaa6c890aa2ed0432984358e6e0b487b3f"·id="r_gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 134 <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>
 135 <tr·class="memdesc:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·maximum·value·over·two·simd·objects.··<br·/></td></tr>
 136 <tr·class="separator:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:gafa18ecd1517a0f3c3ae83c6a6b5e1559"·id="r_gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 138 <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>
 139 <tr·class="memdesc:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·minimum·value·over·two·simd·objects.··<br·/></td></tr>
 140 <tr·class="separator:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:ga17639369fac8b6c516ebf2125849d0f4"·id="r_ga17639369fac8b6c516ebf2125849d0f4"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 142 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr>
 143 <tr·class="memdesc:ga17639369fac8b6c516ebf2125849d0f4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>true</code>··<br·/></td></tr>
 144 <tr·class="separator:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:ga54577fa7b2752b55d6efd05878ca1e24"·id="r_ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 146 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr>
 147 <tr·class="memdesc:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>true</code>··<br·/></td></tr>
 148 <tr·class="separator:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 149 <tr·class="memitem:gaaee5c9c3caa23996397af767ca52845e"·id="r_gaaee5c9c3caa23996397af767ca52845e"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 150 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr>
 151 <tr·class="memdesc:gaaee5c9c3caa23996397af767ca52845e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>false</code>··<br·/></td></tr>
 152 <tr·class="separator:gaaee5c9c3caa23996397af767ca52845e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:gaf404687904c5a04c3ab453b9b19c1562"·id="r_gaf404687904c5a04c3ab453b9b19c1562"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr>
 154 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr>
 155 <tr·class="memdesc:gaf404687904c5a04c3ab453b9b19c1562"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>false</code>··<br·/></td></tr>
 156 <tr·class="separator:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 157 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"·id="r_gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 158 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Scalar</a>&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>
 159 <tr·class="memdesc:gacbb7e26df1346d475506ecaab9449f1d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·maximum·value·over·all·lanes.··<br·/></td></tr>
 160 <tr·class="separator:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 161 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"·id="r_ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 162 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Scalar</a>&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>
 163 <tr·class="memdesc:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·minimum·value·over·all·lanes.··<br·/></td></tr>
 164 <tr·class="separator:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 165 <tr·class="memitem:ga3e3f45a22ca7244829e9adf246ac4a9d"·id="r_ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 166 <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>
 167 <tr·class="memdesc:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convert·to·mask,·analogue·of·bool(s)·for·scalars.··<br·/></td></tr>
 168 <tr·class="separator:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 169 <tr·class="memitem:ga19a63bc3591ee6c8fd5706c9be4380bf"·id="r_ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr>
 170 <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>
 171 <tr·class="memdesc:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Logic·or·of·masks.··<br·/></td></tr>
 172 <tr·class="separator:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 3514/25086 bytes (14.01%) of diff not shown.
5.28 KB
html2text {}
    
Offset 6, 44 lines modifiedOffset 6, 128 lines modified
6 dune-common 2.9.06 dune-common 2.9.0
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel 
13 Classes·|·Namespaces·|·Functions12 ····*·simd
 13 Namespaces
14 interface.hh·File·Reference14 interface.hh·File·Reference
15 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
16 Provides·classes·for·building·the·communication·interface·between·remote 
17 indices.·More... 
18 #include·"remoteindices.hh"15 Common·»·Vectorization·»·Library_Developer's_Interface
 16 User·interface·of·the·SIMD·abstraction.·More...
 17 #include·<cassert>
 18 #include·<cstddef>
 19 #include·<type_traits>
 20 #include·<utility>
 21 #include·<dune/common/simd/base.hh>
19 #include·<dune/common/enumset.hh>22 #include·<dune/common/typelist.hh>
20 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
21 ·Classes 
22 class· Dune::InterfaceBuilder 
23  ······Base·class·of·all·classes·representing·a·communication·interface. 
24 ········More... 
25   
26 class· Dune::InterfaceBuilder::RemoteIndicesStateError 
27   
28 class· Dune::InterfaceInformation 
29  ······Information·describing·an·interface.·More... 
30   
31 class· Dune::Interface 
32  ······Communication·interface·between·remote·and·local·indices.·More... 
33   
34 ·Namespaces24 ·Namespaces
35 namespace· Dune25 namespace· Dune
36  ··········Dune·namespace.26  ··········Dune·namespace.
37  27  
38 ·Functions 
39 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·Interface·&interface)28 namespace· Dune::Simd
 29  ··········Namespace·for·vectorization·interface·functions·used·by·library
 30 ············developers.
 31  
 32 *****·Basic·interface·*****
 33 template<class·V·>
 34 ················using Dune::Simd::Scalar·=·typename·Overloads::ScalarType<
 35 ·······················std::decay_t<·V·>·>::type
 36  ·····················Element·type·of·some·SIMD·type.
 37  
 38 template<class·S·,·class·V·>
 39 ················using Dune::Simd::Rebind·=·typename·Overloads::RebindType<
 40 ·······················std::decay_t<·S·>,·std::decay_t<·V·>·>::type
 41  ·····················Construct·SIMD·type·with·different·scalar·type.
 42  
 43 template<class·V·>
 44 constexpr·std::size_t Dune::Simd::lanes·()
 45  ·····················Number·of·lanes·in·a·SIMD·type.
 46  
 47 template<class·V·>
 48 ·······decltype(auto) Dune::Simd::lane·(std::size_t·l,·V·&&v)
 49  ·····················Extract·an·element·of·a·SIMD·type.
 50  
 51 template<class·V·,·class·U·>
 52 ··········constexpr·V Dune::Simd::implCast·(U·&&u)
 53  ·····················Cast·an·expression·from·one·implementation·to·another.
 54  
 55 template<class·V·,·class·S·>
 56 ··········constexpr·V Dune::Simd::broadcast·(S·s)
 57  ·····················Broadcast·a·scalar·to·a·vector·explicitly.
 58  
 59 template<class·M·,·class·V·>
 60 ····················V Dune::Simd::cond·(M·&&mask,·const·V·&ifTrue,·const·V
 61 ·······················&ifFalse)
 62  ·····················Like·the·?:·operator.
 63  
 64 template<class·V·>
 65 ····················V Dune::Simd::cond·(bool·mask,·const·V·&ifTrue,·const·V
 66 ·······················&ifFalse)
 67  ·····················Like·the·?:·operator.
 68  
 69 template<class·V·>
 70 ·················auto Dune::Simd::max·(const·V·&v1,·const·V·&v2)
 71  ·····················The·binary·maximum·value·over·two·simd·objects.
 72  
 73 template<class·V·>
 74 ·················auto Dune::Simd::min·(const·V·&v1,·const·V·&v2)
 75  ·····················The·binary·minimum·value·over·two·simd·objects.
 76  
 77 template<class·Mask·>
 78 ·················bool Dune::Simd::anyTrue·(const·Mask·&mask)
 79  ·····················Whether·any·entry·is·true
 80  
 81 template<class·Mask·>
 82 ·················bool Dune::Simd::allTrue·(const·Mask·&mask)
 83  ·····················Whether·all·entries·are·true
 84  
 85 template<class·Mask·>
 86 ·················bool Dune::Simd::anyFalse·(const·Mask·&mask)
 87  ·····················Whether·any·entry·is·false
 88  
 89 template<class·Mask·>
 90 ·················bool Dune::Simd::allFalse·(const·Mask·&mask)
 91  ·····················Whether·all·entries·are·false
 92  
 93 template<class·V·>
 94 ··········Scalar<·V·> Dune::Simd::max·(const·V·&v)
 95  ·····················The·horizontal·maximum·value·over·all·lanes.
 96  
 97 template<class·V·>
 98 ··········Scalar<·V·> Dune::Simd::min·(const·V·&v)
 99  ·····················The·horizontal·minimum·value·over·all·lanes.
 100  
 101 template<class·V·>
 102 ·················auto Dune::Simd::mask·(const·V·&v)
 103  ·····················Convert·to·mask,·analogue·of·bool(s)·for·scalars.
 104  
 105 template<class·V1·,·class·V2·>
 106 ·················auto Dune::Simd::maskOr·(const·V1·&v1,·const·V2·&v2)
 107  ·····················Logic·or·of·masks.
 108  
 109 template<class·V1·,·class·V2·>
 110 ·················auto Dune::Simd::maskAnd·(const·V1·&v1,·const·V2·&v2)
 111  ·····················Logic·and·of·masks.
 112  
 113 *****·Syntactic·Sugar·*****
Max diff block lines reached; 502/5382 bytes (9.33%) of diff not shown.
137 KB
./usr/share/doc/libdune-common-doc/doxygen/a04445_source.html
    
Offset 70, 485 lines modifiedOffset 70, 256 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">parallel/interface.hh</div></div>80 ··<div·class="headertitle"><div·class="title">simd/interface.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
 83 <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>
83 <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> 
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>84 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACE_HH</span></div>85 <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>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACE_HH</span></div>86 <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>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00377.html">remoteindices.hh</a>&quot;</span></div>91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00167.html">dune/common/enumset.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/simd/base.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/typelist.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
95 <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>96 <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="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 99 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>Simd·{</div>
 100 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 101 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div>
 102 <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>
 103 <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>
 104 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div>
 105 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>·</div>
 106 <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>
 107 <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>
 108 <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>
 109 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>·</div>
 110 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>·</div>
 111 <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>·</div>
 112 <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>
 113 <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>
 114 <div·class="line"><a·id="l00290"·name="l00290"></a><span·class="lineno">··290</span>·</div>
 115 <div·class="line"><a·id="l00292"·name="l00292"></a><span·class="lineno">··292</span>·</div>
 116 <div·class="line"><a·id="l00298"·name="l00298"></a><span·class="lineno">··298</span>·</div>
 117 <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>
97 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">118 <div·class="foldopen"·id="foldopen00305"·data-start="{"·data-end="}">
98 <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>119 <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#gac6a0cf43eb7664581bd8a69[·...·truncated·by·diffoscope;·len:·22,·SHA:·99a9426741629c9c0db70540f94e2b58c51eac75327ef821417e280c092072c0·...·]</div>
99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>120 <div·class="line"><a·id="l00306"·name="l00306"></a><span·class="lineno">··306</span>····{</div>
 121 <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>
100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div> 
101 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};"> 
102 <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> 
103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{};</div>122 <div·class="line"><a·id="l00308"·name="l00308"></a><span·class="lineno">··308</span>····}</div>
104 </div>123 </div>
105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>124 <div·class="line"><a·id="l00309"·name="l00309"></a><span·class="lineno">··309</span>·</div>
 125 <div·class="line"><a·id="l00311"·name="l00311"></a><span·class="lineno">··311</span>·</div>
 126 <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>
106 <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="}">127 <div·class="foldopen"·id="foldopen00324"·data-start="{"·data-end="}">
107 <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">~Inte[·...·truncated·by·diffoscope;·len:·17,·SHA:·3ce0fb95eeab4cd127a8c823d786d3628bf381f0b4df4e0b037e32748be2dabd·...·])</div>128 <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#gac[·...·truncated·by·diffoscope;·len:·70,·SHA:·2d0b831491a05b4db056ac136bc5ba15e1fe3e47e24f79f26291fa068d289470·...·])</div>
108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····{}</div>129 <div·class="line"><a·id="l00325"·name="l00325"></a><span·class="lineno">··325</span>····{</div>
 130 <div·class="line"><a·id="l00326"·name="l00326"></a><span·class="lineno">··326</span>······assert(l·&lt;·lanes&lt;V&gt;());</div>
 131 <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>
 132 <div·class="line"><a·id="l00328"·name="l00328"></a><span·class="lineno">··328</span>····}</div>
109 </div>133 </div>
110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">protected</span>:</div> 
112 <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}"> 
113 <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> 
114 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{}</div> 
115 </div> 
116 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
117 <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> 
118 <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> 
119 <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> 
120 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·························Op&amp;·functor)·<span·class="keyword">const</span>;</div> 
121 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··};</div> 
122 </div> 
123 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
124 <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="};"> 
125 <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> 
126 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··{</div> 
127 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
128 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">public</span>:</div> 
129 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
130 <div·class="foldopen"·id="foldopen00108"·data-start="{"·data-end="}"> 
131 <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> 
132 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">····</span>{</div> 
133 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>······<span·class="keywordflow">return</span>·size_;</div> 
134 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····}</div> 
135 </div> 
136 <div·class="foldopen"·id="foldopen00116"·data-start="{"·data-end="}"> 
137 <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> 
138 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····{</div> 
139 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······assert(i&lt;size_);</div> 
140 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<span·class="keywordflow">return</span>·indices_[i];</div> 
141 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div> 
142 </div> 
143 <div·class="foldopen"·id="foldopen00125"·data-start="{"·data-end="}"> 
144 <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> 
145 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">····</span>{</div> 
146 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······assert(i&lt;size_);</div> 
147 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<span·class="keywordflow">return</span>·indices_[i];</div> 
148 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····}</div>134 <div·class="line"><a·id="l00329"·name="l00329"></a><span·class="lineno">··329</span>·</div>
149 </div>135 <div·class="line"><a·id="l00331"·name="l00331"></a><span·class="lineno">··331</span>·</div>
 136 <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>
150 <div·class="foldopen"·id="foldopen00134"·data-start="{"·data-end="}">137 <div·class="foldopen"·id="foldopen00345"·data-start="{"·data-end="}">
 138 <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>
151 <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> 
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>······indices_·=·<span·class="keyword">new</span>·std::size_t[<a·class="code·hl_function"·href="a02144.html#ae44761e3e2f5b738e06d04b7e76cf90b">size</a>];</div> 
154 <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> 
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>····}</div> 
157 </div> 
158 <div·class="foldopen"·id="foldopen00143"·data-start="{"·data-end="}"> 
159 <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> 
160 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····{</div> 
161 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>······<span·class="keywordflow">if</span>(indices_)</div> 
162 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········<span·class="keyword">delete</span>[]·indices_;</div> 
Max diff block lines reached; 72875/117448 bytes (62.05%) of diff not shown.
21.9 KB
html2text {}
    
Offset 7, 537 lines modifiedOffset 7, 278 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·parallel 
13 parallel/interface.hh12 ····*·simd
 13 simd/interface.hh
14 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
15 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
16 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
18 LICENSE.md·in·module·root16 LICENSE.md·in·module·root
19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
20 ·5#ifndef·DUNE_INTERFACE_HH18 ·3#ifndef·DUNE_COMMON_SIMD_INTERFACE_HH
21 ·6#define·DUNE_INTERFACE_HH19 ·4#define·DUNE_COMMON_SIMD_INTERFACE_HH
22 ·7 
23 ·8#if·HAVE_MPI 
24 ·9 
25 ·10#include·"remoteindices.hh"20 ·5
 21 ·17#include·<cassert>
 22 ·18#include·<cstddef>
 23 ·19#include·<type_traits>
 24 ·20#include·<utility>
 25 ·21
 26 ·22#include·<dune/common/simd/base.hh>
26 ·11#include·<dune/common/enumset.hh>27 ·23#include·<dune/common/typelist.hh>
27 ·1228 ·24
28 ·13namespace·Dune29 ·25namespace·Dune·{
29 ·14{ 
30 34·class·InterfaceBuilder30 ·26
 31 ·29
 32 ·32·namespace·Simd·{
 33 ·33
 34 ·223
 35 ·234·template<class·V>
 36 235·using·Scalar·=·typename·Overloads::ScalarType<std::decay_t<V>·>::type;
 37 ·236
 38 ·238
 39 ·251·template<class·S,·class·V>
 40 252·using·Rebind·=
 41 ·253·typename·Overloads::RebindType<std::decay_t<S>,·std::decay_t<V>>::type;
 42 ·254
 43 ·256
 44 ·267
 45 ·288·template<class·V>
 46 289·using·Mask·=·Rebind<bool,_V>;
 47 ·290
 48 ·292
 49 ·298
 50 ·304·template<class·V>
 51 305·constexpr·std::size_t·lanes()
 52 ·306·{
 53 ·307·return·Overloads::LaneCount<std::decay_t<V>>::value;
 54 ·308·}
 55 ·309
 56 ·311
 57 ·323·template<class·V>
 58 324·decltype(auto)·lane(std::size_t·l,·V·&&v)
31 ·35·{59 ·325·{
32 ·36·public: 
33 37·class·RemoteIndicesStateError·:·public·InvalidStateException60 ·326·assert(l·<·lanes<V>());
 61 ·327·return·lane(Overloads::ADLTag<7>{},·l,·std::forward<V>(v));
34 ·38·{};62 ·328·}
35 ·3963 ·329
36 40·virtual·~InterfaceBuilder() 
37 ·41·{} 
38 ·42 
39 ·43·protected: 
40 47·InterfaceBuilder() 
41 ·48·{} 
42 ·49 
43 ·87·template<class·R,·class·T1,·class·T2,·class·Op,·bool·send> 
44 ·88·void·buildInterface·(const·R&·remoteIndices, 
45 ·89·const·T1&·sourceFlags,·const·T2&·destFlags, 
46 ·90·Op&·functor)·const; 
47 ·91·}; 
48 ·92 
49 100·class·InterfaceInformation 
50 ·101·{ 
51 ·102 
52 ·103·public: 
53 ·104 
54 108·size_t·size()·const 
55 ·109·{ 
56 ·110·return·size_; 
57 ·111·} 
58 116·std::size_t&·operator[](size_t·i) 
59 ·117·{ 
60 ·118·assert(i<size_); 
61 ·119·return·indices_[i]; 
62 ·120·} 
63 125·std::size_t·operator[](size_t·i)·const 
64 ·126·{ 
65 ·127·assert(i<size_); 
66 ·128·return·indices_[i]; 
67 ·129·} 
68 134·void·reserve(size_t·size) 
69 ·135·{ 
70 ·136·indices_·=·new·std::size_t[size]; 
71 ·137·maxSize_·=·size; 
72 ·138 
73 ·139·} 
74 143·void·free() 
75 ·144·{ 
76 ·145·if(indices_) 
77 ·146·delete[]·indices_; 
78 ·147·maxSize_·=·0; 
79 ·148·size_=0; 
80 ·149·indices_=0; 
81 ·150·} 
82 154·void·add(std::size_t·index) 
83 ·155·{ 
84 ·156·assert(size_<maxSize_); 
85 ·157·indices_[size_++]=index; 
86 ·158·} 
87 ·159 
88 160·InterfaceInformation() 
89 ·161·:·size_(0),·maxSize_(0),·indices_(0) 
90 ·162·{} 
91 ·163 
92 164·virtual·~InterfaceInformation() 
93 ·165·{} 
94 ·166 
95 167·bool·operator!=(const·InterfaceInformation&·o)·const 
Max diff block lines reached; 16325/22438 bytes (72.76%) of diff not shown.
27.1 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 69, 134 lines modifiedOffset 69, 27 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="header">74 <div·class="header">
 75 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>
75 ··<div·class="summary"> 
76 <a·href="#namespaces">Namespaces</a>··</div> 
77 ··<div·class="headertitle"><div·class="title">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> 
78 </div><!--header-->76 </div><!--header-->
79 <div·class="contents">77 <div·class="contents">
  
80 <p>User·interface·of·the·SIMD·abstraction.··78 <p>Include·file·for·users·of·the·SIMD·abstraction·layer.··
81 <a·href="#details">More...</a></p>79 <a·href="#details">More...</a></p>
 80 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>
82 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/> 
83 <code>#include·&lt;cstddef&gt;</code><br·/> 
84 <code>#include·&lt;type_traits&gt;</code><br·/> 
85 <code>#include·&lt;utility&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/simd/standard.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
88 </div>82 </div>
89 <p><a·href="a04448_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a04448_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="namespaces"·name="namespaces"></a> 
92 Namespaces</h2></td></tr> 
93 <tr·class="memitem:a00425"·id="r_a00425"><td·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> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:a00429"·id="r_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> 
97 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<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">Basic·interface</h2></td></tr> 
101 <tr·class="memitem:gaf7f6f3418836afcdb2c033509fd2eb91"·id="r_gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
102 <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·<a·class="el"·href="a02620.html">Overloads::ScalarType</a>&lt;·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr> 
103 <tr·class="memdesc:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Element·type·of·some·SIMD·type.··<br·/></td></tr> 
104 <tr·class="separator:gaf7f6f3418836afcdb2c033509fd2eb91"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:ga8d4752fe47def6075b211544a932c709"·id="r_ga8d4752fe47def6075b211544a932c709"><td·class="memTemplParams"·colspan="2">template&lt;class·S·,·class·V·&gt;·</td></tr> 
106 <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·<a·class="el"·href="a02624.html">Overloads::RebindType</a>&lt;·std::decay_t&lt;·S·&gt;,·std::decay_t&lt;·V·&gt;·&gt;::type</td></tr> 
107 <tr·class="memdesc:ga8d4752fe47def6075b211544a932c709"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·SIMD·type·with·different·scalar·type.··<br·/></td></tr> 
108 <tr·class="separator:ga8d4752fe47def6075b211544a932c709"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:gac6a0cf43eb7664581bd8a6954d7ff305"·id="r_gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
110 <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> 
111 <tr·class="memdesc:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Number·of·lanes·in·a·SIMD·type.··<br·/></td></tr> 
112 <tr·class="separator:gac6a0cf43eb7664581bd8a6954d7ff305"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:gaca5433c99a350b973623f94491e43a86"·id="r_gaca5433c99a350b973623f94491e43a86"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
114 <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> 
115 <tr·class="memdesc:gaca5433c99a350b973623f94491e43a86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Extract·an·element·of·a·SIMD·type.··<br·/></td></tr> 
116 <tr·class="separator:gaca5433c99a350b973623f94491e43a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:gab5615170452d6ad3d87596cafef62f7c"·id="r_gab5615170452d6ad3d87596cafef62f7c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr> 
118 <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> 
119 <tr·class="memdesc:gab5615170452d6ad3d87596cafef62f7c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Cast·an·expression·from·one·implementation·to·another.··<br·/></td></tr> 
120 <tr·class="separator:gab5615170452d6ad3d87596cafef62f7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:gaa0d1652bc61cae3351079ca5510e8d4f"·id="r_gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr> 
122 <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> 
123 <tr·class="memdesc:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Broadcast·a·scalar·to·a·vector·explicitly.··<br·/></td></tr> 
124 <tr·class="separator:gaa0d1652bc61cae3351079ca5510e8d4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:ga1a04d18cec7c2f206e9de49926bfe5a8"·id="r_ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memTemplParams"·colspan="2">template&lt;class·M·,·class·V·&gt;·</td></tr> 
126 <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;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr> 
127 <tr·class="memdesc:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<br·/></td></tr> 
128 <tr·class="separator:ga1a04d18cec7c2f206e9de49926bfe5a8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:gaed055bc5f93bbb34cee35cdcba278b3d"·id="r_gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
130 <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·<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</td></tr> 
131 <tr·class="memdesc:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Like·the·?:·operator.··<br·/></td></tr> 
132 <tr·class="separator:gaed055bc5f93bbb34cee35cdcba278b3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:gaa6c890aa2ed0432984358e6e0b487b3f"·id="r_gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
134 <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> 
135 <tr·class="memdesc:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·maximum·value·over·two·simd·objects.··<br·/></td></tr> 
136 <tr·class="separator:gaa6c890aa2ed0432984358e6e0b487b3f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:gafa18ecd1517a0f3c3ae83c6a6b5e1559"·id="r_gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
138 <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> 
139 <tr·class="memdesc:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·binary·minimum·value·over·two·simd·objects.··<br·/></td></tr> 
140 <tr·class="separator:gafa18ecd1517a0f3c3ae83c6a6b5e1559"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:ga17639369fac8b6c516ebf2125849d0f4"·id="r_ga17639369fac8b6c516ebf2125849d0f4"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
142 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr> 
143 <tr·class="memdesc:ga17639369fac8b6c516ebf2125849d0f4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>true</code>··<br·/></td></tr> 
144 <tr·class="separator:ga17639369fac8b6c516ebf2125849d0f4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:ga54577fa7b2752b55d6efd05878ca1e24"·id="r_ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
146 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr> 
147 <tr·class="memdesc:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>true</code>··<br·/></td></tr> 
148 <tr·class="separator:ga54577fa7b2752b55d6efd05878ca1e24"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:gaaee5c9c3caa23996397af767ca52845e"·id="r_gaaee5c9c3caa23996397af767ca52845e"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
150 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr> 
151 <tr·class="memdesc:gaaee5c9c3caa23996397af767ca52845e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·any·entry·is·<code>false</code>··<br·/></td></tr> 
152 <tr·class="separator:gaaee5c9c3caa23996397af767ca52845e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:gaf404687904c5a04c3ab453b9b19c1562"·id="r_gaf404687904c5a04c3ab453b9b19c1562"><td·class="memTemplParams"·colspan="2">template&lt;class·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&gt;·</td></tr> 
154 <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·<a·class="el"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="el"·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">mask</a>)</td></tr> 
155 <tr·class="memdesc:gaf404687904c5a04c3ab453b9b19c1562"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·all·entries·are·<code>false</code>··<br·/></td></tr> 
156 <tr·class="separator:gaf404687904c5a04c3ab453b9b19c1562"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
157 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"·id="r_gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
158 <tr·class="memitem:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Scalar</a>&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> 
159 <tr·class="memdesc:gacbb7e26df1346d475506ecaab9449f1d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·maximum·value·over·all·lanes.··<br·/></td></tr> 
160 <tr·class="separator:gacbb7e26df1346d475506ecaab9449f1d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
161 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"·id="r_ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
162 <tr·class="memitem:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Scalar</a>&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> 
163 <tr·class="memdesc:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·horizontal·minimum·value·over·all·lanes.··<br·/></td></tr> 
164 <tr·class="separator:ga2549067f8a707c8aa06ee4c32e75bbbc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
165 <tr·class="memitem:ga3e3f45a22ca7244829e9adf246ac4a9d"·id="r_ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
166 <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> 
167 <tr·class="memdesc:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convert·to·mask,·analogue·of·bool(s)·for·scalars.··<br·/></td></tr> 
168 <tr·class="separator:ga3e3f45a22ca7244829e9adf246ac4a9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
169 <tr·class="memitem:ga19a63bc3591ee6c8fd5706c9be4380bf"·id="r_ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr> 
170 <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> 
171 <tr·class="memdesc:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Logic·or·of·masks.··<br·/></td></tr> 
172 <tr·class="separator:ga19a63bc3591ee6c8fd5706c9be4380bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
173 <tr·class="memitem:gaf74d4b9a4722c8de326046b89e2acef7"·id="r_gaf74d4b9a4722c8de326046b89e2acef7"><td·class="memTemplParams"·colspan="2">template&lt;class·V1·,·class·V2·&gt;·</td></tr> 
174 <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> 
175 <tr·class="memdesc:gaf74d4b9a4722c8de326046b89e2acef7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Logic·and·of·masks.··<br·/></td></tr> 
Max diff block lines reached; 899/22745 bytes (3.95%) of diff not shown.
4.74 KB
html2text {}
    
Offset 7, 127 lines modifiedOffset 7, 19 lines modified
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ····*·simd12 ····*·simd
13 Namespaces 
14 interface.hh·File·Reference13 simd.hh·File·Reference
 14 Include·file·for·users·of·the·SIMD·abstraction·layer.·More...
15 Common·»·Vectorization·»·Library_Developer's_Interface 
16 User·interface·of·the·SIMD·abstraction.·More... 
17 #include·<cassert> 
18 #include·<cstddef> 
19 #include·<type_traits> 
20 #include·<utility> 
21 #include·<dune/common/simd/base.hh>15 #include·<dune/common/simd/interface.hh>
22 #include·<dune/common/typelist.hh>16 #include·<dune/common/simd/standard.hh>
23 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
24 ·Namespaces 
25 namespace· Dune 
26  ··········Dune·namespace. 
27   
28 namespace· Dune::Simd 
29  ··········Namespace·for·vectorization·interface·functions·used·by·library 
30 ············developers. 
31   
32 *****·Basic·interface·***** 
33 template<class·V·> 
34 ················using Dune::Simd::Scalar·=·typename·Overloads::ScalarType< 
35 ·······················std::decay_t<·V·>·>::type 
36  ·····················Element·type·of·some·SIMD·type. 
37   
38 template<class·S·,·class·V·> 
39 ················using Dune::Simd::Rebind·=·typename·Overloads::RebindType< 
40 ·······················std::decay_t<·S·>,·std::decay_t<·V·>·>::type 
41  ·····················Construct·SIMD·type·with·different·scalar·type. 
42   
43 template<class·V·> 
44 constexpr·std::size_t Dune::Simd::lanes·() 
45  ·····················Number·of·lanes·in·a·SIMD·type. 
46   
47 template<class·V·> 
48 ·······decltype(auto) Dune::Simd::lane·(std::size_t·l,·V·&&v) 
49  ·····················Extract·an·element·of·a·SIMD·type. 
50   
51 template<class·V·,·class·U·> 
52 ··········constexpr·V Dune::Simd::implCast·(U·&&u) 
53  ·····················Cast·an·expression·from·one·implementation·to·another. 
54   
55 template<class·V·,·class·S·> 
56 ··········constexpr·V Dune::Simd::broadcast·(S·s) 
57  ·····················Broadcast·a·scalar·to·a·vector·explicitly. 
58   
59 template<class·M·,·class·V·> 
60 ····················V Dune::Simd::cond·(M·&&mask,·const·V·&ifTrue,·const·V 
61 ·······················&ifFalse) 
62  ·····················Like·the·?:·operator. 
63   
64 template<class·V·> 
65 ····················V Dune::Simd::cond·(bool·mask,·const·V·&ifTrue,·const·V 
66 ·······················&ifFalse) 
67  ·····················Like·the·?:·operator. 
68   
69 template<class·V·> 
70 ·················auto Dune::Simd::max·(const·V·&v1,·const·V·&v2) 
71  ·····················The·binary·maximum·value·over·two·simd·objects. 
72   
73 template<class·V·> 
74 ·················auto Dune::Simd::min·(const·V·&v1,·const·V·&v2) 
75  ·····················The·binary·minimum·value·over·two·simd·objects. 
76   
77 template<class·Mask·> 
78 ·················bool Dune::Simd::anyTrue·(const·Mask·&mask) 
79  ·····················Whether·any·entry·is·true 
80   
81 template<class·Mask·> 
82 ·················bool Dune::Simd::allTrue·(const·Mask·&mask) 
83  ·····················Whether·all·entries·are·true 
84   
85 template<class·Mask·> 
86 ·················bool Dune::Simd::anyFalse·(const·Mask·&mask) 
87  ·····················Whether·any·entry·is·false 
88   
89 template<class·Mask·> 
90 ·················bool Dune::Simd::allFalse·(const·Mask·&mask) 
91  ·····················Whether·all·entries·are·false 
92   
93 template<class·V·> 
94 ··········Scalar<·V·> Dune::Simd::max·(const·V·&v) 
95  ·····················The·horizontal·maximum·value·over·all·lanes. 
96   
97 template<class·V·> 
98 ··········Scalar<·V·> Dune::Simd::min·(const·V·&v) 
99  ·····················The·horizontal·minimum·value·over·all·lanes. 
100   
101 template<class·V·> 
102 ·················auto Dune::Simd::mask·(const·V·&v) 
103  ·····················Convert·to·mask,·analogue·of·bool(s)·for·scalars. 
104   
105 template<class·V1·,·class·V2·> 
106 ·················auto Dune::Simd::maskOr·(const·V1·&v1,·const·V2·&v2) 
107  ·····················Logic·or·of·masks. 
108   
109 template<class·V1·,·class·V2·> 
110 ·················auto Dune::Simd::maskAnd·(const·V1·&v1,·const·V2·&v2) 
111  ·····················Logic·and·of·masks. 
112   
113 *****·Syntactic·Sugar·***** 
114 Templates·and·functions·in·this·group·provide·syntactic·sugar,·they·are 
115 implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not 
116 customizable·by·implementations. 
117 template<class·V·> 
118 ······using Dune::Simd::Mask·=·Rebind<·bool,·V·> 
119  ···········Mask·type·type·of·some·SIMD·type. 
120   
121 template<class·V·> 
122 std::size_t Dune::Simd::lanes·(const·V·&) 
123  ···········Number·of·lanes·in·a·SIMD·type. 
124   
125 *****·Detailed·Description·*****18 *****·Detailed·Description·*****
 19 Include·file·for·users·of·the·SIMD·abstraction·layer.
 20 Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types··do·not·include
 21 the·internal·headers·directly.
126 User·interface·of·the·SIMD·abstraction. 
127 This·file·provides·the·user·interface·functions·of·the·SIMD·abstraction·layer. 
128 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include 
Max diff block lines reached; 116/4829 bytes (2.40%) of diff not shown.
50.5 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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 74, 252 lines modifiedOffset 74, 28 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">simd/interface.hh</div></div>80 ··<div·class="headertitle"><div·class="title">simd/simd.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <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>84 <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>
85 <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>85 <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>
86 <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>86 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>88 <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>
89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>89 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00203.html">dune/common/simd/standard.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>90 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/simd/base.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/typelist.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
96 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
98 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
99 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>Simd·{</div> 
100 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
101 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div> 
102 <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> 
103 <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> 
104 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div> 
105 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>·</div> 
106 <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> 
107 <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> 
108 <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> 
109 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>·</div> 
110 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>·</div> 
111 <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>·</div> 
112 <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> 
113 <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> 
114 <div·class="line"><a·id="l00290"·name="l00290"></a><span·class="lineno">··290</span>·</div> 
115 <div·class="line"><a·id="l00292"·name="l00292"></a><span·class="lineno">··292</span>·</div> 
116 <div·class="line"><a·id="l00298"·name="l00298"></a><span·class="lineno">··298</span>·</div> 
117 <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> 
118 <div·class="foldopen"·id="foldopen00305"·data-start="{"·data-end="}"> 
119 <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> 
120 <div·class="line"><a·id="l00306"·name="l00306"></a><span·class="lineno">··306</span>····{</div> 
121 <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> 
122 <div·class="line"><a·id="l00308"·name="l00308"></a><span·class="lineno">··308</span>····}</div> 
123 </div> 
124 <div·class="line"><a·id="l00309"·name="l00309"></a><span·class="lineno">··309</span>·</div> 
125 <div·class="line"><a·id="l00311"·name="l00311"></a><span·class="lineno">··311</span>·</div> 
126 <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> 
127 <div·class="foldopen"·id="foldopen00324"·data-start="{"·data-end="}"> 
128 <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> 
129 <div·class="line"><a·id="l00325"·name="l00325"></a><span·class="lineno">··325</span>····{</div> 
130 <div·class="line"><a·id="l00326"·name="l00326"></a><span·class="lineno">··326</span>······assert(l·&lt;·lanes&lt;V&gt;());</div> 
131 <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> 
132 <div·class="line"><a·id="l00328"·name="l00328"></a><span·class="lineno">··328</span>····}</div> 
133 </div> 
134 <div·class="line"><a·id="l00329"·name="l00329"></a><span·class="lineno">··329</span>·</div> 
135 <div·class="line"><a·id="l00331"·name="l00331"></a><span·class="lineno">··331</span>·</div> 
136 <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> 
137 <div·class="foldopen"·id="foldopen00345"·data-start="{"·data-end="}"> 
138 <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> 
139 <div·class="line"><a·id="l00346"·name="l00346"></a><span·class="lineno">··346</span>····{</div> 
140 <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> 
141 <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> 
142 <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> 
143 <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> 
144 <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> 
145 <div·class="line"><a·id="l00352"·name="l00352"></a><span·class="lineno">··352</span>······················std::forward&lt;U&gt;(u));</div> 
146 <div·class="line"><a·id="l00353"·name="l00353"></a><span·class="lineno">··353</span>····}</div> 
147 </div> 
148 <div·class="line"><a·id="l00354"·name="l00354"></a><span·class="lineno">··354</span>·</div> 
149 <div·class="line"><a·id="l00356"·name="l00356"></a><span·class="lineno">··356</span>·</div> 
150 <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> 
151 <div·class="foldopen"·id="foldopen00366"·data-start="{"·data-end="}"> 
152 <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> 
153 <div·class="line"><a·id="l00367"·name="l00367"></a><span·class="lineno">··367</span>····{</div> 
154 <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> 
155 <div·class="line"><a·id="l00369"·name="l00369"></a><span·class="lineno">··369</span>·······················std::move(s));</div> 
156 <div·class="line"><a·id="l00370"·name="l00370"></a><span·class="lineno">··370</span>····}</div> 
157 </div> 
158 <div·class="line"><a·id="l00371"·name="l00371"></a><span·class="lineno">··371</span>·</div> 
159 <div·class="line"><a·id="l00373"·name="l00373"></a><span·class="lineno">··373</span>·</div> 
160 <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> 
161 <div·class="foldopen"·id="foldopen00386"·data-start="{"·data-end="}"> 
162 <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> 
163 <div·class="line"><a·id="l00387"·name="l00387"></a><span·class="lineno">··387</span>····{</div> 
164 <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> 
165 <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> 
166 <div·class="line"><a·id="l00390"·name="l00390"></a><span·class="lineno">··390</span>····}</div> 
167 </div> 
168 <div·class="line"><a·id="l00391"·name="l00391"></a><span·class="lineno">··391</span>·</div> 
169 <div·class="line"><a·id="l00393"·name="l00393"></a><span·class="lineno">··393</span>·</div> 
170 <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> 
171 <div·class="foldopen"·id="foldopen00399"·data-start="{"·data-end="}"> 
172 <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> 
173 <div·class="line"><a·id="l00400"·name="l00400"></a><span·class="lineno">··400</span>····{</div> 
174 <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> 
175 <div·class="line"><a·id="l00402"·name="l00402"></a><span·class="lineno">··402</span>····}</div> 
176 </div> 
177 <div·class="line"><a·id="l00403"·name="l00403"></a><span·class="lineno">··403</span>·</div> 
178 <div·class="line"><a·id="l00405"·name="l00405"></a><span·class="lineno">··405</span>·</div> 
179 <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> 
180 <div·class="foldopen"·id="foldopen00409"·data-start="{"·data-end="}"> 
181 <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> 
182 <div·class="line"><a·id="l00410"·name="l00410"></a><span·class="lineno">··410</span>····{</div> 
183 <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> 
Max diff block lines reached; 271/44183 bytes (0.61%) of diff not shown.
7.24 KB
html2text {}
    
Offset 8, 277 lines modifiedOffset 8, 26 lines modified
  
8 Loading...8 Loading...
9 Searching...9 Searching...
10 No·Matches10 No·Matches
11 ····*·dune11 ····*·dune
12 ····*·common12 ····*·common
13 ····*·simd13 ····*·simd
14 simd/interface.hh14 simd/simd.hh
15 Go_to_the_documentation_of_this_file.15 Go_to_the_documentation_of_this_file.
16 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·3#ifndef·DUNE_COMMON_SIMD_INTERFACE_HH19 ·3#ifndef·DUNE_COMMON_SIMD_SIMD_HH
20 ·4#define·DUNE_COMMON_SIMD_INTERFACE_HH20 ·4#define·DUNE_COMMON_SIMD_SIMD_HH
21 ·521 ·5
22 ·17#include·<cassert> 
23 ·18#include·<cstddef> 
24 ·19#include·<type_traits> 
25 ·20#include·<utility> 
26 ·21 
27 ·22#include·<dune/common/simd/base.hh>22 ·13#include·<dune/common/simd/interface.hh>
28 ·23#include·<dune/common/typelist.hh>23 ·14#include·<dune/common/simd/standard.hh>
29 ·24 
30 ·25namespace·Dune·{ 
31 ·26 
32 ·29 
33 ·32·namespace·Simd·{ 
34 ·33 
35 ·223 
36 ·234·template<class·V> 
37 235·using·Scalar·=·typename·Overloads::ScalarType<std::decay_t<V>·>::type; 
38 ·236 
39 ·238 
40 ·251·template<class·S,·class·V> 
41 252·using·Rebind·= 
42 ·253·typename·Overloads::RebindType<std::decay_t<S>,·std::decay_t<V>>::type; 
43 ·254 
44 ·256 
45 ·267 
46 ·288·template<class·V> 
47 289·using·Mask·=·Rebind<bool,_V>; 
48 ·290 
49 ·292 
50 ·298 
51 ·304·template<class·V> 
52 305·constexpr·std::size_t·lanes() 
53 ·306·{ 
54 ·307·return·Overloads::LaneCount<std::decay_t<V>>::value; 
55 ·308·} 
56 ·309 
57 ·311 
58 ·323·template<class·V> 
59 324·decltype(auto)·lane(std::size_t·l,·V·&&v) 
60 ·325·{ 
61 ·326·assert(l·<·lanes<V>()); 
62 ·327·return·lane(Overloads::ADLTag<7>{},·l,·std::forward<V>(v)); 
63 ·328·} 
64 ·329 
65 ·331 
66 ·344·template<class·V,·class·U> 
67 345·constexpr·V·implCast(U·&&u) 
68 ·346·{ 
69 ·347·static_assert(std::is_same<Scalar<V>,·Scalar<U>·>::value, 
70 ·348·"Scalar·types·must·match·exactly·in·implCast"); 
71 ·349·static_assert(lanes<V>()·==·lanes<U>(), 
72 ·350·"Number·of·lanes·must·match·in·implCast"); 
73 ·351·return·implCast(Overloads::ADLTag<7>{},·MetaType<std::decay_t<V>·>{}, 
74 ·352·std::forward<U>(u)); 
75 ·353·} 
76 ·354 
77 ·356 
78 ·365·template<class·V,·class·S> 
79 366·constexpr·V·broadcast(S·s) 
80 ·367·{ 
81 ·368·return·broadcast(Overloads::ADLTag<7>{},·MetaType<std::decay_t<V>·>{}, 
82 ·369·std::move(s)); 
83 ·370·} 
84 ·371 
85 ·373 
86 ·385·template<class·M,·class·V> 
87 386·V·cond(M·&&mask,·const·V·&ifTrue,·const·V·&ifFalse) 
88 ·387·{ 
89 ·388·return·cond(Overloads::ADLTag<7>{}, 
90 ·389·implCast<Mask<V>·>(std::forward<M>(mask)),·ifTrue,·ifFalse); 
91 ·390·} 
92 ·391 
93 ·393 
94 ·398·template<class·V> 
95 399·V·cond(bool·mask,·const·V·&ifTrue,·const·V·&ifFalse) 
96 ·400·{ 
97 ·401·return·mask·?·ifTrue·:·ifFalse; 
98 ·402·} 
99 ·403 
100 ·405 
101 ·408·template<class·V> 
102 409·auto·max(const·V·&v1,·const·V·&v2) 
103 ·410·{ 
104 ·411·return·max(Overloads::ADLTag<7>{},·v1,·v2); 
105 ·412·} 
106 ·413 
107 ·41524 ·15
108 ·418·template<class·V> 
109 419·auto·min(const·V·&v1,·const·V·&v2) 
110 ·420·{ 
111 ·421·return·min(Overloads::ADLTag<7>{},·v1,·v2); 
112 ·422·} 
113 ·423 
114 ·425 
115 ·428·template<class·Mask> 
116 429·bool·anyTrue(const·Mask·&mask) 
117 ·430·{ 
118 ·431·return·anyTrue(Overloads::ADLTag<7>{},·mask); 
119 ·432·} 
120 ·433 
121 ·435 
122 ·438·template<class·Mask> 
123 439·bool·allTrue(const·Mask·&mask) 
124 ·440·{ 
125 ·441·return·allTrue(Overloads::ADLTag<7>{},·mask); 
126 ·442·} 
127 ·443 
128 ·445 
129 ·448·template<class·Mask> 
130 449·bool·anyFalse(const·Mask·&mask) 
131 ·450·{ 
132 ·451·return·anyFalse(Overloads::ADLTag<7>{},·mask); 
133 ·452·} 
Max diff block lines reached; 116/7393 bytes (1.57%) of diff not shown.
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a04451.html
    
Offset 82, 20 lines modifiedOffset 82, 20 lines modified
82 <div·class="contents">82 <div·class="contents">
  
83 <p>SIMD·abstractions·for·Vc.··83 <p>SIMD·abstractions·for·Vc.··
84 <a·href="#details">More...</a></p>84 <a·href="#details">More...</a></p>
85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>85 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
86 <code>#include·&lt;type_traits&gt;</code><br·/>86 <code>#include·&lt;type_traits&gt;</code><br·/>
87 <code>#include·&lt;utility&gt;</code><br·/>87 <code>#include·&lt;utility&gt;</code><br·/>
88 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/indices.hh</a>&gt;</code><br·/>88 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>89 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
90 <code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>90 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
91 <code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>91 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>
92 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>92 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
93 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/vc.hh</a>&gt;</code><br·/>93 <code>#include·&lt;<a·class="el"·href="a00200_source.html">dune/common/vc.hh</a>&gt;</code><br·/>
94 </div>94 </div>
95 <p><a·href="a04451_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a04451_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">96 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>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="a02740.html">Dune::Simd::VcImpl::IsMask&lt;·V,·SFINAE·&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="a02740.html">Dune::Simd::VcImpl::IsMask&lt;·V,·SFINAE·&gt;</a></td></tr>
100 <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>100 <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>
10.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a04451_source.html
    
Offset 86, 20 lines modifiedOffset 86, 20 lines modified
86 <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>86 <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>
87 <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>87 <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>
88 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>88 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
89 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>89 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/indices.hh</a>&gt;</span></div>93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00305.html">dune/common/indices.hh</a>&gt;</span></div>
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/simd/base.hh</a>&gt;</span></div>94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/simd/base.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00140.html">dune/common/simd/defaults.hh</a>&gt;</span>·<span·class="comment">//·for·anyFalse()</span></div>95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.html">dune/common/simd/defaults.hh</a>&gt;</span>·<span·class="comment">//·for·anyFalse()</span></div>
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00134.html">dune/common/simd/loop.hh</a>&gt;</span></div>96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00197.html">dune/common/simd/loop.hh</a>&gt;</span></div>
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div>97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/typetraits.hh</a>&gt;</span></div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00050.html">dune/common/vc.hh</a>&gt;</span></div>98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00200.html">dune/common/vc.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
100 <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>100 <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>
101 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··<span·class="keyword">namespace·</span>Simd·{</div>101 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··<span·class="keyword">namespace·</span>Simd·{</div>
102 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>102 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
103 <div·class="foldopen"·id="foldopen00155"·data-start="{"·data-end="}">103 <div·class="foldopen"·id="foldopen00155"·data-start="{"·data-end="}">
104 <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>104 <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>
105 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>105 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>
Offset 703, 20 lines modifiedOffset 703, 20 lines modified
703 <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>703 <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>
704 <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>704 <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>
705 </div>705 </div>
706 <div·class="line"><a·id="l00759"·name="l00759"></a><span·class="lineno">··759</span>·</div>706 <div·class="line"><a·id="l00759"·name="l00759"></a><span·class="lineno">··759</span>·</div>
707 <div·class="line"><a·id="l00760"·name="l00760"></a><span·class="lineno">··760</span>}·<span·class="comment">//·namespace·Dune</span></div>707 <div·class="line"><a·id="l00760"·name="l00760"></a><span·class="lineno">··760</span>}·<span·class="comment">//·namespace·Dune</span></div>
708 <div·class="line"><a·id="l00761"·name="l00761"></a><span·class="lineno">··761</span>·</div>708 <div·class="line"><a·id="l00761"·name="l00761"></a><span·class="lineno">··761</span>·</div>
709 <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>709 <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>
 710 <div·class="ttc"·id="aa00113_html"><div·class="ttname"><a·href="a00113.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
 711 <div·class="ttc"·id="aa00182_html"><div·class="ttname"><a·href="a00182.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div>
 712 <div·class="ttc"·id="aa00191_html"><div·class="ttname"><a·href="a00191.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div>
 713 <div·class="ttc"·id="aa00197_html"><div·class="ttname"><a·href="a00197.html">loop.hh</a></div></div>
710 <div·class="ttc"·id="aa00050_html"><div·class="ttname"><a·href="a00050.html">vc.hh</a></div><div·class="ttdoc">Compatibility·header·for·including·&lt;Vc/Vc&gt;</div></div>714 <div·class="ttc"·id="aa00200_html"><div·class="ttname"><a·href="a00200.html">vc.hh</a></div><div·class="ttdoc">Compatibility·header·for·including·&lt;Vc/Vc&gt;</div></div>
711 <div·class="ttc"·id="aa00077_html"><div·class="ttname"><a·href="a00077.html">indices.hh</a></div></div>715 <div·class="ttc"·id="aa00305_html"><div·class="ttname"><a·href="a00305.html">indices.hh</a></div></div>
712 <div·class="ttc"·id="aa00131_html"><div·class="ttname"><a·href="a00131.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div> 
713 <div·class="ttc"·id="aa00134_html"><div·class="ttname"><a·href="a00134.html">loop.hh</a></div></div> 
714 <div·class="ttc"·id="aa00140_html"><div·class="ttname"><a·href="a00140.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div> 
715 <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
716 <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>716 <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>
717 <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>717 <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>
718 <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>718 <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>
719 <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>719 <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>
720 <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>720 <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>
721 <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>721 <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>
722 <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>722 <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>
960 B
html2text {}
    
Offset 553, 24 lines modifiedOffset 553, 24 lines modified
553 ·756·template<class·V>553 ·756·template<class·V>
554 757·struct·AutonomousValueType<Simd::VcImpl::Proxy<V>·>·:554 757·struct·AutonomousValueType<Simd::VcImpl::Proxy<V>·>·:
555 ·758·AutonomousValueType<typename·Simd::VcImpl::Proxy<V>::value_type>·{};555 ·758·AutonomousValueType<typename·Simd::VcImpl::Proxy<V>::value_type>·{};
556 ·759556 ·759
557 ·760}·//·namespace·Dune557 ·760}·//·namespace·Dune
558 ·761558 ·761
559 ·762#endif·//·DUNE_COMMON_SIMD_VC_HH559 ·762#endif·//·DUNE_COMMON_SIMD_VC_HH
560 vc.hh 
561 Compatibility·header·for·including·<Vc/Vc> 
562 indices.hh560 typetraits.hh
 561 Traits·for·type·conversions·and·type·information.
 562 defaults.hh
 563 Default·implementations·for·SIMD·Implementations.
563 base.hh564 base.hh
564 Basic·definitions·for·SIMD·Implementations.565 Basic·definitions·for·SIMD·Implementations.
565 loop.hh566 loop.hh
 567 vc.hh
 568 Compatibility·header·for·including·<Vc/Vc>
 569 indices.hh
566 defaults.hh 
567 Default·implementations·for·SIMD·Implementations. 
568 typetraits.hh 
569 Traits·for·type·conversions·and·type·information. 
570 Dune::index_constant570 Dune::index_constant
571 std::integral_constant<·std::size_t,·i·>·index_constant571 std::integral_constant<·std::size_t,·i·>·index_constant
572 An·index·constant·with·value·i.572 An·index·constant·with·value·i.
573 Definition·indices.hh:30573 Definition·indices.hh:30
574 Dune::Simd::cond574 Dune::Simd::cond
575 V·cond(M·&&mask,·const·V·&ifTrue,·const·V·&ifFalse)575 V·cond(M·&&mask,·const·V·&ifTrue,·const·V·&ifFalse)
576 Like·the·?:·operator.576 Like·the·?:·operator.
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000001_000006.html
    
Offset 69, 14 lines modifiedOffset 69, 14 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="contents">74 <div·class="contents">
75 <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="a00152.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00131.html">base.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00152.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00140.html">default[·...·truncated·by·diffoscope;·len:·157,·SHA:·c59772d684dd1a16d462e3ef06ccd9884658080339a9d814dc4260300c5e801c·...·].html">simd/simd.hh</a></td></tr></table></div><!--·contents·-->75 <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="a00125.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00191.html">base.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00125.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00182.html">default[·...·truncated·by·diffoscope;·len:·157,·SHA:·b4436380649e2e16efbc9ea633282ea6040f68159167ae5e252e4dfb4e41a3a1·...·].html">simd/simd.hh</a></td></tr></table></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.878 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
79 </small></address>79 </small></address>
80 </body>80 </body>
81 </html>81 </html>
3.47 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000001_000007.html
    
Offset 69, 14 lines modifiedOffset 69, 14 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="contents">74 <div·class="contents">
75 <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="a00059.html">concept.hh</a></td><td·class="dirtab"><a·class="el"·href="a00206.html">type_traits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00110.html">matrixconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00206.html[·...·truncated·by·diffoscope;·len:·850,·SHA:·d35b5dfdbdf51e2a9a4dd7bb8fc7078584fd86cc55f1f7d046c213c4b6bbc78b·...·].html">type_traits.hh</a></td></tr></table></div><!--·contents·-->75 <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="a00104.html">concept.hh</a></td><td·class="dirtab"><a·class="el"·href="a00155.html">type_traits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00062.html">matrixconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00155.html[·...·truncated·by·diffoscope;·len:·850,·SHA:·75a1ce81bc4bc5bad9301cf3a0d4eaa8aec5239f75342b07a6770e00bbc9c6c6·...·].html">type_traits.hh</a></td></tr></table></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.878 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
79 </small></address>79 </small></address>
80 </body>80 </body>
81 </html>81 </html>
1.57 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000005_000007.html
    
Offset 69, 14 lines modifiedOffset 69, 14 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="contents">74 <div·class="contents">
75 <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="a00320.html">mpidata.hh</a></td><td·class="dirtab"><a·class="el"·href="a00206.html">type_traits.hh</a></td></tr></table></div><!--·contents·-->75 <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="a00341.html">mpidata.hh</a></td><td·class="dirtab"><a·class="el"·href="a00155.html">type_traits.hh</a></td></tr></table></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.878 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
79 </small></address>79 </small></address>
80 </body>80 </body>
81 </html>81 </html>
1.55 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000006_000007.html
    
Offset 69, 14 lines modifiedOffset 69, 14 lines modified
  
69 <div·id="nav-path"·class="navpath">69 <div·id="nav-path"·class="navpath">
70 ··<ul>70 ··<ul>
71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>71 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
72 </div>72 </div>
73 </div><!--·top·-->73 </div><!--·top·-->
74 <div·class="contents">74 <div·class="contents">
75 <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="a00125.html">test.hh</a></td><td·class="dirtab"><a·class="el"·href="a00206.html">type_traits.hh</a></td></tr></table></div><!--·contents·-->75 <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="a00206.html">test.hh</a></td><td·class="dirtab"><a·class="el"·href="a00155.html">type_traits.hh</a></td></tr></table></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.878 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
79 </small></address>79 </small></address>
80 </body>80 </body>
81 </html>81 </html>
7.96 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_031b42d4197edee9e5e65b556f323728.html
    
Offset 87, 38 lines modifiedOffset 87, 38 lines modified
87 <area·shape="rect"·href="dir_000006_000007.html"·title="1"·alt=""·coords="56,100,64,114"/>87 <area·shape="rect"·href="dir_000006_000007.html"·title="1"·alt=""·coords="56,100,64,114"/>
88 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,88,161"/>88 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,88,161"/>
89 </map>89 </map>
90 </div>90 </div>
91 <table·class="memberdecls">91 <table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
93 Files</h2></td></tr>93 Files</h2></td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00131_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00131.html">base.hh</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00191_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">base.hh</a></td></tr>
95 <tr·class="memdesc:a00131"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>95 <tr·class="memdesc:a00191"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<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"><a·href="a00140_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00140.html">defaults.hh</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00182_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html">defaults.hh</a></td></tr>
98 <tr·class="memdesc:a00140"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>98 <tr·class="memdesc:a00182"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<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"><a·href="a04448_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04448.html">interface.hh</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a04445_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">interface.hh</a></td></tr>
101 <tr·class="memdesc:a04448"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<br·/></td></tr>101 <tr·class="memdesc:a04445"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<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"><a·href="a00137_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00137.html">io.hh</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00185_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">io.hh</a></td></tr>
104 <tr·class="memdesc:a00137"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>104 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<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"><a·href="a00134_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html">loop.hh</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00197_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html">loop.hh</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"><a·href="a04442_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">simd.hh</a></td></tr>108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a04448_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04448.html">simd.hh</a></td></tr>
109 <tr·class="memdesc:a04442"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Include·file·for·users·of·the·SIMD·abstraction·layer.·<br·/></td></tr>109 <tr·class="memdesc:a04448"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Include·file·for·users·of·the·SIMD·abstraction·layer.·<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"><a·href="a00143_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">standard.hh</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00203_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00203.html">standard.hh</a></td></tr>
112 <tr·class="memdesc:a00143"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<br·/></td></tr>112 <tr·class="memdesc:a00203"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<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"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00128.html">test.cc</a></td></tr>114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00209.html">test.cc</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"><a·href="a00125_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html">test.hh</a></td></tr>116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00206_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html">test.hh</a></td></tr>
117 <tr·class="memdesc:a00125"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Common·tests·for·simd·abstraction·implementations.·<br·/></td></tr>117 <tr·class="memdesc:a00206"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Common·tests·for·simd·abstraction·implementations.·<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"><a·href="a04451_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04451.html">vc.hh</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a04451_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04451.html">vc.hh</a></td></tr>
120 <tr·class="memdesc:a04451"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·Vc.·<br·/></td></tr>120 <tr·class="memdesc:a04451"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·Vc.·<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 </table>122 </table>
123 </div><!--·contents·-->123 </div><!--·contents·-->
124 <!--·start·footer·part·-->124 <!--·start·footer·part·-->
4.18 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_ad3d78f7c720887942b5b35d91d0b390.html
    
Offset 84, 25 lines modifiedOffset 84, 25 lines modified
84 <area·shape="rect"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html"·title="std"·alt=""·coords="32,52,72,77"/>84 <area·shape="rect"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html"·title="std"·alt=""·coords="32,52,72,77"/>
85 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,88,88"/>85 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,88,88"/>
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:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00194_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00194.html">apply.hh</a></td></tr>91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00152_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html">apply.hh</a></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00197_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html">functional.hh</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00149_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00149.html">functional.hh</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"><a·href="a00209_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00209.html">make_array.hh</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00143_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">make_array.hh</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 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00206_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html">type_traits.hh</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00155_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">type_traits.hh</a></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"><a·href="a00203_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00203.html">utility.hh</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00146_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00146.html">utility.hh</a></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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"><a·href="a00200_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00200.html">variant.hh</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00140_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00140.html">variant.hh</a></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 </table>103 </table>
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.8107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
108 </small></address>108 </small></address>
17.2 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_ade7f944fd3a163752f5cc1af55c988a.html
    
Offset 93, 69 lines modifiedOffset 93, 69 lines modified
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="subdirs"·name="subdirs"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="subdirs"·name="subdirs"></a>
94 Directories</h2></td></tr>94 Directories</h2></td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html">benchmark</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html">benchmark</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"><a·href="a00323_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00323.html">collectivecommunication.hh</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00365_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">collectivecommunication.hh</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"><a·href="a00329_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">communication.hh</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00359_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">communication.hh</a></td></tr>
103 <tr·class="memdesc:a00329"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>103 <tr·class="memdesc:a00359"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<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"><a·href="a00365_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">communicator.hh</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00311_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00311.html">communicator.hh</a></td></tr>
106 <tr·class="memdesc:a00365"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>106 <tr·class="memdesc:a00311"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·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"><a·href="a00353_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.html">future.hh</a></td></tr>108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00344_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00344.html">future.hh</a></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"><a·href="a00356_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">indexset.hh</a></td></tr>110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00329_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">indexset.hh</a></td></tr>
111 <tr·class="memdesc:a00356"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>111 <tr·class="memdesc:a00329"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<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"><a·href="a00335_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">indicessyncer.hh</a></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00338_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">indicessyncer.hh</a></td></tr>
114 <tr·class="memdesc:a00335"><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>114 <tr·class="memdesc:a00338"><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>
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"><a·href="a04445_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">interface.hh</a></td></tr>116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a04442_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">interface.hh</a></td></tr>
117 <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>117 <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>
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"><a·href="a00326_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">localindex.hh</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00335_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">localindex.hh</a></td></tr>
120 <tr·class="memdesc:a00326"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<br·/></td></tr>120 <tr·class="memdesc:a00335"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<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"><a·href="a00332_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html">mpicollectivecommunication.hh</a></td></tr>122 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00317_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">mpicollectivecommunication.hh</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"><a·href="a00362_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">mpicommunication.hh</a></td></tr>124 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00332_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html">mpicommunication.hh</a></td></tr>
125 <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>125 <tr·class="memdesc:a00332"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·<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"><a·href="a00320_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">mpidata.hh</a></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00341_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">mpidata.hh</a></td></tr>
128 <tr·class="memdesc:a00320"><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>128 <tr·class="memdesc:a00341"><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>
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"><a·href="a00374_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00374.html">mpifuture.hh</a></td></tr>130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00350_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00350.html">mpifuture.hh</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"><a·href="a00371_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00371.html">mpiguard.hh</a></td></tr>132 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00326_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">mpiguard.hh</a></td></tr>
133 <tr·class="memdesc:a00371"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<br·/></td></tr>133 <tr·class="memdesc:a00326"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<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:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00347_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html">mpihelper.hh</a></td></tr>135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00347_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html">mpihelper.hh</a></td></tr>
136 <tr·class="memdesc:a00347"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>136 <tr·class="memdesc:a00347"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<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:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00359_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">mpipack.hh</a></td></tr>138 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00314_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html">mpipack.hh</a></td></tr>
139 <tr·class="memdesc:a00359"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>139 <tr·class="memdesc:a00314"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<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:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00341_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">mpitraits.hh</a></td></tr>141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00323_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00323.html">mpitraits.hh</a></td></tr>
142 <tr·class="memdesc:a00341"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>142 <tr·class="memdesc:a00323"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<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 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00338_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">plocalindex.hh</a></td></tr>144 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00320_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">plocalindex.hh</a></td></tr>
145 <tr·class="memdesc:a00338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>145 <tr·class="memdesc:a00320"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>
146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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"><a·href="a00377_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">remoteindices.hh</a></td></tr>147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00362_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">remoteindices.hh</a></td></tr>
148 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>148 <tr·class="memdesc:a00362"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<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>
150 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00344_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00344.html">selection.hh</a></td></tr>150 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00356_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">selection.hh</a></td></tr>
151 <tr·class="memdesc:a00344"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>151 <tr·class="memdesc:a00356"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>
152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00350_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00350.html">variablesizecommunicator.hh</a></td></tr>153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00353_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.html">variablesizecommunicator.hh</a></td></tr>
154 <tr·class="memdesc:a00350"><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>154 <tr·class="memdesc:a00353"><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>
155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
156 </table>156 </table>
157 </div><!--·contents·-->157 </div><!--·contents·-->
158 <!--·start·footer·part·-->158 <!--·start·footer·part·-->
159 <hr·class="footer"/><address·class="footer"><small>159 <hr·class="footer"/><address·class="footer"><small>
160 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8160 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
161 </small></address>161 </small></address>
76.8 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_e151556194dc695299293609645e9437.html
    
Offset 104, 271 lines modifiedOffset 104, 271 lines modified
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></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"><span·class="iconfclosed"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="iconfclosed"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</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 </table><table·class="memberdecls">108 </table><table·class="memberdecls">
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
110 Files</h2></td></tr>110 Files</h2></td></tr>
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00389_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00389.html">alignedallocator.hh</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00050_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.html">alignedallocator.hh</a></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"><a·href="a00074_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">arraylist.hh</a></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00299_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00299.html">arraylist.hh</a></td></tr>
114 <tr·class="memdesc:a00074"><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>114 <tr·class="memdesc:a00299"><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>
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"><a·href="a00164_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html">assertandreturn.hh</a></td></tr>116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00254_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00254.html">assertandreturn.hh</a></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:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00053_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">bartonnackmanifcheck.hh</a></td></tr>118 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00089_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">bartonnackmanifcheck.hh</a></td></tr>
119 <tr·class="memdesc:a00053"><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>119 <tr·class="memdesc:a00089"><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>
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 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00023_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">bigunsignedint.hh</a></td></tr>121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00092_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html">bigunsignedint.hh</a></td></tr>
122 <tr·class="memdesc:a00023"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.·<br·/></td></tr>122 <tr·class="memdesc:a00092"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.·<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>
124 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00155_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">binaryfunctions.hh</a></td></tr>124 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00032_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.html">binaryfunctions.hh</a></td></tr>
125 <tr·class="memdesc:a00155"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">helper·classes·to·provide·unique·types·for·standard·functions·<br·/></td></tr>125 <tr·class="memdesc:a00032"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">helper·classes·to·provide·unique·types·for·standard·functions·<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"><a·href="a00014_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">bitsetvector.hh</a></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00221_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html">bitsetvector.hh</a></td></tr>
128 <tr·class="memdesc:a00014"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·<br·/></td></tr>128 <tr·class="memdesc:a00221"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·<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"><a·href="a00191_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">boundschecking.hh</a></td></tr>130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">boundschecking.hh</a></td></tr>
131 <tr·class="memdesc:a00191"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Macro·for·wrapping·boundary·checks.·<br·/></td></tr>131 <tr·class="memdesc:a00080"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Macro·for·wrapping·boundary·checks.·<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"><a·href="a00233_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00233.html">classname.hh</a></td></tr>133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00296_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00296.html">classname.hh</a></td></tr>
134 <tr·class="memdesc:a00233"><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>134 <tr·class="memdesc:a00296"><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>
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"><a·href="a00059_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">concept.hh</a></td></tr>136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00104_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">concept.hh</a></td></tr>
137 <tr·class="memdesc:a00059"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Infrastructure·for·concepts.·<br·/></td></tr>137 <tr·class="memdesc:a00104"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Infrastructure·for·concepts.·<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"><a·href="a00317_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">conditional.hh</a></td></tr>139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00086_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">conditional.hh</a></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:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">debugalign.cc</a></td></tr>141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.html">debugalign.cc</a></td></tr>
142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>142 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00152_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html">debugalign.hh</a></td></tr>143 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00125_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html">debugalign.hh</a></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"><a·href="a00254_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00254.html">debugallocator.hh</a></td></tr>145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00290_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00290.html">debugallocator.hh</a></td></tr>
146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</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"><a·href="a00035_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">debugstream.hh</a></td></tr>147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00377_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">debugstream.hh</a></td></tr>
148 <tr·class="memdesc:a00035"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>148 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<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>
150 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00296_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00296.html">densematrix.hh</a></td></tr>150 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00074_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">densematrix.hh</a></td></tr>
151 <tr·class="memdesc:a00296"><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>151 <tr·class="memdesc:a00074"><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>
152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>152 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00392_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html">densevector.hh</a></td></tr>153 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00239_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00239.html">densevector.hh</a></td></tr>
154 <tr·class="memdesc:a00392"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>154 <tr·class="memdesc:a00239"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>
155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
156 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00044_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">deprecated.hh</a></td></tr>156 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00263_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html">deprecated.hh</a></td></tr>
157 <tr·class="memdesc:a00044"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·<br·/></td></tr>157 <tr·class="memdesc:a00263"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·<br·/></td></tr>
158 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>158 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00185_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">diagonalmatrix.hh</a></td></tr>159 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00260_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00260.html">diagonalmatrix.hh</a></td></tr>
160 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·<br·/></td></tr>160 <tr·class="memdesc:a00260"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·<br·/></td></tr>
161 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>161 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
162 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00101_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html">documentation.hh</a></td></tr>162 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00134_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html">documentation.hh</a></td></tr>
163 <tr·class="memdesc:a00101"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Documentation·related·stuff.·<br·/></td></tr>163 <tr·class="memdesc:a00134"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Documentation·related·stuff.·<br·/></td></tr>
164 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>164 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
165 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00032_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.html">dotproduct.hh</a></td></tr>165 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00128_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00128.html">dotproduct.hh</a></td></tr>
166 <tr·class="memdesc:a00032"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>.·<br·/></td></tr>166 <tr·class="memdesc:a00128"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>.·<br·/></td></tr>
167 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>167 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
168 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00188_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">dynmatrix.hh</a></td></tr>168 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00383_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00383.html">dynmatrix.hh</a></td></tr>
169 <tr·class="memdesc:a00188"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></td></tr>169 <tr·class="memdesc:a00383"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></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"><a·href="a00380_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00380.html">dynmatrixev.hh</a></td></tr>171 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00242_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00242.html">dynmatrixev.hh</a></td></tr>
172 <tr·class="memdesc:a00380"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">utility·functions·to·compute·eigenvalues·for·dense·matrices.·<br·/></td></tr>172 <tr·class="memdesc:a00242"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">utility·functions·to·compute·eigenvalues·for·dense·matrices.·<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"><a·href="a00179_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">dynvector.hh</a></td></tr>174 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00011_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">dynvector.hh</a></td></tr>
175 <tr·class="memdesc:a00179"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<br·/></td></tr>175 <tr·class="memdesc:a00011"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<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"><a·href="a00167_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00167.html">enumset.hh</a></td></tr>177 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00122_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">enumset.hh</a></td></tr>
178 <tr·class="memdesc:a00167"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·for·building·sets·out·of·enumeration·values.·<br·/></td></tr>178 <tr·class="memdesc:a00122"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·for·building·sets·out·of·enumeration·values.·<br·/></td></tr>
179 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>179 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
180 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html">exceptions.cc</a></td></tr>180 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">exceptions.cc</a></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"><a·href="a00221_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00221.html">exceptions.hh</a></td></tr>182 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00110_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">exceptions.hh</a></td></tr>
183 <tr·class="memdesc:a00221"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>183 <tr·class="memdesc:a00110"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<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"><a·href="a00041_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.html">filledarray.hh</a></td></tr>185 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00014_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">filledarray.hh</a></td></tr>
186 <tr·class="memdesc:a00041"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·to·generate·an·array·with·a·certain·value.·<br·/></td></tr>186 <tr·class="memdesc:a00014"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·to·generate·an·array·with·a·certain·value.·<br·/></td></tr>
187 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>187 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
188 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00308_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html">float_cmp.cc</a></td></tr>188 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00278_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00278.html">float_cmp.cc</a></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"><a·href="a00104_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">float_cmp.hh</a></td></tr>190 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">float_cmp.hh</a></td></tr>
191 <tr·class="memdesc:a00104"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Various·ways·to·compare·floating-point·numbers.·<br·/></td></tr>191 <tr·class="memdesc:a00026"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Various·ways·to·compare·floating-point·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"><a·href="a00224_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">fmatrix.hh</a></td></tr>193 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00170_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00170.html">fmatrix.hh</a></td></tr>
194 <tr·class="memdesc:a00224"><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>194 <tr·class="memdesc:a00170"><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>
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"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html">fmatrixev.cc</a></td></tr>196 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html">fmatrixev.cc</a></td></tr>
197 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>197 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
198 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00080_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">fmatrixev.hh</a></td></tr>198 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00287_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00287.html">fmatrixev.hh</a></td></tr>
199 <tr·class="memdesc:a00080"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Eigenvalue·computations·for·the·FieldMatrix·class.·<br·/></td></tr>199 <tr·class="memdesc:a00287"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Eigenvalue·computations·for·the·FieldMatrix·class.·<br·/></td></tr>
200 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>200 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
201 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00383_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00383.html">ftraits.hh</a></td></tr>201 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00179_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">ftraits.hh</a></td></tr>
202 <tr·class="memdesc:a00383"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·<br·/></td></tr>202 <tr·class="memdesc:a00179"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·<br·/></td></tr>
203 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>203 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
204 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00245_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00245.html">function.hh</a></td></tr>204 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00053_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">function.hh</a></td></tr>
205 <tr·class="memdesc:a00245"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>205 <tr·class="memdesc:a00053"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>
206 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>206 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
207 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00293_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00293.html">fvector.hh</a></td></tr>207 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00098_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">fvector.hh</a></td></tr>
208 <tr·class="memdesc:a00293"><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>208 <tr·class="memdesc:a00098"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·<br·/></td></tr>
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"><a·href="a00227_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">genericiterator.hh</a></td></tr>210 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00065_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">genericiterator.hh</a></td></tr>
211 <tr·class="memdesc:a00227"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·<br·/></td></tr>211 <tr·class="memdesc:a00065"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·<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"><a·href="a00257_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00257.html">gmpfield.hh</a></td></tr>213 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00107_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">gmpfield.hh</a></td></tr>
214 <tr·class="memdesc:a00257"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·for·the·GNU·multiprecision·(GMP)·library.·<br·/></td></tr>214 <tr·class="memdesc:a00107"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·for·the·GNU·multiprecision·(GMP)·library.·<br·/></td></tr>
215 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>215 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
216 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00065_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">hash.hh</a></td></tr>216 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00215_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00215.html">hash.hh</a></td></tr>
217 <tr·class="memdesc:a00065"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Support·for·calculating·hash·values·of·objects.·<br·/></td></tr>217 <tr·class="memdesc:a00215"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Support·for·calculating·hash·values·of·objects.·<br·/></td></tr>
218 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>218 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
219 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00299_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00299.html">hybridutilities.hh</a></td></tr>219 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00293_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00293.html">hybridutilities.hh</a></td></tr>
220 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>220 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
221 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00026_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">indent.hh</a></td></tr>221 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00275_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00275.html">indent.hh</a></td></tr>
222 <tr·class="memdesc:a00026"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>222 <tr·class="memdesc:a00275"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>
223 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>223 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
224 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00077_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html">indices.hh</a></td></tr>224 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00305_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00305.html">indices.hh</a></td></tr>
225 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>225 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
226 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00281_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00281.html">interfaces.hh</a></td></tr>226 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00371_source.html"><span·class="icondoc"></span></a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00371.html">interfaces.hh</a></td></tr>
227 <tr·class="memdesc:a00281"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·interfaces·for·detection·of·specific·behavior.·<br·/></td></tr>227 <tr·class="memdesc:a00371"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·interfaces·for·detection·of·specific·behavior.·<br·/></td></tr>
228 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>228 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
229 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00149.html">ios_state.cc</a></td></tr>229 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><span·class="icondoc"></span>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">ios_state.cc</a></td></tr>
230 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>230 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 40040/78513 bytes (51.00%) of diff not shown.
148 KB
./usr/share/doc/libdune-common-doc/doxygen/dune-common.tag.gz
148 KB
dune-common.tag
148 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>a00389.html</filename>21 ····<filename>a00050.html</filename>
22 ····<includes·id="a00107"·name="mallocallocator.hh"·local="yes"·import="no"·module="no"·objc="no">mallocallocator.hh</includes>22 ····<includes·id="a00047"·name="mallocallocator.hh"·local="yes"·import="no"·module="no"·objc="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>a00074.html</filename>30 ····<filename>a00299.html</filename>
31 ····<includes·id="a00113"·name="iteratorfacades.hh"·local="yes"·import="no"·module="no"·objc="no">iteratorfacades.hh</includes>31 ····<includes·id="a00374"·name="iteratorfacades.hh"·local="yes"·import="no"·module="no"·objc="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>a00164.html</filename>40 ····<filename>a00254.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>a00053.html</filename>52 ····<filename>a00089.html</filename>
53 ····<includes·id="a00221"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>53 ····<includes·id="a00110"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="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>a00053.html</anchorfile>57 ······<anchorfile>a00089.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>a00053.html</anchorfile>64 ······<anchorfile>a00089.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>a00023.html</filename>72 ····<filename>a00092.html</filename>
73 ····<includes·id="a00221"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>73 ····<includes·id="a00110"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>
74 ····<includes·id="a00065"·name="hash.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/hash.hh</includes>74 ····<includes·id="a00215"·name="hash.hh"·local="no"·import="no"·module="no"·objc="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 ····<namespace>Dune</namespace>77 ····<namespace>Dune</namespace>
78 ····<namespace>std</namespace>78 ····<namespace>std</namespace>
79 ····<member·kind="define">79 ····<member·kind="define">
80 ······<type>#define</type>80 ······<type>#define</type>
81 ······<name>DUNE_BINOP</name>81 ······<name>DUNE_BINOP</name>
Offset 83, 177 lines modifiedOffset 83, 177 lines modified
83 ······<anchor>gaf87f343423f6514fb0bea86e67539446</anchor>83 ······<anchor>gaf87f343423f6514fb0bea86e67539446</anchor>
84 ······<arglist>(OP)</arglist>84 ······<arglist>(OP)</arglist>
85 ····</member>85 ····</member>
86 ··</compound>86 ··</compound>
87 ··<compound·kind="file">87 ··<compound·kind="file">
88 ····<name>binaryfunctions.hh</name>88 ····<name>binaryfunctions.hh</name>
89 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>89 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
90 ····<filename>a00155.html</filename>90 ····<filename>a00032.html</filename>
91 ····<class·kind="struct">Dune::Min</class>91 ····<class·kind="struct">Dune::Min</class>
92 ····<class·kind="struct">Dune::Max</class>92 ····<class·kind="struct">Dune::Max</class>
93 ····<namespace>Dune</namespace>93 ····<namespace>Dune</namespace>
94 ··</compound>94 ··</compound>
95 ··<compound·kind="file">95 ··<compound·kind="file">
96 ····<name>bitsetvector.hh</name>96 ····<name>bitsetvector.hh</name>
97 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>97 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
98 ····<filename>a00014.html</filename>98 ····<filename>a00221.html</filename>
99 ····<includes·id="a00191"·name="boundschecking.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/boundschecking.hh</includes>99 ····<includes·id="a00080"·name="boundschecking.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/boundschecking.hh</includes>
100 ····<includes·id="a00227"·name="genericiterator.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/genericiterator.hh</includes>100 ····<includes·id="a00065"·name="genericiterator.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/genericiterator.hh</includes>
101 ····<includes·id="a00221"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>101 ····<includes·id="a00110"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>
102 ····<class·kind="class">Dune::BitSetVectorConstReference</class>102 ····<class·kind="class">Dune::BitSetVectorConstReference</class>
103 ····<class·kind="class">Dune::BitSetVectorReference</class>103 ····<class·kind="class">Dune::BitSetVectorReference</class>
104 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>104 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
105 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>105 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
106 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>106 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
107 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>107 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
108 ····<class·kind="class">Dune::BitSetVector</class>108 ····<class·kind="class">Dune::BitSetVector</class>
109 ····<namespace>Dune</namespace>109 ····<namespace>Dune</namespace>
110 ··</compound>110 ··</compound>
111 ··<compound·kind="file">111 ··<compound·kind="file">
112 ····<name>boundschecking.hh</name>112 ····<name>boundschecking.hh</name>
113 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>113 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
114 ····<filename>a00191.html</filename>114 ····<filename>a00080.html</filename>
115 ····<includes·id="a00221"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>115 ····<includes·id="a00110"·name="exceptions.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/exceptions.hh</includes>
116 ····<member·kind="define">116 ····<member·kind="define">
117 ······<type>#define</type>117 ······<type>#define</type>
118 ······<name>DUNE_ASSERT_BOUNDS</name>118 ······<name>DUNE_ASSERT_BOUNDS</name>
119 ······<anchorfile>a00397.html</anchorfile>119 ······<anchorfile>a00397.html</anchorfile>
120 ······<anchor>ga75d4ba5883cb39e7ec7927891a12615e</anchor>120 ······<anchor>ga75d4ba5883cb39e7ec7927891a12615e</anchor>
121 ······<arglist>(cond)</arglist>121 ······<arglist>(cond)</arglist>
122 ····</member>122 ····</member>
123 ··</compound>123 ··</compound>
124 ··<compound·kind="file">124 ··<compound·kind="file">
125 ····<name>classname.hh</name>125 ····<name>classname.hh</name>
126 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>126 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
127 ····<filename>a00233.html</filename>127 ····<filename>a00296.html</filename>
128 ····<namespace>Dune</namespace>128 ····<namespace>Dune</namespace>
129 ··</compound>129 ··</compound>
130 ··<compound·kind="file">130 ··<compound·kind="file">
131 ····<name>concept.hh</name>131 ····<name>concept.hh</name>
132 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>132 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
133 ····<filename>a00059.html</filename>133 ····<filename>a00104.html</filename>
134 ····<includes·id="a00215"·name="typeutilities.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/typeutilities.hh</includes>134 ····<includes·id="a00212"·name="typeutilities.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/typeutilities.hh</includes>
135 ····<includes·id="a00302"·name="typelist.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/typelist.hh</includes>135 ····<includes·id="a00269"·name="typelist.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/typelist.hh</includes>
136 ····<includes·id="a00086"·name="tupleutility.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/tupleutility.hh</includes>136 ····<includes·id="a00389"·name="tupleutility.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/tupleutility.hh</includes>
137 ····<includes·id="a00206"·name="type_traits.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/std/type_traits.hh</includes>137 ····<includes·id="a00155"·name="type_traits.hh"·local="no"·import="no"·module="no"·objc="no">dune/common/std/type_traits.hh</includes>
138 ····<class·kind="struct">Dune::Concept::Refines</class>138 ····<class·kind="struct">Dune::Concept::Refines</class>
139 ····<namespace>Dune</namespace>139 ····<namespace>Dune</namespace>
140 ····<namespace>Dune::Concept</namespace>140 ····<namespace>Dune::Concept</namespace>
Max diff block lines reached; 142383/151117 bytes (94.22%) of diff not shown.
90.2 KB
./usr/share/doc/libdune-common-doc/doxygen/files.html
    
Offset 77, 147 lines modifiedOffset 77, 147 lines modified
77 <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>77 <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>
78 <tr·id="row_0_0_"·class="odd"><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>78 <tr·id="row_0_0_"·class="odd"><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>
79 <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>79 <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>
80 <tr·id="row_1_0_"·class="odd"><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>80 <tr·id="row_1_0_"·class="odd"><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>
81 <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>81 <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>
82 <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>82 <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>
83 <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="a00368.html"·target="_self">mpi_collective_benchmark.cc</a></td><td·class="desc"></td></tr>83 <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="a00368.html"·target="_self">mpi_collective_benchmark.cc</a></td><td·class="desc"></td></tr>
84 <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="a00323_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00323.html"·target="_self">collectivecommunication.hh</a></td><td·class="desc"></td></tr>84 <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="a00365_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00365.html"·target="_self">collectivecommunication.hh</a></td><td·class="desc"></td></tr>
85 <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="a00329_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00329.html"·target="_self">communication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs·</td></tr>85 <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="a00359_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00359.html"·target="_self">communication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs·</td></tr>
86 <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="a00365_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00365.html"·target="_self">communicator.hh</a></td><td·class="desc">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication·</td></tr>86 <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="a00311_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00311.html"·target="_self">communicator.hh</a></td><td·class="desc">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication·</td></tr>
87 <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="a00353_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00353.html"·target="_self">future.hh</a></td><td·class="desc"></td></tr>87 <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="a00344_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00344.html"·target="_self">future.hh</a></td><td·class="desc"></td></tr>
88 <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="a00356_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00356.html"·target="_self">indexset.hh</a></td><td·class="desc">Provides·a·map·between·global·and·local·indices·</td></tr>88 <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="a00329_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00329.html"·target="_self">indexset.hh</a></td><td·class="desc">Provides·a·map·between·global·and·local·indices·</td></tr>
89 <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="a00335_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00335.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>89 <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="a00338_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00338.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>
90 <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">interface.hh</a></td><td·class="desc">Provides·classes·for·building·the·communication·interface·between·remote·indices·</td></tr>90 <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">interface.hh</a></td><td·class="desc">Provides·classes·for·building·the·communication·interface·between·remote·indices·</td></tr>
91 <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="a00326_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00326.html"·target="_self">localindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·</td></tr>91 <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="a00335_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00335.html"·target="_self">localindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·</td></tr>
92 <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>92 <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="a00317_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00317.html"·target="_self">mpicollectivecommunication.hh</a></td><td·class="desc"></td></tr>
93 <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>93 <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="a00332_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00332.html"·target="_self">mpicommunication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods·</td></tr>
94 <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="a00320_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00320.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>94 <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="a00341_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00341.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>
95 <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="a00374_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00374.html"·target="_self">mpifuture.hh</a></td><td·class="desc"></td></tr>95 <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="a00350_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00350.html"·target="_self">mpifuture.hh</a></td><td·class="desc"></td></tr>
96 <tr·id="row_1_0_0_13_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00371_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00371.html"·target="_self">mpiguard.hh</a></td><td·class="desc">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process·</td></tr>96 <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="a00326_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00326.html"·target="_self">mpiguard.hh</a></td><td·class="desc">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process·</td></tr>
97 <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="a00347_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00347.html"·target="_self">mpihelper.hh</a></td><td·class="desc">Helpers·for·dealing·with·MPI·</td></tr>97 <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="a00347_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00347.html"·target="_self">mpihelper.hh</a></td><td·class="desc">Helpers·for·dealing·with·MPI·</td></tr>
98 <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="a00359_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00359.html"·target="_self">mpipack.hh</a></td><td·class="desc">See·MPI_Pack·</td></tr>98 <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="a00314_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00314.html"·target="_self">mpipack.hh</a></td><td·class="desc">See·MPI_Pack·</td></tr>
99 <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="a00341_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00341.html"·target="_self">mpitraits.hh</a></td><td·class="desc">Traits·classes·for·mapping·types·onto·MPI_Datatype·</td></tr>99 <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="a00323_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00323.html"·target="_self">mpitraits.hh</a></td><td·class="desc">Traits·classes·for·mapping·types·onto·MPI_Datatype·</td></tr>
100 <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="a00338_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00338.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>100 <tr·id="row_1_0_0_17_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00320_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00320.html"·target="_self">plocalindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing·</td></tr>
101 <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="a00377_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00377.html"·target="_self">remoteindices.hh</a></td><td·class="desc">Classes·describing·a·distributed·indexset·</td></tr>101 <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="a00362_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00362.html"·target="_self">remoteindices.hh</a></td><td·class="desc">Classes·describing·a·distributed·indexset·</td></tr>
102 <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="a00344_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00344.html"·target="_self">selection.hh</a></td><td·class="desc">Provides·classes·for·selecting·indices·based·on·attribute·flags·</td></tr>102 <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="a00356_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00356.html"·target="_self">selection.hh</a></td><td·class="desc">Provides·classes·for·selecting·indices·based·on·attribute·flags·</td></tr>
103 <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="a00350_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00350.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>103 <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="a00353_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00353.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>
104 <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>104 <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>
105 <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="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.html"·target="_self">base.hh</a></td><td·class="desc">Basic·definitions·for·SIMD·Implementations·</td></tr>105 <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="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.html"·target="_self">base.hh</a></td><td·class="desc">Basic·definitions·for·SIMD·Implementations·</td></tr>
106 <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="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.html"·target="_self">defaults.hh</a></td><td·class="desc">Default·implementations·for·SIMD·Implementations·</td></tr>106 <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="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.html"·target="_self">defaults.hh</a></td><td·class="desc">Default·implementations·for·SIMD·Implementations·</td></tr>
107 <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">interface.hh</a></td><td·class="desc">User·interface·of·the·SIMD·abstraction·</td></tr>107 <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">interface.hh</a></td><td·class="desc">User·interface·of·the·SIMD·abstraction·</td></tr>
108 <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="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.html"·target="_self">io.hh</a></td><td·class="desc">IO·interface·of·the·SIMD·abstraction·</td></tr>108 <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="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.html"·target="_self">io.hh</a></td><td·class="desc">IO·interface·of·the·SIMD·abstraction·</td></tr>
109 <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="a00134_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00134.html"·target="_self">loop.hh</a></td><td·class="desc"></td></tr>109 <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="a00197_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00197.html"·target="_self">loop.hh</a></td><td·class="desc"></td></tr>
110 <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.hh</a></td><td·class="desc">Include·file·for·users·of·the·SIMD·abstraction·layer·</td></tr>110 <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.hh</a></td><td·class="desc">Include·file·for·users·of·the·SIMD·abstraction·layer·</td></tr>
111 <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="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.html"·target="_self">standard.hh</a></td><td·class="desc">SIMD·abstractions·for·the·standard·built-in·types·</td></tr>111 <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="a00203_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00203.html"·target="_self">standard.hh</a></td><td·class="desc">SIMD·abstractions·for·the·standard·built-in·types·</td></tr>
112 <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="a00128.html"·target="_self">test.cc</a></td><td·class="desc"></td></tr>112 <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="a00209.html"·target="_self">test.cc</a></td><td·class="desc"></td></tr>
113 <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="a00125_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00125.html"·target="_self">test.hh</a></td><td·class="desc">Common·tests·for·simd·abstraction·implementations·</td></tr>113 <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="a00206_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00206.html"·target="_self">test.hh</a></td><td·class="desc">Common·tests·for·simd·abstraction·implementations·</td></tr>
114 <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">vc.hh</a></td><td·class="desc">SIMD·abstractions·for·Vc·</td></tr>114 <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">vc.hh</a></td><td·class="desc">SIMD·abstractions·for·Vc·</td></tr>
115 <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>115 <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>
116 <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="a00194_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00194.html"·target="_self">apply.hh</a></td><td·class="desc"></td></tr>116 <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="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.html"·target="_self">apply.hh</a></td><td·class="desc"></td></tr>
117 <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="a00197_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00197.html"·target="_self">functional.hh</a></td><td·class="desc"></td></tr>117 <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="a00149_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00149.html"·target="_self">functional.hh</a></td><td·class="desc"></td></tr>
118 <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="a00209_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00209.html"·target="_self">make_array.hh</a></td><td·class="desc"></td></tr>118 <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="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.html"·target="_self">make_array.hh</a></td><td·class="desc"></td></tr>
119 <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="a00206_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00206.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr>119 <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="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr>
120 <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="a00203_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00203.html"·target="_self">utility.hh</a></td><td·class="desc"></td></tr>120 <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="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.html"·target="_self">utility.hh</a></td><td·class="desc"></td></tr>
121 <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="a00200_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00200.html"·target="_self">variant.hh</a></td><td·class="desc"></td></tr>121 <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="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.html"·target="_self">variant.hh</a></td><td·class="desc"></td></tr>
122 <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="a00389_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00389.html"·target="_self">alignedallocator.hh</a></td><td·class="desc"></td></tr>122 <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="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.html"·target="_self">alignedallocator.hh</a></td><td·class="desc"></td></tr>
123 <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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.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>123 <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="a00299_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00299.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>
124 <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="a00164_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00164.html"·target="_self">assertandreturn.hh</a></td><td·class="desc"></td></tr>124 <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="a00254_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00254.html"·target="_self">assertandreturn.hh</a></td><td·class="desc"></td></tr>
125 <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="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.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>125 <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="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.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>
126 <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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">bigunsignedint.hh</a></td><td·class="desc">Portable·very·large·unsigned·integers·</td></tr>126 <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="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.html"·target="_self">bigunsignedint.hh</a></td><td·class="desc">Portable·very·large·unsigned·integers·</td></tr>
127 <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="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.html"·target="_self">binaryfunctions.hh</a></td><td·class="desc">Helper·classes·to·provide·unique·types·for·standard·functions·</td></tr>127 <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="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.html"·target="_self">binaryfunctions.hh</a></td><td·class="desc">Helper·classes·to·provide·unique·types·for·standard·functions·</td></tr>
128 <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="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.html"·target="_self">bitsetvector.hh</a></td><td·class="desc">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans·</td></tr>128 <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="a00221_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00221.html"·target="_self">bitsetvector.hh</a></td><td·class="desc">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans·</td></tr>
129 <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="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.html"·target="_self">boundschecking.hh</a></td><td·class="desc">Macro·for·wrapping·boundary·checks·</td></tr>129 <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>
130 <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="a00233_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00233.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>130 <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="a00296_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00296.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>
131 <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="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">concept.hh</a></td><td·class="desc">Infrastructure·for·concepts·</td></tr>131 <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="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.html"·target="_self">concept.hh</a></td><td·class="desc">Infrastructure·for·concepts·</td></tr>
132 <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="a00317_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00317.html"·target="_self">conditional.hh</a></td><td·class="desc"></td></tr>132 <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="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.html"·target="_self">conditional.hh</a></td><td·class="desc"></td></tr>
133 <tr·id="row_1_0_14_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00011.html"·target="_self">debugalign.cc</a></td><td·class="desc"></td></tr>133 <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="a00020.html"·target="_self">debugalign.cc</a></td><td·class="desc"></td></tr>
134 <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="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.html"·target="_self">debugalign.hh</a></td><td·class="desc"></td></tr>134 <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="a00125_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00125.html"·target="_self">debugalign.hh</a></td><td·class="desc"></td></tr>
135 <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="a00254_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00254.html"·target="_self">debugallocator.hh</a></td><td·class="desc"></td></tr>135 <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="a00290_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00290.html"·target="_self">debugallocator.hh</a></td><td·class="desc"></td></tr>
136 <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="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">debugstream.hh</a></td><td·class="desc">Defines·several·output·streams·for·messages·of·different·importance·</td></tr>136 <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>
137 <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="a00296_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00296.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>137 <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="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.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>
138 <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="a00392_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00392.html"·target="_self">densevector.hh</a></td><td·class="desc">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class·</td></tr>138 <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="a00239_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00239.html"·target="_self">densevector.hh</a></td><td·class="desc">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class·</td></tr>
139 <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="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.html"·target="_self">deprecated.hh</a></td><td·class="desc">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros·</td></tr>139 <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="a00263_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00263.html"·target="_self">deprecated.hh</a></td><td·class="desc">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros·</td></tr>
140 <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="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.html"·target="_self">diagonalmatrix.hh</a></td><td·class="desc">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size·</td></tr>140 <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="a00260_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00260.html"·target="_self">diagonalmatrix.hh</a></td><td·class="desc">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size·</td></tr>
141 <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="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.html"·target="_self">documentation.hh</a></td><td·class="desc">Documentation·related·stuff·</td></tr>141 <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="a00134_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00134.html"·target="_self">documentation.hh</a></td><td·class="desc">Documentation·related·stuff·</td></tr>
142 <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="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.html"·target="_self">dotproduct.hh</a></td><td·class="desc">Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>·</td></tr>142 <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="a00128_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00128.html"·target="_self">dotproduct.hh</a></td><td·class="desc">Provides·the·functions·dot(a,b)·:=·<picture><source·srcset="form_2_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/></picture>·and·dotT(a,b)·:=·<picture><source·srcset="form_3_dark.png"·media="(prefers-color-scheme:·dark)"/><img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/></picture>·</td></tr>
143 <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="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.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>143 <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="a00383_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00383.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>
144 <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="a00380_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00380.html"·target="_self">dynmatrixev.hh</a></td><td·class="desc">Utility·functions·to·compute·eigenvalues·for·dense·matrices·</td></tr>144 <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="a00242_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00242.html"·target="_self">dynmatrixev.hh</a></td><td·class="desc">Utility·functions·to·compute·eigenvalues·for·dense·matrices·</td></tr>
145 <tr·id="row_1_0_26_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00179_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00179.html"·target="_self">dynvector.hh</a></td><td·class="desc">This·file·implements·a·dense·vector·with·a·dynamic·size·</td></tr>145 <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="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.html"·target="_self">dynvector.hh</a></td><td·class="desc">This·file·implements·a·dense·vector·with·a·dynamic·size·</td></tr>
146 <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="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.html"·target="_self">enumset.hh</a></td><td·class="desc">Classes·for·building·sets·out·of·enumeration·values·</td></tr>146 <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="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.html"·target="_self">enumset.hh</a></td><td·class="desc">Classes·for·building·sets·out·of·enumeration·values·</td></tr>
147 <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="a00266.html"·target="_self">exceptions.cc</a></td><td·class="desc"></td></tr>147 <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="a00044.html"·target="_self">exceptions.cc</a></td><td·class="desc"></td></tr>
148 <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="a00221_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00221.html"·target="_self">exceptions.hh</a></td><td·class="desc">A·few·common·exception·classes·</td></tr>148 <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="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">exceptions.hh</a></td><td·class="desc">A·few·common·exception·classes·</td></tr>
149 <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="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.html"·target="_self">filledarray.hh</a></td><td·class="desc">Utility·to·generate·an·array·with·a·certain·value·</td></tr>149 <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="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.html"·target="_self">filledarray.hh</a></td><td·class="desc">Utility·to·generate·an·array·with·a·certain·value·</td></tr>
150 <tr·id="row_1_0_31_"·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">float_cmp.cc</a></td><td·class="desc"></td></tr>150 <tr·id="row_1_0_31_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00278_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00278.html"·target="_self">float_cmp.cc</a></td><td·class="desc"></td></tr>
151 <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="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.html"·target="_self">float_cmp.hh</a></td><td·class="desc">Various·ways·to·compare·floating-point·numbers·</td></tr>151 <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="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">float_cmp.hh</a></td><td·class="desc">Various·ways·to·compare·floating-point·numbers·</td></tr>
152 <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="a00224_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00224.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>152 <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="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.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>
153 <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="a00263.html"·target="_self">fmatrixev.cc</a></td><td·class="desc"></td></tr>153 <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="a00119.html"·target="_self">fmatrixev.cc</a></td><td·class="desc"></td></tr>
154 <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="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.html"·target="_self">fmatrixev.hh</a></td><td·class="desc">Eigenvalue·computations·for·the·FieldMatrix·class·</td></tr>154 <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="a00287_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00287.html"·target="_self">fmatrixev.hh</a></td><td·class="desc">Eigenvalue·computations·for·the·FieldMatrix·class·</td></tr>
155 <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="a00383_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00383.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>155 <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="a00179_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00179.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>
156 <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="a00245_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00245.html"·target="_self">function.hh</a></td><td·class="desc">Simple·base·class·templates·for·functions·</td></tr>156 <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="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">function.hh</a></td><td·class="desc">Simple·base·class·templates·for·functions·</td></tr>
157 <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="a00293_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00293.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>157 <tr·id="row_1_0_38_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.html"·target="_self">fvector.hh</a></td><td·class="desc">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size·</td></tr>
158 <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="a00227_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00227.html"·target="_self">genericiterator.hh</a></td><td·class="desc">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators·</td></tr>158 <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="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.html"·target="_self">genericiterator.hh</a></td><td·class="desc">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators·</td></tr>
159 <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="a00257_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00257.html"·target="_self">gmpfield.hh</a></td><td·class="desc">Wrapper·for·the·GNU·multiprecision·(GMP)·library·</td></tr>159 <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="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.html"·target="_self">gmpfield.hh</a></td><td·class="desc">Wrapper·for·the·GNU·multiprecision·(GMP)·library·</td></tr>
160 <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="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.html"·target="_self">hash.hh</a></td><td·class="desc">Support·for·calculating·hash·values·of·objects·</td></tr>160 <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="a00215_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00215.html"·target="_self">hash.hh</a></td><td·class="desc">Support·for·calculating·hash·values·of·objects·</td></tr>
161 <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="a00299_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00299.html"·target="_self">hybridutilities.hh</a></td><td·class="desc"></td></tr>161 <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="a00293_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00293.html"·target="_self">hybridutilities.hh</a></td><td·class="desc"></td></tr>
162 <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="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">indent.hh</a></td><td·class="desc">Utility·class·for·handling·nested·indentation·in·output·</td></tr>162 <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="a00275_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00275.html"·target="_self">indent.hh</a></td><td·class="desc">Utility·class·for·handling·nested·indentation·in·output·</td></tr>
163 <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="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.html"·target="_self">indices.hh</a></td><td·class="desc"></td></tr>163 <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="a00305_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00305.html"·target="_self">indices.hh</a></td><td·class="desc"></td></tr>
164 <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="a00281_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00281.html"·target="_self">interfaces.hh</a></td><td·class="desc">Provides·interfaces·for·detection·of·specific·behavior·</td></tr>164 <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="a00371_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00371.html"·target="_self">interfaces.hh</a></td><td·class="desc">Provides·interfaces·for·detection·of·specific·behavior·</td></tr>
165 <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="a00149.html"·target="_self">ios_state.cc</a></td><td·class="desc"></td></tr>165 <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="a00056.html"·target="_self">ios_state.cc</a></td><td·class="desc"></td></tr>
166 <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="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.html"·target="_self">ios_state.hh</a></td><td·class="desc">Utility·class·for·storing·and·resetting·stream·attributes·</td></tr>166 <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="a00302_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00302.html"·target="_self">ios_state.hh</a></td><td·class="desc">Utility·class·for·storing·and·resetting·stream·attributes·</td></tr>
167 <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="a00113_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00113.html"·target="_self">iteratorfacades.hh</a></td><td·class="desc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators·</td></tr>167 <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="a00374_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00374.html"·target="_self">iteratorfacades.hh</a></td><td·class="desc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators·</td></tr>
168 <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="a00260_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00260.html"·target="_self">iteratorrange.hh</a></td><td·class="desc"></td></tr>168 <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="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.html"·target="_self">iteratorrange.hh</a></td><td·class="desc"></td></tr>
169 <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="a00239_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00239.html"·target="_self">keywords.hh</a></td><td·class="desc">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available·</td></tr>169 <tr·id="row_1_0_50_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00308_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00308.html"·target="_self">keywords.hh</a></td><td·class="desc">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available·</td></tr>
170 <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="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.html"·target="_self">lru.hh</a></td><td·class="desc">LRU·Cache·Container,·using·an·STL·like·interface·</td></tr>170 <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="a00281_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00281.html"·target="_self">lru.hh</a></td><td·class="desc">LRU·Cache·Container,·using·an·STL·like·interface·</td></tr>
171 <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="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.html"·target="_self">mallocallocator.hh</a></td><td·class="desc">Allocators·that·use·malloc/free·</td></tr>171 <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="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.html"·target="_self">mallocallocator.hh</a></td><td·class="desc">Allocators·that·use·malloc/free·</td></tr>
172 <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="a00386_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00386.html"·target="_self">math.hh</a></td><td·class="desc">Some·useful·basic·math·stuff·</td></tr>172 <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="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.html"·target="_self">math.hh</a></td><td·class="desc">Some·useful·basic·math·stuff·</td></tr>
173 <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="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">matrixconcepts.hh</a></td><td·class="desc"></td></tr>173 <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="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">matrixconcepts.hh</a></td><td·class="desc"></td></tr>
174 <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="a00236_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00236.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>174 <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="a00248_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00248.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>
175 <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="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.html"·target="_self">overloadset.hh</a></td><td·class="desc"></td></tr>175 <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="a00230_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00230.html"·target="_self">overloadset.hh</a></td><td·class="desc"></td></tr>
176 <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="a00116_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00116.html"·target="_self">parameterizedobject.hh</a></td><td·class="desc"></td></tr>176 <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="a00251_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00251.html"·target="_self">parameterizedobject.hh</a></td><td·class="desc"></td></tr>
177 <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="a00272.html"·target="_self">parametertree.cc</a></td><td·class="desc"></td></tr>177 <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="a00041.html"·target="_self">parametertree.cc</a></td><td·class="desc"></td></tr>
178 <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="a00311_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00311.html"·target="_self">parametertree.hh</a></td><td·class="desc">A·hierarchical·structure·of·string·parameters·</td></tr>178 <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="a00266_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00266.html"·target="_self">parametertree.hh</a></td><td·class="desc">A·hierarchical·structure·of·string·parameters·</td></tr>
179 <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="a00230.html"·target="_self">parametertreeparser.cc</a></td><td·class="desc"></td></tr>179 <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="a00161.html"·target="_self">parametertreeparser.cc</a></td><td·class="desc"></td></tr>
180 <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="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.html"·target="_self">parametertreeparser.hh</a></td><td·class="desc">Various·parser·methods·to·get·data·into·a·ParameterTree·object·</td></tr>180 <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="a00245_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00245.html"·target="_self">parametertreeparser.hh</a></td><td·class="desc">Various·parser·methods·to·get·data·into·a·ParameterTree·object·</td></tr>
181 <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="a00158.html"·target="_self">path.cc</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>181 <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="a00392.html"·target="_self">path.cc</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>
182 <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="a00305_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00305.html"·target="_self">path.hh</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>182 <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="a00386_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00386.html"·target="_self">path.hh</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>
183 <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="a00314_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00314.html"·target="_self">poolallocator.hh</a></td><td·class="desc">An·stl-compliant·pool·allocator·</td></tr>183 <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="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">poolallocator.hh</a></td><td·class="desc">An·stl-compliant·pool·allocator·</td></tr>
184 <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="a00284_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00284.html"·target="_self">power.hh</a></td><td·class="desc">Various·implementations·of·the·power·function·for·run-time·and·static·arguments·</td></tr>184 <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="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">power.hh</a></td><td·class="desc">Various·implementations·of·the·power·function·for·run-time·and·static·arguments·</td></tr>
185 <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="a00275_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00275.html"·target="_self">precision.hh</a></td><td·class="desc">Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector·</td></tr>185 <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="a00227_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00227.html"·target="_self">precision.hh</a></td><td·class="desc">Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector·</td></tr>
186 <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="a00212_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00212.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>186 <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="a00257_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00257.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>
187 <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="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.html"·target="_self">propertymap.hh</a></td><td·class="desc"></td></tr>187 <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="a00236_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00236.html"·target="_self">propertymap.hh</a></td><td·class="desc"></td></tr>
188 <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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">proxymemberaccess.hh</a></td><td·class="desc">Infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</td></tr>188 <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="a00158_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00158.html"·target="_self">proxymemberaccess.hh</a></td><td·class="desc">Infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</td></tr>
189 <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="a00248_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00248.html"·target="_self">quadmath.hh</a></td><td·class="desc"></td></tr>189 <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="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.html"·target="_self">quadmath.hh</a></td><td·class="desc"></td></tr>
190 <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="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.html"·target="_self">rangeutilities.hh</a></td><td·class="desc">Utilities·for·reduction·like·operations·on·ranges·</td></tr>190 <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="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.html"·target="_self">rangeutilities.hh</a></td><td·class="desc">Utilities·for·reduction·like·operations·on·ranges·</td></tr>
191 <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="a00008_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00008.html"·target="_self">referencehelper.hh</a></td><td·class="desc"></td></tr>191 <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="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.html"·target="_self">referencehelper.hh</a></td><td·class="desc"></td></tr>
192 <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="a00269_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00269.html"·target="_self">reservedvector.hh</a></td><td·class="desc">An·stl-compliant·random-access·container·which·stores·everything·on·the·stack·</td></tr>192 <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="a00233_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00233.html"·target="_self">reservedvector.hh</a></td><td·class="desc">An·stl-compliant·random-access·container·which·stores·everything·on·the·stack·</td></tr>
193 <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="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.html"·target="_self">scalarmatrixview.hh</a></td><td·class="desc">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar·</td></tr>193 <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="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">scalarmatrixview.hh</a></td><td·class="desc">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar·</td></tr>
194 <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="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.html"·target="_self">scalarvectorview.hh</a></td><td·class="desc">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar·</td></tr>194 <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="a00218_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00218.html"·target="_self">scalarvectorview.hh</a></td><td·class="desc">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar·</td></tr>
195 <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="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.html"·target="_self">shared_ptr.hh</a></td><td·class="desc">This·file·implements·several·utilities·related·to·std::shared_ptr·</td></tr>195 <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="a00008_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00008.html"·target="_self">shared_ptr.hh</a></td><td·class="desc">This·file·implements·several·utilities·related·to·std::shared_ptr·</td></tr>
196 <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="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.html"·target="_self">simd.hh</a></td><td·class="desc">Abstractions·for·support·of·dedicated·SIMD·data·types·</td></tr>196 <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="a00194_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00194.html"·target="_self">simd.hh</a></td><td·class="desc">Abstractions·for·support·of·dedicated·SIMD·data·types·</td></tr>
197 <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="a00290_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00290.html"·target="_self">singleton.hh</a></td><td·class="desc">Useful·wrapper·for·creating·singletons·</td></tr>197 <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="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">singleton.hh</a></td><td·class="desc">Useful·wrapper·for·creating·singletons·</td></tr>
198 <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="a00287_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00287.html"·target="_self">sllist.hh</a></td><td·class="desc">Implements·a·singly·linked·list·together·with·the·necessary·iterators·</td></tr>198 <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="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.html"·target="_self">sllist.hh</a></td><td·class="desc">Implements·a·singly·linked·list·together·with·the·necessary·iterators·</td></tr>
199 <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="a00068.html"·target="_self">stdstreams.cc</a></td><td·class="desc"></td></tr>199 <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="a00137.html"·target="_self">stdstreams.cc</a></td><td·class="desc"></td></tr>
200 <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="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.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>200 <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="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.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>
201 <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="a00242.html"·target="_self">stdthread.cc</a></td><td·class="desc"></td></tr>201 <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="a00272.html"·target="_self">stdthread.cc</a></td><td·class="desc"></td></tr>
202 <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="a00278_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00278.html"·target="_self">stdthread.hh</a></td><td·class="desc"></td></tr>202 <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="a00071_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00071.html"·target="_self">stdthread.hh</a></td><td·class="desc"></td></tr>
203 <tr·id="row_1_0_84_"·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">streamoperators.hh</a></td><td·class="desc">Implementation·of·stream·operators·for·std::array·and·std::tuple·</td></tr>203 <tr·id="row_1_0_84_"·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">streamoperators.hh</a></td><td·class="desc">Implementation·of·stream·operators·for·std::array·and·std::tuple·</td></tr>
Max diff block lines reached; 304/92223 bytes (0.33%) of diff not shown.
16.3 KB
./usr/share/doc/libdune-common-doc/doxygen/globals.html
    
Offset 73, 92 lines modifiedOffset 73, 92 lines modified
  
73 <h3><a·id="index_a"·name="index_a"></a>-·a·-</h3><ul>73 <h3><a·id="index_a"·name="index_a"></a>-·a·-</h3><ul>
74 <li>all_methods&#160;:&#160;<a·class="el"·href="a00368.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>74 <li>all_methods&#160;:&#160;<a·class="el"·href="a00368.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>
75 </ul>75 </ul>
  
  
76 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>76 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>
77 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00053.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>77 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00089.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>
78 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00053.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>78 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00089.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>
79 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00269.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>79 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00233.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>
80 <li>communicate()&#160;:&#160;<a·class="el"·href="a00368.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>80 <li>communicate()&#160;:&#160;<a·class="el"·href="a00368.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>
81 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00362.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>81 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00332.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>
82 </ul>82 </ul>
  
  
83 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>83 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>
84 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00368.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>84 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00368.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>
85 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>85 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>
86 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>86 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>
87 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00278.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>87 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00071.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>
88 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00152.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>88 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00125.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>
89 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00152.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>89 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00125.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>
90 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>90 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>
91 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00386.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>91 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00101.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>
92 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00386.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>92 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00101.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>
93 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00065.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>93 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00215.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>
94 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>94 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>
95 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00263.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>95 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00119.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>
96 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00245.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>96 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00053.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>
97 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00239.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>97 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>
98 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00065.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>98 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00215.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>
99 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00065.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>99 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00215.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>
100 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>100 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>
101 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>101 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>
102 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00251.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>102 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00083.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>
103 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>103 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>
104 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>104 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>
105 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00134.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>105 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00197.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>
106 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00095.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>106 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00164.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>
107 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00125.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>107 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00206.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>
108 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00125.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>108 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00206.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>
109 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00125.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>109 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00206.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>
110 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00125.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>110 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00206.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>
111 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00125.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>111 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00206.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>
112 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00134.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>112 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00197.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>
113 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>113 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>
114 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00134.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>114 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00197.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>
115 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00134.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>115 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00197.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>
116 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>116 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>
117 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00134.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>117 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00197.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>
118 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00134.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>118 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00197.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>
119 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00134.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>119 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00197.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>
120 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00134.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>120 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00197.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>
121 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>121 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>
122 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>122 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>
123 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>123 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>
124 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>124 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>
125 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00125.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>125 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00206.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>
126 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00125.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>126 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00206.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>
127 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00125.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>127 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00206.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>
128 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>128 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>
129 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>129 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>
130 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>130 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>
131 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>131 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>
132 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00152.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>132 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00125.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>
133 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>133 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>
134 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00251.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>134 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00083.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>
135 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00251.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>135 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00083.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>
136 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00251.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>136 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00083.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>
137 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00251.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>137 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00083.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>
138 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00251.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>138 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00083.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>
139 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00251.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>139 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00083.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>
140 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00251.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>140 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00083.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>
141 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>141 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>
142 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00251.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>142 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00083.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>
143 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00251.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>143 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00083.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>
144 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00251.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>144 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00083.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>
145 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00251.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>145 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00083.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>
146 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00251.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>146 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00083.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>
147 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00251.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>147 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00083.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>
148 </ul>148 </ul>
  
  
149 <h3><a·id="index_f"·name="index_f"></a>-·f·-</h3><ul>149 <h3><a·id="index_f"·name="index_f"></a>-·f·-</h3><ul>
150 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00350.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>150 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00353.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>
151 </ul>151 </ul>
  
  
152 <h3><a·id="index_m"·name="index_m"></a>-·m·-</h3><ul>152 <h3><a·id="index_m"·name="index_m"></a>-·m·-</h3><ul>
153 <li>main()&#160;:&#160;<a·class="el"·href="a00368.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>153 <li>main()&#160;:&#160;<a·class="el"·href="a00368.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>
154 </ul>154 </ul>
  
15.8 KB
./usr/share/doc/libdune-common-doc/doxygen/globals_defs.html
    
Offset 68, 85 lines modifiedOffset 68, 85 lines modified
68 </div>68 </div>
69 </div>69 </div>
  
70 <div·class="contents">70 <div·class="contents">
71 <div·class="textblock">Here·is·a·list·of·all·macros·with·links·to·the·files·they·belong·to:</div>71 <div·class="textblock">Here·is·a·list·of·all·macros·with·links·to·the·files·they·belong·to:</div>
  
72 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>72 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>
73 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00053.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>73 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00089.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>
74 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00053.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>74 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00089.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>
75 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00269.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>75 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00233.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>
76 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00362.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>76 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00332.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>
77 </ul>77 </ul>
  
  
78 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>78 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>
79 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>79 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>
80 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>80 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>
81 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00278.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>81 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00071.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>
82 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00152.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>82 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00125.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>
83 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00152.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>83 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00125.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>
84 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>84 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>
85 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00386.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>85 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00101.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>
86 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00386.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>86 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00101.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>
87 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00065.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>87 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00215.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>
88 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00095.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>88 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00164.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>
89 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00263.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>89 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00119.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>
90 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00245.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>90 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00053.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>
91 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00239.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>91 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>
92 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00065.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>92 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00215.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>
93 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00065.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>93 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00215.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>
94 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00239.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>94 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>
95 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>95 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>
96 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00251.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>96 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00083.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>
97 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>97 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>
98 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>98 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>
99 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00134.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>99 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00197.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>
100 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00095.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>100 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00164.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>
101 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00125.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>101 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00206.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>
102 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00125.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>102 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00206.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>
103 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00125.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>103 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00206.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>
104 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00125.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>104 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00206.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>
105 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00125.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>105 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00206.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>
106 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00134.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>106 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00197.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>
107 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>107 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>
108 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00134.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>108 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00197.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>
109 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00134.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>109 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00197.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>
110 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>110 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>
111 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00134.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>111 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00197.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>
112 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00134.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>112 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00197.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>
113 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00134.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>113 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00197.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>
114 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00134.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>114 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00197.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>
115 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>115 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>
116 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>116 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>
117 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00134.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>117 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00197.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>
118 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00125.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>118 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00206.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>
119 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00125.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>119 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00206.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>
120 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00125.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>120 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00206.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>
121 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00125.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>121 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00206.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>
122 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>122 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>
123 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>123 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>
124 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>124 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>
125 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>125 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>
126 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00152.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>126 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00125.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>
127 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>127 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>
128 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00251.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>128 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00083.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>
129 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00251.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>129 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00083.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>
130 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00251.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>130 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00083.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>
131 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00251.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>131 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00083.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>
132 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00251.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>132 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00083.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>
133 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00251.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>133 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00083.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>
134 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00251.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>134 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00083.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>
135 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00251.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>135 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00083.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>
136 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00251.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>136 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00083.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>
137 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00251.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>137 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00083.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>
138 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00251.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>138 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00083.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>
139 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00251.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>139 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00083.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>
140 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00251.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>140 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00083.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>
141 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00251.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>141 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00083.html#a5b004009c0c7997b2330992534942c3b">version.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.8146 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
147 </small></address>147 </small></address>
148 </body>148 </body>
1.08 KB
./usr/share/doc/libdune-common-doc/doxygen/globals_vars.html
    
Offset 67, 15 lines modifiedOffset 67, 15 lines modified
67 </div>67 </div>
68 </div>68 </div>
69 </div>69 </div>
  
70 <div·class="contents">70 <div·class="contents">
71 <div·class="textblock">Here·is·a·list·of·all·variables·with·links·to·the·files·they·belong·to:</div><ul>71 <div·class="textblock">Here·is·a·list·of·all·variables·with·links·to·the·files·they·belong·to:</div><ul>
72 <li>all_methods&#160;:&#160;<a·class="el"·href="a00368.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>72 <li>all_methods&#160;:&#160;<a·class="el"·href="a00368.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>
73 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00350.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>73 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00353.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>
74 <li>options&#160;:&#160;<a·class="el"·href="a00368.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>74 <li>options&#160;:&#160;<a·class="el"·href="a00368.html#a27e2a51c9830747b1c6fd2825389fbae">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.879 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
80 </small></address>80 </small></address>
53.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00020_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00122_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 120 lines modifiedOffset 74, 190 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">tuplevector.hh</div></div>80 ··<div·class="headertitle"><div·class="title">enumset.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TUPLEVECTOR_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ENUMSET_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TUPLEVECTOR_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ENUMSET_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/indices.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
95 <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/std/type_traits.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
99 <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>92 <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>
100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>
101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>94 <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>
 95 <div·class="foldopen"·id="foldopen00026"·data-start="{"·data-end="};">
 96 <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>
103 <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>
104 <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> 
105 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};"> 
106 <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> 
107 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> 
108 <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="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>:</div>
 99 <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>
 100 <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>
109 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div>
110 <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> 
111 <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> 
112 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
113 <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> 
114 <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> 
115 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
116 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
117 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> 
118 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
119 <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> 
120 <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> 
121 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> 
122 <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> 
123 <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> 
124 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div> 
125 </div>102 </div>
126 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 104 <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>
127 <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}">105 <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};">
128 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a03024.html#af79a45a6b4d14f7db794298985da714e">···61</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a03024.html#af79a45a6b4d14f7db794298985da714e">TupleV[·...·truncated·by·diffoscope;·len:·11,·SHA:·c704b78c9d38142ec195f8b82ad15104636d26d64434b6755df90ecbdbef7db6·...·]</div>106 <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>
129 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{}</div>107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>
 108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div>
 109 <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>
 110 <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>
 111 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>
130 </div>112 </div>
131 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
132 <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>114 <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>
133 <div·class="foldopen"·id="foldopen00067"·data-start="{"·data-end="}">115 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};">
134 <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="ke[·...·truncated·by·diffoscope;·len:·214,·SHA:·5aac2ad2a89466f2fae6108b4e58e5d0864186bea4f0a24ef08acb215a619184·...·]></div>116 <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>
135 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>
136 <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>118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">public</span>:</div>
 119 <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>
 120 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 121 <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>
137 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div>122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··};</div>
138 </div>123 </div>
139 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
140 <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>125 <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>
141 <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}">126 <div·class="foldopen"·id="foldopen00079"·data-start="{"·data-end="};">
 127 <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>
142 <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> 
143 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> 
144 <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> 
145 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> 
146 </div> 
147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
148 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}"> 
149 <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> 
150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div>
151 <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>129 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>:</div>
 130 <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>
 131 <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>
152 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div>132 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··};</div>
153 </div>133 </div>
154 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div> 
155 </div> 
156 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
157 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
158 <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>
159 <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>135 <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>
 136 <div·class="foldopen"·id="foldopen00095"·data-start="{"·data-end="};">
 137 <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>
 138 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div>
 139 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div>
 140 <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>
 141 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
160 <div·class="foldopen"·id="foldopen00090"·data-start="{"·data-end="}">142 <div·class="foldopen"·id="foldopen00100"·data-start="{"·data-end="}">
161 <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#ae982edb[·...·truncated·by·diffoscope;·len:·63,·SHA:·22a07974cfa5a2c8ecf4786e471aa6578f859e89f89cd88929304bf8eea9ae8d·...·])</div>143 <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#a7c[·...·truncated·by·diffoscope;·len:·178,·SHA:·89a38239615356db37c494c23369a1ec45a072f9c02ff14204811d77de6d04de·...·])</div>
162 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div>144 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div>
Max diff block lines reached; 5266/46715 bytes (11.27%) of diff not shown.
7.71 KB
html2text {}
    
Offset 7, 126 lines modifiedOffset 7, 206 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 tuplevector.hh12 enumset.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_TUPLEVECTOR_HH 
20 ·6#define·DUNE_COMMON_TUPLEVECTOR_HH19 ·5#ifndef·DUNE_ENUMSET_HH
 20 ·6#define·DUNE_ENUMSET_HH
21 ·721 ·7
22 ·8#include·<tuple>22 ·8#include·<iostream>
 23 ·9
23 ·9#include·<utility> 
24 ·10 
25 ·11#include·<dune/common/indices.hh> 
26 ·12#include·<dune/common/typetraits.hh> 
27 ·13#include·<dune/common/std/type_traits.hh> 
28 ·14 
29 ·15 
30 ·16 
31 ·23namespace·Dune24 ·10namespace·Dune
32 ·24{ 
33 ·25 
34 ·2625 ·11{
 26 ·25·template<typename·TA>
 27 26·class·EmptySet
35 ·2728 ·27·{
 29 ·28·public:
 30 32·typedef·TA·Type;
 31 ·36·static·bool·contains(const·Type&·attribute);
 32 ·37·};
 33 ·38
 34 ·42·template<typename·TA>
 35 43·class·AllSet
36 ·33template<class...·T> 
37 34class·TupleVector·:·public·std::tuple<T...> 
38 ·35{ 
39 ·36·using·Base·=·std::tuple<T...>; 
40 ·37 
41 ·38·template<class...·TT> 
42 ·39·using·TupleConstructorDetector·=·decltype(Base(std::declval<TT&&>()...)); 
43 ·40 
44 ·41·template<class...·TT> 
45 ·42·using·hasTupleConstructor·=·Dune::Std:: 
46 is_detected<TupleConstructorDetector,·TT...>; 
47 ·43 
48 ·4436 ·44·{
49 ·45public:37 ·45·public:
 38 49·typedef·TA·Type;
 39 ·53·static·bool·contains(const·Type&·attribute);
 40 ·54·};
 41 ·55
 42 ·59·template<typename·TA,·int·item>
 43 60·class·EnumItem
50 ·46 
51 ·53·template<class...·TT, 
52 ·54·std::enable_if_t<hasTupleConstructor<TT...>::value,·int>·=·0> 
53 55·constexpr·TupleVector(TT&&...·tt)·: 
54 ·56·Base(std::forward<TT>(tt)...) 
55 ·57·{} 
56 ·58 
57 61·constexpr·TupleVector() 
58 ·62·{} 
59 ·63 
60 ·66·template<std::size_t·i> 
61 67·constexpr·decltype(auto)·operator[](const·Dune::index_constant<i>&)·const 
62 ·68·{44 ·61·{
 45 ·62·public:
 46 66·typedef·TA·Type;
 47 ·67
 48 ·72·static·bool·contains(const·Type&·attribute);
 49 ·73·};
 50 ·74
 51 ·78·template<typename·TA,int·from,·int·end>
 52 79·class·EnumRange·//:·public·PODSet<EnumRange<T,from,end>,T>
63 ·69·return·std::get<i>(*this); 
64 ·70·} 
65 ·71 
66 ·74·template<std::size_t·i> 
67 75·decltype(auto)·operator[](const·Dune::index_constant<i>&) 
68 ·76·{ 
69 ·77·return·std::get<i>(*this); 
70 ·78·} 
71 ·79 
72 81·static·constexpr·std::size_t·size() 
73 ·82·{53 ·80·{
 54 ·81·public:
 55 85·typedef·TA·Type;
 56 ·86·static·bool·contains(const·Type&·item);
 57 ·87·};
74 ·83·return·std::tuple_size<Base>::value; 
75 ·84·} 
76 ·85}; 
77 ·86 
78 ·87 
79 ·8858 ·88
 59 ·94·template<typename·S>
 60 95·class·NegateSet
80 ·89template<class...·T> 
81 90constexpr·auto·makeTupleVector(T&&...·t) 
82 ·91{ 
83 ·92·//·The·std::decay_t<T>·is·is·a·slight·simplification, 
84 ·93·//·because·std::reference_wrapper·needs·special·care. 
85 ·94·return·TupleVector<std::decay_t<T>...>(std::forward<T>(t)...); 
86 ·95} 
87 ·9661 ·96·{
88 ·97 
89 ·98 
90 ·99}·//·namespace·Dune62 ·97·public:
 63 98·typedef·typename·S::Type·Type;
 64 ·99
 65 100·static·bool·contains(const·Type&·item)
 66 ·101·{
 67 ·102·return·!S::contains(item);
 68 ·103·}
 69 ·104·};
91 ·10070 ·105
92 ·101#endif·//·DUNE_COMMON_TUPLEVECTOR_HH 
93 indices.hh 
Max diff block lines reached; 1765/7876 bytes (22.41%) of diff not shown.
13.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00041_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00149_source.html
Files 4% 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 52 lines modifiedOffset 70, 54 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">filledarray.hh</div></div>80 ··<div·class="headertitle"><div·class="title">functional.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <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>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <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>
 88 <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>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
88 <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>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
89 <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> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 92 <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>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keyword">namespace·</span>Std</div>
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··{</div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 98 <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>
94 <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> 
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> 
96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>99 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">using·</span>std::identity;</div>
97 <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>100 <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>
98 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="}">101 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="};">
 102 <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>
99 <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> 
100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div> 
101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····std::array&lt;T,·n&gt;·arr{};</div> 
102 <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> 
103 <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>103 <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>
 104 <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>
104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······el·=·t;</div>105 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····};</div>
105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·arr;</div> 
106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div> 
107 </div>106 </div>
 107 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>
 108 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·namespace·Std</span></div>
108 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>109 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
109 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>}·<span·class="comment">//·end·namespace·Dune</span></div>110 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·namespace·Dune</span></div>
110 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>111 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
111 <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>112 <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>
112 <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> 
113 <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>113 <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>
 114 <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>
 115 <div·class="ttc"·id="aa02864_html_a01171400202cf7f1039454c787ed1e7a"><div·class="ttname"><a·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">Dune::Std::identity::operator()</a></div><div·class="ttdeci">constexpr·T·&amp;&amp;·operator()(T·&amp;&amp;t)·const·noexcept</div><div·class="ttdef"><b>Definition</b>·functional.hh:27</div></div>
114 </div><!--·fragment·--></div><!--·contents·-->116 </div><!--·fragment·--></div><!--·contents·-->
115 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
118 </small></address>120 </small></address>
119 </body>121 </body>
120 </html>122 </html>
2.11 KB
html2text {}
    
Offset 7, 47 lines modifiedOffset 7, 51 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 filledarray.hh12 ····*·std
 13 functional.hh
13 Go_to_the_documentation_of_this_file.14 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-15 ·1//·-*-·tab-width:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:16 ·2//·vi:·set·ts=8·sw=2·et·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file17 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root18 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception19 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5 
20 ·6#ifndef·DUNE_COMMON_FILLED_ARRAY_HH 
21 ·7#define·DUNE_COMMON_FILLED_ARRAY_HH 
22 ·8 
23 ·13#include·<array> 
24 ·14#include·<cstddef>20 ·5#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH
 21 ·6#define·DUNE_COMMON_STD_FUNCTIONAL_HH
 22 ·7
 23 ·8#include·<functional>
 24 ·9
 25 ·10namespace·Dune
 26 ·11{
 27 ·12
 28 ·13·namespace·Std
 29 ·14·{
25 ·1530 ·15
 31 ·22#if·DUNE_HAVE_CXX_STD_IDENTITY
 32 ·23·using·std::identity;
 33 ·24#else·//DUNE_HAVE_CXX_STD_IDENTITY
 34 25·struct·identity·{
 35 ·26·template<class·T>
 36 27·constexpr·T&&·operator()(T&&·t·)·const·noexcept·{return·std::forward<T>(t);}
 37 ·28·};
 38 ·29#endif
 39 ·30·}·//·namespace·Std
 40 ·31
26 ·16namespace·Dune 
27 ·17{ 
28 ·24 
29 ·32·template<std::size_t·n,·class·T> 
30 33·constexpr·std::array<T,·n>·filledArray(const·T&·t) 
31 ·34·{ 
32 ·35·std::array<T,·n>·arr{}; 
33 ·36·//·this·is·constexpr·in·c++17,·`arr.fill(t)`·is·not 
34 ·37·for(auto·&el·:·arr) 
35 ·38·el·=·t; 
36 ·39·return·arr; 
37 ·40·} 
38 ·41 
39 ·44}·//·end·namespace·Dune41 ·32}·//·namespace·Dune
 42 ·33
 43 ·34#endif·//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH
40 ·45 
41 ·46#endif·//·DUNE_COMMON_FILLED_ARRAY_HH 
42 Dune::filledArray 
43 constexpr·std::array<·T,·n·>·filledArray(const·T·&t) 
44 Return·an·array·filled·with·the·provided·value. 
45 Definition·filledarray.hh:33 
46 Dune44 Dune
47 Dune·namespace.45 Dune·namespace.
48 Definition·alignedallocator.hh:1346 Definition·alignedallocator.hh:13
 47 Dune::Std::identity
 48 A·function·object·type·whose·operator()·returns·its·argument·unchanged.
 49 Definition·functional.hh:25
 50 Dune::Std::identity::operator()
 51 constexpr·T·&&·operator()(T·&&t)·const·noexcept
 52 Definition·functional.hh:27
  
49 ===============================================================================53 ===============================================================================
50 ·····Generated·by [doxygen]·1.9.854 ·····Generated·by [doxygen]·1.9.8
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a00044_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00263_source.html
Files 0% similar despite different names
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>77 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
78 </div>78 </div>
79 </div><!--·top·-->79 </div><!--·top·-->
80 <div·class="header">80 <div·class="header">
81 ··<div·class="headertitle"><div·class="title">deprecated.hh</div></div>81 ··<div·class="headertitle"><div·class="title">deprecated.hh</div></div>
82 </div><!--header-->82 </div><!--header-->
83 <div·class="contents">83 <div·class="contents">
84 <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>84 <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>
85 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>85 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
86 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>86 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
87 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>87 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
88 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEPRECATED_HH</span></div>88 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEPRECATED_HH</span></div>
89 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEPRECATED_HH</span></div>89 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEPRECATED_HH</span></div>
90 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>90 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
91 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>91 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
20.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00056_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
Files 10% 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 72 lines modifiedOffset 74, 62 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">shared_ptr.hh</div></div>80 ··<div·class="headertitle"><div·class="title">singleton.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SINGLETON_HH</span></div>
 88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SINGLETON_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00164.html">dune/common/visibility.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_SHARED_PTR_HH</span></div> 
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_SHARED_PTR_HH</span></div> 
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div> 
94 <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>92 <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>
95 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>93 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
96 <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>94 <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>
97 <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};">95 <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};">
 96 <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>
98 <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> 
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"><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> 
101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</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>··<span·class="keyword">protected</span>:</div>
 99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">/*·@brief·Protected·constructor.·*/</span></div>
 100 <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>
 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">public</span>:</div>
 103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><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>
 105 <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>
 106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 107 <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}">
 108 <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="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·T&amp;·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>()</div>
 109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>
 110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·T·instance_;</div>
 111 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·instance_;</div>
 112 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
102 </div>113 </div>
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
104 <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> 
105 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}"> 
106 <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> 
107 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div> 
108 <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> 
109 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div>
110 </div>115 </div>
111 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>116 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 117 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div>
112 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
113 <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> 
114 <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}"> 
115 <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> 
116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> 
117 <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> 
118 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div> 
119 </div> 
120 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
121 <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> 
122 <div·class="foldopen"·id="foldopen00119"·data-start="{"·data-end="}"> 
123 <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> 
124 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div> 
125 <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> 
126 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div> 
127 </div> 
128 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
129 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>}</div> 
130 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="preprocessor">#endif</span></div>119 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">#endif</span></div>
131 <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>120 <div·class="ttc"·id="aa00164_html"><div·class="ttname"><a·href="a00164.html">visibility.hh</a></div><div·class="ttdoc">Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.</div></div>
 121 <div·class="ttc"·id="aa00164_html_a392e8fb5628732502467b715b88974b4"><div·class="ttname"><a·href="a00164.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a></div><div·class="ttdeci">#define·DUNE_EXPORT</div><div·class="ttdoc">Export·a·symbol·as·part·of·the·public·ABI.</div><div·class="ttdef"><b>Definition</b>·visibility.hh:20</div></div>
132 <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>122 <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>
133 <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> 
134 <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> 
135 <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> 
136 <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> 
137 <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_[·...·truncated·by·diffoscope;·len:·9,·SHA:·42da20c9923c153704a787d5d886426a5050518ee7e79867226345ff55961ea4·...·]</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·class="ttc"·id="aa02840_html_a4c8e8068dc0d09d23e86e320e9355cc8"><div·class="ttname"><a·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">Dune::Singleton::Singleton</a></div><div·class="ttdeci">Singleton()=default</div></div>
 125 <div·class="ttc"·id="aa02840_html_a57f3c57f7f9f0fcfc08550d94e15aaf1"><div·class="ttname"><a·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">Dune::Singleton::Singleton</a></div><div·class="ttdeci">Singleton(const·Singleton·&amp;)=delete</div></div>
 126 <div·class="ttc"·id="aa02840_html_aaa5a12878e6f4ca89127990e5197898f"><div·class="ttname"><a·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">Dune::Singleton::operator=</a></div><div·class="ttdeci">void·operator=(const·Singleton·&amp;)=delete</div></div>
 127 <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>
138 </div><!--·fragment·--></div><!--·contents·-->128 </div><!--·fragment·--></div><!--·contents·-->
139 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
140 <hr·class="footer"/><address·class="footer"><small>130 <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.8131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
142 </small></address>132 </small></address>
143 </body>133 </body>
144 </html>134 </html>
3.11 KB
html2text {}
    
Offset 7, 76 lines modifiedOffset 7, 68 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 shared_ptr.hh12 singleton.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_SINGLETON_HH
 20 ·6#define·DUNE_SINGLETON_HH
 21 ·7
19 ·5 
20 ·6#ifndef·DUNE_SHARED_PTR_HH 
21 ·7#define·DUNE_SHARED_PTR_HH 
22 ·8 
23 ·9#include·<memory> 
24 ·10 
25 ·11#include·<dune/common/typetraits.hh>22 ·8#include·<dune/common/visibility.hh>
 23 ·9
26 ·17namespace·Dune24 ·17namespace·Dune
27 ·18{25 ·18{
28 ·47·template<class·T>26 ·54·template<class·T>
29 48·struct·null_deleter 
30 ·49·{ 
31 50·void·operator()(T*)·const·{} 
32 ·51·}; 
33 ·52 
34 ·71·template<typename·T> 
35 72·inline·std::shared_ptr<T>·stackobject_to_shared_ptr(T·&·t)27 55·class·Singleton
 28 ·56·{
 29 ·57·protected:
 30 ·58·/*·@brief·Protected·constructor.·*/
 31 59·Singleton()·=·default;
 32 ·60
 33 ·61·public:
 34 ·62
 35 63·Singleton(const·Singleton&)·=·delete;
 36 64·void·operator=(const·Singleton&)·=·delete;
 37 ·65
 38 70·DUNE_EXPORT·static·T&·instance()
36 ·73·{39 ·71·{
37 ·74·return·std::shared_ptr<T>(&t,·null_deleter<T>());40 ·72·static·T·instance_;
 41 ·73·return·instance_;
 42 ·74·}
38 ·75·}43 ·75·};
39 ·7644 ·76
 45 ·77}·//·namespace·Dune
 46 ·78
 47 ·79#endif
 48 visibility.hh
 49 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.
 50 DUNE_EXPORT
 51 #define·DUNE_EXPORT
 52 Export·a·symbol·as·part·of·the·public·ABI.
 53 Definition·visibility.hh:20
40 ·77 
41 ·95·template<class·T> 
42 96·auto·wrap_or_move(T&&·t) 
43 ·97·{ 
44 ·98·return·std::make_shared<std::decay_t<T>>(std::forward<T>(t)); 
45 ·99·} 
46 ·100 
47 ·118·template<class·T> 
48 119·auto·wrap_or_move(T&·t) 
49 ·120·{ 
50 ·121·return·stackobject_to_shared_ptr(t); 
51 ·122·} 
52 ·123 
53 ·124} 
54 ·125#endif 
55 typetraits.hh 
56 Traits·for·type·conversions·and·type·information. 
57 Dune54 Dune
58 Dune·namespace.55 Dune·namespace.
59 Definition·alignedallocator.hh:1356 Definition·alignedallocator.hh:13
 57 Dune::Singleton
 58 An·adapter·to·turn·a·class·into·a·singleton.
 59 Definition·singleton.hh:56
 60 Dune::Singleton::Singleton
 61 Singleton()=default
 62 Dune::Singleton::Singleton
 63 Singleton(const·Singleton·&)=delete
 64 Dune::Singleton::operator=
 65 void·operator=(const·Singleton·&)=delete
 66 Dune::Singleton::instance
 67 static·DUNE_EXPORT·T·&·instance()
 68 Get·the·instance·of·the·singleton.
 69 Definition·singleton.hh:70
60 Dune::stackobject_to_shared_ptr 
61 std::shared_ptr<·T·>·stackobject_to_shared_ptr(T·&t) 
62 Create·a·shared_ptr·for·a·stack-allocated·object. 
63 Definition·shared_ptr.hh:72 
64 Dune::wrap_or_move 
65 auto·wrap_or_move(T·&&t) 
66 Capture·R-value·reference·to·shared_ptr. 
67 Definition·shared_ptr.hh:96 
68 Dune::null_deleter 
69 implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything 
70 Definition·shared_ptr.hh:49 
71 Dune::null_deleter::stackobject_to_shared_ptr 
72 std::shared_ptr<·T·>·stackobject_to_shared_ptr(T·&t) 
73 Create·a·shared_ptr·for·a·stack-allocated·object. 
74 Definition·shared_ptr.hh:72 
75 Dune::null_deleter::operator() 
76 void·operator()(T·*)·const 
77 Definition·shared_ptr.hh:50 
  
78 ===============================================================================70 ===============================================================================
79 ·····Generated·by [doxygen]·1.9.871 ·····Generated·by [doxygen]·1.9.8
23.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00119_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00128_source.html
Files 22% 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 55 lines modifiedOffset 74, 81 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">ios_state.hh</div></div>80 ··<div·class="headertitle"><div·class="title">dotproduct.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DOTPRODUCT_HH</span></div>
88 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DOTPRODUCT_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00179.html">ftraits.hh</a>&quot;</span></div>
 91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00113.html">typetraits.hh</a>&quot;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
92 <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>93 <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>
 94 <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>
 95 <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>
 96 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 97 <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>
93 <div·class="foldopen"·id="foldopen00033"·data-start="{"·data-end="};">98 <div·class="foldopen"·id="foldopen00030"·data-start="{"·data-end="};">
 99 <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>
94 <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> 
95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div> 
96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>:</div> 
97 <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> 
98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<a·class="code·hl_class"·href="a01872.html">ios_base_all_saver</a>(<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>&amp;·ios_);</div> 
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
101 <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> 
102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
103 <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> 
104 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
105 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">private</span>:</div> 
106 <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> 
107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····state_type::fmtflags·oldflags;</div> 
108 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::streamsize·oldprec;</div> 
109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····std::streamsize·oldwidth;</div>100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····:·std::true_type·{};</div>
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div> 
111 </div>101 </div>
112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</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>·A,·<span·class="keyword">class</span>·B&gt;</div>
 104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span></div>
 105 <div·class="foldopen"·id="foldopen00042"·data-start="{"·data-end="}">
 106 <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>
 107 <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>····<span·class="keywordflow">return</span>·conj(a)*b;</div>
113 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div>109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>
 110 </div>
 111 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 112 <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>
 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>·A,·<span·class="keyword">class</span>·B&gt;</div>
 114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">auto</span></div>
 115 <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>
 116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··{</div>
 117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordflow">return</span>·a*b;</div>
 118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··}</div>
 119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 120 <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>
 121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">auto</span></div>
 122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsVector&lt;A&gt;::value,·<span·class="keyword">decltype</span>(a.dot(b))&gt;::type</div>
114 <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>·a.dot(b);</div>
 125 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div>
 126 <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>
 127 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">auto</span></div>
 128 <div·class="foldopen"·id="foldopen00090"·data-start="{"·data-end="}">
 129 <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>
 130 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··{</div>
 131 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">return</span>·a*b;</div>
 132 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div>
 133 </div>
 134 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 135 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>}·<span·class="comment">//·end·namespace·DUNE</span></div>
 136 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
115 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_IOS_STATE_HH</span></div>137 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_DOTPRODUCT_HH</span></div>
116 <div·class="ttc"·id="aa00397_html_ga022177c21c172353d00b3d4658e75e33"><div·class="ttname"><a·href="a00397.html#ga022177c21c172353d00b3d4658e75e33">Dune::ios_base_all_saver::~ios_base_all_saver</a></div><div·class="ttdeci">~ios_base_all_saver()</div><div·class="ttdoc">Destructor·that·restores·the·flags·stored·by·the·constructor.</div><div·class="ttdef"><b>Definition</b>·ios_state.cc:24</div></div> 
117 <div·class="ttc"·id="aa00397_html_ga11e7a466cb1a43b36026a751364ae564"><div·class="ttname"><a·href="a00397.html#ga11e7a466cb1a43b36026a751364ae564">Dune::ios_base_all_saver::restore</a></div><div·class="ttdeci">void·restore()</div><div·class="ttdoc">Restore·flags·now.</div><div·class="ttdef"><b>Definition</b>·ios_state.cc:29</div></div> 
118 <div·class="ttc"·id="aa00397_html_gaab42b8e2cf5e10c794a7957e003edd76"><div·class="ttname"><a·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">Dune::ios_base_all_saver::state_type</a></div><div·class="ttdeci">std::ios_base·state_type</div><div·class="ttdoc">Export·type·of·obje[·...·truncated·by·diffoscope;·len:·83,·SHA:·3975d81fdf8f836e36afac6cadebf915d24f793c323aaabce270c7dbdd3e2295·...·]</div></div>138 <div·class="ttc"·id="aa00113_html"><div·class="ttname"><a·href="a00113.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
 139 <div·class="ttc"·id="aa00179_html"><div·class="ttname"><a·href="a00179.html">ftraits.hh</a></div><div·class="ttdoc">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)</div></div>
 140 <div·class="ttc"·id="aa00397_html_gaea6b9fa6ea152afd7372f5b0b6584947"><div·class="ttname"><a·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">Dune::dot</a></div><div·class="ttdeci">auto·dot(const·A·&amp;a,·const·B·&amp;b)·-&gt;·typename·std::enable_if&lt;·IsNumber&lt;·A·&gt;::value·&amp;&amp;!IsVector&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·FieldTraits&lt;·A·&gt;::field_type,·typename·FieldTraits&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</div><div·class="ttdoc">computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's·VectDot·function:·dot(a,...</div><div·class="ttdef"><b>Definition</b>·dotproduct.hh:42</div></div>
 141 <div·class="ttc"·id="aa00406_html_ga6a3de1d2dbd47536c4b007d3a3b108a2"><div·class="ttname"><a·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">Dune::void_t</a></div><div·class="ttdeci">typename·Impl::voider&lt;·Types...·&gt;::type·void_t</div><div·class="ttdoc">Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques.</div><div·class="ttdef"><b>Definition</b>·typetraits.hh:40</div></div>
 142 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
119 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition</b>·alignedallocator.hh:13</div></div>143 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition</b>·alignedallocator.hh:13</div></div>
120 <div·class="ttc"·id="aa01872_html"><div·class="ttname"><a·href="a01872.html">Dune::ios_base_all_saver</a></div><div·class="ttdoc">Utility·class·for·storing·and·resetting·stream·attributes.</div><div·class="ttdef"><b>Definition</b>·ios_state.hh:34</div></div>144 <div·class="ttc"·id="aa00425_html_aa2d28f67ec2d74f14ec3ce3f9c27c221"><div·class="ttname"><a·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">Dune::dotT</a></div><div·class="ttdeci">auto·dotT(const·A·&amp;a,·const·B·&amp;b)·-&gt;·decltype(a·*b)</div><div·class="ttdoc">Computes[·...·truncated·by·diffoscope;·len:·155,·SHA:·496c2d32df3f6f05ea0a0f78da7f7011cdfd496c07aa444379db1b1fa10a65e0·...·]</div></div>
 145 <div·class="ttc"·id="aa01492_html"><div·class="ttname"><a·href="a01492.html">Dune::IsVector</a></div><div·class="ttdef"><b>Definition</b>·dotproduct.hh:27</div></div>
 146 <div·class="ttc"·id="aa01740_html_ab1c1583160e1c47c4909273c82ae7a63"><div·class="ttname"><a·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">Dune::FieldTraits::real_type</a></div><div·class="ttdeci">T·real_type</div><div·class="ttdoc">export·the·type·representing·the·real·type·of·the·field</div><div·class="ttdef"><b>Definition</b>·ftraits.hh:30</div></div>
121 </div><!--·fragment·--></div><!--·contents·-->147 </div><!--·fragment·--></div><!--·contents·-->
122 <!--·start·footer·part·-->148 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>149 <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.8150 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8
125 </small></address>151 </small></address>
126 </body>152 </body>
127 </html>153 </html>
4.07 KB
html2text {}
    
Offset 7, 62 lines modifiedOffset 7, 100 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 ios_state.hh12 dotproduct.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_IOS_STATE_HH 
20 ·6#define·DUNE_COMMON_IOS_STATE_HH19 ·5#ifndef·DUNE_DOTPRODUCT_HH
 20 ·6#define·DUNE_DOTPRODUCT_HH
21 ·721 ·7
22 ·8#include·<ios> 
23 ·922 ·8#include·"ftraits.hh"
 23 ·9#include·"typetraits.hh"
 24 ·10
24 ·10namespace·Dune·{25 ·11namespace·Dune·{
25 33·class·ios_base_all_saver26 ·26·template<class·T,·class·=·void>
 27 27·struct·IsVector·:·std::false_type·{};
 28 ·28
 29 ·29·template<class·T>
 30 30·struct·IsVector<T,·std::void_t<typename·T::field_type>·>
 31 ·31·:·std::true_type·{};
 32 ·32
 33 ·40·template<class·A,·class·B>
 34 ·41·auto
 35 42·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value
 36 &&·!IsVector<A>::value·&&·!std::is_same<typename·FieldTraits<A>::
 37 field_type,typename·FieldTraits<A>::real_type>·::value,·decltype(conj(a)*b)>::
 38 type
26 ·34·{39 ·43·{
27 ·35·public: 
28 37·typedef·std::ios_base·state_type; 
29 ·38 
30 ·48·ios_base_all_saver(state_type&·ios_); 
31 ·49 
32 ·53·~ios_base_all_saver(); 
33 ·54 
34 ·61·void·restore();40 ·44·return·conj(a)*b;
 41 ·45·}
 42 ·46
 43 ·56·//·fundamental·type·with·A·being·a·real·type
 44 ·57·template<class·A,·class·B>
 45 ·58·auto
 46 ·59·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value
 47 &&·!IsVector<A>::value·&&·std::is_same<typename·FieldTraits<A>::
 48 field_type,typename·FieldTraits<A>::real_type>::value,·decltype(a*b)>::type
 49 ·60·{
 50 ·61·return·a*b;
35 ·6251 ·62·}
 52 ·63
 53 ·73·template<typename·A,·typename·B>
 54 ·74·auto
 55 ·75·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsVector<A>::
 56 value,·decltype(a.dot(b))>::type
36 ·63·private: 
37 ·65·state_type&·ios; 
38 ·67·state_type::fmtflags·oldflags; 
39 ·69·std::streamsize·oldprec; 
40 ·71·std::streamsize·oldwidth; 
41 ·72·}; 
42 ·73 
43 ·75} 
44 ·7657 ·76·{
45 ·77#endif·//·DUNE_COMMON_IOS_STATE_HH 
46 Dune::ios_base_all_saver::~ios_base_all_saver 
47 ~ios_base_all_saver() 
48 Destructor·that·restores·the·flags·stored·by·the·constructor. 
49 Definition·ios_state.cc:24 
50 Dune::ios_base_all_saver::restore 
51 void·restore() 
52 Restore·flags·now. 
53 Definition·ios_state.cc:29 
54 Dune::ios_base_all_saver::state_type 
55 std::ios_base·state_type 
56 Export·type·of·object·we·save·the·state·for. 
57 Definition·ios_state.hh:3758 ·77·return·a.dot(b);
 59 ·78·}
 60 ·88·template<class·A,·class·B>
 61 ·89·auto
 62 90·dotT(const·A·&·a,·const·B·&·b)·->·decltype(a*b)
 63 ·91·{
 64 ·92·return·a*b;
 65 ·93·}
 66 ·94
 67 ·96}·//·end·namespace·DUNE
 68 ·97
 69 ·98#endif·//·DUNE_DOTPRODUCT_HH
 70 typetraits.hh
 71 Traits·for·type·conversions·and·type·information.
 72 ftraits.hh
 73 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
 74 Dune::dot
 75 auto·dot(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber<·A·>::
 76 value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits<·A·>::
 77 field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype(conj(a)
 78 *b)>::type
 79 computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's
 80 VectDot·function:·dot(a,...
 81 Definition·dotproduct.hh:42
 82 Dune::void_t
 83 typename·Impl::voider<·Types...·>::type·void_t
 84 Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques.
 85 Definition·typetraits.hh:40
 86 std
 87 STL·namespace.
58 Dune88 Dune
59 Dune·namespace.89 Dune·namespace.
60 Definition·alignedallocator.hh:1390 Definition·alignedallocator.hh:13
61 Dune::ios_base_all_saver 
62 Utility·class·for·storing·and·resetting·stream·attributes. 
63 Definition·ios_state.hh:3491 Dune::dotT
 92 auto·dotT(const·A·&a,·const·B·&b)·->·decltype(a·*b)
 93 Computes·an·indefinite·vector·dot·product·for·fundamental·data·types·according
 94 to·Petsc's·VectTDot·fu...
 95 Definition·dotproduct.hh:90
 96 Dune::IsVector
 97 Definition·dotproduct.hh:27
 98 Dune::FieldTraits::real_type
 99 T·real_type
 100 export·the·type·representing·the·real·type·of·the·field
Max diff block lines reached; 116/4147 bytes (2.80%) of diff not shown.
43.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00137_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00242_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 70, 125 lines modifiedOffset 70, 127 lines modified
70 </div>70 </div>
71 </div>71 </div>
72 </div>72 </div>
73 </div>73 </div>
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">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>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">io.hh</div></div>80 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·[·...·truncated·by·diffoscope;·len:·25,·SHA:·d5cb57681f30d77fc3a23ea29bf82fd313f562855809b4bd0852127b0ec64f50·...·]</span></div>83 <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>
 84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
84 <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>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
85 <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>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>
86 <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>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
88 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
89 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
90 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
91 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00017.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
92 <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> 
93 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div>93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00383.html">dynmatrix.hh</a>&quot;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00287.html">fmatrixev.hh</a>&quot;</span></div>
94 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
95 <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>96 <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>
96 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>97 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
97 <div·class="foldopen"·id="foldopen00025"·data-start="{"·data-end="}">98 <div·class="foldopen"·id="foldopen00024"·data-start="{"·data-end="}">
98 <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>99 <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>
99 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>100 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 101 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>
 102 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>Dune::FMatrixHelp::eigenValuesNonsymLapackCall;</div>
100 <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> 
101 <div·class="foldopen"·id="foldopen00028"·data-start="{"·data-end="};"> 
102 <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> 
103 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······T·value_;</div>103 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div>
104 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>104 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 105 <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>
105 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div> 
106 <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> 
107 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
108 <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> 
109 <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> 
110 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>························································Stream&gt;::value&gt;·&gt;</div> 
111 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="};">106 <div·class="foldopen"·id="foldopen00039"·data-start="{"·data-end="}">
112 <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#aa6b65b59351d83c3fb4a8dc175e111[·...·truncated·by·diffoscope;·len:·143,·SHA:·36cffcb0b7366d89fc0075ed377ca1970c18fa9bdeaad1e558f889df80e16bbf·...·]</div>107 <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#a3a88[·...·truncated·by·diffoscope;·len:·170,·SHA:·3316b3310df78c56337f97d6f586fba87b28dd241be3df21ce9838413c38d549·...·]</div>
 108 <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;·eigenValues,</div>
 109 <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>
 110 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······)</div>
113 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······{</div>111 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div>
114 <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> 
115 <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"[·...·truncated·by·diffoscope;·len:·84,·SHA:·e465d5019944032558c980cb0b9c272de0b9052ff015fa18c73b08546cdd3165·...·]</div>112 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 113 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>
116 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········{</div>114 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······{</div>
117 <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#gaca5433c99a350b973623f94[·...·truncated·by·diffoscope;·len:·40,·SHA:·642dab225b778166aa84811e821f3651bfb07a15eb8cae75fb014687afcd22a0·...·]);</div>115 <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#a87d6a39a8a05460bf6c23bb792[·...·truncated·by·diffoscope;·len:·17,·SHA:·efd0be980c3c3a540d3d4f367f8df0497682820aa0a2a7d1b004fdfbf4d195c0·...·]);</div>
 116 <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>
 117 <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>
 118 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 119 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 120 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="comment">//·matrix·to·put·into·dgeev</span></div>
 121 <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>
 122 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 123 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="comment">//·copy·matrix</span></div>
118 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········sep·=·<span·class="stringliteral">&quot;,·&quot;</span>;</div>124 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordtype">int</span>·row·=·0;</div>
 125 <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>
 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="keywordflow">for</span>(<span·class="keywordtype">int</span>·j=0;·j&lt;N;·++j,·++row)</div>
 128 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········{</div>
 129 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>············matrixVector[·row·]·=·matrix[·i·][·j·];</div>
 130 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········}</div>
119 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</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>·</div>
120 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········out·&lt;&lt;·<span·class="charliteral">&#39;&gt;&#39;</span>;</div>133 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="comment">//·working·memory</span></div>
 134 <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>
 135 <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>
 136 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 137 <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>
 138 <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>
 139 <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>
 140 <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>········<span·class="comment">//·return·value·information</span></div>
 142 <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>
 143 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 144 <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>
 145 <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>
 146 <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>
 147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····································&amp;lwork,·&amp;info);</div>
 148 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
121 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">return</span>·out;</div>149 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>(·info·!=·0·)</div>
 150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{</div>
 151 <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>
 152 <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>
 153 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div>
 154 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 155 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········eigenValues.<a·class="code·hl_function"·href="a01512.html#a1dc5235fd9a477eb17112e4826753b48">resize</a>(N);</div>
 156 <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>
 157 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··········eigenValues[i]·=·std::complex&lt;double&gt;(eigenR[i],·eigenI[i]);</div>
 158 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 159 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">if</span>·(eigenVectors)·{</div>
 160 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········eigenVectors-&gt;<a·class="code·hl_function"·href="a01512.html#a1dc5235fd9a477eb17112e4826753b48">resize</a>(N);</div>
 161 <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>
 162 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>············<span·class="keyword">auto</span>&amp;·v·=·(*eigenVectors)[i];</div>
 163 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>············v.resize(N);</div>
 164 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>············std::copy(vr.get()·+·N*i,·vr.get()·+·N*(i+1),·&amp;v[0]);</div>
122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······}</div>165 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··········}</div>
 166 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········}</div>
Max diff block lines reached; 3879/37091 bytes (10.46%) of diff not shown.
7.07 KB
html2text {}
    
Offset 7, 137 lines modifiedOffset 7, 142 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
 12 dynmatrixev.hh
12 ····*·simd 
13 io.hh 
14 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
 14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
15 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
16 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
17 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 19 ·5#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH
 20 ·6#define·DUNE_DYNMATRIXEIGENVALUES_HH
 21 ·7
 22 ·8#include·<algorithm>
 23 ·9#include·<memory>
 24 ·10
 25 ·11#include·"dynmatrix.hh"
 26 ·12#include·"fmatrixev.hh"
 27 ·13
18 ·3#ifndef·DUNE_COMMON_SIMD_IO_HH 
19 ·4#define·DUNE_COMMON_SIMD_IO_HH 
20 ·5 
21 ·16#include·<ios> 
22 ·17#include·<type_traits> 
23 ·18 
24 ·19#include·<dune/common/rangeutilities.hh> 
25 ·20#include·<dune/common/simd/simd.hh> 
26 ·21#include·<dune/common/typetraits.hh> 
27 ·22 
28 ·23namespace·Dune·{28 ·22namespace·Dune·{
 29 ·23
 30 24·namespace·DynamicMatrixHelp·{
 31 ·25
 32 ·26#if·HAVE_LAPACK
 33 ·27·using·Dune::FMatrixHelp::eigenValuesNonsymLapackCall;
 34 ·28#endif
 35 ·29
 36 ·38·template·<typename·K,·class·C>
 37 39·static·void·eigenValuesNonSym(const·DynamicMatrix<K>&·matrix,
 38 ·40·DynamicVector<C>&·eigenValues,
 39 ·41·std::vector<DynamicVector<K>>*·eigenVectors·=·nullptr
 40 ·42·)
29 ·24 
30 25·namespace·SimdImpl·{ 
31 ·26 
32 ·27·template<class·T> 
33 28·class·Inserter·{ 
34 ·29·T·value_; 
35 ·30 
36 ·31·public: 
37 32·Inserter(const·T·&value)·:·value_(value)·{} 
38 ·33 
39 ·34·template<class·Stream, 
40 ·35·class·=·std::enable_if_t<std::is_base_of<std::ios_base, 
41 ·36·Stream>::value>·> 
42 37·friend·Stream&·operator<<(Stream·&out,·const·Inserter·&ins) 
43 ·38·{41 ·43·{
44 ·39·const·char·*sep·=·"<"; 
45 ·40·for(auto·l·:·range(Simd::lanes(ins.value_)))42 ·44
 43 ·45#if·HAVE_LAPACK
46 ·41·{44 ·46·{
 45 ·47·const·long·int·N·=·matrix.rows();
 46 ·48·const·char·jobvl·=·'n';
 47 ·49·const·char·jobvr·=·eigenVectors·?·'v'·:·'n';
 48 ·50
 49 ·51
 50 ·52·//·matrix·to·put·into·dgeev
 51 ·53·auto·matrixVector·=·std::make_unique<double[]>(N*N);
47 ·42·out·<<·sep·<<·autoCopy(Simd::lane(l,·ins.value_)); 
48 ·43·sep·=·",·"; 
49 ·44·} 
50 ·45·out·<<·'>'; 
51 ·46·return·out; 
52 ·47·} 
53 ·48·}; 
54 ·49 
55 ·50·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>·> 
56 51·Inserter<V>·io(const·V·&v) 
57 ·52·{ 
58 ·53·return·{·v·}; 
59 ·54·}52 ·54
60 ·55 
61 ·56·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>·> 
62 57·Simd::Scalar<V>·io(const·V·&v)53 ·55·//·copy·matrix
 54 ·56·int·row·=·0;
 55 ·57·for(int·i=0;·i<N;·++i)
63 ·58·{56 ·58·{
64 ·59·return·Simd::lane(0,·v);57 ·59·for(int·j=0;·j<N;·++j,·++row)
65 ·60·}58 ·60·{
66 ·6159 ·61·matrixVector[·row·]·=·matrix[·i·][·j·];
67 ·62·}60 ·62·}
68 ·63 
69 ·64·namespace·Simd·{ 
70 ·65 
71 ·82 
72 ·89·template<class·V> 
73 90·auto·vio(const·V·&v) 
74 ·91·{ 
75 ·92·return·SimdImpl::Inserter<V>{·v·}; 
76 ·93·}61 ·63·}
77 ·94 
78 ·96 
79 ·105·template<class·V> 
80 106·auto·io(const·V·&v) 
81 ·107·{ 
82 ·108·return·SimdImpl::io(v);62 ·64
 63 ·65·//·working·memory
 64 ·66·auto·eigenR·=·std::make_unique<double[]>(N);
 65 ·67·auto·eigenI·=·std::make_unique<double[]>(N);
 66 ·68
 67 ·69·const·long·int·lwork·=·eigenVectors·?·4*N·:·3*N;
 68 ·70·auto·work·=·std::make_unique<double[]>(lwork);
 69 ·71·auto·vr·=·eigenVectors·?·std::make_unique<double[]>(N*N)·:·std::
 70 unique_ptr<double[]>{};
 71 ·72
 72 ·73·//·return·value·information
 73 ·74·long·int·info·=·0;
 74 ·75
 75 ·76·//·call·LAPACK·routine·(see·fmatrixev_ext.cc)
 76 ·77·eigenValuesNonsymLapackCall(&jobvl,·&jobvr,·&N,·matrixVector.get(),·&N,
 77 ·78·eigenR.get(),·eigenI.get(),·nullptr,·&N,·vr.get(),·&N,·work.get(),
Max diff block lines reached; 1503/7219 bytes (20.82%) of diff not shown.
34.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00161_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00158_source.html
Files 20% 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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 109 lines modifiedOffset 74, 107 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">stringutility.hh</div></div>80 ··<div·class="headertitle"><div·class="title">proxymemberaccess.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STRINGUTILITY_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STRINGUTILITY_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
91 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div> 
92 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>90 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
93 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>91 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
94 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div>92 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
95 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>93 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
96 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>94 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
97 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>95 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">namespace·</span>Impl·{</div>
98 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>96 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 97 <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>
 98 <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>
99 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div> 
100 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
101 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
102 <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="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 100 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>member_access_proxy_holder</div>
103 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>101 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div>
 102 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 103 <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>
 104 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······member_access_proxy_holder(T&amp;&amp;·t)</div>
 105 <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>
 106 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······{}</div>
 107 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 108 <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>
 109 <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="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div>110 <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>
 111 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">······</span>{</div>
105 <div·class="foldopen"·id="foldopen00037"·data-start="{"·data-end="}"> 
106 <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> 
107 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····std::size_t·len·=·std::strlen(prefix);</div> 
108 <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>112 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keywordflow">return</span>·&amp;_t;</div>
 113 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······}</div>
 114 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 115 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······T·_t;</div>
109 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···········std::equal(prefix,·prefix+len,·c.begin());</div>116 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
110 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div>117 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····};</div>
111 </div> 
112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>118 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··}·<span·class="comment">//·end·Impl·namespace</span></div>
113 <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> 
114 <div·class="foldopen"·id="foldopen00053"·data-start="{"·data-end="}"> 
115 <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> 
116 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::size_t·len·=·std::strlen(suffix);</div> 
117 <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> 
118 <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> 
119 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····std::advance(it,·c.size()·-·len);</div> 
120 <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> 
121 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> 
122 </div> 
123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
124 <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> 
125 <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="}"> 
126 <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> 
127 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>120 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
128 <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>121 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
129 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">char</span>·buffer[bufferSize];</div>122 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
130 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>123 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
131 <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> 
132 <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>124 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 125 <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>
 126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··pointer_or_proxy_holder</div>
 127 <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>
133 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</span></div>
134 <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> 
135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">if</span>·(r&lt;0)</div> 
136 <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> 
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="comment">//·if·buffer·was·large·enough·return·result·as·string</span></div> 
139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">if</span>·(r&lt;bufferSize)</div> 
140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·std::string(buffer);</div> 
141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</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>··<span·class="comment">//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that</span></div>
 133 <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>
 134 <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>
142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="comment">//·if·buffer·was·to·small·allocate·a·larger·buffer·using</span></div>135 <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>
143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//·the·predicted·size·hint·(+1·for·the·terminating·0-byte).</span></div>136 <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>
144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·dynamicBufferSize·=·r+1;</div>137 <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>
145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····std::unique_ptr&lt;char[]&gt;·dynamicBuffer;</div>138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····std::is_lvalue_reference&lt;T&gt;::value,</div>
147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">try</span>·{</div>139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">typename</span>·std::add_pointer&lt;</div>
148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······dynamicBuffer·=·std::make_unique&lt;char[]&gt;(dynamicBufferSize);</div>140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keyword">typename</span>·std::remove_reference&lt;</div>
149 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div>141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········T</div>
150 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·std::bad_alloc&amp;)·{</div> 
151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</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;Cou[·...·truncated·by·diffoscope;·len:·71,·SHA:·ffa32238d2ce3e0e154e149cfc024027abb110379b75ad2c0eb25d420ee069b0·...·]</div>142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········&gt;::type</div>
 143 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······&gt;::type</div>
152 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····}</div>144 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····&gt;::type</div>
 145 <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>
153 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>146 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>
154 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·convert·and·check·for·errors·again</span></div> 
155 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····r·=·std::snprintf(dynamicBuffer.get(),·dynamicBufferSize,·s.c_str(),·args...);</div> 
156 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">if</span>·(r&lt;0)</div>147 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·&amp;target;</div>
157 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</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> 
158 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
Max diff block lines reached; 544/29220 bytes (1.86%) of diff not shown.
5.97 KB
html2text {}
    
Offset 7, 119 lines modifiedOffset 7, 112 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 stringutility.hh12 proxymemberaccess.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_COMMON_STRINGUTILITY_HH 
20 ·6#define·DUNE_COMMON_STRINGUTILITY_HH19 ·5#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH
 20 ·6#define·DUNE_COMMON_PROXYMEMBERACCESS_HH
21 ·721 ·7
 22 ·14#include·<type_traits>
 23 ·15#include·<utility>
 24 ·16
 25 ·17namespace·Dune·{
 26 ·18
 27 ·19·namespace·Impl·{
22 ·12#include·<cstddef> 
23 ·13#include·<cstring> 
24 ·14#include·<algorithm> 
25 ·15#include·<cassert> 
26 ·16#include·<cstdio> 
27 ·17#include·<memory> 
28 ·18#include·<string> 
29 ·19#include·<new> 
30 ·2028 ·20
 29 ·21·//·helper·struct·to·store·a·temporary·/·proxy
 30 ·22·//·for·the·duration·of·the·member·access
31 ·21#include·<dune/common/exceptions.hh> 
32 ·22 
33 ·23 
34 ·24namespace·Dune·{ 
35 ·25 
36 ·36·template<typename·C>31 ·23·template<typename·T>
37 37·bool·hasPrefix(const·C&·c,·const·char*·prefix)·{ 
38 ·38·std::size_t·len·=·std::strlen(prefix); 
39 ·39·return·c.size()·>=·len·&& 
40 ·40·std::equal(prefix,·prefix+len,·c.begin());32 ·24·struct·member_access_proxy_holder
 33 ·25·{
 34 ·26
 35 ·27·//·only·support·moving·the·temporary·into·the·holder·object
 36 ·28·member_access_proxy_holder(T&&·t)
 37 ·29·:·_t(std::move(t))
 38 ·30·{}
 39 ·31
 40 ·32·//·The·object·is·fundamentally·a·temporary,·i.e.·an·rvalue,
 41 ·33·//
 42 ·34·const·T*·operator->()·const
 43 ·35·{
 44 ·36·return·&_t;
 45 ·37·}
 46 ·38
 47 ·39·T·_t;
 48 ·40
41 ·41·}49 ·41·};
42 ·4250 ·42
 51 ·43·}·//·end·Impl·namespace
 52 ·44
 53 ·45
 54 ·46#ifdef·DOXYGEN
 55 ·47
 56 ·49
43 ·52·template<typename·C>57 ·79·template<typename·T>
 58 ·80·pointer_or_proxy_holder
 59 81·handle_proxy_member_access(T&&·t);
 60 ·82
 61 ·83#else·//·DOXYGEN
44 53·bool·hasSuffix(const·C&·c,·const·char*·suffix)·{ 
45 ·54·std::size_t·len·=·std::strlen(suffix); 
46 ·55·if(c.size()·<·len)·return·false; 
47 ·56·typename·C::const_iterator·it·=·c.begin(); 
48 ·57·std::advance(it,·c.size()·-·len); 
49 ·58·return·std::equal(suffix,·suffix+len,·it); 
50 ·59·} 
51 ·60 
52 ·72·template<class...·T> 
53 73·static·std::string·formatString(const·std::string&·s,·const·T&...·args) 
54 ·74·{ 
55 ·75·static·const·int·bufferSize=1000; 
56 ·76·char·buffer[bufferSize]; 
57 ·77 
58 ·78·//·try·to·format·with·static·buffer 
59 ·79·int·r·=·std::snprintf(buffer,·bufferSize,·s.c_str(),·args...); 
60 ·80 
61 ·81·//·negative·return·values·correspond·to·errors 
62 ·82·if·(r<0) 
63 ·83·DUNE_THROW(Dune::Exception,"Could·not·convert·format·string·using·given 
64 arguments."); 
65 ·8462 ·84
 63 ·85
 64 ·86·//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that
 65 ·87·//·the·T&&·signature·deduces·to·a·reference·iff·the·argument·is·an·lvalue).
 66 ·88·//·As·the·argument·is·an·lvalue,·we·do·not·have·to·worry·about·its·lifetime
 67 ·89·//·and·can·just·return·its·address.
 68 ·90·template<typename·T>
 69 ·91·inline·typename·std::enable_if<
 70 ·92·std::is_lvalue_reference<T>::value,
 71 ·93·typename·std::add_pointer<
 72 ·94·typename·std::remove_reference<
 73 ·95·T
 74 ·96·>::type
 75 ·97·>::type
 76 ·98·>::type
 77 ·99·handle_proxy_member_access(T&&·target)
66 ·85·//·if·buffer·was·large·enough·return·result·as·string 
67 ·86·if·(r<bufferSize) 
68 ·87·return·std::string(buffer); 
69 ·88 
70 ·89·//·if·buffer·was·to·small·allocate·a·larger·buffer·using 
71 ·90·//·the·predicted·size·hint·(+1·for·the·terminating·0-byte). 
72 ·91·int·dynamicBufferSize·=·r+1; 
73 ·92 
74 ·93·std::unique_ptr<char[]>·dynamicBuffer; 
75 ·94·try·{ 
76 ·95·dynamicBuffer·=·std::make_unique<char[]>(dynamicBufferSize); 
77 ·96·} 
78 ·97·catch·(const·std::bad_alloc&)·{ 
79 ·98·DUNE_THROW(Dune::Exception,"Could·allocate·large·enough·dynamic·buffer·in 
80 formatString."); 
81 ·99·} 
Max diff block lines reached; 249/6088 bytes (4.09%) of diff not shown.
104 KB
./usr/share/doc/libdune-common-doc/doxygen/a00188_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00011_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"·lang="en-US">2 <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.8"/>6 <meta·name="generator"·content="Doxygen·1.9.8"/>
7 <meta·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:·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 74, 211 lines modifiedOffset 74, 267 lines modified
  
74 <div·id="nav-path"·class="navpath">74 <div·id="nav-path"·class="navpath">
75 ··<ul>75 ··<ul>
76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>76 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
77 </div>77 </div>
78 </div><!--·top·-->78 </div><!--·top·-->
79 <div·class="header">79 <div·class="header">
80 ··<div·class="headertitle"><div·class="title">dynmatrix.hh</div></div>80 ··<div·class="headertitle"><div·class="title">dynvector.hh</div></div>
81 </div><!--header-->81 </div><!--header-->
82 <div·class="contents">82 <div·class="contents">
83 <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>83 <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>
84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>84 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>85 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>86 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIX_HH</span></div>87 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNVECTOR_HH</span></div>
88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIX_HH</span></div>88 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNVECTOR_HH</span></div>
89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>89 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>90 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>91 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>92 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
93 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
 96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
 97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
94 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
95 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/boundschecking.hh</a>&gt;</span></div>99 <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>
96 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/exceptions.hh</a>&gt;</span></div>100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00110.html">exceptions.hh</a>&quot;</span></div>
97 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00179.html">dune/common/dynvector.hh</a>&gt;</span></div> 
98 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/densematrix.hh</a>&gt;</span></div> 
99 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/typetraits.hh</a>&gt;</span></div>101 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00065.html">genericiterator.hh</a>&quot;</span></div>
100 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
101 <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> 
102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>102 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 104 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00239.html">densevector.hh</a>&quot;</span></div>
103 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>105 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
104 <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>106 <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>
105 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>107 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
106 <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>108 <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>
 109 <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>
107 <div·class="foldopen"·id="foldopen00034"·data-start="{"·data-end="};">110 <div·class="foldopen"·id="foldopen00036"·data-start="{"·data-end="};">
108 <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">DynamicMat[·...·truncated·by·diffoscope;·len:·12,·SHA:·912b068df0705fafc7700be535fbaf0e34f25c7938fe3476ba51cb0b112f6c18·...·]&gt;·&gt;</div>111 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01516.html">···36</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>&lt;·<a·class="code·hl_class"·href="a01512.html">DynamicVec[·...·truncated·by·diffoscope;·len:·25,·SHA:·b54f8c506b6f9b85a59b7e8e87b4b0706b1c719d37c3bbccf27624381276bd1f·...·]&gt;·&gt;</div>
109 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> 
110 <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> 
111 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>112 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
112 <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> 
113 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
114 <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> 
115 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01504.html#aee0cd6d08dc8451f8b8c91da766dce79">···41</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01512.html">row_type[·...·truncated·by·diffoscope;·len:·108,·SHA:·199e759c3a0a0d90ef19bae555e52eedadbcb1ad5811151ec87729f175a8e162·...·]e</a>;</div>113 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01516.html#aaa1148eeccbfc9782c9cb2259d7b7d92">···38</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;·K,·Allocator·&gt;</a>·<a·[·...·truncated·by·diffoscope;·len:·88,·SHA:·debb463b31ff889daac25625c4b2973ee08ae8eb4edc3ef1266c8dc0e7a360fa·...·]e</a>;</div>
 114 <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>
 115 <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>
 116 <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>
116 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>117 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>
117 <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> 
118 <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> 
119 <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> 
120 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div> 
121 </div>118 </div>
122 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>119 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
123 <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>120 <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>
124 <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};">121 <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="};">
125 <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[·...·truncated·by·diffoscope;·len:·6,·SHA:·09ca4277b08d4064bfb7a0bf882f6e5b491160b28954f97b9cca899f0ecc5e87·...·]&gt;·&gt;</div>122 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01520.html">···45</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01512.html">DynamicVector</a[·...·truncated·by·diffoscope;·len:·19,·SHA:·6faf812ba3addefd365171b24db93cfd6c69fd0f1e3eeab5ae2510da1cf2cae4·...·]&gt;·&gt;</div>
126 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>123 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div>
127 <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#aaaf[·...·truncated·by·diffoscope;·len:·146,·SHA:·021518c9bd3e0cb9deb3c816a1f7ac0158427f407e29c9084a1faf2df16c4a5b·...·]">field_type</a>;</div>124 <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#aaaf[·...·truncated·by·diffoscope;·len:·148,·SHA:·e2b2860bd37ba280c1e8528597e7fa9a22f91157e6848343a3ad21617df4907a·...·]">field_type</a>;</div>
128 <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#ab1c[·...·truncated·by·diffoscope;·len:·145,·SHA:·d30c07033aebfcd2f55738b9cfa7b6e94ded5faa441cecc0e7c77439fa46bbbd·...·]">real_type</a>;</div>125 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c[·...·truncated·by·diffoscope;·len:·147,·SHA:·7c043f1a58152295b0f861055178d4530241befb87f76faf1d7d6a6694842b2f·...·]">real_type</a>;</div>
129 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>126 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··};</div>
130 </div>127 </div>
131 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>128 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
132 <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>129 <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>
133 <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};">130 <div·class="foldopen"·id="foldopen00058"·data-start="{"·data-end="};">
134 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01500.html">···60</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01500.html">DynamicMatrix</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·[·...·truncated·by·diffoscope;·len:·57,·SHA:·2e977f239d2e86353e0787221882bdf789451a28876df338e4f1255ba04b67dd·...·]&gt;·&gt;</div>131 <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:·70,·SHA:·ac771c25fdc715b5c26f290257c2fc02ab7e058e487c1664a3ca01c35a93379a·...·]&gt;·&gt;</div>
 132 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··{</div>
 133 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····std::vector&lt;·K,·Allocator·&gt;·_data;</div>
135 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>134 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
136 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····std::vector&lt;·DynamicVector&lt;K&gt;·&gt;·_data;</div> 
137 <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>135 <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>
138 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>:</div>136 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div>
139 <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#ad86e[·...·truncated·by·diffoscope;·len:·128,·SHA:·a757436d1125f2785a03e059dbccfc05ad63aee88695a9ef15f7b7db5786edbc·...·]">size_type</a>;</div>137 <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#a67b4[·...·truncated·by·diffoscope;·len:·128,·SHA:·16eb672f2ce0e596a420cf9b9f03ab3d1a11a07253a53f373d3af13fe8af193e·...·]">size_type</a>;</div>
140 <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#a77c1[·...·truncated·by·diffoscope;·len:·128,·SHA:·322adcade57ca360661f88e4de278edee3a95ca421717fe0aa3f2ab69851b884·...·]8">value_type</a>;</div>138 <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#a0074[·...·truncated·by·diffoscope;·len:·128,·SHA:·8f5df98caa92304c3e360b1ec15d79d220422b592383323b1d08fba6393e9240·...·]8">value_type</a>;</div>
141 <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::[·...·truncated·by·diffoscope;·len:·106,·SHA:·45d5cb9d4b3bf5efdc882521eb1021280e11d84fd370e9592528b6da4d791198·...·]</div>139 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 140 <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>
142 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>141 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 142 <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>
143 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//=====·constructors</span></div> 
144 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01500.html#adcc41a31367efa2942a0d46f687bf654">···71</a></span>····<a·class="code·hl_function"·href="a01500.html#adcc41a31367efa2942a0d46f687bf654">DynamicMatrix</a>·()·{}</div> 
145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>143 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
146 <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}">144 <div·class="foldopen"·id="foldopen00072"·data-start="{"·data-end="}">
147 <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> 
148 <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>145 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01512.html#a7ab6b30514c24d5afa6eaf1d12349692">···72</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01512.html#a7ab6b30514c24d5afa6eaf1d12349692">Dynami[·...·truncated·by·diffoscope;·len:·259,·SHA:·2309fae0af1b000f08b16a5491d45d43a8de539e7b4828729bad2b681983cc96·...·]</div>
 146 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······_data(·a·)</div>
149 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····{}</div>147 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····{}</div>
150 </div>148 </div>
151 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>149 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 150 <div·class="foldopen"·id="foldopen00076"·data-start="{"·data-end="}">
 151 <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>
 152 <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>
 153 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{}</div>
 154 </div>
 155 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
152 <div·class="foldopen"·id="foldopen00080"·data-start="{"·data-end="}">156 <div·class="foldopen"·id="foldopen00081"·data-start="{"·data-end="}">
153 <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;[·...·truncated·by·diffoscope;·len:·118,·SHA:·a897e99de9ff5d283c89a0191e28d7441f889e0444030f63aa271235e73a4865·...·]</div>157 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01512.html#ae821be352676f391e19ffa70d9ca3714">···81</a></span>····<a·class="code·hl_function"·href="a01512.html#ae821be352676f391e19ffa70d9ca3714">DynamicVector</a>(·<a·class="code·hl_typedef[·...·truncated·by·diffoscope;·len:·417,·SHA:·d463b7360a561bfb379d2c7ea40d01ebccdd87d061b0369c88b3d0aae4e6c18b·...·]</div>
154 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······:·_data(ll)</div>158 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······_data(·n,·c,·a·)</div>
155 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{}</div>159 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{}</div>
156 </div>160 </div>
157 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
158 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>161 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
159 <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> 
160 <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> 
161 <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}">162 <div·class="foldopen"·id="foldopen00086"·data-start="{"·data-end="}">
162 <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>163 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01512.html#ac816734949044d1f94a33060fcb1da39">···86</a></span>····<a·class="code·hl_function"·href="a01512.html#ac816734949044d1f94a33060fcb1da39">DynamicVector</a>·(std::initializer_list&lt;[·...·truncated·by·diffoscope;·len:·50,·SHA:·922f2f1264481771f91fb3cf30f82b57fe6de0d5644d3333d75764934c0e3355·...·]</div>
Max diff block lines reached; 40562/88783 bytes (45.69%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
16.9 KB
html2text {}
    
Offset 7, 274 lines modifiedOffset 7, 335 lines modified
  
  
7 Loading...7 Loading...
8 Searching...8 Searching...
9 No·Matches9 No·Matches
10 ····*·dune10 ····*·dune
11 ····*·common11 ····*·common
12 dynmatrix.hh12 dynvector.hh
13 Go_to_the_documentation_of_this_file.13 Go_to_the_documentation_of_this_file.
14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-14 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:15 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file16 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
17 LICENSE.md·in·module·root17 LICENSE.md·in·module·root
18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception18 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
19 ·5#ifndef·DUNE_DYNMATRIX_HH19 ·5#ifndef·DUNE_DYNVECTOR_HH
20 ·6#define·DUNE_DYNMATRIX_HH20 ·6#define·DUNE_DYNVECTOR_HH
21 ·721 ·7
22 ·8#include·<cmath>22 ·8#include·<cmath>
23 ·9#include·<cstddef>23 ·9#include·<cstddef>
24 ·10#include·<iostream>24 ·10#include·<cstdlib>
 25 ·11#include·<complex>
 26 ·12#include·<cstring>
25 ·11#include·<initializer_list>27 ·13#include·<initializer_list>
26 ·1228 ·14#include·<limits>
 29 ·15#include·<utility>
 30 ·16
27 ·13#include·<dune/common/boundschecking.hh>31 ·17#include·"boundschecking.hh"
 32 ·18#include·"exceptions.hh"
 33 ·19#include·"genericiterator.hh"
28 ·14#include·<dune/common/exceptions.hh> 
29 ·15#include·<dune/common/dynvector.hh> 
30 ·16#include·<dune/common/densematrix.hh> 
31 ·17#include·<dune/common/typetraits.hh> 
32 ·18 
33 ·19namespace·Dune 
34 ·20{34 ·20
35 ·21 
36 ·31·template<·class·K·>·class·DynamicMatrix; 
37 ·32 
38 ·33·template<·class·K·>35 ·21#include·<vector>
 36 ·22#include·"densevector.hh"
 37 ·23
 38 ·24namespace·Dune·{
 39 ·25
 40 ·34·template<·class·K,·class·Allocator·>·class·DynamicVector;
 41 ·35·template<·class·K,·class·Allocator·>
39 34·struct·DenseMatVecTraits<·DynamicMatrix<K>·>42 36·struct·DenseMatVecTraits<·DynamicVector<·K,·Allocator·>·>
40 ·35·{43 ·37·{
41 36·typedef·DynamicMatrix<K>·derived_type; 
42 ·37 
43 38·typedef·DynamicVector<K>·row_type;44 38·typedef·DynamicVector<_K,_Allocator_>·derived_type;
44 ·39 
45 40·typedef·row_type·&row_reference; 
46 41·typedef·const·row_type·&const_row_reference; 
47 ·42 
48 43·typedef·std::vector<K>·container_type;45 39·typedef·std::vector<·K,·Allocator·>·container_type;
49 44·typedef·K·value_type;46 40·typedef·K·value_type;
50 45·typedef·typename·container_type::size_type·size_type;47 41·typedef·typename·container_type::size_type·size_type;
51 ·46·};48 ·42·};
52 ·47 
53 ·48·template<·class·K·> 
54 49·struct·FieldTraits<·DynamicMatrix<K>·> 
55 ·50·{49 ·43
 50 ·44·template<·class·K,·class·Allocator·>
 51 45·struct·FieldTraits<·DynamicVector<·K,·Allocator·>·>
 52 ·46·{
56 51·typedef·typename·FieldTraits<K>::field_type·field_type;53 47·typedef·typename·FieldTraits<_K_>::field_type·field_type;
57 52·typedef·typename·FieldTraits<K>::real_type·real_type;54 48·typedef·typename·FieldTraits<_K_>::real_type·real_type;
58 ·53·}; 
59 ·54 
60 ·59·template<class·K> 
61 60·class·DynamicMatrix·:·public·DenseMatrix<·DynamicMatrix<K>·>55 ·49·};
 56 ·50
 57 ·57·template<·class·K,·class·Allocator·=·std::allocator<·K·>·>
 58 58·class·DynamicVector·:·public·DenseVector<·DynamicVector<·K,·Allocator·>·>
 59 ·59·{
 60 ·60·std::vector<·K,·Allocator·>·_data;
62 ·61·{61 ·61
 62 ·62·typedef·DenseVector<_DynamicVector<_K,_Allocator_>·>·Base;
63 ·62·std::vector<·DynamicVector<K>·>·_data; 
64 ·63·typedef·DenseMatrix<_DynamicMatrix<K>·>·Base; 
65 ·64·public:63 ·63·public:
66 65·typedef·typename·Base::size_type·size_type;64 64·typedef·typename·Base::size_type·size_type;
67 66·typedef·typename·Base::value_type·value_type;65 65·typedef·typename·Base::value_type·value_type;
68 67·typedef·typename·Base::row_type·row_type;66 ·66
 67 67·typedef·std::vector<·K,·Allocator·>·container_type;
69 ·6868 ·68
 69 69·typedef·Allocator·allocator_type;
 70 ·70
 71 72·explicit·DynamicVector(const·allocator_type·&a·=·allocator_type()·)·:
 72 ·73·_data(·a·)
70 ·69·//=====·constructors 
71 71·DynamicMatrix·()·{} 
72 ·72 
73 74·DynamicMatrix·(size_type·r,·size_type·c,·value_type·v·=·value_type()·)·: 
74 ·75·_data(r,·row_type(c,·v)·) 
75 ·76·{}73 ·74·{}
76 ·77 
77 80·DynamicMatrix·(std::initializer_list<DynamicVector<K>>·const·&ll) 
78 ·81·:·_data(ll)74 ·75
 75 76·explicit·DynamicVector(size_type·n,·const·allocator_type·&a·=·allocator_type
 76 ()·)·:
 77 ·77·_data(·n,·value_type(),·a·)
79 ·82·{}78 ·78·{}
80 ·8379 ·79
 80 81·DynamicVector(·size_type·n,·value_type·c,·const·allocator_type·&a·=
 81 allocator_type()·)·:
 82 ·82·_data(·n,·c,·a·)
 83 ·83·{}
81 ·8484 ·84
 85 86·DynamicVector·(std::initializer_list<K>·const·&l)·:
 86 ·87·_data(l)
82 ·85·template·<class·T, 
83 ·86·typename·=·std::enable_if_t<!Dune::IsNumber<T>::value·&& 
84 HasDenseMatrixAssigner<DynamicMatrix,·T>::value>> 
85 87·DynamicMatrix(T·const&·rhs) 
86 ·88·{87 ·88·{}
87 ·89·*this·=·rhs; 
88 ·90·} 
89 ·91 
90 ·92·//====·resize·related·methods 
91 106·void·resize·(size_type·r,·size_type·c,·value_type·v·=·value_type()·)88 ·89
 89 91·DynamicVector(const·DynamicVector·&·x)·:
 90 ·92·Base(),·_data(x._data)
 91 ·93·{}
 92 ·94
 93 96·DynamicVector(DynamicVector·&&·x)·:
Max diff block lines reached; 9933/17315 bytes (57.37%) of diff not shown.