Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·95a527c934281b71789d5f160185af88·83196·libdevel·optional·libdune-functions-dev_2.9.0-2_armhf.deb | 1 | ·95a527c934281b71789d5f160185af88·83196·libdevel·optional·libdune-functions-dev_2.9.0-2_armhf.deb |
2 | · | 2 | ·7e175c1d1f29085e2c11a92a06df30de·1779596·doc·optional·libdune-functions-doc_2.9.0-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2023-01-12·22:26:33.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2023-01-12·22:26:33.000000·debian-binary |
2 | -rw-r--r--···0········0········0····131 | 2 | -rw-r--r--···0········0········0····13152·2023-01-12·22:26:33.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··176 | 3 | -rw-r--r--···0········0········0··1766252·2023-01-12·22:26:33.000000·data.tar.xz |
Offset 43, 18 lines modified | Offset 43, 18 lines modified | ||
43 | usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html | 43 | usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html |
44 | usr/share/doc/libdune-functions-doc/doxygen/a00062.html | 44 | usr/share/doc/libdune-functions-doc/doxygen/a00062.html |
45 | usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html | 45 | usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html |
46 | usr/share/doc/libdune-functions-doc/doxygen/a00065.html | 46 | usr/share/doc/libdune-functions-doc/doxygen/a00065.html |
47 | usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html | 47 | usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html |
48 | usr/share/doc/libdune-functions-doc/doxygen/a00068.html | 48 | usr/share/doc/libdune-functions-doc/doxygen/a00068.html |
49 | usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html | 49 | usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html |
50 | usr/share/doc/libdune-functions-doc/doxygen/a00071.html | ||
51 | usr/share/doc/libdune-functions-doc/doxygen/a00071_source.html | ||
52 | usr/share/doc/libdune-functions-doc/doxygen/a00074.html | 50 | usr/share/doc/libdune-functions-doc/doxygen/a00074.html |
53 | usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | 51 | usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html |
52 | usr/share/doc/libdune-functions-doc/doxygen/a00077.html | ||
53 | usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html | ||
54 | usr/share/doc/libdune-functions-doc/doxygen/a00080.html | 54 | usr/share/doc/libdune-functions-doc/doxygen/a00080.html |
55 | usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html | 55 | usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html |
56 | usr/share/doc/libdune-functions-doc/doxygen/a00083.html | 56 | usr/share/doc/libdune-functions-doc/doxygen/a00083.html |
57 | usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html | 57 | usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html |
58 | usr/share/doc/libdune-functions-doc/doxygen/a00086.html | 58 | usr/share/doc/libdune-functions-doc/doxygen/a00086.html |
59 | usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html | 59 | usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html |
60 | usr/share/doc/libdune-functions-doc/doxygen/a00089.html | 60 | usr/share/doc/libdune-functions-doc/doxygen/a00089.html |
Offset 3, 140 lines modified | Offset 3, 140 lines modified | ||
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/ |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/doc/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)······810·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)······810·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/changelog.Debian.gz |
7 | -rw-r--r--···0·root·········(0)·root·········(0)·····4118·2022-11-16·12:11:40.000000·./usr/share/doc/libdune-functions-doc/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····4118·2022-11-16·12:11:40.000000·./usr/share/doc/libdune-functions-doc/changelog.gz |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····3331·2023-01-12·15:07:37.000000·./usr/share/doc/libdune-functions-doc/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····3331·2023-01-12·15:07:37.000000·./usr/share/doc/libdune-functions-doc/copyright |
9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/ |
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····5328·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002.html | ||
11 | -rw-r--r--···0·root·········(0)·root·········(0)····25921·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002_source.html | ||
12 | -rw-r--r--···0·root·········(0)·root·········(0)·····6513·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00005.html | ||
13 | -rw-r--r--···0·root·········(0)·root·········(0)····16008·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00005_source.html | ||
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4395·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008.html | ||
15 | -rw-r--r--···0·root·········(0)·root·········(0)····18047·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008_source.html | ||
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····7509·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011.html | ||
17 | -rw-r--r--···0·root·········(0)·root·········(0)····28251·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011_source.html | ||
18 | -rw-r--r--···0·root·········(0)·root·········(0)·····5486·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00014.html | ||
19 | -rw-r--r--···0·root·········(0)·root·········(0)····11779·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00014_source.html | ||
20 | -rw-r--r--···0·root·········(0)·root·········(0)····10231·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00017.html | ||
21 | -rw-r--r--···0·root·········(0)·root·········(0)····51362·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00017_source.html | ||
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····7683·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00020.html | ||
23 | -rw-r--r--···0·root·········(0)·root·········(0)····27200·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00020_source.html | ||
24 | -rw-r--r--···0·root·········(0)·root·········(0)·····4388·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00023.html | ||
25 | -rw-r--r--···0·root·········(0)·root·········(0)····13611·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00023_source.html | ||
26 | -rw-r--r--···0·root·········(0)·root·········(0)····23350·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026.html | ||
27 | -rw-r--r--···0·root·········(0)·root·········(0)····68684·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026_source.html | ||
28 | -rw-r--r--···0·root·········(0)·root·········(0)·····7651·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00029.html | ||
29 | -rw-r--r--···0·root·········(0)·root·········(0)····15189·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00029_source.html | ||
30 | -rw-r--r--···0·root·········(0)·root·········(0)·····7280·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00032.html | ||
31 | -rw-r--r--···0·root·········(0)·root·········(0)····11255·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00032_source.html | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)·····4981·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00035.html | ||
33 | -rw-r--r--···0·root·········(0)·root·········(0)····27963·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00035_source.html | ||
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····5136·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00038.html | ||
35 | -rw-r--r--···0·root·········(0)·root·········(0)····49466·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00038_source.html | ||
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····5074·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041.html | ||
37 | -rw-r--r--···0·root·········(0)·root·········(0)····12567·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html | ||
38 | -rw-r--r--···0·root·········(0)·root·········(0)····15745·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.html | ||
39 | -rw-r--r--···0·root·········(0)·root·········(0)····48865·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html | ||
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····4881·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.html | ||
41 | -rw-r--r--···0·root·········(0)·root·········(0)····10069·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html | ||
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····6093·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.html | ||
43 | -rw-r--r--···0·root·········(0)·root·········(0)····22105·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html | ||
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····6731·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.html | ||
45 | -rw-r--r--···0·root·········(0)·root·········(0)····48399·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html | ||
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····6923·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.html | ||
47 | -rw-r--r--···0·root·········(0)·root·········(0)····14988·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html | ||
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····6686·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.html | ||
49 | -rw-r--r--···0·root·········(0)·root·········(0)····17547·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html | ||
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····5963·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····5963·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)····26463·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 11 | -rw-r--r--···0·root·········(0)·root·········(0)····26463·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00002_source.html |
12 | -rw-r--r--···0·root·········(0)·root·········(0)····23350·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00005.html | ||
13 | -rw-r--r--···0·root·········(0)·root·········(0)····68684·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00005_source.html | ||
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····7280·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008.html | ||
15 | -rw-r--r--···0·root·········(0)·root·········(0)····11255·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00008_source.html | ||
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····4388·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011.html | ||
17 | -rw-r--r--···0·root·········(0)·root·········(0)····13611·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00011_source.html | ||
18 | -rw-r--r--···0·root·········(0)·root·········(0)·····7509·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00014.html | ||
19 | -rw-r--r--···0·root·········(0)·root·········(0)····28251·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00014_source.html | ||
20 | -rw-r--r--···0·root·········(0)·root·········(0)·····7683·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00017.html | ||
21 | -rw-r--r--···0·root·········(0)·root·········(0)····27200·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00017_source.html | ||
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····4395·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00020.html | ||
23 | -rw-r--r--···0·root·········(0)·root·········(0)····18047·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00020_source.html | ||
24 | -rw-r--r--···0·root·········(0)·root·········(0)·····6923·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00023.html | ||
25 | -rw-r--r--···0·root·········(0)·root·········(0)····14988·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00023_source.html | ||
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····6659·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····6659·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)····45971·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a000 | 27 | -rw-r--r--···0·root·········(0)·root·········(0)····45971·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00026_source.html |
54 | -rw-r--r--···0·root·········(0)·root·········(0)·····6149·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068.html | ||
55 | -rw-r--r--···0·root·········(0)·root·········(0)····10192·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 28 | -rw-r--r--···0·root·········(0)·root·········(0)·····5328·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00029.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 29 | -rw-r--r--···0·root·········(0)·root·········(0)····25921·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00029_source.html |
58 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 30 | -rw-r--r--···0·root·········(0)·root·········(0)····10231·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00032.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)····52869·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····4906·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)····21677·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)·····4509·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.html | ||
63 | -rw-r--r--···0·root·········(0)·root·········(0)····136 | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····51362·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00032_source.html |
64 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 32 | -rw-r--r--···0·root·········(0)·root·········(0)·····7651·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00035.html |
65 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 33 | -rw-r--r--···0·root·········(0)·root·········(0)····15189·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00035_source.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)·····6668·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089.html | ||
67 | -rw-r--r--···0·root·········(0)·root·········(0)····36917·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089_source.html | ||
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····7229·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)····46756·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)·····8120·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)····16692·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····6 | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····6093·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00038.html |
35 | -rw-r--r--···0·root·········(0)·root·········(0)····22105·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00038_source.html | ||
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····6731·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041.html | ||
37 | -rw-r--r--···0·root·········(0)·root·········(0)····48399·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00041_source.html | ||
38 | -rw-r--r--···0·root·········(0)·root·········(0)·····6513·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044.html | ||
39 | -rw-r--r--···0·root·········(0)·root·········(0)····16008·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00044_source.html | ||
40 | -rw-r--r--···0·root·········(0)·root·········(0)····15745·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047.html | ||
41 | -rw-r--r--···0·root·········(0)·root·········(0)····48865·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00047_source.html | ||
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····5486·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050.html | ||
43 | -rw-r--r--···0·root·········(0)·root·········(0)····11779·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00050_source.html | ||
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····4881·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053.html | ||
45 | -rw-r--r--···0·root·········(0)·root·········(0)····10069·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00053_source.html | ||
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····6686·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056.html | ||
47 | -rw-r--r--···0·root·········(0)·root·········(0)····17547·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00056_source.html | ||
48 | -rw-r--r--···0·root·········(0)·root·········(0)·····5074·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059.html | ||
49 | -rw-r--r--···0·root·········(0)·root·········(0)····12567·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00059_source.html | ||
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····4981·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062.html | ||
51 | -rw-r--r--···0·root·········(0)·root·········(0)····27963·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00062_source.html | ||
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····5136·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065.html | ||
53 | -rw-r--r--···0·root·········(0)·root·········(0)····49466·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00065_source.html | ||
54 | -rw-r--r--···0·root·········(0)·root·········(0)·····7007·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068.html | ||
55 | -rw-r--r--···0·root·········(0)·root·········(0)····23394·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00068_source.html | ||
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····5531·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074.html | ||
57 | -rw-r--r--···0·root·········(0)·root·········(0)····16841·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00074_source.html | ||
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····8422·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077.html | ||
59 | -rw-r--r--···0·root·········(0)·root·········(0)····67255·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00077_source.html | ||
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····8298·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080.html | ||
61 | -rw-r--r--···0·root·········(0)·root·········(0)····46365·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00080_source.html | ||
62 | -rw-r--r--···0·root·········(0)·root·········(0)····10568·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083.html | ||
63 | -rw-r--r--···0·root·········(0)·root·········(0)···222246·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00083_source.html | ||
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····8515·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086.html | ||
65 | -rw-r--r--···0·root·········(0)·root·········(0)····73752·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00086_source.html | ||
66 | -rw-r--r--···0·root·········(0)·root·········(0)·····7961·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089.html | ||
67 | -rw-r--r--···0·root·········(0)·root·········(0)····25642·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00089_source.html | ||
68 | -rw-r--r--···0·root·········(0)·root·········(0)····12925·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092.html | ||
69 | -rw-r--r--···0·root·········(0)·root·········(0)····22115·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00092_source.html | ||
70 | -rw-r--r--···0·root·········(0)·root·········(0)·····7067·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095.html | ||
71 | -rw-r--r--···0·root·········(0)·root·········(0)····30363·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00095_source.html | ||
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····8734·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098.html | ||
73 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)····76258·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00098_source.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 74 | -rw-r--r--···0·root·········(0)·root·········(0)·····5166·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101.html |
75 | -rw-r--r--···0·root·········(0)·root·········(0)··· | 75 | -rw-r--r--···0·root·········(0)·root·········(0)····34473·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00101_source.html |
76 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 76 | -rw-r--r--···0·root·········(0)·root·········(0)·····8424·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104.html |
77 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 77 | -rw-r--r--···0·root·········(0)·root·········(0)····38765·2023-01-12·22:26:33.000000·./usr/share/doc/libdune-functions-doc/doxygen/a00104_source.html |
Max diff block lines reached; 3384/41593 bytes (8.14%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 29 lines modified | Offset 65, 33 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">localfunction.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<type | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00011_source.html">dune/functions/common/localfunction_imp.hh</a>></code><br·/> | ||
77 | <code>#include·<<a·class="el"·href="a000 | 80 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a000 | 81 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/polymorphicsmallobject.hh</a>></code><br·/> | ||
80 | </div> | 82 | </div> |
81 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00002_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
84 | Classes</h2></td></tr> | 86 | Classes</h2></td></tr> |
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01243.html">Dune::Functions::LocalFunction<·Signature,·LocalContext,·DerivativeTraits,·bufferSize·></a></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01251.html">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·local·functions·using·type·erasure.··<a·href="a01251.html#details">More...</a><br·/></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
89 | <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> |
90 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 25 lines modified | Offset 6, 30 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | 11 | localfunction.hh·File·Reference | |
12 | #include·<type | 12 | #include·<type_traits> |
13 | #include·<dune/common/typeutilities.hh> | 13 | #include·<dune/common/typeutilities.hh> |
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction.hh> | ||
16 | #include·<dune/functions/common/localfunction_imp.hh> | ||
14 | #include·<dune/functions/common/type | 17 | #include·<dune/functions/common/typeerasure.hh> |
15 | #include·<dune/functions/common/ | 18 | #include·<dune/functions/common/functionconcepts.hh> |
16 | #include·<dune/functions/common/polymorphicsmallobject.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 20 | ·Classes |
19 | class· Dune::Functions::TypeErasureBase<_Interface,_Implementation,_bufferSize | ||
20 | ········> | ||
21 | 21 | class· Dune::Functions::LocalFunction<_Signature,_LocalContext, | |
22 | ········DerivativeTraits,_bufferSize_> | ||
23 | |||
24 | class· Dune::Functions::LocalFunction<_Range(Domain),_LocalContext, | ||
25 | ········DerivativeTraits,_bufferSize_> | ||
26 | ······Class·storing·local·functions·using·type·erasure.·More... | ||
22 | 27 | ||
23 | ·Namespaces | 28 | ·Namespaces |
24 | namespace· Dune | 29 | namespace· Dune |
25 | 30 | ||
26 | namespace· Dune::Functions | 31 | namespace· Dune::Functions |
27 | 32 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 159 lines modified | Offset 62, 152 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">localfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00002.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00002.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00011.html">dune/functions/common/localfunction_imp.hh</a>></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
88 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">/*</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*/</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01243.html">···29</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01243.html">LocalFunction</a></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{};</div> | ||
89 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
90 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> | ||
91 | <div·class="line"><a·id="l0003 | 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> | ||
92 | <div·class="line"><a·id="l0003 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Imp</div> |
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>·PolymorphicType<TypeErasureWrapperInterface<Interface>></div> | ||
94 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> |
95 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div> | ||
96 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::type_info&·target_type()·<span·class="keyword">const</span>·=·0;</div> | ||
97 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·L,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">struct·</span>LocalFunctionTraits·:</div> | ||
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
98 | <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> |
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">protected</span>:</div> | ||
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> | ||
99 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div> | ||
115 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">using·</span>LocalContext·=·L;</div> | ||
100 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·Base::DerivativeSignature;</div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
119 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01243.html">LocalFunction<DerivativeSignature,·L,·DerivativeTraits,·bufferSize></a>;</div> | ||
120 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>Concept·=·LocalFunctionWrapperInterface<S,·DerivativeInterface,·L>;</div> | ||
122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
101 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> |
124 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Model·=·LocalFunctionWrapperImplementation<S,·DerivativeInterface,·L,·B>;</div> | ||
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 125 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div> |
103 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span> | 126 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}</div> |
104 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 127 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
105 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div> | ||
106 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0></div> | ||
107 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··TypeErasureWrapperBase(TT&&·t)·:</div> | ||
108 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····wrapped_(std::forward<TT>(t))</div> | ||
109 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{}</div> | ||
110 | <div·class="line"><a·id="l0006 | 128 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
111 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··T&·get()</div> | ||
112 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div> | ||
113 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
114 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | ||
115 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
116 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">const</span>·T&·get()<span·class="keyword">·const</span></div> | ||
117 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">··</span>{</div> | ||
118 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
119 | <div·class="line"><a·id="l0008 | 130 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">templ[·...·truncated·by·diffoscope;·len:·160,·SHA:·0ce718354ad819fc95002e18d2edd494ab959e2062ee6291e185172992497b6c·...·]</div> |
131 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01251.html">···87</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01243.html">LocalFunction</a><·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>·:</div> | ||
132 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01351.html">TypeErasureBase</a><</div> | ||
133 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>::Concept,</div> | ||
134 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>::template·Model></div> | ||
120 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div> |
136 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">using·</span>Traits·=·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>;</div> | ||
121 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">protected</span>:</div> | ||
122 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">using·</span>Wrapped·=·T;</div> | ||
123 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
138 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01351.html">Base</a>·=·<a·class="code·hl_class"·href="a01351.html">TypeErasureBase<typename·Traits::Concept,·Traits::template·Model></a>;</div> | ||
124 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
125 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">using·</span>DerivativeInterface·=·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01243.html">Traits::DerivativeInterface</a>;</div> |
126 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
142 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">public</span>:</div> | ||
127 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> |
128 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>Implementation,·<span·class="keyword">class·</span>T></div> | ||
129 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">class·</span>TypeErasureWrapperImplementation·:</div> | ||
130 | <div·class="line"><a·id="l0011 | 144 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F,·disableCopyMove<LocalFunction,·F>·=·0·></div> |
145 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01251.html#a6d54d317a0068c6bcb27a937afac321d">··112</a></span>··<a·class="code·hl_function"·href="a01251.html#a6d54d317a0068c6bcb27a937afac321d">LocalFunction</a>(F&&·f)·:</div> | ||
146 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<a·class="code·hl_class"·href="a01351.html">Base</a>(std::forward<F>(f))</div> | ||
131 | <div·class="line"><a·id="l0011 | 147 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div> |
148 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keyword">static_assert</span>(Dune::Functions::Concept::isLocalFunction<F,·Range(Domain),·LocalContext>(),·<span·class="stringliteral">"Trying·to·construct·a·LocalFunction·from·type·that·does·not·model·the·LocalFunction·concept"</span>);</div> | ||
132 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span> | 149 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div> |
Max diff block lines reached; 24105/46448 bytes (51.90%) of diff not shown. |
Offset 5, 180 lines modified | Offset 5, 189 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | localfunction.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type | 16 | ·6#include·<type_traits> |
17 | ·7 | 17 | ·7 |
18 | ·8#include·<dune/common/typeutilities.hh> | 18 | ·8#include·<dune/common/typeutilities.hh> |
19 | ·9 | 19 | ·9 |
20 | ·10#include·<dune/functions/common/defaultderivativetraits.hh> | ||
21 | ·11#include·<dune/functions/common/differentiablefunction.hh> | ||
22 | ·12#include·<dune/functions/common/localfunction_imp.hh> | ||
20 | ·1 | 23 | ·13#include·<dune/functions/common/typeerasure.hh> |
21 | ·1 | 24 | ·14#include·<dune/functions/common/functionconcepts.hh> |
25 | ·15 | ||
26 | ·16 | ||
22 | ·12#include·<dune/functions/common/polymorphicsmallobject.hh> | ||
23 | ·13 | ||
24 | ·14namespace·Dune·{ | ||
25 | ·15namespace·Functions·{ | ||
26 | ·16namespace·Imp·{ | ||
27 | ·17 | 27 | ·17 |
28 | ·18 | ||
29 | ·19 | ||
30 | ·33template<class·Interface> | ||
31 | ·34class·TypeErasureWrapperInterface·: | ||
32 | ·35·public·Interface, | ||
33 | · | 28 | ·18namespace·Dune·{ |
29 | ·19namespace·Functions·{ | ||
30 | ·20 | ||
31 | ·21 | ||
32 | ·22 | ||
33 | ·23/* | ||
34 | ·24·*·Default·implementation·is·empty | ||
35 | ·25·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
36 | ·26·*·describing·a·function·signature·as·Range(Domain). | ||
37 | ·27·*/ | ||
38 | ·28template<class·Signature,·class·LocalContext,·template<class>·class | ||
39 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
40 | 29class·LocalFunction | ||
41 | ·30{}; | ||
42 | ·31 | ||
43 | ·32 | ||
44 | ·33 | ||
45 | ·34namespace·Imp | ||
34 | ·3 | 46 | ·35{ |
47 | ·36 | ||
48 | ·38·template<class·S,·class·L,·template<class>·class·DerivativeTraits,·size_t | ||
49 | bufferSize> | ||
50 | ·39·struct·LocalFunctionTraits·: | ||
51 | ·40·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
52 | ·41·{ | ||
53 | ·42·protected: | ||
54 | ·43·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
55 | ·44 | ||
56 | ·45·public: | ||
57 | ·47·using·LocalContext·=·L; | ||
58 | ·48 | ||
59 | ·50·using·DerivativeSignature·=·typename·Base::DerivativeSignature; | ||
60 | ·51 | ||
61 | ·53·using·DerivativeInterface·=·LocalFunction<DerivativeSignature,_L, | ||
62 | DerivativeTraits,_bufferSize>; | ||
63 | ·54 | ||
64 | ·56·using·Concept·=·LocalFunctionWrapperInterface<S,·DerivativeInterface,·L>; | ||
65 | ·57 | ||
66 | ·59·template<class·B> | ||
67 | ·60·using·Model·=·LocalFunctionWrapperImplementation<S,·DerivativeInterface,·L, | ||
68 | B>; | ||
69 | ·61·}; | ||
70 | ·62} | ||
71 | ·63 | ||
72 | ·64 | ||
73 | ·65 | ||
74 | ·86template<class·Range,·class·Domain,·class·LocalContext,·template<class> | ||
75 | class·DerivativeTraits,·size_t·bufferSize> | ||
76 | 87class·LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits, | ||
77 | bufferSize>·: | ||
78 | ·88·public·TypeErasureBase< | ||
79 | ·89·typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
80 | DerivativeTraits,·bufferSize>::Concept, | ||
81 | ·90·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits, | ||
82 | bufferSize>::template·Model> | ||
83 | ·91{ | ||
84 | ·92·using·Traits·=·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
85 | DerivativeTraits,·bufferSize>; | ||
86 | ·93 | ||
87 | ·94·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template | ||
88 | Model>; | ||
89 | ·95 | ||
90 | ·96·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | ||
91 | ·97 | ||
35 | · | 92 | ·98public: |
93 | ·99 | ||
94 | ·111·template<class·F,·disableCopyMove<LocalFunction,·F>·=·0·> | ||
95 | 112·LocalFunction(F&&·f)·: | ||
96 | ·113·Base(std::forward<F>(f)) | ||
97 | ·114·{ | ||
98 | ·115·static_assert(Dune::Functions::Concept::isLocalFunction<F,·Range(Domain), | ||
99 | LocalContext>(),·"Trying·to·construct·a·LocalFunction·from·type·that·does·not | ||
100 | model·the·LocalFunction·concept"); | ||
101 | ·116·} | ||
36 | ·39·virtual·const·std::type_info&·target_type()·const·=·0; | ||
37 | ·40}; | ||
38 | ·41 | ||
39 | ·42 | ||
40 | ·43 | ||
41 | ·60template<class·Interface,·class·T> | ||
42 | ·61class·TypeErasureWrapperBase·: | ||
43 | ·62·public·TypeErasureWrapperInterface<Interface> | ||
44 | ·63{ | ||
45 | ·64public: | ||
46 | ·65·template<class·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0> | ||
47 | ·66·TypeErasureWrapperBase(TT&&·t)·: | ||
48 | ·67·wrapped_(std::forward<TT>(t)) | ||
49 | ·68·{} | ||
50 | ·69 | ||
51 | ·71·T&·get() | ||
52 | ·72·{ | ||
Max diff block lines reached; 5542/9947 bytes (55.72%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·t | 8 | <title>dune-functions:·functionconcepts.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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 modified | Offset 65, 122 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="# | 72 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title">t | 73 | ··<div·class="headertitle"><div·class="title">functionconcepts.hh·File·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·<type | 76 | <div·class="textblock"><code>#include·<dune/common/typelist.hh></code><br·/> |
77 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
78 | </div> | 81 | </div> |
79 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00005_source.html">Go·to·the·source·code·of·this·file.</a></p> |
80 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
81 | <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> |
82 | Classes</h2></td></tr> | 85 | Classes</h2></td></tr> |
83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01139.html">Dune::Functions::Concept::Callable<·Args·></a></td></tr> |
84 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.··<a·href="a01139.html#details">More...</a><br·/></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html">Dune::Functions::Concept::Function<·Range(Domain)></a></td></tr> |
87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01147.html#details">More...</a><br·/></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01155.html">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·></a></td></tr> | ||
93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01155.html#details">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01163.html">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·></a></td></tr> | ||
96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01163.html#details">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01171.html">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01171.html#details">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01175.html">Dune::Functions::Concept::EntitySet</a></td></tr> | ||
102 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>··<a·href="a01175.html#details">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01183.html">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·></a></td></tr> | ||
105 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01183.html#details">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01191.html">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·></a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01191.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01199.html">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·></a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01199.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01207.html">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·></a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01207.html#details">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
90 | <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> |
91 | Namespaces</h2></td></tr> | 118 | Namespaces</h2></td></tr> |
92 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 119 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 121 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | <tr·class="memitem:a00220"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html">Dune::Functions::Concept</a></td></tr> | ||
124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | </table><table·class="memberdecls"> | 125 | </table><table·class="memberdecls"> |
97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id=" | 126 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
98 | 127 | Functions</h2></td></tr> | |
128 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> | ||
129 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">Dune::Functions::Concept::isCallable</a>·()</td></tr> | ||
130 | <tr·class="memdesc:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<a·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:ga | 132 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> |
100 | <tr·class="memitem:ga673247dd74bcdd9e5acfc7735faf8a5b"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">Dune::Functions::enableIfConstructible</a>·=·typename·std::enable_if<·std::is_constructible<·T,·Args...·>::value,·int·>::type</td></tr> | ||
101 | <tr·class="mem | 133 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">Dune::Functio[·...·truncated·by·diffoscope;·len:·62,·SHA:·28f6512b1a604dfa1e6c257083b918d8be53f49f3b48fe7b83f7f272f9f544fd·...·]</td></tr> |
134 | <tr·class="memdesc:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<a·href="a00215.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">More...</a><br·/></td></tr> | ||
102 | <tr·class="separator:ga | 135 | <tr·class="separator:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memSeparator"·colspan="2"> </td></tr> |
136 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·>·</td></tr> | ||
137 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">Dune::Functions::Concept::isFunction</a>·()</td></tr> | ||
138 | <tr·class="memdesc:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01143.html">Function</a>·concept·with·given·signature.··<a·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">More...</a><br·/></td></tr> | ||
139 | <tr·class="separator:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
140 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
141 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gaf3604a4b809f49bb590440c0f06ededa">Dune::Functions::Concept::isFunction</a>·(F·&&f,·SignatureTag<·Signature,·DerivativeTraits·>)</td></tr> | ||
142 | <tr·class="memdesc:gaf3604a4b809f49bb590440c0f06ededa"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01143.html">Function</a>·concept·with·given·signature.··<a·href="a00207.html#gaf3604a4b809f49bb590440c0f06ededa">More...</a><br·/></td></tr> | ||
143 | <tr·class="separator:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
144 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
145 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga6c75551b9678848113181d29678ec81e">Dune::Functions::Concept::isDifferentiableFunction</a>·()</td></tr> | ||
146 | <tr·class="memdesc:ga6c75551b9678848113181d29678ec81e"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01151.html">DifferentiableFunction</a>·concept·with·given·signature.··<a·href="a00207.html#ga6c75551b9678848113181d29678ec81e">More...</a><br·/></td></tr> | ||
147 | <tr·class="separator:ga6c75551b9678848113181d29678ec81e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
148 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
149 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga2ce66508daac0e7fab4ea581865b13c3">Dune::Functions::Concept::isDifferentiableFunction</a>·(F·&&f,·SignatureTag<·Signature,·DerivativeTraits·>)</td></tr> | ||
150 | <tr·class="memdesc:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01151.html">DifferentiableFunction</a>·concept·with·given·signature.··<a·href="a00207.html#ga2ce66508daac0e7fab4ea581865b13c3">More...</a><br·/></td></tr> | ||
151 | <tr·class="separator:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
152 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·>·</td></tr> | ||
153 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gae2c89a3c7780ff790a8b066bbb5f9687">Dune::Functions::Concept::isLocalFunction</a>·()</td></tr> | ||
154 | <tr·class="memdesc:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01159.html">LocalFunction</a>·concept·with·given·signature·and·local·context.··<a·href="a00207.html#gae2c89a3c7780ff790a8b066bbb5f9687">More...</a><br·/></td></tr> | ||
155 | <tr·class="separator:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
156 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
157 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga2a244aa61f5d2c3f5d0dfb125b0436d5">Dune::Functions::Concept::isDifferentiableLocalFunction</a>·()</td></tr> | ||
158 | <tr·class="memdesc:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01167.html">DifferentiableLocalFunction</a>·concept·with·given·signature·and·local·context.··<a·href="a00207.html#ga2a244aa61f5d2c3f5d0dfb125b0436d5">More...</a><br·/></td></tr> | ||
159 | <tr·class="separator:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
160 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> | ||
161 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gaa59c2062e5469a358cd00ce5bb90fe4d">Dune::Functions::Concept::isEntitySet</a>·()</td></tr> | ||
162 | <tr·class="memdesc:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01179.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<a·href="a00207.html#gaa59c2062e5469a358cd00ce5bb90fe4d">More...</a><br·/></td></tr> | ||
163 | <tr·class="separator:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
164 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·EntitySet·>·</td></tr> | ||
165 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga1691be3e84b0405cc8a7ebcd598bd861">Dune::Functions::Concept::isGridFunction</a>·()</td></tr> | ||
166 | <tr·class="memdesc:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01179.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<a·href="a00207.html#ga1691be3e84b0405cc8a7ebcd598bd861">More...</a><br·/></td></tr> | ||
167 | <tr·class="separator:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
168 | <tr·class="memitem:gab53d12b97e04f88eec30f4192944e85a"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·EntitySet·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
169 | <tr·class="memitem:gab53d12b97e04f88eec30f4192944e85a"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gab53d12b97e04f88eec30f4192944e85a">Dune::Functions::Concept::isDifferentiableGridFunction</a>·()</td></tr> | ||
170 | <tr·class="memdesc:gab53d12b97e04f88eec30f4192944e85a"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01187.html">DifferentiableGridFunction</a>·concept·with·given·signature·and·entity·set.··<a·href="a00207.html#gab53d12b97e04f88eec30f4192944e85a">More...</a><br·/></td></tr> | ||
171 | <tr·class="separator:gab53d12b97e04f88eec30f4192944e85a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
172 | <tr·class="memitem:ga8510d4e3f9e774bd9a3f434e3de659c9"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·GridView·>·</td></tr> | ||
173 | <tr·class="memitem:ga8510d4e3f9e774bd9a3f434e3de659c9"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga8510d4e3f9e774bd9a3f434e3de659c9">Dune::Functions::Concept::isGridViewFunction</a>·()</td></tr> | ||
174 | <tr·class="memdesc:ga8510d4e3f9e774bd9a3f434e3de659c9"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01195.html">GridViewFunction</a>·concept·with·given·signature.··<a·href="a00207.html#ga8510d4e3f9e774bd9a3f434e3de659c9">More...</a><br·/></td></tr> | ||
Max diff block lines reached; 287/24131 bytes (1.19%) of diff not shown. |
Offset 5, 33 lines modified | Offset 5, 137 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces·|· | 9 | Classes·|·Namespaces·|·Functions |
10 | functionconcepts.hh·File·Reference | ||
10 | type_traits.hh·File·Reference | ||
11 | #include·<type_traits> | ||
12 | #include·<dune/common/type | 11 | #include·<dune/common/typelist.hh> |
12 | #include·<dune/common/concept.hh> | ||
13 | #include·<dune/functions/common/signature.hh> | ||
14 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
14 | ·Classes | 17 | ·Classes |
15 | struct· Dune::Functions::HasStaticSize<_T_> | ||
16 | 18 | struct· Dune::Functions::Concept::Callable<_Args_> | |
19 | ·······Concept·objects·that·can·be·called·with·given·argument·list.·More... | ||
17 | 20 | ||
18 | struct· Dune::Functions::StaticSize<_T_> | ||
19 | 21 | struct· Dune::Functions::Concept::Function<_Range(Domain)> | |
22 | ·······Concept·for·a·function·mapping·Domain·to·Range.·More... | ||
23 | |||
24 | struct· Dune::Functions::Concept::DifferentiableFunction<_Range(Domain), | ||
25 | ·········DerivativeTraits_> | ||
26 | ·······Concept·for·a·differentiable·function·mapping·Domain·to·Range.·More... | ||
27 | |||
28 | struct· Dune::Functions::Concept::LocalFunction<_Range(Domain),_LocalContext_> | ||
29 | ·······Concept·for·a·local·function·mapping·Domain·to·Range.·More... | ||
30 | |||
31 | struct· Dune::Functions::Concept::DifferentiableLocalFunction<_Range(Domain), | ||
32 | ·········LocalContext,_DerivativeTraits_> | ||
33 | ·······Concept·for·a·differentiable·local·function·mapping·Domain·to·Range. | ||
34 | ·········More... | ||
35 | |||
36 | struct· Dune::Functions::Concept::EntitySet | ||
37 | ·······Concept·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain), | ||
38 | ·········EntitySet,·DerivativeTraits>·More... | ||
39 | |||
40 | struct· Dune::Functions::Concept::GridFunction<_Range(Domain),_EntitySet_> | ||
41 | ·······Concept·for·a·grid·function·mapping·Domain·to·Range.·More... | ||
42 | |||
43 | struct· Dune::Functions::Concept::DifferentiableGridFunction<_Range(Domain), | ||
44 | ·········EntitySet,_DerivativeTraits_> | ||
45 | ·······Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range. | ||
46 | ·········More... | ||
47 | |||
48 | struct· Dune::Functions::Concept::GridViewFunction<_Range(Domain),_GridView_> | ||
49 | ·······Concept·for·a·grid·view·function·mapping·Domain·to·Range.·More... | ||
50 | |||
51 | struct· Dune::Functions::Concept::DifferentiableGridViewFunction<_Range | ||
52 | ·········(Domain),_GridView,_DerivativeTraits_> | ||
53 | ·······Concept·for·a·differentiable·grid·view·function·mapping·Domain·to | ||
54 | ·········Range.·More... | ||
20 | 55 | ||
21 | ·Namespaces | 56 | ·Namespaces |
22 | namespace· Dune | 57 | namespace· Dune |
23 | 58 | ||
24 | namespace· Dune::Functions | 59 | namespace· Dune::Functions |
25 | 60 | ||
26 | 61 | namespace· Dune::Functions::Concept | |
62 | |||
63 | ·Functions | ||
27 | template<class· | 64 | template<class·F·,·class...·Args> |
28 | using Dune::Functions::enableIfConstructible·=·typename·std::enable_if<·std:: | ||
29 | ·······is_constructible<·T,·Args...·>::value,·int·>::type | ||
30 | 65 | static·constexpr·auto Dune::Functions::Concept::isCallable·() | |
66 | ·····················Check·if·f·is·callable·with·given·argument·list.·More... | ||
67 | |||
68 | template<class·F·,·class...·Args> | ||
69 | static·constexpr·auto Dune::Functions::Concept::isCallable·(F·&&,·Args·&&...) | ||
70 | ·····················Check·if·f·is·callable·with·given·argument·list.·More... | ||
71 | |||
72 | template<class·F·,·class·Signature·> | ||
73 | static·constexpr·bool Dune::Functions::Concept::isFunction·() | ||
74 | ·····················Check·if·F·models·the·Function·concept·with·given | ||
75 | ·······················signature.·More... | ||
76 | |||
77 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
78 | static·constexpr·bool Dune::Functions::Concept::isFunction·(F·&&f, | ||
79 | ·······················SignatureTag<·Signature,·DerivativeTraits·>) | ||
80 | ·····················Check·if·f·models·the·Function·concept·with·given | ||
81 | ·······················signature.·More... | ||
82 | |||
83 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·= | ||
84 | DefaultDerivativeTraits> | ||
85 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableFunction·() | ||
86 | ·····················Check·if·F·models·the·DifferentiableFunction·concept | ||
87 | ·······················with·given·signature.·More... | ||
88 | |||
89 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
90 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableFunction·(F | ||
91 | ·······················&&f,·SignatureTag<·Signature,·DerivativeTraits·>) | ||
92 | ·····················Check·if·f·models·the·DifferentiableFunction·concept | ||
93 | ·······················with·given·signature.·More... | ||
94 | |||
95 | template<class·F·,·class·Signature·,·class·LocalContext·> | ||
96 | static·constexpr·bool Dune::Functions::Concept::isLocalFunction·() | ||
97 | ·····················Check·if·F·models·the·LocalFunction·concept·with·given | ||
98 | ·······················signature·and·local·context.·More... | ||
99 | |||
100 | template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·> | ||
101 | class·DerivativeTraits·=·DefaultDerivativeTraits> | ||
102 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableLocalFunction | ||
103 | ·······················() | ||
104 | ·····················Check·if·F·models·the·DifferentiableLocalFunction | ||
105 | ·······················concept·with·given·signature·and·local·context.·More... | ||
106 | |||
107 | template<class·E·> | ||
108 | static·constexpr·bool Dune::Functions::Concept::isEntitySet·() | ||
109 | ·····················Check·if·F·models·the·GridFunction·concept·with·given | ||
110 | ·······················signature·and·entity·set.·More... | ||
111 | |||
112 | template<class·F·,·class·Signature·,·class·EntitySet·> | ||
113 | static·constexpr·bool Dune::Functions::Concept::isGridFunction·() | ||
114 | ·····················Check·if·F·models·the·GridFunction·concept·with·given | ||
115 | ·······················signature·and·entity·set.·More... | ||
116 | |||
117 | template<class·F·,·class·Signature·,·class·EntitySet·,·template<·class·>·class | ||
118 | DerivativeTraits·=·DefaultDerivativeTraits> | ||
119 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableGridFunction | ||
120 | ·······················() | ||
121 | ·····················Check·if·F·models·the·DifferentiableGridFunction·concept | ||
122 | ·······················with·given·signature·and·entity·set.·More... | ||
Max diff block lines reached; 118/6780 bytes (1.74%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·t | 8 | <title>dune-functions:·functionconcepts.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 100 lines modified | Offset 62, 320 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title">t | 68 | ··<div·class="headertitle"><div·class="title">functionconcepts.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00005.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_T | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_T | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/typelist.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/signature.hh</a>></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00179.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Concept·{</div> | ||
83 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> | ||
84 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args></div> | ||
85 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">···25</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a>·=·<span·class="keyword">typename</span>·std::enable_if<</div> | ||
86 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··std::is_constructible<T,·Args...>::value,·<span·class="keywordtype">int</span>>::type;</div> | ||
87 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
88 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Callable·concept·############################################################</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
91 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
92 | <div·class="line"><a·id="l0003 | 94 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">template</span><<span·class="keyword">class</span>...·Args></div> |
95 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01139.html">···32</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01139.html">Callable</a></div> | ||
96 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
93 | <div·class="line"><a·id="l0003 | 97 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> |
94 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·staticSize(<span·class="keyword">const</span>·T*,·<span·class="keyword">const</span>·PriorityTag<0>&)</div> | ||
95 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">·· | 98 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01139.html#a8020f2dc3373ee93bbb30e7dfd362b9f">···35</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01139.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>(F&&·f)·->·<span·class="keyword"[·...·truncated·by·diffoscope;·len:·17,·SHA:·2ae7951a3397864287bfe6f184b5d25c154a6c6f4a97db928b7b85277f610774·...·]</div> |
99 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····f(std::declval<Args>()...)</div> | ||
96 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··);</div> |
97 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keywordflow">return</span>·{};</div> | ||
98 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 101 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>};</div> |
99 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
100 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="comment">//·Try·if·class·has·constexpr·default·constructor·and·size·method</span></div> | ||
101 | <div·class="line"><a·id="l0004 | 103 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> |
104 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">···47</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>()</div> | ||
105 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{·<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01139.html">Concept::Callable</a><Args...>,·F>();·}</div> | ||
102 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·staticSize(<span·class="keyword">const</span>·T*,·<span·class="keyword">const</span>·PriorityTag<1>&)</div> | ||
103 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····->·<span·class="keyword">decltype</span>(std::integral_constant<std::size_t,T().size()>())</div> | ||
104 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> | ||
105 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keywordflow">return</span>·{};</div> | ||
106 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··}</div> | ||
107 | <div·class="line"><a·id="l0004 | 106 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="comment">//·Try·if·tuple_size·is·implemented·for·class</span></div> | ||
109 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
110 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·staticSize(<span·class="keyword">const</span>·T*,·<span·class="keyword">const</span>·PriorityTag<2>&)</div> | ||
111 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····->·<span·class="keyword">decltype</span>(std::integral_constant<std::size_t,std::tuple_size<T>::value>())</div> | ||
112 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> | ||
113 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">return</span>·{};</div> | ||
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span> | 107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> |
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"> | 108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">···57</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga2bc5056bab5ba[·...·truncated·by·diffoscope;·len:·66,·SHA:·dab45c622f83dc3367b87f69158040ece58dd1a8b78b159998b901b22583a0d0·...·])</div> |
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span> | 109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> |
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·· | 110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01139.html">Concept::Callable</a><Args&&...>,·F>();</div> |
120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span> | 111 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>}</div> |
121 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | 112 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
122 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
123 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·hasStaticSize(<span·class="keyword">const</span>·T*·t,·<span·class="keyword">const</span>·PriorityTag<1>&·p)</div> | ||
124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····->·<span·class="keyword">decltype</span>(staticSize(t·,PriorityTag<42>()),·std::true_type())</div> | ||
125 | <div·class="line"><a·id="l0006 | 113 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
126 | <div·class="line"><a·id="l0006 | 114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
115 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·Function·concept·############################################################</span></div> | ||
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01143.html">···66</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01143.html">Function</a>;</div> | ||
127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>· | 118 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
119 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain></div> | ||
120 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01147.html">···77</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01143.html">Function</a><Range(Domain)>·:·Refines<Callable<Domain>·></div> | ||
128 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</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>·</div> | ||
131 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
132 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
133 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> |
134 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01331.html">···81</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01331.html">HasStaticSize</a>·:</div> | ||
135 | <div·class="line"><a·id="l0008 | 123 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">···80</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01147.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">require</a>([·...·truncated·by·diffoscope;·len:·59,·SHA:·0bab9ba0b675d30a7612eb97fdc6f6f2ce50272ac037bd353a0653d4216ec319·...·]</div> |
124 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·F·models·Function<Range(Domain)>·if·the·result·of·F(Domain)·is·implicitly·convertible·to·Range</span></div> | ||
125 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····requireConvertible<Range>(f(std::declval<Domain>()))</div> | ||
136 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span> | 126 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··);</div> |
137 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span> | 127 | <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>·</div> | 128 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
129 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·Signature></div> | ||
130 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">···88</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">isFunction</a>()</div> | ||
131 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>{·<span·class="keywordflow">return</span>·models<Concept::Function<Signature>,·F>();·}</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">···92</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits></div> | ||
134 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00207.html#gaf3604a4b809f49bb590440c0f06ededa">···93</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">isFunction</a>(F&&·f,·<a·class="code·hl_struct"·href="a01295.html">SignatureTag<Signature,·DerivativeTraits></a>)</div> | ||
135 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>{·<span·class="keywordflow">return</span>·models<Concept::Function<Signature>,·F>();·}</div> | ||
136 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
139 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
140 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
141 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01335.html">···95</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01335.html">StaticSize</a>·:</div> | ||
Max diff block lines reached; 10988/79481 bytes (13.82%) of diff not shown. |
Offset 5, 108 lines modified | Offset 5, 460 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | t | 9 | functionconcepts.hh |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_T | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_T | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_FUNCTIONCONCEPT_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type_traits> | ||
17 | ·7 | ||
18 | · | 16 | ·6#include·<dune/common/typelist.hh> |
19 | ·9 | ||
20 | ·10namespace·Dune·{ | ||
21 | · | 17 | ·7#include·<dune/common/concept.hh> |
18 | ·8 | ||
19 | ·9#include·<dune/functions/common/signature.hh> | ||
20 | ·10#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
21 | ·11#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
22 | ·12 | 22 | ·12 |
23 | ·13 | 23 | ·13namespace·Dune·{ |
24 | ·14namespace·Functions·{ | ||
25 | ·15namespace·Concept·{ | ||
26 | ·16 | ||
27 | ·17using·namespace·Dune::Concept; | ||
28 | ·18 | ||
29 | ·19 | ||
30 | ·20 | ||
31 | ·21//·Callable·concept | ||
32 | ############################################################ | ||
33 | ·22 | ||
34 | ·23 | ||
24 | · | 35 | ·31template<class...·Args> |
36 | 32struct·Callable | ||
37 | ·33{ | ||
25 | 25using·enableIfConstructible·=·typename·std::enable_if< | ||
26 | ·26·std::is_constructible<T,·Args...>::value,·int>::type; | ||
27 | ·27 | ||
28 | ·28 | ||
29 | ·29 | ||
30 | ·30namespace·Imp·{ | ||
31 | ·31 | ||
32 | ·32·//·As·a·last·resort·try·if·there's·a·static·constexpr·size() | ||
33 | ·3 | 38 | ·34·template<class·F> |
39 | 35·auto·require(F&&·f)·->·decltype( | ||
40 | ·36·f(std::declval<Args>()...) | ||
41 | ·37·); | ||
34 | ·34·constexpr·auto·staticSize(const·T*,·const·PriorityTag<0>&) | ||
35 | ·35·->·decltype(std::integral_constant<std::size_t,T::size()>()) | ||
36 | ·36·{ | ||
37 | ·37·return·{}; | ||
38 | ·38 | 42 | ·38}; |
39 | ·39 | 43 | ·39 |
44 | ·46template<class·F,·class...·Args> | ||
45 | 47static·constexpr·auto·isCallable() | ||
46 | ·48{·return·models<Concept::Callable<Args...>,·F>();·} | ||
47 | ·49 | ||
48 | ·56template<class·F,·class...·Args> | ||
49 | 57static·constexpr·auto·isCallable(F&&,·Args&&...) | ||
40 | ·40·//·Try·if·class·has·constexpr·default·constructor·and·size·method | ||
41 | ·41·template<class·T> | ||
42 | ·42·constexpr·auto·staticSize(const·T*,·const·PriorityTag<1>&) | ||
43 | ·43·->·decltype(std::integral_constant<std::size_t,T().size()>()) | ||
44 | ·44·{ | ||
45 | ·45·return·{}; | ||
46 | ·46·} | ||
47 | ·47 | ||
48 | ·48·//·Try·if·tuple_size·is·implemented·for·class | ||
49 | ·49·template<class·T> | ||
50 | ·50·constexpr·auto·staticSize(const·T*,·const·PriorityTag<2>&) | ||
51 | ·51·->·decltype(std::integral_constant<std::size_t,std::tuple_size<T>::value> | ||
52 | ()) | ||
53 | ·52·{ | ||
54 | ·53·return·{}; | ||
55 | ·54·} | ||
56 | ·55 | ||
57 | ·56·template<class·T> | ||
58 | ·57·constexpr·std::false_type·hasStaticSize(const·T*·t,·const·PriorityTag<0>& | ||
59 | p) | ||
60 | ·58 | 50 | ·58{ |
61 | ·59·return· | 51 | ·59·return·models<Concept::Callable<Args&&...>,·F>(); |
62 | ·60 | 52 | ·60} |
63 | ·61 | 53 | ·61 |
54 | ·62 | ||
55 | ·63 | ||
56 | ·64//·Function·concept | ||
57 | ############################################################ | ||
58 | ·65template<class·Signature> | ||
59 | 66struct·Function; | ||
60 | ·67 | ||
61 | ·76template<class·Range,·class·Domain> | ||
62 | 77struct·Function<Range(Domain)>·:·Refines<Callable<Domain>·> | ||
63 | ·78{ | ||
64 | · | 64 | ·79·template<class·F> |
65 | 80·auto·require(F&&·f)·->·decltype( | ||
66 | ·81·//·F·models·Function<Range(Domain)>·if·the·result·of·F(Domain)·is | ||
67 | implicitly·convertible·to·Range | ||
68 | ·82·requireConvertible<Range>(f(std::declval<Domain>())) | ||
69 | ·83·); | ||
65 | ·63·constexpr·auto·hasStaticSize(const·T*·t,·const·PriorityTag<1>&·p) | ||
66 | ·64·->·decltype(staticSize(t·,PriorityTag<42>()),·std::true_type()) | ||
67 | ·65·{ | ||
68 | ·66·return·{}; | ||
69 | ·67·} | ||
70 | ·68 | ||
71 | ·69} | ||
72 | ·70 | ||
73 | ·71 | ||
74 | ·72 | ||
75 | ·80template<class·T> | ||
76 | 81struct·HasStaticSize·: | ||
77 | ·82·public·decltype(Imp::hasStaticSize((typename·std::decay<T>::type*) | ||
78 | (nullptr),·PriorityTag<42>())) | ||
79 | ·83{}; | ||
80 | ·84 | 70 | ·84}; |
81 | ·85 | 71 | ·85 |
82 | ·8 | 72 | ·87template<class·F,·class·Signature> |
73 | 88static·constexpr·bool·isFunction() | ||
74 | ·89{·return·models<Concept::Function<Signature>,·F>();·} | ||
75 | ·90 | ||
76 | ·92template<class·F,·class·Signature,·template<class>·class·DerivativeTraits> | ||
77 | 93static·constexpr·bool·isFunction(F&&·f,·SignatureTag<Signature, | ||
Max diff block lines reached; 5236/20295 bytes (25.80%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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 63, 30 lines modified | Offset 63, 53 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>·| | ||
73 | <a·href="#var-members">Variables</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">referencehelper.hh·File·Reference</div></div> |
72 | </div><!--header--> | 75 | </div><!--header--> |
73 | <div·class="contents"> | 76 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·< | 77 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
75 | <code>#include·<dune/common/ | 78 | <code>#include·<dune/common/referencehelper.hh></code><br·/> |
76 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
77 | </div> | 79 | </div> |
78 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> | 80 | <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
81 | Namespaces</h2></td></tr> | 83 | Namespaces</h2></td></tr> |
82 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 84 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 86 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | </table><table·class="memberdecls"> | ||
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
90 | Typedefs</h2></td></tr> | ||
91 | <tr·class="memitem:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
92 | <tr·class="memitem:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">Dune::Functions::ResolveRef_t</a>·=·Dune::ResolveRef_t<·T·></td></tr> | ||
93 | <tr·class="memdesc:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="mdescLeft"> </td><td·class="mdescRight">This·is·an·alias·for·Dune::ResolveRef_t.··<a·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table><table·class="memberdecls"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
97 | Functions</h2></td></tr> | ||
98 | <tr·class="memitem:acd448ecd78521f983720ec5a6f3e7698"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
99 | <tr·class="memitem:acd448ecd78521f983720ec5a6f3e7698"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">Dune::Functions::resolveRef</a>·(T·&&t)</td></tr> | ||
100 | <tr·class="memdesc:acd448ecd78521f983720ec5a6f3e7698"><td·class="mdescLeft"> </td><td·class="mdescRight">This·is·an·alias·for·Dune::resolveRef.··<a·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:acd448ecd78521f983720ec5a6f3e7698"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | </table><table·class="memberdecls"> | ||
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> | ||
104 | Variables</h2></td></tr> | ||
105 | <tr·class="memitem:a432dd9531e141b59ba6b90a6104f2cb7"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
106 | <tr·class="memitem:a432dd9531e141b59ba6b90a6104f2cb7"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">Dune::Functions::IsReferenceWrapper_v</a>·=·Dune::IsReferenceWrapper_v<T></td></tr> | ||
107 | <tr·class="memdesc:a432dd9531e141b59ba6b90a6104f2cb7"><td·class="mdescLeft"> </td><td·class="mdescRight">This·is·an·alias·for·Dune::IsReferenceWrapper_v.··<a·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:a432dd9531e141b59ba6b90a6104f2cb7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
86 | </table> | 109 | </table> |
87 | </div><!--·contents·--> | 110 | </div><!--·contents·--> |
88 | <!--·start·footer·part·--> | 111 | <!--·start·footer·part·--> |
89 | <hr·class="footer"/><address·class="footer"><small> | 112 | <hr·class="footer"/><address·class="footer"><small> |
90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
91 | </small></address> | 114 | </small></address> |
92 | </body> | 115 | </body> |
Offset 5, 21 lines modified | Offset 5, 36 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces | ||
10 | differentiablefunction_imp.hh·File·Reference | ||
11 | 9 | Namespaces·|·Typedefs·|·Functions·|·Variables | |
10 | referencehelper.hh·File·Reference | ||
11 | #include·<type_traits> | ||
12 | #include·<dune/common/ | 12 | #include·<dune/common/referencehelper.hh> |
13 | #include·<dune/functions/common/type_traits.hh> | ||
14 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
15 | ·Namespaces | 14 | ·Namespaces |
16 | namespace· Dune | 15 | namespace· Dune |
17 | 16 | ||
18 | namespace· Dune::Functions | 17 | namespace· Dune::Functions |
19 | 18 | ||
19 | ·Typedefs | ||
20 | template<class·T·> | ||
21 | using Dune::Functions::ResolveRef_t·=·Dune::ResolveRef_t<·T·> | ||
22 | ·····This·is·an·alias·for·Dune::ResolveRef_t.·More... | ||
23 | |||
24 | ·Functions | ||
25 | template<class·T·> | ||
26 | decltype(auto) Dune::Functions::resolveRef·(T·&&t) | ||
27 | ··············This·is·an·alias·for·Dune::resolveRef.·More... | ||
28 | |||
29 | ·Variables | ||
30 | template<class·T·> | ||
31 | constexpr·bool Dune::Functions::IsReferenceWrapper_v·=·Dune:: | ||
32 | ················IsReferenceWrapper_v<T> | ||
33 | ··············This·is·an·alias·for·Dune::IsReferenceWrapper_v.·More... | ||
34 | |||
20 | =============================================================================== | 35 | =============================================================================== |
21 | ·····Generated·by [doxygen]·1.9.4 | 36 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·referencehelper.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 116 lines modified | Offset 62, 65 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">referencehelper.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_REFERENCE_HELPER_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_REFERENCE_HELPER_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#warning·The·header·dune/functions/common/referencehelper.hh·is·deprecated·and·will·be·removed·after·release·2.9.·Include·dune/common/referencehelper.hh·instead.</span></div> | ||
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> |
80 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
82 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
83 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
85 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
86 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">struct·</span>HasFreeDerivative</div> | ||
87 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
88 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>[[deprecated(<span·class="stringliteral">"Use·Dune::IsReferenceWrapper_v·instead.·Will·be·removed·after·release·2.9."</span>)]]</div> | ||
89 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span></div> |
92 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">···26</a></span><a·class="code·hl_variable"·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">IsReferenceWrapper_v</a>·=·Dune::IsReferenceWrapper_v<T>;</div> | ||
90 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f)</div> | ||
91 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··);</div> | ||
92 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>};</div> | ||
93 | <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> | 93 | <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> | 94 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
96 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
97 | <div·class="line"><a·id="l0003 | 96 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)</div> |
97 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">···35</a></span><a·class="code·hl_function"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">resolveRef</a></div> | ||
98 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>[[deprecated(<span·class="stringliteral">"Use·Dune::resolveRef·instead.·Will·be·removed·after·release·2.9."</span>)]]</div> | ||
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····models<·HasFreeDerivative,·F>()·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">auto</span>·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)·->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f))</div> | ||
100 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> | ||
101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f);</div> | ||
102 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>}</div> | ||
103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 99 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>(T&&·t)</div> |
105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 100 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> |
101 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">Dune::resolveRef</a>(std::forward<T>(t));</div> | ||
106 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> | ||
107 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">typename</span>·std::enable_if<</div> | ||
108 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····not(models<·HasFreeDerivative,·F>())·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>Dummy·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)</div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
112 | <div·class="line"><a·id="l0004 | 102 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}</div> |
113 | <div·class="line"><a·id="l0004 | 103 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
104 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">···47</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">ResolveRef_t</a></div> | ||
106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>[[deprecated(<span·class="stringliteral">"Use·Dune::ResolveRef_t·instead.·Will·be·removed·after·release·2.9."</span>)]]</div> | ||
107 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··=·Dune::ResolveRef_t<T>;</div> | ||
114 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface></div> | ||
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface</div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 109 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
110 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
119 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
121 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//</span></div> | ||
122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
123 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
124 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface></div> | ||
125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface<Range(Domain),·DerivativeInterface></div> | ||
126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> | ||
127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> | ||
128 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)·<span·class="keyword">const</span>·=·0;</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="keyword">virtual</span>·DerivativeInterface·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>};</div> | ||
132 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</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>·</div> | ||
135 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
136 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation</div> | ||
137 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{};</div> | ||
138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
140 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
141 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation<·Range(Domain),·DerivativeInterface,·B>·:</div> | ||
142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">public</span>·B</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="keyword">public</span>:</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">···79</span>··<span·class="keyword">using·</span>B::B;</div> | ||
147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">using·</span>Wrapped·=·<span·class="keyword">typename</span>·B::Wrapped;</div> | ||
148 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
150 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">··</span>{</div> | ||
151 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·this->get()(x);</div> | ||
152 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
153 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
154 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">virtual</span>·DerivativeInterface·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>()<span·class="keyword">·const</span></div> | ||
155 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">··</span>{</div> | ||
156 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordflow">return</span>·derivativeIfImplemented<DerivativeInterface,·Wrapped>(this->get());</div> | ||
Max diff block lines reached; 1492/23944 bytes (6.23%) of diff not shown. |
Offset 5, 119 lines modified | Offset 5, 75 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | referencehelper.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_REFERENCE_HELPER_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_REFERENCE_HELPER_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#in | 16 | ·6#warning·The·header·dune/functions/common/referencehelper.hh·is·deprecated |
17 | and·will·be·removed·after·release·2.9.·Include·dune/common/referencehelper.hh | ||
18 | instead. | ||
19 | ·7 | ||
20 | ·8#include·<type_traits> | ||
21 | ·9 | ||
17 | · | 22 | ·10#include·<dune/common/referencehelper.hh> |
18 | ·8 | ||
19 | ·9#include·<dune/functions/common/type_traits.hh> | ||
20 | ·10 | ||
21 | ·11 | 23 | ·11 |
24 | ·12 | ||
25 | ·13 | ||
26 | ·14 | ||
22 | ·1 | 27 | ·15namespace·Dune·{ |
23 | ·1 | 28 | ·16namespace·Functions·{ |
29 | ·17 | ||
30 | ·18 | ||
24 | ·14namespace·Imp·{ | ||
25 | ·15 | ||
26 | ·19struct·HasFreeDerivative | ||
27 | ·20{ | ||
28 | ·2 | 31 | ·23template<class·T> |
32 | ·24[[deprecated("Use·Dune::IsReferenceWrapper_v·instead.·Will·be·removed·after | ||
33 | release·2.9.")]] | ||
34 | ·25constexpr·bool | ||
35 | 26IsReferenceWrapper_v·=·Dune::IsReferenceWrapper_v<T>; | ||
29 | ·22·auto·require(F&&·f)·->·decltype( | ||
30 | ·23·derivative(f) | ||
31 | ·24·); | ||
32 | ·25}; | ||
33 | ·26 | ||
34 | ·27 | 36 | ·27 |
35 | ·28 | 37 | ·28 |
38 | ·33template<class·T> | ||
39 | ·34decltype(auto) | ||
40 | 35resolveRef | ||
41 | ·36[[deprecated("Use·Dune::resolveRef·instead.·Will·be·removed·after·release | ||
42 | 2.9.")]] | ||
43 | ·37(T&&·t) | ||
36 | ·29template<class·Dummy,·class·F, | ||
37 | ·30·typename·std::enable_if< | ||
38 | ·31·models<·HasFreeDerivative,·F>()·,·int>::type·=·0> | ||
39 | ·32auto·derivativeIfImplemented(const·F&·f)·->·decltype(derivative(f)) | ||
40 | ·33{ | ||
41 | ·34·return·derivative(f); | ||
42 | ·35} | ||
43 | ·36 | ||
44 | ·37 | ||
45 | ·38 | 44 | ·38{ |
45 | ·39·return·Dune::resolveRef(std::forward<T>(t)); | ||
46 | ·39template<class·Dummy,·class·F, | ||
47 | ·40·typename·std::enable_if< | ||
48 | ·41·not(models<·HasFreeDerivative,·F>())·,·int>::type·=·0> | ||
49 | ·42Dummy·derivativeIfImplemented(const·F&·f) | ||
50 | ·43{ | ||
51 | ·44·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
52 | ·4 | 46 | ·40} |
47 | ·41 | ||
48 | ·46template<class·T> | ||
49 | 47using·ResolveRef_t | ||
50 | ·48[[deprecated("Use·Dune::ResolveRef_t·instead.·Will·be·removed·after·release | ||
51 | 2.9.")]] | ||
52 | ·49·=·Dune::ResolveRef_t<T>; | ||
53 | ·50 | ||
54 | ·51 | ||
53 | ·46 | ||
54 | ·47 | ||
55 | ·48 | ||
56 | ·49template<class·Signature,·class·DerivativeInterface> | ||
57 | ·50class·DifferentiableFunctionWrapperInterface | ||
58 | ·51{}; | ||
59 | ·52 | ||
60 | ·53//·Interface·of·type·erasure·wrapper | ||
61 | ·54// | ||
62 | ·55//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor, | ||
63 | clone,·...) | ||
64 | ·56//·will·be·added·by·the·type·erasure·foundation·classes. | ||
65 | ·57template<class·Range,·class·Domain,·class·DerivativeInterface> | ||
66 | ·58class·DifferentiableFunctionWrapperInterface<Range(Domain), | ||
67 | DerivativeInterface> | ||
68 | ·59{ | ||
69 | ·60public: | ||
70 | ·61·virtual·Range·operator()·(const·Domain&·x)·const·=·0; | ||
71 | ·62 | ||
72 | ·63·virtual·DerivativeInterface·derivative()·const·=·0; | ||
73 | ·64}; | ||
74 | ·65 | ||
75 | ·66 | ||
76 | ·67 | ||
77 | ·68template<class·Signature,·class·DerivativeInterface,·class·B> | ||
78 | ·69class·DifferentiableFunctionWrapperImplementation | ||
79 | ·70{}; | ||
80 | ·71 | ||
81 | ·72//·Implementation·of·type·erasure·wrapper | ||
82 | ·73template<class·Range,·class·Domain,·class·DerivativeInterface,·class·B> | ||
83 | ·74class·DifferentiableFunctionWrapperImplementation<·Range(Domain), | ||
84 | DerivativeInterface,·B>·: | ||
85 | ·75·public·B | ||
86 | ·76{ | ||
87 | ·77public: | ||
88 | ·78 | ||
89 | ·79·using·B::B; | ||
90 | ·80·using·Wrapped·=·typename·B::Wrapped; | ||
91 | ·81 | ||
92 | ·82·virtual·Range·operator()·(const·Domain&·x)·const | ||
93 | ·83·{ | ||
94 | ·84·return·this->get()(x); | ||
95 | ·85·} | ||
96 | ·86 | ||
97 | ·87·virtual·DerivativeInterface·derivative()·const | ||
98 | ·88·{ | ||
99 | ·89·return·derivativeIfImplemented<DerivativeInterface,·Wrapped>(this->get()); | ||
Max diff block lines reached; 593/4748 bytes (12.49%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction_imp.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 50 lines modified | Offset 63, 29 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
71 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#func-members">Functions</a>··</div> | ||
73 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">localfunction_imp.hh·File·Reference</div></div> |
74 | </div><!--header--> | 72 | </div><!--header--> |
75 | <div·class="contents"> | 73 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
77 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a000 | 74 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a000 | 75 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> |
80 | <code>#include·<<a·class="el"·href="a00026_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
81 | </div> | 76 | </div> |
82 | <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> | 77 | <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
85 | Classes</h2></td></tr> | ||
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·></a></td></tr> | ||
87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01131.html#details">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></a></td></tr> | ||
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01135.html#details">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | </table><table·class="memberdecls"> | ||
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
94 | Namespaces</h2></td></tr> | 80 | Namespaces</h2></td></tr> |
95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 81 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 83 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplParams"·colspan="2">template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class...·F>·</td></tr> | ||
103 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplItemLeft"·align="right"·valign="top">DifferentiableFunctionFromCallables<·Signature,·DerivativeTraits,·F...·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">Dune::Functions::makeDifferentiableFunctionFromCallables</a>·(const·SignatureTag<·Signature,·DerivativeTraits·>·&signatureTag,·F·&&...·f)</td></tr> | ||
104 | <tr·class="memdesc:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01095.html">DifferentiableFunction</a>·from·callables.··<a·href="a00209.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | </table> | 85 | </table> |
107 | </div><!--·contents·--> | 86 | </div><!--·contents·--> |
108 | <!--·start·footer·part·--> | 87 | <!--·start·footer·part·--> |
109 | <hr·class="footer"/><address·class="footer"><small> | 88 | <hr·class="footer"/><address·class="footer"><small> |
110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 89 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
111 | </small></address> | 90 | </small></address> |
112 | </body> | 91 | </body> |
Offset 5, 47 lines modified | Offset 5, 20 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces | ||
10 | localfunction_imp.hh·File·Reference | ||
9 | Classes·|·Namespaces·|·Functions | ||
10 | differentiablefunctionfromcallables.hh·File·Reference | ||
11 | #include·<dune/common/typeutilities.hh> | ||
12 | #include·<dune/common/hybridutilities.hh> | ||
13 | #include·<dune/functions/common/ | 11 | #include·<dune/functions/common/type_traits.hh> |
14 | #include·<dune/functions/common/differentiablefunction.hh> | 12 | #include·<dune/functions/common/differentiablefunction_imp.hh> |
15 | #include·<dune/functions/common/functionconcepts.hh> | ||
16 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | ||
18 | class· Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
19 | ········DerivativeTraits,_F_> | ||
20 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
21 | ······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
22 | ········More... | ||
23 | |||
24 | class· Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
25 | ········DerivativeTraits,_F,_DF,_Derivatives..._> | ||
26 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
27 | ······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
28 | ········More... | ||
29 | |||
30 | ·Namespaces | 14 | ·Namespaces |
31 | namespace· Dune | 15 | namespace· Dune |
32 | 16 | ||
33 | namespace· Dune::Functions | 17 | namespace· Dune::Functions |
34 | 18 | ||
35 | ·Functions | ||
36 | template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class... | ||
37 | F> | ||
38 | ·DifferentiableFunctionFromCallables<·Dune::Functions:: | ||
39 | ·Signature,·DerivativeTraits,·F...·> makeDifferentiableFunctionFromCallables | ||
40 | ······································(const·SignatureTag<·Signature, | ||
41 | ······································DerivativeTraits·>·&signatureTag,·F·&&... | ||
42 | ······································f) | ||
43 | ····································Create·a·DifferentiableFunction·from | ||
44 | ······································callables.·More... | ||
45 | |||
46 | =============================================================================== | 19 | =============================================================================== |
47 | ·····Generated·by [doxygen]·1.9.4 | 20 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·localfunction_imp.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 141 lines modified | Offset 62, 88 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">localfunction_imp.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00011.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00011.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/signature.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">//</span></div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class=" | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext></div> | ||
88 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">class·</span>LocalFunctionWrapperInterface·:</div> |
89 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> |
90 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> |
91 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">public</span>:</div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&)·=·0;</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class</span>...·Callables></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01127.html">···23</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a>;</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()·=·0;</div> | ||
96 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
97 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F></div> | ||
98 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()·<span·class="keyword">const</span>·=·0;</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">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()·<span·class="keyword">const</span>·=·0;</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>};</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">class</span>·B></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">class·</span>LocalFunctionWrapperImplementation·:</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
99 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> |
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>Base·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
100 | <div·class="line"><a·id="l0004 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">public</span>:</div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>Base::Base;</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&·context)</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····this->get().bind(context);</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··}</div> | ||
101 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
102 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()</div> |
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····this->get().unbind();</div> | ||
103 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··}</div> |
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01131.html#acce6cff869c703e4f707474228581e03">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01131.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::RawSignature</a>;</div> | ||
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
106 | <div·class="line"><a·id="l0005 | 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> |
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">··</span>{</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">return</span>·this->get().bound();</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··}</div> | ||
107 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
108 | <div·class="line"><a·id="l0005 | 128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()<span·class="keyword">·const</span></div> |
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·this->get().localContext();</div> | ||
109 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> |
110 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF>·=·0></div> | ||
111 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01131.html#a9509c11776197d4e92b8d1f0ad2a10cb">···61</a></span>··<a·class="code·hl_function"·href="a01131.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a>(FF&&·f)·:</div> | ||
112 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span> | 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div> |
113 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>· | 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">//·namespace·Dune::Functions::Imp</span></div> | ||
114 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01131.html#a720d931d3d5ea77435ea74436c6ab489">···66</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">··</span>{</div> | ||
117 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keywordflow">return</span>·f_(x);</div> | ||
118 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> | ||
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
120 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00209.html#ga8bec39fece3c312f2030bab07b2e8721">···76</a></span>··<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a01095.html">Derivative</a>·<a·class="code·hl_friend"·href="a00209.html#ga8bec39fece3c312f2030bab07b2e8721">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a>&·t)</div> | ||
121 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··{</div> | ||
122 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
123 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}</div> | ||
124 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
125 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> | ||
126 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··F·f_;</div> | ||
127 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>};</div> | ||
128 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
129 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
130 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
131 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>DF,·<span·class="keyword">class</span>...·Derivatives></div> | ||
132 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01135.html">··104</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a><Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...></div> | ||
133 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>{</div> | ||
134 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="keyword">public</span>:</div> | ||
135 | <div·class="line"><a·id="l00 | 137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> | ||
136 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">··108</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·=·Range(Domain);</div> | ||
137 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01135.html#a8a377025a382bd84ae15639b09413719">··109</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01135.html#a8a377025a382bd84ae15639b09413719">RawSignature</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::RawSignature</a>;</div> | ||
138 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01135.html#a28d6edb5a9eb34766c6807a2f10550af">··110</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01135.html#a28d6edb5a9eb34766c6807a2f10550af">DerivativeSignature</a>·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(Domain);</div> | ||
Max diff block lines reached; 5132/36366 bytes (14.11%) of diff not shown. |
Offset 5, 191 lines modified | Offset 5, 89 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | localfunction_imp.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | · | 16 | ·6#include·<dune/functions/common/type_traits.hh> |
18 | · | 17 | ·7#include·<dune/functions/common/differentiablefunction_imp.hh> |
18 | ·8 | ||
19 | ·9 | 19 | ·9 |
20 | ·10#include·<dune/functions/common/signature.hh> | ||
21 | ·11 | ||
22 | ·12#include·<dune/functions/common/differentiablefunction.hh> | ||
23 | ·1 | 20 | ·10 |
21 | ·11namespace·Dune·{ | ||
22 | ·12namespace·Functions·{ | ||
23 | ·13namespace·Imp·{ | ||
24 | ·14 | 24 | ·14 |
25 | ·15 | 25 | ·15//·Interface·of·type·erasure·wrapper |
26 | ·16 | 26 | ·16// |
27 | ·17namespace·Dune·{ | ||
28 | ·18namespace·Functions·{ | ||
29 | ·19 | ||
30 | ·20 | ||
31 | ·21 | ||
32 | ·22template<class·Signature,·template<class>·class·DerivativeTraits,·class... | ||
33 | Callables> | ||
34 | 23class·DifferentiableFunctionFromCallables; | ||
35 | · | 27 | ·17//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor, |
28 | clone,·...) | ||
29 | ·18//·will·be·added·by·the·type·erasure·foundation·classes. | ||
30 | ·19template<class·Signature,·class·DerivativeInterface,·class·LocalContext> | ||
31 | ·20class·LocalFunctionWrapperInterface·: | ||
32 | ·21·public·DifferentiableFunctionWrapperInterface<Signature, | ||
33 | DerivativeInterface> | ||
34 | ·22{ | ||
35 | ·23public: | ||
36 | ·24·virtual·void·bind(const·LocalContext&)·=·0; | ||
36 | ·25 | 37 | ·25 |
37 | ·26 | ||
38 | · | 38 | ·26·virtual·void·unbind()·=·0; |
39 | ·27 | ||
40 | ·28·virtual·bool·bound()·const·=·0; | ||
41 | ·29 | ||
42 | ·30·virtual·const·LocalContext&·localContext()·const·=·0; | ||
43 | ·31}; | ||
44 | ·32 | ||
45 | ·33 | ||
46 | ·34//·Implementation·of·type·erasure·wrapper | ||
47 | ·35template<class·Signature,·class·DerivativeInterface,·class·LocalContext, | ||
39 | class· | 48 | class·B> |
40 | 44class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits,·F> | ||
41 | · | 49 | ·36class·LocalFunctionWrapperImplementation·: |
50 | ·37·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
51 | DerivativeInterface,·B> | ||
52 | ·38{ | ||
53 | ·39·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
54 | DerivativeInterface,·B>; | ||
42 | ·4 | 55 | ·40public: |
56 | ·41·using·Base::Base; | ||
57 | ·42 | ||
58 | ·43·virtual·void·bind(const·LocalContext&·context) | ||
59 | ·44·{ | ||
60 | ·45·this->get().bind(context); | ||
61 | ·46·} | ||
43 | ·47 | 62 | ·47 |
44 | 49·using·Signature·=·Range(Domain); | ||
45 | ·50 | ||
46 | 63 | ·48·virtual·void·unbind() | |
64 | ·49·{ | ||
65 | ·50·this->get().unbind(); | ||
66 | ·51·} | ||
47 | ·52 | 67 | ·52 |
68 | ·53·virtual·bool·bound()·const | ||
69 | ·54·{ | ||
70 | ·55·return·this->get().bound(); | ||
48 | 54·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
49 | (Domain); | ||
50 | ·55 | ||
51 | 57·using·Derivative·=·DifferentiableFunction<DerivativeSignature, | ||
52 | DerivativeTraits>; | ||
53 | ·58 | ||
54 | ·60·template<class·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF> | ||
55 | =·0> | ||
56 | 61·DifferentiableFunctionFromCallables(FF&&·f)·: | ||
57 | ·62·f_(std::forward<FF>(f)) | ||
58 | ·63·{} | ||
59 | ·64 | ||
60 | 66·Range·operator()·(const·Domain&·x)·const | ||
61 | ·67·{ | ||
62 | ·68·return·f_(x); | ||
63 | · | 71 | ·56·} |
72 | ·57 | ||
73 | ·58·virtual·const·LocalContext&·localContext()·const | ||
74 | ·59·{ | ||
75 | ·60·return·this->get().localContext(); | ||
76 | ·61·} | ||
77 | ·62}; | ||
78 | ·63 | ||
79 | ·64}}}·//·namespace·Dune::Functions::Imp | ||
64 | ·70 | ||
65 | 76·friend·Derivative·derivative(const·DifferentiableFunctionFromCallables&·t) | ||
66 | ·77·{ | ||
67 | ·78·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
68 | ·79·} | ||
69 | ·80 | ||
70 | ·81private: | ||
71 | ·82·F·f_; | ||
72 | ·83}; | ||
73 | ·84 | ||
74 | ·85 | ||
75 | ·86 | ||
76 | ·103template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
77 | class·F,·class·DF,·class...·Derivatives> | ||
78 | 104class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits, | ||
79 | F,·DF,·Derivatives...> | ||
80 | ·105{ | ||
Max diff block lines reached; 2538/8721 bytes (29.10%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunctionfromcallables.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 38 lines modified | Offset 63, 50 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">differentiablefunctionfromcallables.hh·File·Reference</div></div> |
73 | </div><!--header--> | 74 | </div><!--header--> |
74 | <div·class="contents"> | 75 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<dune/common/ | 76 | <div·class="textblock"><code>#include·<dune/common/typeutilities.hh></code><br·/> |
77 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
76 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/t | 80 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
78 | </div> | 81 | </div> |
79 | <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p> |
80 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
85 | Classes</h2></td></tr> | ||
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·></a></td></tr> | ||
87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01131.html#details">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·></a></td></tr> | ||
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>··<a·href="a01135.html#details">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | </table><table·class="memberdecls"> | ||
81 | <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> |
82 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
83 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
88 | <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> |
89 | Functions</h2></td></tr> | 101 | Functions</h2></td></tr> |
90 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplParams"·colspan="2">template<std::size_t·begin_t,·std::size_t·end_t,·class·F·,·class...·Args>·</td></tr> | ||
91 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">Dune::Functions::staticFindInRange</a>·(F·&&f,·Args·&&...·args)</td></tr> | ||
92 | <tr·class="mem | 102 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplParams"·colspan="2">template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class...·F>·</td></tr> |
103 | <tr·class="memitem:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memTemplItemLeft"·align="right"·valign="top">DifferentiableFunctionFromCallables<·Signature,·DerivativeTraits,·F...·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">Dune::Functions::makeDifferentiableFunctionFromCallables</a>·(const·SignatureTag<·Signature,·DerivativeTraits·>·&signatureTag,·F·&&...·f)</td></tr> | ||
104 | <tr·class="memdesc:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01095.html">DifferentiableFunction</a>·from·callables.··<a·href="a00209.html#gad3bb1b3fe74c7f750a3980f4c0ce0449">More...</a><br·/></td></tr> | ||
93 | <tr·class="separator:ga | 105 | <tr·class="separator:gad3bb1b3fe74c7f750a3980f4c0ce0449"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table> | 106 | </table> |
95 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
96 | <!--·start·footer·part·--> | 108 | <!--·start·footer·part·--> |
97 | <hr·class="footer"/><address·class="footer"><small> | 109 | <hr·class="footer"/><address·class="footer"><small> |
98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
99 | </small></address> | 111 | </small></address> |
100 | </body> | 112 | </body> |
Offset 5, 26 lines modified | Offset 5, 47 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces·|·Functions | 9 | Classes·|·Namespaces·|·Functions |
10 | 10 | differentiablefunctionfromcallables.hh·File·Reference | |
11 | #include·<dune/common/ | 11 | #include·<dune/common/typeutilities.hh> |
12 | #include·<dune/common/hybridutilities.hh> | ||
12 | #include·<dune/functions/common/ | 13 | #include·<dune/functions/common/signature.hh> |
14 | #include·<dune/functions/common/differentiablefunction.hh> | ||
13 | #include·<dune/functions/ | 15 | #include·<dune/functions/common/functionconcepts.hh> |
14 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | ||
18 | class· Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
19 | ········DerivativeTraits,_F_> | ||
20 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
21 | ······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
22 | ········More... | ||
23 | |||
24 | class· Dune::Functions::DifferentiableFunctionFromCallables<_Range(Domain), | ||
25 | ········DerivativeTraits,_F,_DF,_Derivatives..._> | ||
26 | ········Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling | ||
27 | ······Concept::DifferentiableFunction<Range(Domain),_DerivativeTraits> | ||
28 | ········More... | ||
29 | |||
15 | ·Namespaces | 30 | ·Namespaces |
16 | namespace· Dune | 31 | namespace· Dune |
17 | 32 | ||
18 | namespace· Dune::Functions | 33 | namespace· Dune::Functions |
19 | 34 | ||
20 | ·Functions | 35 | ·Functions |
21 | template<std::size_t·begin_t,·std::size_t·end_t,·class·F·,·class...·Args> | ||
22 | void Dune::Functions::staticFindInRange·(F·&&f,·Args·&&...·args) | ||
23 | 36 | template<class·Signature·,·template<·class·>·class·DerivativeTraits,·class... | |
37 | F> | ||
38 | ·DifferentiableFunctionFromCallables<·Dune::Functions:: | ||
39 | ·Signature,·DerivativeTraits,·F...·> makeDifferentiableFunctionFromCallables | ||
40 | ······································(const·SignatureTag<·Signature, | ||
41 | ······································DerivativeTraits·>·&signatureTag,·F·&&... | ||
42 | ······································f) | ||
43 | ····································Create·a·DifferentiableFunction·from | ||
44 | ······································callables.·More... | ||
24 | 45 | ||
25 | =============================================================================== | 46 | =============================================================================== |
26 | ·····Generated·by [doxygen]·1.9.4 | 47 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunctionfromcallables.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 75 lines modified | Offset 62, 141 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">differentiablefunctionfromcallables.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/ | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a0 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/signature.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
87 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
88 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span> | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply(F&&·f,·Args&&...·args)</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keywordflow">if</span>·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...))</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>······<span·class="keywordflow">return</span>;</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··}</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>};</div> | ||
99 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ST,·ST·end></div> | ||
101 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span[·...·truncated·by·diffoscope;·len:·66,·SHA:·f3f18d784430e3d5c28c7a45d3eacc34c2f8148763e809023caf13cd07137448·...·]></div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01127.html">···23</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a>;</div> | ||
102 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
104 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
97 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keyword">class·</span>F></div> | ||
98 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01131.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a><Range(Domain),·DerivativeTraits,·F></div> | ||
99 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> | ||
100 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">public</span>:</div> | ||
101 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·=·Range(Domain);</div> | ||
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01131.html#acce6cff869c703e4f707474228581e03">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01131.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::RawSignature</a>;</div> | ||
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
106 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01131.html#af3d92b77ee01a494d609225d37eb5259">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01131.html#af3d92b77ee01a494d609225d37eb5259">DerivativeSignature</a>·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(Domain);</div> | ||
107 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01131.html#a1213bfc3682b37f706a9f0b1e958cfbe">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01095.html">Derivative</a>·=·<a·class="code·hl_class"·href="a01095.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits></a>;</div> | ||
109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
110 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF>·=·0></div> | ||
111 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01131.html#a9509c11776197d4e92b8d1f0ad2a10cb">···61</a></span>··<a·class="code·hl_function"·href="a01131.html#a9509c11776197d4e92b8d1f0ad2a10cb">DifferentiableFunctionFromCallables</a>(FF&&·f)·:</div> | ||
112 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····f_(std::forward<FF>(f))</div> | ||
105 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{}</div> |
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>};</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}·<span·class="comment">//end·namespace·Imp</span></div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span><std::size_t·begin_t,·std::size_t·end_t,·<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">···56</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">staticFindInRange</a>(F&&·f,·Args&&...·args)</div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> | ||
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}</div> | ||
117 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
118 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
119 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
120 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
121 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 114 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01131.html#a720d931d3d5ea77435ea74436c6ab489">···66</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">··</span>{</div> | ||
117 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keywordflow">return</span>·f_(x);</div> | ||
118 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··}</div> | ||
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
120 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00209.html#ga8bec39fece3c312f2030bab07b2e8721">···76</a></span>··<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a01095.html">Derivative</a>·<a·class="code·hl_friend"·href="a00209.html#ga8bec39fece3c312f2030bab07b2e8721">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a>&·t)</div> | ||
121 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··{</div> | ||
122 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
123 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}</div> | ||
124 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
125 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">private</span>:</div> | ||
126 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··F·f_;</div> | ||
127 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>};</div> | ||
128 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
122 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
123 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
124 | <div·class="line"><a·id="l00 | 131 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span[·...·truncated·by·diffoscope;·len:·189,·SHA:·d8de1c896e6d14cf7094deb9b3e9df6e3f14d29f170726a0736f62af80ccfa80·...·]</div> |
132 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01135.html">··104</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a><Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...></div> | ||
133 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>{</div> | ||
134 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="keyword">public</span>:</div> | ||
135 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
136 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">··108</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·=·Range(Domain);</div> | ||
137 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01135.html#a8a377025a382bd84ae15639b09413719">··109</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01135.html#a8a377025a382bd84ae15639b09413719">RawSignature</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::RawSignature</a>;</div> | ||
138 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01135.html#a28d6edb5a9eb34766c6807a2f10550af">··110</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01135.html#a28d6edb5a9eb34766c6807a2f10550af">DerivativeSignature</a>·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(Domain);</div> | ||
139 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
140 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01135.html#a7118c4732100128ccf78b42e5041ad61">··112</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01127.html">Derivative</a>·=·<a·class="code·hl_class"·href="a01127.html">DifferentiableFunctionFromCallables</a><<a·class="code·hl_typedef"·href="a01135.html#a28d6edb5a9eb34766c6807a2f10550af">DerivativeSignature</a>,·DerivativeTraits,·DF,·Derivatives...>;</div> | ||
141 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> | ||
142 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>FF,·<span·class="keyword">class·</span>DFF,·<span·class="keyword">class</span>...·DDFF></div> | ||
Max diff block lines reached; 5238/34614 bytes (15.13%) of diff not shown. |
Offset 5, 76 lines modified | Offset 5, 191 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | differentiablefunctionfromcallables.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_DIFFEREENTIONABEFUNCTIONFROMCALLABLES_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6 | 16 | ·6 |
17 | ·7#include·<dune/common/ | 17 | ·7#include·<dune/common/typeutilities.hh> |
18 | ·8 | 18 | ·8#include·<dune/common/hybridutilities.hh> |
19 | ·9 | ||
19 | · | 20 | ·10#include·<dune/functions/common/signature.hh> |
20 | ·10#include·<dune/functions/functionspacebases/concepts.hh> | ||
21 | ·11 | 21 | ·11 |
22 | ·12 | ||
23 | ·13namespace·Dune·{ | ||
24 | ·1 | 22 | ·12#include·<dune/functions/common/differentiablefunction.hh> |
23 | ·13#include·<dune/functions/common/functionconcepts.hh> | ||
24 | ·14 | ||
25 | ·15 | 25 | ·15 |
26 | ·16 | ||
26 | ·1 | 27 | ·17namespace·Dune·{ |
28 | ·18namespace·Functions·{ | ||
29 | ·19 | ||
27 | ·17 | ||
28 | ·18template<class·ST,·ST·begin,·ST·end> | ||
29 | ·19struct·StaticFindInRange | ||
30 | ·20 | 30 | ·20 |
31 | ·21·template<class·F,·class...Args> | ||
32 | ·22·static·void·apply(F&&·f,·Args&&...·args) | ||
33 | ·23·{ | ||
34 | ·24·if·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...)) | ||
35 | ·25·return; | ||
36 | ·26·StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std:: | ||
37 | forward<Args>(args)...); | ||
38 | ·27·} | ||
39 | ·28}; | ||
40 | ·29 | ||
41 | ·30template<class·ST,·ST·end> | ||
42 | ·31struct·StaticFindInRange<ST,·end,·end> | ||
43 | ·32{ | ||
44 | ·33·template<class·F,·class...Args> | ||
45 | · | 31 | ·21 |
32 | ·22template<class·Signature,·template<class>·class·DerivativeTraits,·class... | ||
33 | Callables> | ||
34 | 23class·DifferentiableFunctionFromCallables; | ||
35 | ·24 | ||
36 | ·25 | ||
37 | ·26 | ||
38 | ·43template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
39 | class·F> | ||
40 | 44class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits,·F> | ||
41 | ·45{ | ||
42 | ·46public: | ||
43 | ·47 | ||
44 | 49·using·Signature·=·Range(Domain); | ||
45 | ·50 | ||
46 | 51·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
47 | ·52 | ||
48 | 54·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
49 | (Domain); | ||
50 | ·55 | ||
51 | 57·using·Derivative·=·DifferentiableFunction<DerivativeSignature, | ||
52 | DerivativeTraits>; | ||
53 | ·58 | ||
54 | ·60·template<class·FF,·disableCopyMove<DifferentiableFunctionFromCallables,·FF> | ||
55 | =·0> | ||
56 | 61·DifferentiableFunctionFromCallables(FF&&·f)·: | ||
57 | ·62·f_(std::forward<FF>(f)) | ||
46 | · | 58 | ·63·{} |
47 | ·36}; | ||
48 | ·37 | ||
49 | ·38}·//end·namespace·Imp | ||
50 | ·39 | ||
51 | ·40 | ||
52 | ·41 | ||
53 | ·55template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args> | ||
54 | 56void·staticFindInRange(F&&·f,·Args&&...·args) | ||
55 | ·57{ | ||
56 | ·58·Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F> | ||
57 | (f),·std::forward<Args>(args)...); | ||
58 | ·59} | ||
59 | ·60 | ||
60 | ·61 | ||
61 | ·62}·//·namespace·Dune::Functions | ||
62 | ·63}·//·namespace·Dune | ||
63 | ·64 | 59 | ·64 |
60 | 66·Range·operator()·(const·Domain&·x)·const | ||
61 | ·67·{ | ||
62 | ·68·return·f_(x); | ||
63 | ·69·} | ||
64 | ·70 | ||
65 | 76·friend·Derivative·derivative(const·DifferentiableFunctionFromCallables&·t) | ||
66 | ·77·{ | ||
67 | ·78·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
68 | ·79·} | ||
69 | ·80 | ||
70 | ·81private: | ||
71 | ·82·F·f_; | ||
72 | ·83}; | ||
73 | ·84 | ||
74 | ·85 | ||
75 | ·86 | ||
76 | ·103template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
77 | class·F,·class·DF,·class...·Derivatives> | ||
78 | 104class·DifferentiableFunctionFromCallables<Range(Domain),·DerivativeTraits, | ||
79 | F,·DF,·Derivatives...> | ||
80 | ·105{ | ||
81 | ·106public: | ||
82 | ·107 | ||
83 | 108·using·Signature·=·Range(Domain); | ||
84 | 109·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
85 | 110·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
86 | (Domain); | ||
87 | ·111 | ||
88 | 112·using·Derivative·=·DifferentiableFunctionFromCallables<DerivativeSignature, | ||
89 | DerivativeTraits,·DF,·Derivatives...>; | ||
90 | ·113 | ||
91 | ·120·template<class·FF,·class·DFF,·class...·DDFF> | ||
Max diff block lines reached; 2551/8293 bytes (30.76%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·signature.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 61 lines modified | Offset 63, 52 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">signature.hh·File·Reference</div></div> |
73 | </div><!--header--> | 74 | </div><!--header--> |
74 | <div·class="contents"> | 75 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
76 | <code>#include·<t | 77 | <code>#include·<tuple></code><br·/> |
77 | <code>#include·<dune/common/typetraits.hh></code><br·/> | ||
78 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a000 | 78 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
81 | </div> | 79 | </div> |
82 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> | 80 | <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
83 | Classes</h2></td></tr> | ||
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01291.html">Dune::Functions::SignatureTraits<·Signature,·isCallable·></a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helper·class·to·deduce·the·signature·of·a·callable.··<a·href="a01291.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01299.html">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·></a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Tag-class·to·encapsulate·signature·information.··<a·href="a01299.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table><table·class="memberdecls"> | ||
84 | <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> |
85 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
86 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
91 | <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> |
92 | Functions</h2></td></tr> | 99 | Functions</h2></td></tr> |
100 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplParams"·colspan="2">template<class·Range·,·class·Domain·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
101 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00210.html#ga18b2a675f9153814c422d33878daebb2">Dune::Functions::derivativeSignatureTag</a>·(SignatureTag<·Range(Domain),·DerivativeTraits·>·tag)</td></tr> | ||
102 | <tr·class="memdesc:ga18b2a675f9153814c422d33878daebb2"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·<a·class="el"·href="a01295.html">SignatureTag</a>·for·derivative.··<a·href="a00210.html#ga18b2a675f9153814c422d33878daebb2">More...</a><br·/></td></tr> | ||
93 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type··=·0>·</td></tr> | ||
94 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)·->·decltype(f(c[i]))</td></tr> | ||
95 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<a·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">More...</a><br·/></td></tr> | ||
96 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·not·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type··=·0>·</td></tr> | ||
98 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)</td></tr> | ||
99 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<a·href="a00219.html#ga2226fe3a86eb176df27c9801a98a10ae">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplParams"·colspan="2">template<class·Result·,·class·C·,·class·MultiIndex·>·</td></tr> | ||
102 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplItemLeft"·align="right"·valign="top">Result </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gabd5106817636cc5542dc4e9a1817551b">Dune::Functions::hybridMultiIndexAccess</a>·(C·&&c,·const·MultiIndex·&index)</td></tr> | ||
103 | <tr·class="memdesc:gabd5106817636cc5542dc4e9a1817551b"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#gabd5106817636cc5542dc4e9a1817551b">More...</a><br·/></td></tr> | ||
104 | <tr·class="separator:ga | 103 | <tr·class="separator:ga18b2a675f9153814c422d33878daebb2"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplParams"·colspan="2">template<std::size_t·maxOrder,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
105 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00210.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">Dune::Functions::derivativeSignatureTags</a>·(<a·class="el"·href="a01295.html">Dune::Functions::SignatureTag</a><·Signature,·DerivativeTraits·>·tag)</td></tr> | ||
106 | <tr·class="memdesc:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·SignatureTags·for·derivatives.··<a·href="a00210.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">More...</a><br·/></td></tr> | ||
105 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·,·class·IsFinal·>·</td></tr> | ||
106 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga9aaec884c080483fea267d1098f81590">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal)</td></tr> | ||
107 | <tr·class="memdesc:ga9aaec884c080483fea267d1098f81590"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#ga9aaec884c080483fea267d1098f81590">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:ga9aaec884c080483fea267d1098f81590"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
110 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga89fbdd009241b14e86b4fff7ba208a04">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
111 | <tr·class="memdesc:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#ga89fbdd009241b14e86b4fff7ba208a04">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:ga | 107 | <tr·class="separator:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
114 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga4cc6af2842348271c242c048e0411637">Dune::Functions::resolveStaticMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
115 | <tr·class="memdesc:ga4cc6af2842348271c242c048e0411637"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#ga4cc6af2842348271c242c048e0411637">More...</a><br·/></td></tr> | ||
116 | <tr·class="separator:ga4cc6af2842348271c242c048e0411637"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
117 | </table> | 108 | </table> |
118 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
119 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
120 | <hr·class="footer"/><address·class="footer"><small> | 111 | <hr·class="footer"/><address·class="footer"><small> |
121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
122 | </small></address> | 113 | </small></address> |
123 | </body> | 114 | </body> |
Offset 5, 63 lines modified | Offset 5, 41 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces·|·Functions | 9 | Classes·|·Namespaces·|·Functions |
10 | 10 | signature.hh·File·Reference | |
11 | #include·<utility> | ||
12 | #include·<type_traits> | 11 | #include·<type_traits> |
12 | #include·<tuple> | ||
13 | #include·<dune/common/typetraits.hh> | ||
14 | #include·<dune/common/concept.hh> | ||
15 | #include·<dune/common/hybridutilities.hh> | ||
16 | #include·<dune/functions/common/uti | 13 | #include·<dune/functions/common/defaultderivativetraits.hh> |
17 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
15 | ·Classes | ||
16 | struct· Dune::Functions::SignatureTraits<_Signature,_isCallable_> | ||
17 | ·······Helper·class·to·deduce·the·signature·of·a·callable.·More... | ||
18 | |||
19 | struct· Dune::Functions::SignatureTag<_Range(Domain),_DerivativeTraitsT_> | ||
20 | ·······Tag-class·to·encapsulate·signature·information.·More... | ||
21 | |||
18 | ·Namespaces | 22 | ·Namespaces |
19 | namespace· Dune | 23 | namespace· Dune |
20 | 24 | ||
21 | namespace· Dune::Functions | 25 | namespace· Dune::Functions |
22 | 26 | ||
23 | ·Functions | 27 | ·Functions |
28 | template<class·Range·,·class·Domain·,·template<·class·>·class | ||
29 | DerivativeTraits> | ||
30 | auto Dune::Functions::derivativeSignatureTag·(SignatureTag<·Range(Domain), | ||
31 | ······DerivativeTraits·>·tag) | ||
32 | ····Construct·SignatureTag·for·derivative.·More... | ||
24 | template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·Dune::models< | ||
25 | Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type·=·0> | ||
26 | ····················auto Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
27 | ··························&i,·F·&&f)·->·decltype(f(c[i])) | ||
28 | ························Provide·operator[]·index-access·for·containers. | ||
29 | ··························More... | ||
30 | 33 | ||
34 | template<std::size_t·maxOrder,·class·Signature·,·template<·class·>·class | ||
35 | DerivativeTraits> | ||
36 | auto Dune::Functions::derivativeSignatureTags·(Dune::Functions::SignatureTag< | ||
37 | ······Signature,·DerivativeTraits·>·tag) | ||
38 | ····Construct·SignatureTags·for·derivatives.·More... | ||
31 | template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·not·Dune:: | ||
32 | models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type·=·0> | ||
33 | ··········decltype(auto) Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
34 | ··························&i,·F·&&f) | ||
35 | ························Provide·operator[]·index-access·for·containers. | ||
36 | ··························More... | ||
37 | |||
38 | template<class·Result·,·class·C·,·class·MultiIndex·> | ||
39 | ··················Result Dune::Functions::hybridMultiIndexAccess·(C·&&c,·const | ||
40 | ··························MultiIndex·&index) | ||
41 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
42 | ··························More... | ||
43 | |||
44 | template<class·C·,·class·MultiIndex·,·class·IsFinal·> | ||
45 | constexpr·decltype(auto) Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
46 | ··························const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal) | ||
47 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
48 | ··························More... | ||
49 | |||
50 | template<class·C·,·class·MultiIndex·> | ||
51 | constexpr·decltype(auto) Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
52 | ··························const·MultiIndex·&multiIndex) | ||
53 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
54 | ··························More... | ||
55 | |||
56 | template<class·C·,·class·MultiIndex·> | ||
57 | constexpr·decltype(auto) Dune::Functions::resolveStaticMultiIndex·(C·&&c, | ||
58 | ··························const·MultiIndex·&multiIndex) | ||
59 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
60 | ··························More... | ||
61 | 39 | ||
62 | =============================================================================== | 40 | =============================================================================== |
63 | ·····Generated·by [doxygen]·1.9.4 | 41 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·signature.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 313 lines modified | Offset 62, 158 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">signature.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00017.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00017.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<tuple></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
82 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/utility.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword"> | 84 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·F></div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 85 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a01287.html">···20</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01287.html">IsCallable</a>;</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 86 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class=" | 87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
94 | <div·class="line"><a·id="l0002 | 88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·F></div> |
89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01287.html">IsCallable</a></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword"> | 91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>yes·{·std::size_t·dummy[2];·};</div> |
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">struct·</span> | 92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">struct·</span>no··{·std::size_t·dummy[1];·};</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span><<span·class="keyword"> | 94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> |
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">static</span>·yes·test(<span·class="keyword">const</span>·<span·class="keyword">decltype</span>(&C::operator())·*);</div> | ||
100 | <div·class="line"><a·id="l0003 | 96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> |
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····c[std::declval<size_type>()]</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··);</div> | 97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">static</span>·no··test(...);</div> |
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 98 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
99 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">enum</span>·{·value·=·(<span·class="keyword">sizeof</span>(test<F>(0))·==·<span·class="keyword">sizeof</span>(yes))·};</div> | ||
104 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>};</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>HasStaticIndexAccess</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 101 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span> | 102 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> |
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 103 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>IsCallable<R(D)></div> |
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····c[Dune::Indices::_0]</div> | ||
110 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> |
105 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> | 106 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> |
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 107 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
108 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
113 | <div·class="line"><a·id="l0004 | 109 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">struct·</span>IsCallable<R(*)(D)></div> |
114 | <div·class="line"><a·id="l0004 | 110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> |
111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·namespace·Imp</span></div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span> | 112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>};</div> |
113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#endif</span></div> | ||
118 | <div·class="line"><a·id="l0004 | 114 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·></div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01291.html">···56</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">SignatureTraits</a>·{};</div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> | ||
119 | <div·class="line"><a·id="l0006 | 119 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
120 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">SignatureTraits</a><T,·true></div> | ||
121 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits</a><decltype(&T::operator()),·true></div> | ||
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">typename</span>·std::enable_if<·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
121 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">···63</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">hybridIndexAccess</a>(C&&·c,·<span·class="keyword">const</span>·I&·i,·F&&·f)</div> | ||
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··->·<span·class="keyword">decltype</span>(f(c[i]))</div> | ||
123 | <div·class="line"><a·id="l0006 | 122 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{};</div> |
124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·f(c[i]);</div> | ||
125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}</div> | ||
126 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">struct·</span>SignatureTraits<R(C::*)(D)·const,·true></div> | ||
126 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></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>·</div> | ||
129 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
130 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">struct·</span>SignatureTraits<R(C::*)(D),·true></div> | ||
131 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></div> | ||
132 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>{};</div> | ||
133 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
134 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">struct·</span>SignatureTraits<R(*)(D),·<span·class="keyword">true</span>></div> | ||
136 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·<span·class="keyword">true</span>></div> | ||
137 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>{};</div> | ||
138 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
127 | <div·class="line"><a·id="l0008 | 139 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">template</span><<span·class="keyword">class</span>·R,·<span·class="keyword">class</span>·D></div> |
128 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">typename</span>·std::enable_if<·not·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
129 | <div·class="line"><a·id="l0008 | 140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">struct·</span>SignatureTraits<R(D),·true></div> |
141 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>{</div> | ||
142 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">using·</span>Range·=·R;</div> | ||
143 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">using·</span>Domain·=·D;</div> | ||
130 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span> | 144 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
131 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">using·</span> | 145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keyword">using·</span>RawRange·=·<span·class="keyword">typename</span>·std::decay<Range>::type;</div> |
146 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">using·</span>RawDomain·=·<span·class="keyword">typename</span>·std::decay<Domain>::type;</div> | ||
132 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordflow">return</span>·Hybrid::switchCases(std::make_index_sequence<Size::value>(),·i,</div> | ||
133 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······[&](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·ii)·->·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>){</div> | ||
134 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keywordflow">return</span>·f(c[ii]);</div> | ||
135 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······},·[&]()·->·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>){</div> | ||
Max diff block lines reached; 49194/73029 bytes (67.36%) of diff not shown. |
Offset 5, 362 lines modified | Offset 5, 180 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | signature.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<utility> | ||
18 | · | 16 | ·6#include·<type_traits> |
19 | ·9 | ||
20 | ·10#include·<dune/common/typetraits.hh> | ||
21 | ·11#include·<dune/common/concept.hh> | ||
22 | · | 17 | ·7#include·<tuple> |
18 | ·8 | ||
19 | ·9#include·<dune/functions/common/defaultderivativetraits.hh> | ||
20 | ·10 | ||
21 | ·11namespace·Dune·{ | ||
22 | ·12namespace·Functions·{ | ||
23 | ·13 | 23 | ·13 |
24 | ·19template<typename·F> | ||
25 | 20struct·IsCallable; | ||
24 | ·14#include·<dune/functions/common/utility.hh> | ||
25 | ·15 | ||
26 | ·16 | ||
27 | ·17 | ||
28 | ·18namespace·Dune·{ | ||
29 | ·19namespace·Functions·{ | ||
30 | ·20 | ||
31 | ·21 | 26 | ·21 |
32 | ·22namespace·Imp·{ | ||
33 | ·23 | ||
34 | ·2 | 27 | ·22#ifndef·DOXYGEN |
28 | ·23template<typename·F> | ||
29 | ·24struct·IsCallable | ||
35 | ·25 | 30 | ·25{ |
36 | ·26template<class·size_type> | ||
37 | ·2 | 31 | ·26·struct·yes·{·std::size_t·dummy[2];·}; |
32 | ·27·struct·no·{·std::size_t·dummy[1];·}; | ||
38 | ·28 | 33 | ·28 |
39 | ·29·template< | 34 | ·29·template<typename·C> |
40 | ·30·auto·require(C&&·c)·->·decltype( | ||
41 | ·31·c[std::declval<size_type>()] | ||
42 | ·3 | 35 | ·30·static·yes·test(const·decltype(&C::operator())·*); |
36 | ·31·template<typename·C> | ||
37 | ·32·static·no·test(...); | ||
38 | ·33 | ||
39 | ·34·enum·{·value·=·(sizeof(test<F>(0))·==·sizeof(yes))·}; | ||
43 | ·3 | 40 | ·35}; |
44 | ·34 | ||
45 | ·35struct·HasStaticIndexAccess | ||
46 | ·36 | 41 | ·36 |
47 | ·37·template<class·C> | ||
48 | ·38·auto·require(C&&·c)·->·decltype( | ||
49 | ·39·c[Dune::Indices::_0] | ||
50 | · | 42 | ·37template<typename·R,·typename·D> |
43 | ·38struct·IsCallable<R(D)> | ||
44 | ·39{ | ||
45 | ·40·enum·{·value·=·true·}; | ||
51 | ·41}; | 46 | ·41}; |
52 | ·42 | 47 | ·42 |
48 | ·43template<typename·R,·typename·D> | ||
49 | ·44struct·IsCallable<R(*)(D)> | ||
53 | ·43}·//·namespace·Concept | ||
54 | ·44 | ||
55 | ·45}·//·namespace·Imp | ||
56 | ·46 | ||
57 | ·47 | ||
58 | ·48 | ||
59 | ·61template<class·C,·class·I,·class·F, | ||
60 | ·62·typename·std::enable_if<·Dune::models<Imp::Concept:: | ||
61 | HasDynamicIndexAccess<I>,·C>(),·int>::type·=·0> | ||
62 | 63auto·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
63 | ·64·->·decltype(f(c[i])) | ||
64 | · | 50 | ·45{ |
65 | ·66·return·f(c[i]); | ||
66 | ·67} | ||
67 | ·68 | ||
68 | ·86template<class·C,·class·I,·class·F, | ||
69 | ·87·typename·std::enable_if<·not·Dune::models<Imp::Concept:: | ||
70 | HasDynamicIndexAccess<I>,·C>(),·int>::type·=·0> | ||
71 | 51 | ·46·enum·{·value·=·true·}; | |
52 | ·47}; | ||
53 | ·48#endif | ||
54 | ·49 | ||
55 | ·55template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·> | ||
56 | 56struct·SignatureTraits·{}; | ||
57 | ·57 | ||
58 | ·58#ifndef·DOXYGEN | ||
59 | ·60template<class·T> | ||
60 | ·61struct·SignatureTraits<T,·true> | ||
61 | ·62·:·public·SignatureTraits<decltype(&T::operator()),·true> | ||
62 | ·63{}; | ||
63 | ·64 | ||
64 | ·66template·<typename·C,·typename·R,·typename·D> | ||
65 | ·67struct·SignatureTraits<R(C::*)(D)·const,·true> | ||
66 | ·68·:·public·SignatureTraits<R(D),·true> | ||
67 | ·69{}; | ||
68 | ·70 | ||
69 | ·72template·<typename·C,·typename·R,·typename·D> | ||
70 | ·73struct·SignatureTraits<R(C::*)(D),·true> | ||
71 | ·74·:·public·SignatureTraits<R(D),·true> | ||
72 | ·75{}; | ||
73 | ·76 | ||
74 | ·78template·<typename·R,·typename·D> | ||
75 | ·79struct·SignatureTraits<R(*)(D),·true> | ||
76 | ·80·:·public·SignatureTraits<R(D),·true> | ||
77 | ·81{}; | ||
78 | ·82 | ||
79 | ·84template<class·R,·class·D> | ||
80 | ·85struct·SignatureTraits<R(D),·true> | ||
81 | ·86{ | ||
82 | ·87·using·Range·=·R; | ||
83 | ·88·using·Domain·=·D; | ||
72 | ·89 | 84 | ·89 |
73 | ·90·using·Size·=·decltype(Hybrid::size(c)); | ||
74 | ·91·return·Hybrid::switchCases(std::make_index_sequence<Size::value>(),·i, | ||
75 | ·92·[&](const·auto&·ii)·->·decltype(auto){ | ||
76 | ·93·return·f(c[ii]); | ||
77 | ·94·},·[&]()·->·decltype(auto){ | ||
Max diff block lines reached; 11138/15119 bytes (73.67%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunction_imp.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 52 lines modified | Offset 63, 30 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
71 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#func-members">Functions</a>··</div> | ||
73 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">differentiablefunction_imp.hh·File·Reference</div></div> |
74 | </div><!--header--> | 72 | </div><!--header--> |
75 | <div·class="contents"> | 73 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
77 | <code>#include·< | 75 | <code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a000 | 76 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
79 | </div> | 77 | </div> |
80 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
83 | Classes</h2></td></tr> | ||
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01291.html">Dune::Functions::SignatureTraits<·Signature,·isCallable·></a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Helper·class·to·deduce·the·signature·of·a·callable.··<a·href="a01291.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01299.html">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·></a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Tag-class·to·encapsulate·signature·information.··<a·href="a01299.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table><table·class="memberdecls"> | ||
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
92 | Namespaces</h2></td></tr> | 81 | Namespaces</h2></td></tr> |
93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 82 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 84 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
99 | Functions</h2></td></tr> | ||
100 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplParams"·colspan="2">template<class·Range·,·class·Domain·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
101 | <tr·class="memitem:ga18b2a675f9153814c422d33878daebb2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00210.html#ga18b2a675f9153814c422d33878daebb2">Dune::Functions::derivativeSignatureTag</a>·(SignatureTag<·Range(Domain),·DerivativeTraits·>·tag)</td></tr> | ||
102 | <tr·class="memdesc:ga18b2a675f9153814c422d33878daebb2"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·<a·class="el"·href="a01295.html">SignatureTag</a>·for·derivative.··<a·href="a00210.html#ga18b2a675f9153814c422d33878daebb2">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:ga18b2a675f9153814c422d33878daebb2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplParams"·colspan="2">template<std::size_t·maxOrder,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
105 | <tr·class="memitem:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00210.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">Dune::Functions::derivativeSignatureTags</a>·(<a·class="el"·href="a01295.html">Dune::Functions::SignatureTag</a><·Signature,·DerivativeTraits·>·tag)</td></tr> | ||
106 | <tr·class="memdesc:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·SignatureTags·for·derivatives.··<a·href="a00210.html#ga95d38d90c6b8ee6d3a2a0202cb80b56d">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:ga95d38d90c6b8ee6d3a2a0202cb80b56d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | </table> | 86 | </table> |
109 | </div><!--·contents·--> | 87 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 88 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 89 | <hr·class="footer"/><address·class="footer"><small> |
112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 90 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
113 | </small></address> | 91 | </small></address> |
114 | </body> | 92 | </body> |
Offset 5, 41 lines modified | Offset 5, 21 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces·|·Functions | ||
10 | signature.hh·File·Reference | ||
11 | #include·<type_traits> | ||
12 | 9 | Namespaces | |
10 | differentiablefunction_imp.hh·File·Reference | ||
11 | #include·<dune/common/exceptions.hh> | ||
12 | #include·<dune/common/concept.hh> | ||
13 | #include·<dune/functions/common/ | 13 | #include·<dune/functions/common/type_traits.hh> |
14 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
15 | ·Classes | ||
16 | struct· Dune::Functions::SignatureTraits<_Signature,_isCallable_> | ||
17 | ·······Helper·class·to·deduce·the·signature·of·a·callable.·More... | ||
18 | |||
19 | struct· Dune::Functions::SignatureTag<_Range(Domain),_DerivativeTraitsT_> | ||
20 | ·······Tag-class·to·encapsulate·signature·information.·More... | ||
21 | |||
22 | ·Namespaces | 15 | ·Namespaces |
23 | namespace· Dune | 16 | namespace· Dune |
24 | 17 | ||
25 | namespace· Dune::Functions | 18 | namespace· Dune::Functions |
26 | 19 | ||
27 | ·Functions | ||
28 | template<class·Range·,·class·Domain·,·template<·class·>·class | ||
29 | DerivativeTraits> | ||
30 | auto Dune::Functions::derivativeSignatureTag·(SignatureTag<·Range(Domain), | ||
31 | ······DerivativeTraits·>·tag) | ||
32 | ····Construct·SignatureTag·for·derivative.·More... | ||
33 | |||
34 | template<std::size_t·maxOrder,·class·Signature·,·template<·class·>·class | ||
35 | DerivativeTraits> | ||
36 | auto Dune::Functions::derivativeSignatureTags·(Dune::Functions::SignatureTag< | ||
37 | ······Signature,·DerivativeTraits·>·tag) | ||
38 | ····Construct·SignatureTags·for·derivatives.·More... | ||
39 | |||
40 | =============================================================================== | 20 | =============================================================================== |
41 | ·····Generated·by [doxygen]·1.9.4 | 21 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunction_imp.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 158 lines modified | Offset 62, 116 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">differentiablefunction_imp.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
81 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
82 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Functions·{</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
84 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword"> | 86 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">struct·</span>HasFreeDerivative</div> |
85 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a01287.html">···20</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01287.html">IsCallable</a>;</div> | ||
86 | <div·class="line"><a·id="l0002 | 87 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> |
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> | ||
88 | <div·class="line"><a·id="l0002 | 88 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> |
89 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">auto</span>·require(F&&·f)·->·<span·class="keyword">decltype</span>(</div> |
90 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f)</div> | ||
91 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··);</div> | ||
90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 92 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>};</div> |
91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>yes·{·std::size_t·dummy[2];·};</div> | ||
92 | <div·class="line"><a·id="l0002 | 93 | <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> | ||
93 | <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> |
94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 96 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> |
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">static</span>·yes·test(<span·class="keyword">const</span>·<span·class="keyword">decltype</span>(&C::operator())·*);</div> | ||
96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·C></div> | ||
97 | <div·class="line"><a·id="l0003 | 97 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">typename</span>·std::enable_if<</div> |
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····models<·HasFreeDerivative,·F>()·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">auto</span>·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)·->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f))</div> | ||
98 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 100 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>{</div> |
99 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·· | 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(f);</div> |
100 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>} | 102 | <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>·</div> | 103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
102 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Dummy,·<span·class="keyword">class·</span>F,</div> |
103 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">typename</span>·std::enable_if<</div> |
108 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····not(models<·HasFreeDerivative,·F>())·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>Dummy·derivativeIfImplemented(<span·class="keyword">const</span>·F&·f)</div> | ||
104 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> |
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Derivative·not·implemented"</span>);</div> | ||
105 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">enum</span>·{·value·=·<span·class="keyword">true</span>·};</div> | ||
106 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> | ||
107 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
108 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
109 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">struct·</span>IsCallable<R(*)(D)></div> | ||
110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}</div> |
111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>· | 113 | <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> | 114 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#endif</span></div> | ||
114 | <div·class="line"><a·id="l0004 | 115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·></div> | ||
116 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface></div> |
117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface</div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{};</div> | ||
117 | <div·class="line"><a·id="l0005 | 119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
118 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//</span></div> |
122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
123 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
124 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface></div> | ||
125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperInterface<Range(Domain),·DerivativeInterface></div> | ||
126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>{</div> | ||
119 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword"> | 127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> |
128 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)·<span·class="keyword">const</span>·=·0;</div> | ||
120 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01291.html">SignatureTraits</a><T,·true></div> | ||
121 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits</a><decltype(&T::operator()),·true></div> | ||
122 | <div·class="line"><a·id="l0006 | 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="keyword">virtual</span>·DerivativeInterface·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
123 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span> | 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>};</div> |
124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">struct·</span>SignatureTraits<R(C::*)(D)·const,·true></div> | ||
126 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></div> | ||
127 | <div·class="line"><a·id="l0006 | 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">···66</span>·</div> | ||
134 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
135 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
136 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation</div> | ||
128 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span> | 137 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{};</div> |
129 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·C,·<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·D></div> | ||
130 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">struct·</span>SignatureTraits<R(C::*)(D),·true></div> | ||
131 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····:·<span·class="keyword">public</span>·SignatureTraits<R(D),·true></div> | ||
132 | <div·class="line"><a·id="l0007 | 138 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
139 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
140 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·B></div> | ||
141 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">class·</span>DifferentiableFunctionWrapperImplementation<·Range(Domain),·DerivativeInterface,·B>·:</div> | ||
142 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">public</span>·B</div> | ||
133 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span> | 143 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>{</div> |
134 | <div·class="line"><a·id="l0007 | 144 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">public</span>:</div> |
145 | <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><span·class="keyword"> | 146 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">using·</span>B::B;</div> |
136 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·· | 147 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">using·</span>Wrapped·=·<span·class="keyword">typename</span>·B::Wrapped;</div> |
137 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span> | 148 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
149 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">virtual</span>·Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
150 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">··</span>{</div> | ||
151 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·this->get()(x);</div> | ||
Max diff block lines reached; 14055/39704 bytes (35.40%) of diff not shown. |
Offset 5, 180 lines modified | Offset 5, 119 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | differentiablefunction_imp.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_SIGNATURE_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_IMP_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type_traits> | ||
17 | · | 16 | ·6#include·<dune/common/exceptions.hh> |
17 | ·7#include·<dune/common/concept.hh> | ||
18 | ·8 | 18 | ·8 |
19 | ·9#include·<dune/functions/common/ | 19 | ·9#include·<dune/functions/common/type_traits.hh> |
20 | ·10 | 20 | ·10 |
21 | ·11 | ||
21 | ·1 | 22 | ·12namespace·Dune·{ |
22 | ·1 | 23 | ·13namespace·Functions·{ |
24 | ·14namespace·Imp·{ | ||
25 | ·15 | ||
26 | ·19struct·HasFreeDerivative | ||
23 | ·13 | ||
24 | ·19template<typename·F> | ||
25 | 20struct·IsCallable; | ||
26 | ·21 | ||
27 | ·22#ifndef·DOXYGEN | ||
28 | ·23template<typename·F> | ||
29 | ·24struct·IsCallable | ||
30 | ·2 | 27 | ·20{ |
31 | ·26·struct·yes·{·std::size_t·dummy[2];·}; | ||
32 | ·2 | 28 | ·21·template<class·F> |
29 | ·22·auto·require(F&&·f)·->·decltype( | ||
30 | ·23·derivative(f) | ||
31 | ·24·); | ||
32 | ·25}; | ||
33 | ·26 | ||
34 | ·27 | ||
33 | ·28 | 35 | ·28 |
34 | ·29·template<typename·C> | ||
35 | ·30·static·yes·test(const·decltype(&C::operator())·*); | ||
36 | ·31·template<typename·C> | ||
37 | · | 36 | ·29template<class·Dummy,·class·F, |
37 | ·30·typename·std::enable_if< | ||
38 | ·31·models<·HasFreeDerivative,·F>()·,·int>::type·=·0> | ||
39 | ·32auto·derivativeIfImplemented(const·F&·f)·->·decltype(derivative(f)) | ||
38 | ·33 | 40 | ·33{ |
39 | ·34·e | 41 | ·34·return·derivative(f); |
40 | ·35} | 42 | ·35} |
41 | ·36 | 43 | ·36 |
42 | ·37template<typename·R,·typename·D> | ||
43 | ·3 | 44 | ·37 |
45 | ·38 | ||
46 | ·39template<class·Dummy,·class·F, | ||
47 | ·40·typename·std::enable_if< | ||
48 | ·41·not(models<·HasFreeDerivative,·F>())·,·int>::type·=·0> | ||
49 | ·42Dummy·derivativeIfImplemented(const·F&·f) | ||
44 | · | 50 | ·43{ |
51 | ·44·DUNE_THROW(Dune::NotImplemented,·"Derivative·not·implemented"); | ||
45 | ·40·enum·{·value·=·true·}; | ||
46 | ·41}; | ||
47 | ·42 | ||
48 | ·43template<typename·R,·typename·D> | ||
49 | ·44struct·IsCallable<R(*)(D)> | ||
50 | ·45 | 52 | ·45} |
51 | ·46 | 53 | ·46 |
52 | ·47 | 54 | ·47 |
55 | ·48 | ||
56 | ·49template<class·Signature,·class·DerivativeInterface> | ||
57 | ·50class·DifferentiableFunctionWrapperInterface | ||
53 | ·48#endif | ||
54 | ·49 | ||
55 | ·55template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value·> | ||
56 | 56struct·SignatureTraits·{}; | ||
57 | ·57 | ||
58 | ·58#ifndef·DOXYGEN | ||
59 | ·60template<class·T> | ||
60 | ·61struct·SignatureTraits<T,·true> | ||
61 | ·62·:·public·SignatureTraits<decltype(&T::operator()),·true> | ||
62 | ·63{}; | ||
63 | ·64 | ||
64 | ·66template·<typename·C,·typename·R,·typename·D> | ||
65 | ·67struct·SignatureTraits<R(C::*)(D)·const,·true> | ||
66 | ·68·:·public·SignatureTraits<R(D),·true> | ||
67 | ·69{}; | ||
68 | ·70 | ||
69 | ·72template·<typename·C,·typename·R,·typename·D> | ||
70 | ·73struct·SignatureTraits<R(C::*)(D),·true> | ||
71 | ·74·:·public·SignatureTraits<R(D),·true> | ||
72 | · | 58 | ·51{}; |
59 | ·52 | ||
60 | ·53//·Interface·of·type·erasure·wrapper | ||
61 | ·54// | ||
62 | ·55//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor, | ||
63 | clone,·...) | ||
64 | ·56//·will·be·added·by·the·type·erasure·foundation·classes. | ||
65 | ·57template<class·Range,·class·Domain,·class·DerivativeInterface> | ||
66 | ·58class·DifferentiableFunctionWrapperInterface<Range(Domain), | ||
67 | DerivativeInterface> | ||
68 | ·59{ | ||
69 | ·60public: | ||
70 | ·61·virtual·Range·operator()·(const·Domain&·x)·const·=·0; | ||
71 | ·62 | ||
72 | ·63·virtual·DerivativeInterface·derivative()·const·=·0; | ||
73 | ·64}; | ||
74 | ·65 | ||
75 | ·66 | ||
76 | ·67 | ||
77 | ·68template<class·Signature,·class·DerivativeInterface,·class·B> | ||
78 | ·69class·DifferentiableFunctionWrapperImplementation | ||
79 | ·70{}; | ||
80 | ·71 | ||
81 | ·72//·Implementation·of·type·erasure·wrapper | ||
82 | ·73template<class·Range,·class·Domain,·class·DerivativeInterface,·class·B> | ||
83 | ·74class·DifferentiableFunctionWrapperImplementation<·Range(Domain), | ||
84 | DerivativeInterface,·B>·: | ||
85 | ·75·public·B | ||
73 | ·76 | 86 | ·76{ |
74 | ·78template·<typename·R,·typename·D> | ||
75 | ·79struct·SignatureTraits<R(*)(D),·true> | ||
76 | ·80·:·public·SignatureTraits<R(D),·true> | ||
77 | ·81{}; | ||
Max diff block lines reached; 3520/7996 bytes (44.02%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·callable.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 29 lines modified | Offset 63, 50 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">callable.hh·File·Reference</div></div> |
72 | </div><!--header--> | 74 | </div><!--header--> |
73 | <div·class="contents"> | 75 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
75 | < | 76 | <div·class="textblock"><code>#include·<memory></code><br·/> |
77 | <code>#include·<functional></code><br·/> | ||
78 | <code>#include·<dune/common/function.hh></code><br·/> | ||
79 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> | ||
76 | </div> | 80 | </div> |
77 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p> |
78 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
84 | Classes</h2></td></tr> | ||
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html">Dune::Functions::CallableFunctionWrapper<·F·></a></td></tr> | ||
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·Dune::VirtualFunction·into·a·callable·object.··<a·href="a01067.html#details">More...</a><br·/></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
88 | </table><table·class="memberdecls"> | ||
79 | <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> |
80 | Namespaces</h2></td></tr> | 90 | Namespaces</h2></td></tr> |
81 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
97 | Functions</h2></td></tr> | ||
98 | <tr·class="memitem:gae3639def57e4833c434ae816ea82271e"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> | ||
99 | <tr·class="memitem:gae3639def57e4833c434ae816ea82271e"><td·class="memTemplItemLeft"·align="right"·valign="top">CallableFunctionWrapper<·F·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">Dune::Functions::callable</a>·(const·F·&f)</td></tr> | ||
100 | <tr·class="memdesc:gae3639def57e4833c434ae816ea82271e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·callable·object·from·some·Dune::VirtualFunction.··<a·href="a00209.html#gae3639def57e4833c434ae816ea82271e">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:gae3639def57e4833c434ae816ea82271e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:ga5831245ed303c2103ab06af079cb8cf9"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> | ||
103 | <tr·class="memitem:ga5831245ed303c2103ab06af079cb8cf9"><td·class="memTemplItemLeft"·align="right"·valign="top">CallableFunctionWrapper<·F·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga5831245ed303c2103ab06af079cb8cf9">Dune::Functions::callable</a>·(const·std::shared_ptr<·F·>·&fp)</td></tr> | ||
104 | <tr·class="memdesc:ga5831245ed303c2103ab06af079cb8cf9"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·callable·object·from·std::shared_ptr<F>··<a·href="a00209.html#ga5831245ed303c2103ab06af079cb8cf9">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator:ga5831245ed303c2103ab06af079cb8cf9"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
85 | </table> | 106 | </table> |
86 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
87 | <!--·start·footer·part·--> | 108 | <!--·start·footer·part·--> |
88 | <hr·class="footer"/><address·class="footer"><small> | 109 | <hr·class="footer"/><address·class="footer"><small> |
89 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
90 | </small></address> | 111 | </small></address> |
91 | </body> | 112 | </body> |
Offset 5, 20 lines modified | Offset 5, 38 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces | ||
10 | localfunction_imp.hh·File·Reference | ||
11 | #include·<dune/functions/common/type_traits.hh> | ||
12 | 9 | Classes·|·Namespaces·|·Functions | |
10 | callable.hh·File·Reference | ||
11 | #include·<memory> | ||
12 | #include·<functional> | ||
13 | #include·<dune/common/function.hh> | ||
14 | #include·<dune/common/shared_ptr.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
16 | ·Classes | ||
17 | class· Dune::Functions::CallableFunctionWrapper<_F_> | ||
18 | ······Wrap·a·Dune::VirtualFunction·into·a·callable·object.·More... | ||
19 | |||
14 | ·Namespaces | 20 | ·Namespaces |
15 | namespace· Dune | 21 | namespace· Dune |
16 | 22 | ||
17 | namespace· Dune::Functions | 23 | namespace· Dune::Functions |
18 | 24 | ||
25 | ·Functions | ||
26 | template<class·F·> | ||
27 | CallableFunctionWrapper<·F·> Dune::Functions::callable·(const·F·&f) | ||
28 | ····························Create·a·callable·object·from·some·Dune:: | ||
29 | ······························VirtualFunction.·More... | ||
30 | |||
31 | template<class·F·> | ||
32 | CallableFunctionWrapper<·F·> Dune::Functions::callable·(const·std::shared_ptr< | ||
33 | ······························F·>·&fp) | ||
34 | ····························Create·a·callable·object·from·std::shared_ptr<F> | ||
35 | ······························More... | ||
36 | |||
19 | =============================================================================== | 37 | =============================================================================== |
20 | ·····Generated·by [doxygen]·1.9.4 | 38 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·callable.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 88 lines modified | Offset 62, 90 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">callable.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00023.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00023.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_CALLABLE_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_CALLABLE_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<functional></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00008.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/function.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/shared_ptr.hh></span></div> | ||
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
84 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="comment">//</span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">class·</span>LocalFunctionWrapperInterface·:</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">public</span>:</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&)·=·0;</div> | ||
95 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()·=·0;</div> | ||
97 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()·<span·class="keyword">const</span>·=·0;</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">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()·<span·class="keyword">const</span>·=·0;</div> | ||
101 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
90 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01067.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper</a></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="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">class</span>·B></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">class·</span>LocalFunctionWrapperImplementation·:</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | 91 | <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">using·</span> | 92 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">using·</span>Range·=·<span·class="keyword">typename</span>·F::RangeType;</div> |
93 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>Domain·=·<span·class="keyword">typename</span>·F::DomainType;</div> | ||
94 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
110 | <div·class="line"><a·id="l0004 | 95 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">public</span>:</div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span>Base::Base;</div> | ||
112 | <div·class="line"><a·id="l0004 | 96 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
97 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01067.html#a488ad53137f6f83fd7efff332758bbf3">···50</a></span>····<a·class="code·hl_function"·href="a01067.html#a488ad53137f6f83fd7efff332758bbf3">CallableFunctionWrapper</a>(<span·class="keyword">const</span>·F&·f)</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·LocalContext&·context)</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····this->get().bind(context);</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··}</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·unbind()</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····this->get().unbind();</div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·· | 98 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div> |
99 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······f_·=·Dune::stackobject_to_shared_ptr(f);</div> | ||
100 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div> | ||
122 | <div·class="line"><a·id="l0005 | 101 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01067.html#af374bad6d7410748c48c4cfdf085fd56">···61</a></span>····<a·class="code·hl_function"·href="a01067.html#af374bad6d7410748c48c4cfdf085fd56">CallableFunctionWrapper</a>(<span·class="keyword">const</span>·std::shared_ptr<const·F>&·f)·:</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">··</span>{</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">return</span>·this->get().bound();</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··}</div> | ||
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·LocalContext&·localContext()<span·class="keyword">·const</span></div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·this->get().localContext();</div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span> | 103 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······f_(f)</div> |
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 104 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{}</div> |
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}}}·<span·class="comment">//·namespace·Dune::Functions::Imp</span></div> | ||
135 | <div·class="line"><a·id="l0006 | 105 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
106 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01067.html#a08670433e1fd5804af96dfa0b73edea2">···70</a></span>····Range·<a·class="code·hl_function"·href="a01067.html#a08670433e1fd5804af96dfa0b73edea2">operator()</a>(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
107 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">····</span>{</div> | ||
108 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······Range·y;</div> | ||
109 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······f_->evaluate(x,·y);</div> | ||
110 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordflow">return</span>·y;</div> | ||
111 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····}</div> | ||
136 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
113 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">private</span>:</div> | ||
114 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····std::shared_ptr<const·F>·f_;</div> | ||
137 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>};</div> |
116 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
119 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
120 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">··105</a></span><a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>·<a·class="code·hl_function"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">callable</a>(<span·class="keyword">const</span>·F&·f)</div> | ||
121 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>{</div> | ||
122 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>(f);</div> | ||
123 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div> | ||
124 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
125 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
126 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
127 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a00209.html#ga5831245ed303c2103ab06af079cb8cf9">··137</a></span><a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>·<a·class="code·hl_function"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">callable</a>(<span·class="keyword">const</span>·std::shared_ptr<F>&·fp)</div> | ||
128 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>{</div> | ||
129 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>(fp);</div> | ||
130 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>}</div> | ||
Max diff block lines reached; 1844/23330 bytes (7.90%) of diff not shown. |
Offset 5, 89 lines modified | Offset 5, 100 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | callable.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_CALLABLE_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_CALLABLE_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6#include·<dune/functions/common/type_traits.hh> | ||
17 | · | 16 | ·6#include·<memory> |
17 | ·7#include·<functional> | ||
18 | ·8 | 18 | ·8 |
19 | ·9 | ||
20 | · | 19 | ·9#include·<dune/common/function.hh> |
20 | ·10#include·<dune/common/shared_ptr.hh> | ||
21 | ·11 | ||
22 | ·12 | ||
21 | ·1 | 23 | ·13namespace·Dune·{ |
22 | ·1 | 24 | ·14namespace·Functions·{ |
25 | ·15 | ||
23 | ·13namespace·Imp·{ | ||
24 | ·14 | ||
25 | ·15//·Interface·of·type·erasure·wrapper | ||
26 | ·16 | 26 | ·16 |
27 | ·17 | ||
28 | ·18 | ||
29 | ·36template<class·F> | ||
30 | 37class·CallableFunctionWrapper | ||
27 | ·17//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor, | ||
28 | clone,·...) | ||
29 | ·18//·will·be·added·by·the·type·erasure·foundation·classes. | ||
30 | ·19template<class·Signature,·class·DerivativeInterface,·class·LocalContext> | ||
31 | ·20class·LocalFunctionWrapperInterface·: | ||
32 | ·21·public·DifferentiableFunctionWrapperInterface<Signature, | ||
33 | DerivativeInterface> | ||
34 | ·22{ | ||
35 | ·23public: | ||
36 | ·24·virtual·void·bind(const·LocalContext&)·=·0; | ||
37 | ·25 | ||
38 | ·26·virtual·void·unbind()·=·0; | ||
39 | ·27 | ||
40 | ·28·virtual·bool·bound()·const·=·0; | ||
41 | ·29 | ||
42 | ·30·virtual·const·LocalContext&·localContext()·const·=·0; | ||
43 | ·31}; | ||
44 | ·32 | ||
45 | ·33 | ||
46 | ·34//·Implementation·of·type·erasure·wrapper | ||
47 | ·35template<class·Signature,·class·DerivativeInterface,·class·LocalContext, | ||
48 | class·B> | ||
49 | ·36class·LocalFunctionWrapperImplementation·: | ||
50 | ·37·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
51 | DerivativeInterface,·B> | ||
52 | ·38{ | 31 | ·38{ |
53 | ·39·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
54 | 32 | ·39·using·Range·=·typename·F::RangeType; | |
33 | ·40·using·Domain·=·typename·F::DomainType; | ||
34 | ·41 | ||
55 | ·4 | 35 | ·42·public: |
56 | ·4 | 36 | ·43 |
37 | 50·CallableFunctionWrapper(const·F&·f) | ||
38 | ·51·{ | ||
39 | ·52·f_·=·Dune::stackobject_to_shared_ptr(f); | ||
40 | ·53·} | ||
41 | ·54 | ||
42 | 61·CallableFunctionWrapper(const·std::shared_ptr<const·F>&·f)·: | ||
43 | ·62·f_(f) | ||
44 | ·63·{} | ||
45 | ·64 | ||
46 | 70·Range·operator()(const·Domain&·x)·const | ||
47 | ·71·{ | ||
48 | ·72·Range·y; | ||
49 | ·73·f_->evaluate(x,·y); | ||
50 | ·74·return·y; | ||
51 | ·75·} | ||
52 | ·76 | ||
53 | ·77·private: | ||
54 | ·78·std::shared_ptr<const·F>·f_; | ||
55 | ·79}; | ||
56 | ·80 | ||
57 | ·81 | ||
58 | ·82 | ||
59 | ·104template<class·F> | ||
60 | 105CallableFunctionWrapper<F>·callable(const·F&·f) | ||
61 | ·106{ | ||
62 | ·107·return·CallableFunctionWrapper<F>(f); | ||
63 | ·108} | ||
64 | ·109 | ||
65 | ·110 | ||
66 | ·136template<class·F> | ||
67 | 137CallableFunctionWrapper<F>·callable(const·std::shared_ptr<F>&·fp) | ||
68 | ·138{ | ||
69 | ·139·return·CallableFunctionWrapper<F>(fp); | ||
70 | ·140} | ||
71 | ·141 | ||
57 | ·42 | 72 | ·142 |
73 | ·143 | ||
58 | ·43·virtual·void·bind(const·LocalContext&·context) | ||
59 | ·44·{ | ||
60 | ·45·this->get().bind(context); | ||
61 | ·46·} | ||
62 | ·47 | ||
63 | ·48·virtual·void·unbind() | ||
64 | ·49·{ | ||
65 | ·50·this->get().unbind(); | ||
66 | ·51·} | ||
67 | ·52 | ||
68 | ·53·virtual·bool·bound()·const | ||
69 | ·54·{ | ||
70 | ·55·return·this->get().bound(); | ||
71 | ·56·} | ||
72 | ·57 | ||
73 | ·58·virtual·const·LocalContext&·localContext()·const | ||
74 | ·59·{ | ||
75 | ·60·return·this->get().localContext(); | ||
76 | ·61·} | ||
77 | ·62}; | ||
78 | ·63 | ||
79 | · | 74 | ·144}·//·namespace·Functions |
80 | ·65 | ||
Max diff block lines reached; 795/4422 bytes (17.98%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·reserveddeque.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 123 lines modified | Offset 65, 68 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#f | 72 | <a·href="#define-members">Macros</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">reserveddeque.hh·File·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·· | ||
77 | <a·href="#details">More...</a></p> | ||
76 | <div·class="textblock"><code>#include·< | 78 | <div·class="textblock"><code>#include·<algorithm></code><br·/> |
79 | <code>#include·<iostream></code><br·/> | ||
80 | <code>#include·<cstddef></code><br·/> | ||
81 | <code>#include·<initializer_list></code><br·/> | ||
77 | <code>#include·<dune/common/ | 82 | <code>#include·<dune/common/genericiterator.hh></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
81 | </div> | 83 | </div> |
82 | <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
85 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01283.html">Dune::Functions::ReservedDeque<·T,·n·></a></td></tr> |
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·double-ended·queue·(deque)·class·with·statically·reserved·memory.··<a·href="a01283.html#details">More...</a><br·/></td></tr> | ||
87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.··<a·href="a01139.html#details">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01147.html">Dune::Functions::Concept::Function<·Range(Domain)></a></td></tr> | ||
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01147.html#details">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01155.html">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·></a></td></tr> | ||
93 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01155.html#details">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01163.html">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·></a></td></tr> | ||
96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01163.html#details">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01171.html">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·></a></td></tr> | ||
99 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01171.html#details">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01175.html">Dune::Functions::Concept::EntitySet</a></td></tr> | ||
102 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>··<a·href="a01175.html#details">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01183.html">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·></a></td></tr> | ||
105 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01183.html#details">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01191.html">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·></a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01191.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01199.html">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·></a></td></tr> | ||
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01199.html#details">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01207.html">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·></a></td></tr> | ||
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.··<a·href="a01207.html#details">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
117 | <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> |
118 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
119 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | <tr·class="memitem:a00220"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html">Dune::Functions::Concept</a></td></tr> | ||
124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
125 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
126 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="f | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> |
127 | 100 | Macros</h2></td></tr> | |
101 | <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)   {}</td></tr> | ||
128 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> | ||
129 | <tr·class="memitem:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">Dune::Functions::Concept::isCallable</a>·()</td></tr> | ||
130 | <tr·class="memdesc:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<a·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:ga2bc5056bab5babdfa8a82409665f5a26"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
132 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·Args>·</td></tr> | ||
133 | <tr·class="memitem:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">Dune::Functions::Concept::isCallable</a>·(F·&&,·Args·&&...)</td></tr> | ||
134 | <tr·class="memdesc:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·is·callable·with·given·argument·list.··<a·href="a00215.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">More...</a><br·/></td></tr> | ||
135 | <tr·class="separator:ga5d8c4be87961f1cff0cb71fc7c7f4c61"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
136 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·>·</td></tr> | ||
137 | <tr·class="memitem:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">Dune::Functions::Concept::isFunction</a>·()</td></tr> | ||
138 | <tr·class="memdesc:ga44de2338acc7d9c49fbc12452545c7fc"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01143.html">Function</a>·concept·with·given·signature.··<a·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">More...</a><br·/></td></tr> | ||
139 | <tr·class="separator: | 102 | <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
141 | <tr·class="memitem:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gaf3604a4b809f49bb590440c0f06ededa">Dune::Functions::Concept::isFunction</a>·(F·&&f,·SignatureTag<·Signature,·DerivativeTraits·>)</td></tr> | ||
142 | <tr·class="memdesc:gaf3604a4b809f49bb590440c0f06ededa"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01143.html">Function</a>·concept·with·given·signature.··<a·href="a00207.html#gaf3604a4b809f49bb590440c0f06ededa">More...</a><br·/></td></tr> | ||
143 | <tr·class="separator:gaf3604a4b809f49bb590440c0f06ededa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
144 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
145 | <tr·class="memitem:ga6c75551b9678848113181d29678ec81e"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga6c75551b9678848113181d29678ec81e">Dune::Functions::Concept::isDifferentiableFunction</a>·()</td></tr> | ||
146 | <tr·class="memdesc:ga6c75551b9678848113181d29678ec81e"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01151.html">DifferentiableFunction</a>·concept·with·given·signature.··<a·href="a00207.html#ga6c75551b9678848113181d29678ec81e">More...</a><br·/></td></tr> | ||
147 | <tr·class="separator:ga6c75551b9678848113181d29678ec81e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
148 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits>·</td></tr> | ||
149 | <tr·class="memitem:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga2ce66508daac0e7fab4ea581865b13c3">Dune::Functions::Concept::isDifferentiableFunction</a>·(F·&&f,·SignatureTag<·Signature,·DerivativeTraits·>)</td></tr> | ||
150 | <tr·class="memdesc:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·f·models·the·<a·class="el"·href="a01151.html">DifferentiableFunction</a>·concept·with·given·signature.··<a·href="a00207.html#ga2ce66508daac0e7fab4ea581865b13c3">More...</a><br·/></td></tr> | ||
151 | <tr·class="separator:ga2ce66508daac0e7fab4ea581865b13c3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
152 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·>·</td></tr> | ||
153 | <tr·class="memitem:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gae2c89a3c7780ff790a8b066bbb5f9687">Dune::Functions::Concept::isLocalFunction</a>·()</td></tr> | ||
154 | <tr·class="memdesc:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01159.html">LocalFunction</a>·concept·with·given·signature·and·local·context.··<a·href="a00207.html#gae2c89a3c7780ff790a8b066bbb5f9687">More...</a><br·/></td></tr> | ||
155 | <tr·class="separator:gae2c89a3c7780ff790a8b066bbb5f9687"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
156 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·>·class·DerivativeTraits·=·DefaultDerivativeTraits>·</td></tr> | ||
157 | <tr·class="memitem:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga2a244aa61f5d2c3f5d0dfb125b0436d5">Dune::Functions::Concept::isDifferentiableLocalFunction</a>·()</td></tr> | ||
158 | <tr·class="memdesc:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01167.html">DifferentiableLocalFunction</a>·concept·with·given·signature·and·local·context.··<a·href="a00207.html#ga2a244aa61f5d2c3f5d0dfb125b0436d5">More...</a><br·/></td></tr> | ||
159 | <tr·class="separator:ga2a244aa61f5d2c3f5d0dfb125b0436d5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
160 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> | ||
161 | <tr·class="memitem:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#gaa59c2062e5469a358cd00ce5bb90fe4d">Dune::Functions::Concept::isEntitySet</a>·()</td></tr> | ||
162 | <tr·class="memdesc:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01179.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<a·href="a00207.html#gaa59c2062e5469a358cd00ce5bb90fe4d">More...</a><br·/></td></tr> | ||
163 | <tr·class="separator:gaa59c2062e5469a358cd00ce5bb90fe4d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
164 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·Signature·,·class·EntitySet·>·</td></tr> | ||
165 | <tr·class="memitem:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00207.html#ga1691be3e84b0405cc8a7ebcd598bd861">Dune::Functions::Concept::isGridFunction</a>·()</td></tr> | ||
166 | <tr·class="memdesc:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·F·models·the·<a·class="el"·href="a01179.html">GridFunction</a>·concept·with·given·signature·and·entity·set.··<a·href="a00207.html#ga1691be3e84b0405cc8a7ebcd598bd861">More...</a><br·/></td></tr> | ||
167 | <tr·class="separator:ga1691be3e84b0405cc8a7ebcd598bd861"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
Max diff block lines reached; 1158/24386 bytes (4.75%) of diff not shown. |
Offset 5, 137 lines modified | Offset 5, 38 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces·|· | 9 | Classes·|·Namespaces·|·Macros |
10 | 10 | reserveddeque.hh·File·Reference | |
11 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
12 | More... | ||
13 | #include·<algorithm> | ||
14 | #include·<iostream> | ||
15 | #include·<cstddef> | ||
16 | #include·<initializer_list> | ||
11 | #include·<dune/common/ | 17 | #include·<dune/common/genericiterator.hh> |
12 | #include·<dune/common/concept.hh> | ||
13 | #include·<dune/functions/common/signature.hh> | ||
14 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
16 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | 19 | ·Classes |
20 | class· Dune::Functions::ReservedDeque<_T,_n_> | ||
21 | ······A·double-ended·queue·(deque)·class·with·statically·reserved·memory. | ||
18 | struct· Dune::Functions::Concept::Callable<_Args_> | ||
19 | ·······Concept·objects·that·can·be·called·with·given·argument·list.·More... | ||
20 | |||
21 | struct· Dune::Functions::Concept::Function<_Range(Domain)> | ||
22 | ·······Concept·for·a·function·mapping·Domain·to·Range.·More... | ||
23 | |||
24 | struct· Dune::Functions::Concept::DifferentiableFunction<_Range(Domain), | ||
25 | ·········DerivativeTraits_> | ||
26 | ·······Concept·for·a·differentiable·function·mapping·Domain·to·Range.·More... | ||
27 | |||
28 | struct· Dune::Functions::Concept::LocalFunction<_Range(Domain),_LocalContext_> | ||
29 | ·······Concept·for·a·local·function·mapping·Domain·to·Range.·More... | ||
30 | |||
31 | struct· Dune::Functions::Concept::DifferentiableLocalFunction<_Range(Domain), | ||
32 | ·········LocalContext,_DerivativeTraits_> | ||
33 | ·······Concept·for·a·differentiable·local·function·mapping·Domain·to·Range. | ||
34 | ········ | 22 | ········More... |
35 | |||
36 | struct· Dune::Functions::Concept::EntitySet | ||
37 | ·······Concept·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain), | ||
38 | ·········EntitySet,·DerivativeTraits>·More... | ||
39 | |||
40 | struct· Dune::Functions::Concept::GridFunction<_Range(Domain),_EntitySet_> | ||
41 | ·······Concept·for·a·grid·function·mapping·Domain·to·Range.·More... | ||
42 | |||
43 | struct· Dune::Functions::Concept::DifferentiableGridFunction<_Range(Domain), | ||
44 | ·········EntitySet,_DerivativeTraits_> | ||
45 | ·······Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range. | ||
46 | ·········More... | ||
47 | |||
48 | struct· Dune::Functions::Concept::GridViewFunction<_Range(Domain),_GridView_> | ||
49 | ·······Concept·for·a·grid·view·function·mapping·Domain·to·Range.·More... | ||
50 | |||
51 | struct· Dune::Functions::Concept::DifferentiableGridViewFunction<_Range | ||
52 | ·········(Domain),_GridView,_DerivativeTraits_> | ||
53 | ·······Concept·for·a·differentiable·grid·view·function·mapping·Domain·to | ||
54 | ·········Range.·More... | ||
55 | 23 | ||
56 | ·Namespaces | 24 | ·Namespaces |
57 | namespace· Dune | 25 | namespace· Dune |
58 | 26 | ||
59 | namespace· Dune::Functions | 27 | namespace· Dune::Functions |
60 | 28 | ||
29 | ·Macros | ||
30 | #define CHECKSIZE(X) {} | ||
61 | namespace· Dune::Functions::Concept | ||
62 | |||
63 | ·Functions | ||
64 | template<class·F·,·class...·Args> | ||
65 | static·constexpr·auto Dune::Functions::Concept::isCallable·() | ||
66 | ·····················Check·if·f·is·callable·with·given·argument·list.·More... | ||
67 | |||
68 | template<class·F·,·class...·Args> | ||
69 | static·constexpr·auto Dune::Functions::Concept::isCallable·(F·&&,·Args·&&...) | ||
70 | ·····················Check·if·f·is·callable·with·given·argument·list.·More... | ||
71 | |||
72 | template<class·F·,·class·Signature·> | ||
73 | static·constexpr·bool Dune::Functions::Concept::isFunction·() | ||
74 | ·····················Check·if·F·models·the·Function·concept·with·given | ||
75 | ·······················signature.·More... | ||
76 | |||
77 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
78 | static·constexpr·bool Dune::Functions::Concept::isFunction·(F·&&f, | ||
79 | ·······················SignatureTag<·Signature,·DerivativeTraits·>) | ||
80 | ·····················Check·if·f·models·the·Function·concept·with·given | ||
81 | ·······················signature.·More... | ||
82 | |||
83 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits·= | ||
84 | DefaultDerivativeTraits> | ||
85 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableFunction·() | ||
86 | ·····················Check·if·F·models·the·DifferentiableFunction·concept | ||
87 | ·······················with·given·signature.·More... | ||
88 | |||
89 | template<class·F·,·class·Signature·,·template<·class·>·class·DerivativeTraits> | ||
90 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableFunction·(F | ||
91 | ·······················&&f,·SignatureTag<·Signature,·DerivativeTraits·>) | ||
92 | ·····················Check·if·f·models·the·DifferentiableFunction·concept | ||
93 | ·······················with·given·signature.·More... | ||
94 | |||
95 | template<class·F·,·class·Signature·,·class·LocalContext·> | ||
96 | static·constexpr·bool Dune::Functions::Concept::isLocalFunction·() | ||
97 | ·····················Check·if·F·models·the·LocalFunction·concept·with·given | ||
98 | ·······················signature·and·local·context.·More... | ||
99 | |||
100 | template<class·F·,·class·Signature·,·class·LocalContext·,·template<·class·> | ||
101 | class·DerivativeTraits·=·DefaultDerivativeTraits> | ||
102 | static·constexpr·bool Dune::Functions::Concept::isDifferentiableLocalFunction | ||
103 | ·······················() | ||
104 | ·····················Check·if·F·models·the·DifferentiableLocalFunction | ||
105 | ·······················concept·with·given·signature·and·local·context.·More... | ||
106 | |||
107 | template<class·E·> | ||
108 | static·constexpr·bool Dune::Functions::Concept::isEntitySet·() | ||
109 | ·····················Check·if·F·models·the·GridFunction·concept·with·given | ||
110 | ·······················signature·and·entity·set.·More... | ||
111 | |||
112 | template<class·F·,·class·Signature·,·class·EntitySet·> | ||
113 | static·constexpr·bool Dune::Functions::Concept::isGridFunction·() | ||
114 | ·····················Check·if·F·models·the·GridFunction·concept·with·given | ||
115 | ·······················signature·and·entity·set.·More... | ||
116 | |||
117 | template<class·F·,·class·Signature·,·class·EntitySet·,·template<·class·>·class | ||
118 | DerivativeTraits·=·DefaultDerivativeTraits> | ||
Max diff block lines reached; 328/6865 bytes (4.78%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·reserveddeque.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 320 lines modified | Offset 62, 229 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">reserveddeque.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00026.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00026.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/typelist.hh></span></div> | ||
77 | <div·class="line"><a·id="l000 | 76 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<algorithm></span></div> |
78 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<iostream></span></div> |
79 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<cstddef></span></div> |
80 | <div·class="line"><a·id="l0001 | 79 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<initializer_list></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class=" | 81 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 82 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class=" | 83 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDDEQUE</span></div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 84 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 85 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#else</span></div> |
86 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00026.html#a65543e75bc949ecdb95a25b1f4e11675">···20</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> | ||
90 | <div·class="line"><a·id="l0002 | 87 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#endif</span></div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·Callable·concept·############################################################</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 88 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
89 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
93 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
94 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">template</span><<span·class="keyword">class</span>...·Args></div> | ||
95 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·n></div> |
93 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01283.html">···44</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01283.html">ReservedDeque</a></div> | ||
96 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{</div> |
97 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">public</span>:</div> |
98 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01139.html#a8020f2dc3373ee93bbb30e7dfd362b9f">···35</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01139.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
99 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····f(std::declval<Args>()...)</div> | ||
100 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··);</div> | ||
101 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>};</div> | ||
102 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
103 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
104 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">···47</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>()</div> | ||
105 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{·<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01139.html">Concept::Callable</a><Args...>,·F>();·}</div> | ||
106 | <div·class="line"><a·id="l0004 | 96 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
107 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
108 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga5d8c4be87961f1cff0cb71fc7c7f4c61">···57</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga2bc5056bab5babdfa8a82409665f5a26">isCallable</a>(F&&,·Args&&...)</div> | ||
109 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>{</div> | ||
110 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordflow">return</span>·models<<a·class="code·hl_struct"·href="a01139.html">Concept::Callable</a><Args&&...>,·F>();</div> | ||
111 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">···51</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value[·...·truncated·by·diffoscope;·len:·10,·SHA:·d56251a661ea7f9701806d732facc885c2ee156fadfc78faeecd9931ed27107b·...·]</div> |
98 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01283.html#a65bd934ebbbb695648a6f506d8914861">···53</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01283.html#a65bd934ebbbb695648a6f506d8914861">pointer</a>;</div> | ||
99 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01283.html#a9d97a3dd5165e57039304aab2c6065b3">···55</a></span>····<span·class="keyword">typedef</span>·T&·<a·class="code·hl_typedef"·href="a01283.html#a9d97a3dd5165e57039304aab2c6065b3">reference</a>;</div> | ||
100 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01283.html#a841549562074d4cf71f7cac885b5e351">···57</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&·<a·class="code·hl_typedef"·href="a01283.html#a841549562074d4cf71f7cac885b5e351">const_reference</a>;</div> | ||
101 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01283.html#ae274c5849a958b0d61a6047ae8849ce4">···59</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01283.html#ae274c5849a958b0d61a6047ae8849ce4">size_type</a>;</div> | ||
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01283.html#a9caae6b45eb4e86efd054b5b21e17ecb">···61</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01283.html#a9caae6b45eb4e86efd054b5b21e17ecb">difference_type</a>;</div> | ||
103 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01283.html#a165ae75902a942b5a9a01a540d5e92b3">···63</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<ReservedDeque,·value_type>·<a·class="code·hl_typedef"·href="a01283.html#a165ae75902a942b5a9a01a540d5e92b3">iterator</a>;</div> | ||
104 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01283.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">···65</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<const·ReservedDeque,·const·value_type>·<a·class="code·hl_typedef"·href="a01283.html#aa2e6ff65ab87792f1a761c2a5d3c8d39">const_iterator</a>;</div> | ||
112 | <div·class="line"><a·id="l0006 | 105 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
106 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01283.html#a1a933bab5b5adcc06dfd9408aa98e6a5">···72</a></span>····<a·class="code·hl_function"·href="a01283.html#a1a933bab5b5adcc06dfd9408aa98e6a5">ReservedDeque</a>()·:</div> | ||
107 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······size_(0),</div> | ||
108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······first_(0)</div> | ||
109 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{}</div> | ||
113 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
111 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01283.html#ad7ce13b5aef147da1c161680a6002e32">···77</a></span>····<a·class="code·hl_function"·href="a01283.html#ad7ce13b5aef147da1c161680a6002e32">ReservedDeque</a>(std::initializer_list<T>·<span·class="keyword">const</span>·&l)</div> | ||
114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
115 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·Function·concept·############################################################</span></div> | ||
116 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
117 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01143.html">···66</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01143.html">Function</a>;</div> | ||
118 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
119 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain></div> | ||
120 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01147.html">···77</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01143.html">Function</a><Range(Domain)>·:·Refines<Callable<Domain>·></div> | ||
121 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>{</div> | 112 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div> |
122 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
123 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01147.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">···80</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01147.html#a8cd663e9ec6cd8cef42e103a3dff7b8d">require</a>(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
124 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·F·models·Function<Range(Domain)>·if·the·result·of·F(Domain)·is·implicitly·convertible·to·Range</span></div> | ||
125 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······assert(l.size()·<=·n);<span·class="comment">//·Actually,·this·is·not·needed·any·more!</span></div> |
114 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······size_·=·l.size();</div> | ||
115 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······std::copy_n(l.begin(),·size_,·data_);</div> | ||
116 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div> | ||
126 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>· | 117 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
118 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01283.html#a0a444f28dfb7fb3b6218e2f45eaa3815">···89</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01283.html#a0a444f28dfb7fb3b6218e2f45eaa3815">clear</a>()</div> | ||
127 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>};</div> | ||
128 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
129 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·Signature></div> | ||
130 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">···88</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">isFunction</a>()</div> | ||
131 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>{·<span·class="keywordflow">return</span>·models<Concept::Function<Signature>,·F>();·}</div> | ||
132 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | 119 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····{</div> |
133 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits></div> | ||
134 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00207.html#gaf3604a4b809f49bb590440c0f06ededa">···93</a></span><span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00207.html#ga44de2338acc7d9c49fbc12452545c7fc">isFunction</a>(F&&·f,·<a·class="code·hl_struct"·href="a01295.html">SignatureTag<Signature,·DerivativeTraits></a>)</div> | ||
135 | <div·class="line"><a·id="l0009 | 120 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······first_·=·0;</div> |
121 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······size_·=·0;</div> | ||
122 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> | ||
136 | <div·class="line"><a·id="l0009 | 123 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
137 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | 124 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01283.html#accbfb817461412168779007c0a2e792d">···96</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01283.html#accbfb817461412168779007c0a2e792d">resize</a>(<span·class="keywordtype">size_t</spa[·...·truncated·by·diffoscope;·len:·5,·SHA:·8daa70779ba11111306c84bc78543919f5a8e605fe6cd45d17c5909853ca3eb0·...·]</div> |
138 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | 125 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····{</div> |
139 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//·DifferentiableFunction·concept·##############################################</span></div> | ||
140 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits·=·<a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a>></div> | ||
141 | <div·class="line"><a·id="l00 | 126 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<a·class="code·hl_define"·href="a00026.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(s<=n);</div> |
127 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······size_·=·s;</div> | ||
128 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····}</div> | ||
142 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | 129 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> |
143 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits></div> | ||
144 | <div·class="line"><a·id="l001 | 130 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01283.html#aec567f9d91f8d29e9baff6adef93051b">··103</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01283.html#aec567f9d91f8d29e9baff6adef93051b">push_[·...·truncated·by·diffoscope;·len:·53,·SHA:·b178fc3e39b26b916be64ae1ff0d839613d04dee53372f5087caf0730ddeeb05·...·]</div> |
131 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{</div> | ||
132 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······<a·class="code·hl_define"·href="a00026.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(size_<n);</div> | ||
133 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······data_[size_++·%·n]·=·t;</div> | ||
Max diff block lines reached; 81900/109108 bytes (75.06%) of diff not shown. |
Offset 5, 460 lines modified | Offset 5, 319 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | reserveddeque.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_RESERVEDDEQUE_HH |
15 | ·5 | 15 | ·5 |
16 | ·10#include·<algorithm> | ||
17 | ·11#include·<iostream> | ||
18 | ·12#include·<cstddef> | ||
19 | ·13#include·<initializer_list> | ||
20 | ·14 | ||
16 | · | 21 | ·15#include·<dune/common/genericiterator.hh> |
17 | ·7#include·<dune/common/concept.hh> | ||
18 | ·8 | ||
19 | ·9#include·<dune/functions/common/signature.hh> | ||
20 | ·10#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
21 | ·11#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
22 | ·12 | ||
23 | ·13namespace·Dune·{ | ||
24 | ·14namespace·Functions·{ | ||
25 | ·15namespace·Concept·{ | ||
26 | ·16 | 22 | ·16 |
23 | ·17#ifdef·CHECK_RESERVEDDEQUE | ||
24 | ·18#define·CHECKSIZE(X)·assert(X) | ||
25 | ·19#else | ||
26 | 20#define·CHECKSIZE(X)·{} | ||
27 | ·21#endif | ||
27 | ·17using·namespace·Dune::Concept; | ||
28 | ·18 | ||
29 | ·19 | ||
30 | ·20 | ||
31 | ·21//·Callable·concept | ||
32 | ############################################################ | ||
33 | ·22 | 28 | ·22 |
29 | ·23namespace·Dune·{ | ||
30 | ·24namespace·Functions·{ | ||
31 | ·25 | ||
34 | ·23 | ||
35 | ·31template<class...·Args> | ||
36 | 32struct·Callable | ||
37 | ·33{ | ||
38 | · | 32 | ·43·template<class·T,·int·n> |
33 | 44·class·ReservedDeque | ||
34 | ·45·{ | ||
35 | ·46·public: | ||
36 | ·47 | ||
37 | 51·typedef·T·value_type; | ||
38 | 53·typedef·T*·pointer; | ||
39 | 55·typedef·T&·reference; | ||
40 | 57·typedef·const·T&·const_reference; | ||
41 | 59·typedef·size_t·size_type; | ||
42 | 61·typedef·std::ptrdiff_t·difference_type; | ||
43 | 63·typedef·Dune::GenericIterator<ReservedDeque,·value_type>·iterator; | ||
44 | 65·typedef·Dune::GenericIterator<const·ReservedDeque,·const·value_type> | ||
45 | const_iterator; | ||
46 | ·66 | ||
47 | 72·ReservedDeque()·: | ||
48 | ·73·size_(0), | ||
49 | ·74·first_(0) | ||
50 | ·75·{} | ||
51 | ·76 | ||
52 | 77·ReservedDeque(std::initializer_list<T>·const·&l) | ||
39 | 35·auto·require(F&&·f)·->·decltype( | ||
40 | ·36·f(std::declval<Args>()...) | ||
41 | ·37·); | ||
42 | ·38}; | ||
43 | ·39 | ||
44 | ·46template<class·F,·class...·Args> | ||
45 | 47static·constexpr·auto·isCallable() | ||
46 | ·48{·return·models<Concept::Callable<Args...>,·F>();·} | ||
47 | ·49 | ||
48 | ·56template<class·F,·class...·Args> | ||
49 | 57static·constexpr·auto·isCallable(F&&,·Args&&...) | ||
50 | ·58{ | ||
51 | ·59·return·models<Concept::Callable<Args&&...>,·F>(); | ||
52 | ·60} | ||
53 | ·61 | ||
54 | ·62 | ||
55 | ·63 | ||
56 | ·64//·Function·concept | ||
57 | ############################################################ | ||
58 | ·65template<class·Signature> | ||
59 | 66struct·Function; | ||
60 | ·67 | ||
61 | ·76template<class·Range,·class·Domain> | ||
62 | 77struct·Function<Range(Domain)>·:·Refines<Callable<Domain>·> | ||
63 | ·78{ | 53 | ·78·{ |
54 | ·79·assert(l.size()·<=·n);//·Actually,·this·is·not·needed·any·more! | ||
55 | ·80·size_·=·l.size(); | ||
56 | ·81·std::copy_n(l.begin(),·size_,·data_); | ||
57 | ·82·} | ||
58 | ·83 | ||
59 | 89·void·clear() | ||
64 | ·79·template<class·F> | ||
65 | 80·auto·require(F&&·f)·->·decltype( | ||
66 | ·81·//·F·models·Function<Range(Domain)>·if·the·result·of·F(Domain)·is | ||
67 | implicitly·convertible·to·Range | ||
68 | ·82·requireConvertible<Range>(f(std::declval<Domain>())) | ||
69 | ·83·); | ||
70 | ·84}; | ||
71 | ·85 | ||
72 | ·87template<class·F,·class·Signature> | ||
73 | 88static·constexpr·bool·isFunction() | ||
74 | ·89{·return·models<Concept::Function<Signature>,·F>();·} | ||
75 | ·90 | 60 | ·90·{ |
61 | ·91·first_·=·0; | ||
62 | ·92·size_·=·0; | ||
63 | ·93·} | ||
64 | ·94 | ||
65 | 96·void·resize(size_t·s) | ||
76 | ·92template<class·F,·class·Signature,·template<class>·class·DerivativeTraits> | ||
77 | 93static·constexpr·bool·isFunction(F&&·f,·SignatureTag<Signature, | ||
78 | DerivativeTraits>) | ||
79 | ·94{·return·models<Concept::Function<Signature>,·F>();·} | ||
80 | ·95 | ||
81 | ·96 | ||
82 | ·97 | 66 | ·97·{ |
67 | ·98·CHECKSIZE(s<=n); | ||
68 | ·99·size_·=·s; | ||
Max diff block lines reached; 22284/25994 bytes (85.73%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·typeerasure.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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 modified | Offset 65, 29 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">typeerasure.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<type | 75 | <div·class="textblock"><code>#include·<typeinfo></code><br·/> |
76 | <code>#include·<utility></code><br·/> | ||
77 | <code>#include·<dune/common/ | 76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
78 | <code>#include·<dune/common/ | 77 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/polymorphicsmallobject.hh</a>></code><br·/> | ||
79 | </div> | 80 | </div> |
80 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
83 | Classes</h2></td></tr> | 84 | Classes</h2></td></tr> |
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01071.html">Dune::Functions::InvalidRange</a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Dummy·range·class·to·be·used·if·no·proper·type·is·available.··<a·href="a01071.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01351.html">Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·for·type-erased·interface·wrapper.··<a·href="a01351.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01079.html">Dune::Functions::DefaultDerivativeTraits<·double(double)·></a></td></tr> | ||
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01079.html#details">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01083.html">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></a></td></tr> | ||
94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01083.html#details">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01087.html#details">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01091.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | </table><table·class="memberdecls"> | 88 | </table><table·class="memberdecls"> |
103 | <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> |
104 | Namespaces</h2></td></tr> | 90 | Namespaces</h2></td></tr> |
105 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 40 lines modified | Offset 6, 25 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | 11 | typeerasure.hh·File·Reference | |
12 | #include·<type | 12 | #include·<typeinfo> |
13 | #include·<utility> | ||
14 | #include·<dune/common/ | 13 | #include·<dune/common/typeutilities.hh> |
15 | #include·<dune/common/ | 14 | #include·<dune/functions/common/type_traits.hh> |
15 | #include·<dune/functions/common/interfaces.hh> | ||
16 | #include·<dune/functions/common/polymorphicsmallobject.hh> | ||
16 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | 18 | ·Classes |
19 | class· Dune::Functions::TypeErasureBase<_Interface,_Implementation,_bufferSize | ||
20 | ········> | ||
21 | ······Base·class·for·type-erased·interface·wrapper.·More... | ||
18 | ·class· Dune::Functions::InvalidRange | ||
19 | ·······Dummy·range·class·to·be·used·if·no·proper·type·is·available.·More... | ||
20 | |||
21 | struct· Dune::Functions::DefaultDerivativeTraits<_Signature_> | ||
22 | ·······Default·implementation·for·derivative·traits.·More... | ||
23 | |||
24 | struct· Dune::Functions::DefaultDerivativeTraits<_double(double)_> | ||
25 | ·······Default·implementation·for·derivative·traits.·More... | ||
26 | |||
27 | struct· Dune::Functions::DefaultDerivativeTraits<_K(FieldVector<_K,_n_>)> | ||
28 | ·······Default·implementation·for·derivative·traits.·More... | ||
29 | |||
30 | struct· Dune::Functions::DefaultDerivativeTraits<_FieldVector<_K,_m_> | ||
31 | ·········(FieldVector<_K,_n_>)> | ||
32 | ·······Default·implementation·for·derivative·traits.·More... | ||
33 | |||
34 | struct· Dune::Functions::DefaultDerivativeTraits<_FieldMatrix<_K,_1,_m_> | ||
35 | ·········(FieldVector<_K,_n_>)> | ||
36 | ·······Default·implementation·for·derivative·traits.·More... | ||
37 | 22 | ||
38 | ·Namespaces | 23 | ·Namespaces |
39 | namespace· Dune | 24 | namespace· Dune |
40 | 25 | ||
41 | namespace· Dune::Functions | 26 | namespace· Dune::Functions |
42 | 27 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·typeerasure.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 81 lines modified | Offset 62, 159 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">typeerasure.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<typeinfo></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/ | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/interfaces.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/polymorphicsmallobject.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
82 | <div·class="line"><a·id="l0001 | 84 | <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="a00218.html">Dune</a>·{</div> |
83 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Functions·{</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
84 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
85 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
86 | <div·class="line"><a·id="l0001 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a01071.html">···22</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01071.html">InvalidRange</a></div> | ||
88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{};</div> | ||
89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
91 | <div·class="line"><a·id="l0003 | 90 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> |
92 | <div·class="line"><a·id="l0003 | 91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>TypeErasureWrapperInterface·:</div> |
92 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>·Interface,</div> | ||
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>·PolymorphicType<TypeErasureWrapperInterface<Interface>></div> | ||
93 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> | 94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
94 | <div·class="line"><a·id="l0003 | 95 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div> |
96 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::type_info&·target_type()·<span·class="keyword">const</span>·=·0;</div> | ||
95 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div> | 97 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div> |
96 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 98 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
97 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 99 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
98 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><></div> | ||
99 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01079.html">···51</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a><·double(double)·></div> | ||
100 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
101 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">···54</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_typedef"·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a>;</div> | ||
102 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface,·<span·class="keyword">class</span>·T></div> |
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">class·</span>TypeErasureWrapperBase·:</div> | ||
103 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">public</span>·TypeErasureWrapperInterface<Interface></div> | ||
103 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>{</div> |
104 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n></div> | ||
105 | <div·class="line"><a·id="l0006 | 105 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">public</span>:</div> |
106 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0></div> | ||
107 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··TypeErasureWrapperBase(TT&&·t)·:</div> | ||
108 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····wrapped_(std::forward<TT>(t))</div> | ||
106 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{</div> | 109 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{}</div> |
107 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
108 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 111 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··T&·get()</div> |
109 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | 112 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div> |
110 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n,·<span·class="keywordtype">int</span>·m></div> | ||
111 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordflow">return</span>·wrapped_;</div> |
114 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | ||
115 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
116 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">const</span>·T&·get()<span·class="keyword">·const</span></div> | ||
117 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">··</span>{</div> | ||
118 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·wrapped_;</div> | ||
119 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··}</div> | ||
112 | <div·class="line"><a·id="l0008 | 120 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
113 | <div·class="line"><a·id="l0008 | 121 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">protected</span>:</div> |
122 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">using·</span>Wrapped·=·T;</div> | ||
123 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··Wrapped·wrapped_;</div> | ||
124 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div> | ||
125 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
114 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span> | 126 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
115 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | 127 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
128 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>Implementation,·<span·class="keyword">class·</span>T></div> | ||
129 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">class·</span>TypeErasureWrapperImplementation·:</div> | ||
130 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keyword">public</span>·Implementation<TypeErasureWrapperBase<Interface,·T>·></div> | ||
116 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n,·<span·class="keywordtype">int</span>·m></div> | ||
117 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01091.html">···99</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a><FieldMatrix<K,1,m>(FieldVector<K,n>)></div> | ||
118 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>{</div> | ||
119 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">··102</a></span>··<span·class="keyword">typedef</span>·FieldMatrix<K,m,n>·<a·class="code·hl_typedef"·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">Range</a>;</div> | ||
120 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div> | ||
121 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
122 | <div·class="line"><a·id="l001 | 131 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>{</div> |
123 | <div·class="line"><a·id="l001 | 132 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="keyword">public</span>:</div> |
124 | <div·class="line"><a·id="l001 | 133 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> |
134 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·TT,·disableCopyMove<TypeErasureWrapperImplementation,·T>·=·0></div> | ||
135 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··TypeErasureWrapperImplementation(TT&&·t)·:</div> | ||
136 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····Implementation<TypeErasureWrapperBase<Interface,·T>·>(std::forward<TT>(t))</div> | ||
137 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··{}</div> | ||
138 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> | ||
139 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··<span·class="keyword">virtual</span>·TypeErasureWrapperImplementation*·clone()<span·class="keyword">·const</span></div> | ||
140 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="keyword">··</span>{</div> | ||
141 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·TypeErasureWrapperImplementation(*<span·class="keyword">this</span>);</div> | ||
142 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··}</div> | ||
143 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> | ||
144 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<span·class="keyword">virtual</span>·TypeErasureWrapperImplementation*·clone(<span·class="keywordtype">void</span>*·buffer)<span·class="keyword">·const</span></div> | ||
145 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="keyword">··</span>{</div> | ||
146 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·(buffer)·TypeErasureWrapperImplementation(*<span·class="keyword">this</span>);</div> | ||
147 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··}</div> | ||
148 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> | ||
149 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<span·class="keyword">virtual</span>·TypeErasureWrapperImplementation*·move(<span·class="keywordtype">void</span>*·buffer)</div> | ||
150 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··{</div> | ||
151 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·(buffer)·TypeErasureWrapperImplementation(std::move(*<span·class="keyword">this</span>));</div> | ||
152 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··}</div> | ||
153 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> | ||
154 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·std::type_info&·target_type()<span·class="keyword">·const</span></div> | ||
155 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="keyword">··</span>{</div> | ||
Max diff block lines reached; 5961/35624 bytes (16.73%) of diff not shown. |
Offset 5, 98 lines modified | Offset 5, 180 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | typeerasure.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_TYPEERASURE_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type | 16 | ·6#include·<typeinfo> |
17 | ·7 | ||
17 | ·7#include·<utility> | ||
18 | ·8 | ||
19 | · | 18 | ·8#include·<dune/common/typeutilities.hh> |
20 | ·10#include·<dune/common/fmatrix.hh> | ||
21 | · | 19 | ·9 |
20 | ·10#include·<dune/functions/common/type_traits.hh> | ||
21 | ·11#include·<dune/functions/common/interfaces.hh> | ||
22 | ·12#include·<dune/functions/common/polymorphicsmallobject.hh> | ||
23 | ·13 | ||
22 | ·1 | 24 | ·14namespace·Dune·{ |
23 | ·1 | 25 | ·15namespace·Functions·{ |
26 | ·16namespace·Imp·{ | ||
27 | ·17 | ||
28 | ·18 | ||
29 | ·19 | ||
24 | ·14 | ||
25 | ·15 | ||
26 | ·16 | ||
27 | 22class·InvalidRange | ||
28 | ·23{}; | ||
29 | ·24 | ||
30 | ·25 | ||
31 | ·3 | 30 | ·33template<class·Interface> |
32 | 3 | 31 | ·34class·TypeErasureWrapperInterface·: |
32 | ·35·public·Interface, | ||
33 | ·36·public·PolymorphicType<TypeErasureWrapperInterface<Interface>> | ||
33 | ·37{ | 34 | ·37{ |
34 | 35 | ·38public: | |
36 | ·39·virtual·const·std::type_info&·target_type()·const·=·0; | ||
35 | ·40}; | 37 | ·40}; |
36 | ·41 | 38 | ·41 |
37 | ·42 | 39 | ·42 |
38 | ·50template<> | ||
39 | 51struct·DefaultDerivativeTraits<·double(double)·> | ||
40 | ·52{ | ||
41 | 54·typedef·double·Range; | ||
42 | ·55}; | ||
43 | ·56 | ||
44 | ·66template<typename·K,·int·n> | ||
45 | 40 | ·43 | |
41 | ·60template<class·Interface,·class·T> | ||
42 | ·61class·TypeErasureWrapperBase·: | ||
43 | ·62·public·TypeErasureWrapperInterface<Interface> | ||
44 | ·63{ | ||
45 | ·64public: | ||
46 | ·65·template<class·TT,·disableCopyMove<TypeErasureWrapperBase,·TT>·=·0> | ||
47 | ·66·TypeErasureWrapperBase(TT&&·t)·: | ||
48 | ·67·wrapped_(std::forward<TT>(t)) | ||
46 | ·68{ | 49 | ·68·{} |
47 | 70·typedef·FieldVector<K,n>·Range; | ||
48 | · | 50 | ·69 |
51 | ·71·T&·get() | ||
49 | ·72 | 52 | ·72·{ |
50 | ·82template<typename·K,·int·n,·int·m> | ||
51 | 83struct·DefaultDerivativeTraits<FieldVector<K,m>(FieldVector<K,n>)> | ||
52 | ·84{ | ||
53 | 53 | ·73·return·wrapped_; | |
54 | ·74·} | ||
55 | ·75 | ||
56 | ·77·const·T&·get()·const | ||
57 | ·78·{ | ||
58 | ·79·return·wrapped_; | ||
59 | ·80·} | ||
60 | ·81 | ||
61 | ·82protected: | ||
62 | ·83·using·Wrapped·=·T; | ||
63 | ·84·Wrapped·wrapped_; | ||
54 | ·8 | 64 | ·85}; |
65 | ·86 | ||
66 | ·87 | ||
55 | ·88 | 67 | ·88 |
56 | ·98template<typename·K,·int·n,·int·m> | ||
57 | 99struct·DefaultDerivativeTraits<FieldMatrix<K,1,m>(FieldVector<K,n>)> | ||
58 | ·100{ | ||
59 | 102·typedef·FieldMatrix<K,m,n>·Range; | ||
60 | ·103}; | ||
61 | ·1 | 68 | ·112template<class·Interface,·template<class>·class·Implementation,·class·T> |
69 | ·113class·TypeErasureWrapperImplementation·: | ||
70 | ·114·public·Implementation<TypeErasureWrapperBase<Interface,·T>·> | ||
71 | ·115{ | ||
72 | ·116public: | ||
73 | ·117 | ||
74 | ·119·template<class·TT,·disableCopyMove<TypeErasureWrapperImplementation,·T>·= | ||
75 | 0> | ||
76 | ·120·TypeErasureWrapperImplementation(TT&&·t)·: | ||
77 | ·121·Implementation<TypeErasureWrapperBase<Interface,·T>·>(std::forward<TT>(t)) | ||
78 | ·122·{} | ||
79 | ·123 | ||
80 | ·125·virtual·TypeErasureWrapperImplementation*·clone()·const | ||
81 | ·126·{ | ||
82 | ·127·return·new·TypeErasureWrapperImplementation(*this); | ||
83 | ·128·} | ||
84 | ·129 | ||
85 | ·131·virtual·TypeErasureWrapperImplementation*·clone(void*·buffer)·const | ||
86 | ·132·{ | ||
87 | ·133·return·new·(buffer)·TypeErasureWrapperImplementation(*this); | ||
88 | ·134·} | ||
62 | ·1 | 89 | ·135 |
90 | ·137·virtual·TypeErasureWrapperImplementation*·move(void*·buffer) | ||
91 | ·138·{ | ||
92 | ·139·return·new·(buffer)·TypeErasureWrapperImplementation(std::move(*this)); | ||
93 | ·140·} | ||
94 | ·141 | ||
95 | ·143·virtual·const·std::type_info&·target_type()·const | ||
96 | ·144·{ | ||
97 | ·145·return·typeid(T); | ||
98 | ·146·} | ||
99 | ·147}; | ||
100 | ·148 | ||
101 | ·149}·//·namespace·Dune::Functions::Imp | ||
102 | ·150 | ||
Max diff block lines reached; 2540/7276 bytes (34.91%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·indexaccess.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 64, 52 lines modified | Offset 64, 60 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>· | 71 | <a·href="#func-members">Functions</a>··</div> |
73 | <a·href="#var-members">Variables</a>··</div> | ||
74 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">indexaccess.hh·File·Reference</div></div> |
75 | </div><!--header--> | 73 | </div><!--header--> |
76 | <div·class="contents"> | 74 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<utility></code><br·/> |
76 | <code>#include·<type_traits></code><br·/> | ||
77 | <code>#include·<dune/common/typetraits.hh></code><br·/> | ||
78 | <code>#include·<dune/common/ | 78 | <code>#include·<dune/common/concept.hh></code><br·/> |
79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
79 | </div> | 81 | </div> |
80 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
83 | Namespaces</h2></td></tr> | 85 | Namespaces</h2></td></tr> |
84 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 86 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 88 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | </table><table·class="memberdecls"> | 90 | </table><table·class="memberdecls"> |
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
90 | Typedefs</h2></td></tr> | ||
91 | <tr·class="memitem:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
92 | <tr·class="memitem:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">Dune::Functions::ResolveRef_t</a>·=·Dune::ResolveRef_t<·T·></td></tr> | ||
93 | <tr·class="memdesc:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="mdescLeft"> </td><td·class="mdescRight">This·is·an·alias·for·Dune::ResolveRef_t.··<a·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:a51755a2fa6d9e5737a8e2b32cbe3cc15"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | </table><table·class="memberdecls"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
97 | Functions</h2></td></tr> | 92 | Functions</h2></td></tr> |
98 | <tr·class="memitem:acd448ecd78521f983720ec5a6f3e7698"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
99 | <tr·class="memitem:acd448ecd78521f983720ec5a6f3e7698"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">Dune::Functions::resolveRef</a>·(T·&&t)</td></tr> | ||
100 | <tr·class="mem | 93 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type··=·0>·</td></tr> |
94 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)·->·decltype(f(c[i]))</td></tr> | ||
95 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<a·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">More...</a><br·/></td></tr> | ||
96 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·not·Dune::models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type··=·0>·</td></tr> | ||
98 | <tr·class="memitem:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ga2226fe3a86eb176df27c9801a98a10ae">Dune::Functions::hybridIndexAccess</a>·(C·&&c,·const·I·&i,·F·&&f)</td></tr> | ||
99 | <tr·class="memdesc:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·operator[]·index-access·for·containers.··<a·href="a00219.html#ga2226fe3a86eb176df27c9801a98a10ae">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:ga2226fe3a86eb176df27c9801a98a10ae"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplParams"·colspan="2">template<class·Result·,·class·C·,·class·MultiIndex·>·</td></tr> | ||
102 | <tr·class="memitem:gabd5106817636cc5542dc4e9a1817551b"><td·class="memTemplItemLeft"·align="right"·valign="top">Result </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gabd5106817636cc5542dc4e9a1817551b">Dune::Functions::hybridMultiIndexAccess</a>·(C·&&c,·const·MultiIndex·&index)</td></tr> | ||
103 | <tr·class="memdesc:gabd5106817636cc5542dc4e9a1817551b"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#gabd5106817636cc5542dc4e9a1817551b">More...</a><br·/></td></tr> | ||
104 | <tr·class="separator:gabd5106817636cc5542dc4e9a1817551b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·,·class·IsFinal·>·</td></tr> | ||
106 | <tr·class="memitem:ga9aaec884c080483fea267d1098f81590"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga9aaec884c080483fea267d1098f81590">Dune::Functions::resolveDynamicMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal)</td></tr> | ||
107 | <tr·class="memdesc:ga9aaec884c080483fea267d1098f81590"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#ga9aaec884c080483fea267d1098f81590">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator: | 108 | <tr·class="separator:ga9aaec884c080483fea267d1098f81590"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | </table><table·class="memberdecls"> | ||
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> | ||
104 | Variables</h2></td></tr> | ||
105 | <tr·class="memitem:a | 109 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> |
106 | <tr·class="memitem:a432dd9531e141b59ba6b90a6104f2cb7"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">Dune::Functions::IsReferenceWrapper_v</a>·=·Dune::IsReferenceWrapper_v<T></td></tr> | ||
107 | <tr·class="mem | 110 | <tr·class="memitem:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga89fbdd009241b14e86b4fff7ba208a04">Dune::Func[·...·truncated·by·diffoscope;·len:·85,·SHA:·fd3c322448dc0f20f17332a530655767ac7885c6317d8c7719530c08549501a8·...·]</td></tr> |
111 | <tr·class="memdesc:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#ga89fbdd009241b14e86b4fff7ba208a04">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:a | 112 | <tr·class="separator:ga89fbdd009241b14e86b4fff7ba208a04"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"><td·class="memTemplParams"·colspan="2">template<class·C·,·class·MultiIndex·>·</td></tr> | ||
114 | <tr·class="memitem:ga4cc6af2842348271c242c048e0411637"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga4cc6af2842348271c242c048e0411637">Dune::Functions::resolveStaticMultiIndex</a>·(C·&&c,·const·MultiIndex·&multiIndex)</td></tr> | ||
115 | <tr·class="memdesc:ga4cc6af2842348271c242c048e0411637"><td·class="mdescLeft"> </td><td·class="mdescRight">Provide·multi-index·access·by·chaining·operator[].··<a·href="a00215.html#ga4cc6af2842348271c242c048e0411637">More...</a><br·/></td></tr> | ||
116 | <tr·class="separator:ga4cc6af2842348271c242c048e0411637"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table> | 117 | </table> |
110 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
114 | </small></address> | 122 | </small></address> |
115 | </body> | 123 | </body> |
Offset 5, 36 lines modified | Offset 5, 63 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces·|·Typedefs·|·Functions·|·Variables | ||
10 | 9 | Namespaces·|·Functions | |
10 | indexaccess.hh·File·Reference | ||
11 | #include·<utility> | ||
11 | #include·<type_traits> | 12 | #include·<type_traits> |
13 | #include·<dune/common/typetraits.hh> | ||
12 | #include·<dune/common/ | 14 | #include·<dune/common/concept.hh> |
15 | #include·<dune/common/hybridutilities.hh> | ||
16 | #include·<dune/functions/common/utility.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
14 | ·Namespaces | 18 | ·Namespaces |
15 | namespace· Dune | 19 | namespace· Dune |
16 | 20 | ||
17 | namespace· Dune::Functions | 21 | namespace· Dune::Functions |
18 | 22 | ||
19 | ·Typedefs | ||
20 | template<class·T·> | ||
21 | using Dune::Functions::ResolveRef_t·=·Dune::ResolveRef_t<·T·> | ||
22 | ·····This·is·an·alias·for·Dune::ResolveRef_t.·More... | ||
23 | |||
24 | ·Functions | 23 | ·Functions |
25 | template<class·T·> | ||
26 | decltype(auto) Dune::Functions::resolveRef·(T·&&t) | ||
27 | 24 | template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·Dune::models< | |
25 | Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type·=·0> | ||
26 | ····················auto Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
27 | ··························&i,·F·&&f)·->·decltype(f(c[i])) | ||
28 | ························Provide·operator[]·index-access·for·containers. | ||
29 | ··························More... | ||
28 | 30 | ||
29 | ·Variables | ||
30 | template<class·T·> | ||
31 | constexpr·bool Dune::Functions::IsReferenceWrapper_v·=·Dune:: | ||
32 | ················IsReferenceWrapper_v<T> | ||
33 | 31 | template<class·C·,·class·I·,·class·F·,·typename·std::enable_if<·not·Dune:: | |
32 | models<·Imp::Concept::HasDynamicIndexAccess<·I·>,·C·>(),·int·>::type·=·0> | ||
33 | ··········decltype(auto) Dune::Functions::hybridIndexAccess·(C·&&c,·const·I | ||
34 | ··························&i,·F·&&f) | ||
35 | ························Provide·operator[]·index-access·for·containers. | ||
36 | ··························More... | ||
37 | |||
38 | template<class·Result·,·class·C·,·class·MultiIndex·> | ||
39 | ··················Result Dune::Functions::hybridMultiIndexAccess·(C·&&c,·const | ||
40 | ··························MultiIndex·&index) | ||
41 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
42 | ··························More... | ||
43 | |||
44 | template<class·C·,·class·MultiIndex·,·class·IsFinal·> | ||
45 | constexpr·decltype(auto) Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
46 | ··························const·MultiIndex·&multiIndex,·const·IsFinal·&isFinal) | ||
47 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
48 | ··························More... | ||
49 | |||
50 | template<class·C·,·class·MultiIndex·> | ||
51 | constexpr·decltype(auto) Dune::Functions::resolveDynamicMultiIndex·(C·&&c, | ||
52 | ··························const·MultiIndex·&multiIndex) | ||
53 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
54 | ··························More... | ||
55 | |||
56 | template<class·C·,·class·MultiIndex·> | ||
57 | constexpr·decltype(auto) Dune::Functions::resolveStaticMultiIndex·(C·&&c, | ||
58 | ··························const·MultiIndex·&multiIndex) | ||
59 | ························Provide·multi-index·access·by·chaining·operator[]. | ||
60 | ··························More... | ||
34 | 61 | ||
35 | =============================================================================== | 62 | =============================================================================== |
36 | ·····Generated·by [doxygen]·1.9.4 | 63 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·indexaccess.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 65 lines modified | Offset 62, 313 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">indexaccess.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00032.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00032.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#warning·The·header·dune/functions/common/referencehelper.hh·is·deprecated·and·will·be·removed·after·release·2.9.·Include·dune/common/referencehelper.hh·instead.</span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/ | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
82 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/utility.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> |
90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>[[deprecated(<span·class="stringliteral">"Use·Dune::IsReferenceWrapper_v·instead.·Will·be·removed·after·release·2.9."</span>)]]</div> | ||
91 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span></div> | ||
92 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">···26</a></span><a·class="code·hl_variable"·href="a00219.html#a432dd9531e141b59ba6b90a6104f2cb7">IsReferenceWrapper_v</a>·=·Dune::IsReferenceWrapper_v<T>;</div> | ||
93 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Concept·{</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">struct·</span>HasDynamicIndexAccess</div> | ||
94 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·C></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">auto</span>·require(C&&·c)·->·<span·class="keyword">decltype</span>(</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····c[std::declval<size_type>()]</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="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>HasStaticIndexAccess</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | ||
95 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·C></div> |
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">auto</span>·require(C&&·c)·->·<span·class="keyword">decltype</span>(</div> | ||
96 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)</div> | ||
97 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">···35</a></span><a·class="code·hl_function"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">resolveRef</a></div> | ||
98 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>[[deprecated(<span·class="stringliteral">"Use·Dune::resolveRef·instead.·Will·be·removed·after·release·2.9."</span>)]]</div> | ||
99 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>(T&&·t)</div> | ||
100 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····c[Dune::Indices::_0]</div> |
101 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#acd448ecd78521f983720ec5a6f3e7698">Dune::resolveRef</a>(std::forward<T>(t));</div> | ||
102 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··);</div> |
103 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span> | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>};</div> |
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·namespace·Concept</span></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·namespace·Imp</span></div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
119 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">template</span><<span·class="keyword">class·</span>C,·<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>F,</div> | ||
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">typename</span>·std::enable_if<·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
121 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">···63</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">hybridIndexAccess</a>(C&&·c,·<span·class="keyword">const</span>·I&·i,·F&&·f)</div> | ||
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··->·<span·class="keyword">decltype</span>(f(c[i]))</div> | ||
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>{</div> | ||
124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordflow">return</span>·f(c[i]);</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>·</div> | ||
127 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">template</span><<span·class="keyword">class·</span>C,·<span·class="keyword">class·</span>I,·<span·class="keyword">class·</span>F,</div> | ||
128 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keyword">typename</span>·std::enable_if<·not·Dune::models<Imp::Concept::HasDynamicIndexAccess<I>,·C>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
129 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00219.html#ga2226fe3a86eb176df27c9801a98a10ae">···88</a></span><span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00215.html#ga2226fe3a86eb176df27c9801a98a10ae">hybridIndexAccess</a>(C&&·c,·<span·class="keyword">const</span>·I&·i,·F&&·f)</div> | ||
130 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>{</div> | ||
131 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">using·</span>Size·=·<span·class="keyword">decltype</span>(Hybrid::size(c));</div> | ||
132 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordflow">return</span>·Hybrid::switchCases(std::make_index_sequence<Size::value>(),·i,</div> | ||
133 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······[&](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·ii)·->·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>){</div> | ||
134 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keywordflow">return</span>·f(c[ii]);</div> | ||
104 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······},·[&]()·->·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>){</div> |
105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">···47</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00219.html#a51755a2fa6d9e5737a8e2b32cbe3cc15">ResolveRef_t</a></div> | ||
106 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·f(c[Dune::Indices::_0]);</div> |
137 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······});</div> | ||
138 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}</div> | ||
139 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
140 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
141 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
142 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
143 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Index,·std::<span·class="keywordtype">size_t</span>·offset=1></div> | ||
144 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keyword">class·</span>ShiftedDynamicMultiIndex</div> | ||
145 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··{</div> | ||
146 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">public</span>:</div> | ||
147 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····ShiftedDynamicMultiIndex(<span·class="keyword">const</span>·Index&·index)·:</div> | ||
148 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······index_(index)</div> | ||
149 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{}</div> | ||
150 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> | ||
151 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····std::size_t·operator[](std::size_t·position)<span·class="keyword">·const</span></div> | ||
152 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="keyword">····</span>{</div> | ||
153 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>······<span·class="keywordflow">if</span>·(position<size())</div> | ||
154 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>········<span·class="keywordflow">return</span>·index_[position+offset];</div> | ||
155 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······<span·class="keywordflow">else</span></div> | ||
156 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>········<span·class="keywordflow">return</span>·0;</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>·</div> | ||
159 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····ShiftedDynamicMultiIndex<Index,·offset+1>·pop()<span·class="keyword">·const</span></div> | ||
Max diff block lines reached; 1876/57302 bytes (3.27%) of diff not shown. |
Offset 5, 75 lines modified | Offset 5, 362 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | indexaccess.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_INDEX_ACCESS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<utility> | ||
16 | ·6#warning·The·header·dune/functions/common/referencehelper.hh·is·deprecated | ||
17 | and·will·be·removed·after·release·2.9.·Include·dune/common/referencehelper.hh | ||
18 | instead. | ||
19 | ·7 | ||
20 | ·8#include·<type_traits> | 18 | ·8#include·<type_traits> |
21 | ·9 | 19 | ·9 |
20 | ·10#include·<dune/common/typetraits.hh> | ||
22 | ·1 | 21 | ·11#include·<dune/common/concept.hh> |
22 | ·12#include·<dune/common/hybridutilities.hh> | ||
23 | ·11 | ||
24 | ·12 | ||
25 | ·13 | 23 | ·13 |
26 | ·14 | ||
27 | ·15namespace·Dune·{ | ||
28 | ·1 | 24 | ·14#include·<dune/functions/common/utility.hh> |
25 | ·15 | ||
26 | ·16 | ||
29 | ·17 | 27 | ·17 |
30 | ·18 | 28 | ·18namespace·Dune·{ |
29 | ·19namespace·Functions·{ | ||
30 | ·20 | ||
31 | ·21 | ||
32 | ·22namespace·Imp·{ | ||
33 | ·23 | ||
34 | ·24namespace·Concept·{ | ||
35 | ·25 | ||
36 | ·26template<class·size_type> | ||
37 | ·27struct·HasDynamicIndexAccess | ||
38 | ·28{ | ||
31 | ·2 | 39 | ·29·template<class·C> |
32 | ·24[[deprecated("Use·Dune::IsReferenceWrapper_v·instead.·Will·be·removed·after | ||
33 | release·2.9.")]] | ||
34 | ·25constexpr·bool | ||
35 | 26IsReferenceWrapper_v·=·Dune::IsReferenceWrapper_v<T>; | ||
36 | ·27 | ||
37 | · | 40 | ·30·auto·require(C&&·c)·->·decltype( |
41 | ·31·c[std::declval<size_type>()] | ||
42 | ·32·); | ||
43 | ·33}; | ||
44 | ·34 | ||
45 | ·35struct·HasStaticIndexAccess | ||
46 | ·36{ | ||
38 | ·3 | 47 | ·37·template<class·C> |
39 | ·34decltype(auto) | ||
40 | 35resolveRef | ||
41 | ·36[[deprecated("Use·Dune::resolveRef·instead.·Will·be·removed·after·release | ||
42 | 2.9.")]] | ||
43 | ·3 | 48 | ·38·auto·require(C&&·c)·->·decltype( |
49 | ·39·c[Dune::Indices::_0] | ||
50 | ·40·); | ||
51 | ·41}; | ||
52 | ·42 | ||
53 | ·43}·//·namespace·Concept | ||
54 | ·44 | ||
55 | ·45}·//·namespace·Imp | ||
56 | ·46 | ||
57 | ·47 | ||
58 | ·48 | ||
59 | ·61template<class·C,·class·I,·class·F, | ||
60 | ·62·typename·std::enable_if<·Dune::models<Imp::Concept:: | ||
61 | HasDynamicIndexAccess<I>,·C>(),·int>::type·=·0> | ||
62 | 63auto·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
63 | ·64·->·decltype(f(c[i])) | ||
64 | ·65{ | ||
65 | ·66·return·f(c[i]); | ||
66 | ·67} | ||
67 | ·68 | ||
68 | ·86template<class·C,·class·I,·class·F, | ||
69 | ·87·typename·std::enable_if<·not·Dune::models<Imp::Concept:: | ||
70 | HasDynamicIndexAccess<I>,·C>(),·int>::type·=·0> | ||
71 | 88decltype(auto)·hybridIndexAccess(C&&·c,·const·I&·i,·F&&·f) | ||
44 | · | 72 | ·89{ |
45 | · | 73 | ·90·using·Size·=·decltype(Hybrid::size(c)); |
74 | ·91·return·Hybrid::switchCases(std::make_index_sequence<Size::value>(),·i, | ||
75 | ·92·[&](const·auto&·ii)·->·decltype(auto){ | ||
76 | ·93·return·f(c[ii]); | ||
77 | ·94·},·[&]()·->·decltype(auto){ | ||
78 | ·95·return·f(c[Dune::Indices::_0]); | ||
79 | ·96·}); | ||
80 | ·97} | ||
81 | ·98 | ||
82 | ·99 | ||
83 | ·100namespace·Imp·{ | ||
84 | ·101 | ||
85 | ·115·template<class·Index,·std::size_t·offset=1> | ||
86 | ·116·class·ShiftedDynamicMultiIndex | ||
87 | ·117·{ | ||
88 | ·118·public: | ||
89 | ·119·ShiftedDynamicMultiIndex(const·Index&·index)·: | ||
90 | ·120·index_(index) | ||
91 | ·121·{} | ||
92 | ·122 | ||
93 | ·123·std::size_t·operator[](std::size_t·position)·const | ||
94 | ·124·{ | ||
95 | ·125·if·(position<size()) | ||
96 | ·126·return·index_[position+offset]; | ||
97 | ·127·else | ||
98 | ·128·return·0; | ||
99 | ·129·} | ||
100 | ·130 | ||
101 | ·134·ShiftedDynamicMultiIndex<Index,·offset+1>·pop()·const | ||
102 | ·135·{ | ||
103 | ·136·return·{index_}; | ||
104 | ·137·} | ||
105 | ·138 | ||
106 | ·139·std::size_t·size()·const | ||
107 | ·140·{ | ||
108 | ·141·if·(offset·<·index_.size()) | ||
109 | ·142·return·index_.size()·-·offset; | ||
110 | ·143·else | ||
111 | ·144·return·0; | ||
Max diff block lines reached; 731/11862 bytes (6.16%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultderivativetraits.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 26 lines modified | Offset 65, 43 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">defaultderivativetraits.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
76 | <code>#include·< | 76 | <code>#include·<utility></code><br·/> |
77 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
78 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
77 | </div> | 79 | </div> |
78 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> | 80 | <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
81 | Classes</h2></td></tr> | 83 | Classes</h2></td></tr> |
82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01071.html">Dune::Functions::InvalidRange</a></td></tr> |
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Dummy·range·class·to·be·used·if·no·proper·type·is·available.··<a·href="a01071.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01075.html">Dune::Functions::DefaultDerivativeTraits<·Signature·></a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01075.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01079.html">Dune::Functions::DefaultDerivativeTraits<·double(double)·></a></td></tr> | ||
83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01079.html#details">More...</a><br·/></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01083.html">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></a></td></tr> | ||
94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01083.html#details">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01087.html#details">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></a></td></tr> | ||
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·implementation·for·derivative·traits.··<a·href="a01091.html#details">More...</a><br·/></td></tr> | ||
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | </table><table·class="memberdecls"> | 102 | </table><table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 105 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 107 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 22 lines modified | Offset 6, 40 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | defaultderivativetraits.hh·File·Reference | ||
11 | polymorphicsmallobject.hh·File·Reference | ||
12 | #include·<utility> | ||
13 | #include·<type_traits> | 12 | #include·<type_traits> |
13 | #include·<utility> | ||
14 | #include·<dune/common/fvector.hh> | ||
15 | #include·<dune/common/fmatrix.hh> | ||
14 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
15 | ·Classes | 17 | ·Classes |
16 | class· Dune::Functions::PolymorphicSmallObject<_Base,_bufferSize_> | ||
17 | ······A·wrapper·providing·small·object·optimization·with·polymorphic·types. | ||
18 | ·· | 18 | ·class· Dune::Functions::InvalidRange |
19 | ·······Dummy·range·class·to·be·used·if·no·proper·type·is·available.·More... | ||
20 | |||
21 | struct· Dune::Functions::DefaultDerivativeTraits<_Signature_> | ||
22 | ·······Default·implementation·for·derivative·traits.·More... | ||
23 | |||
24 | struct· Dune::Functions::DefaultDerivativeTraits<_double(double)_> | ||
25 | ·······Default·implementation·for·derivative·traits.·More... | ||
26 | |||
27 | struct· Dune::Functions::DefaultDerivativeTraits<_K(FieldVector<_K,_n_>)> | ||
28 | ·······Default·implementation·for·derivative·traits.·More... | ||
29 | |||
30 | struct· Dune::Functions::DefaultDerivativeTraits<_FieldVector<_K,_m_> | ||
31 | ·········(FieldVector<_K,_n_>)> | ||
32 | ·······Default·implementation·for·derivative·traits.·More... | ||
33 | |||
34 | struct· Dune::Functions::DefaultDerivativeTraits<_FieldMatrix<_K,_1,_m_> | ||
35 | ·········(FieldVector<_K,_n_>)> | ||
36 | ·······Default·implementation·for·derivative·traits.·More... | ||
19 | 37 | ||
20 | ·Namespaces | 38 | ·Namespaces |
21 | namespace· Dune | 39 | namespace· Dune |
22 | 40 | ||
23 | namespace· Dune::Functions | 41 | namespace· Dune::Functions |
24 | 42 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultderivativetraits.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 164 lines modified | Offset 62, 81 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">defaultderivativetraits.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<utility></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class=" | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class=" | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
83 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Base,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
84 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01279.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a></div> | ||
85 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a01071.html">···22</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01071.html">InvalidRange</a></div> | ||
88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{};</div> | ||
87 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
88 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01279.html#ab91da8192c7c5d7a796d79145ce97c84">···49</a></span>··<a·class="code·hl_function"·href="a01279.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>()·:</div> | ||
89 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····p_(nullptr)</div> | ||
90 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
91 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
92 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01075.html">···36</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a></div> | ||
93 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> | ||
94 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01075.html#a3f8978146cb9b334705b651d84194b98">···39</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01071.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01075.html#a3f8978146cb9b334705b651d84194b98">Range</a>;</div> | ||
95 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>};</div> | ||
96 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
97 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
98 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><></div> | ||
99 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01079.html">···51</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a><·double(double)·></div> | ||
91 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span> | 100 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> |
101 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">···54</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_typedef"·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a>;</div> | ||
102 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>};</div> | ||
92 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Derived,</div> | ||
93 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">typename</span>·std::enable_if<std::is_base_of<Base,·std::remove_cv_t<</div> | ||
94 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··········std::remove_reference_t<Derived>>>::value,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
95 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01279.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">···62</a></span>··<a·class="code·hl_function"·href="a01279.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">PolymorphicSmallObject</a>(Derived&&·derived)</div> | ||
96 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
104 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n></div> | ||
105 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01083.html">···67</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a><K(FieldVector<K,n>)></div> | ||
97 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·useBuffer·=·<span·class="keyword">sizeof</span>(Derived)·<=·bufferSize;</div> | ||
98 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(useBuffer)·{</div> | ||
99 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······p_·=·<span·class="keyword">new</span>·(&buffer_)·Derived(std::forward<Derived>(derived));</div> | ||
100 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}·<span·class="keywordflow">else</span>·{</div> | ||
101 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······p_·=·<span·class="keyword">new</span>·Derived(std::forward<Derived>(derived));</div> | ||
102 | <div·class="line"><a·id="l0006 | 106 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>{</div> |
103 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·· | 107 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01083.html#ad1603332ee1c64f89c0fc18a8ee273d6">···70</a></span>··<span·class="keyword">typedef</span>·FieldVector<K,n>·<a·class="code·hl_typedef"·href="a01083.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a>;</div> |
104 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 108 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>};</div> |
105 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01279.html#a4b1d4df1c0a49f22c3da8beff0412560">···73</a></span>··<a·class="code·hl_function"·href="a01279.html#a4b1d4df1c0a49f22c3da8beff0412560">PolymorphicSmallObject</a>(<a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a>&&·other)·<span·class="keyword">noexcept</span></div> | ||
106 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div> | ||
107 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····moveToWrappedObject(std::move(other));</div> | ||
108 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> | ||
109 | <div·class="line"><a·id="l0007 | 109 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
110 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n,·<span·class="keywordtype">int</span>·m></div> |
111 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01087.html">···83</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a><FieldVector<K,m>(FieldVector<K,n>)></div> | ||
111 | <div·class="line"><a·id="l0008 | 112 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>{</div> |
112 | <div·class="line"><a·id="l0008 | 113 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01087.html#ace3fbe5caed8c848072466ff723e82ab">···86</a></span>··<span·class="keyword">typedef</span>·FieldMatrix<K,m,n>·<a·class="code·hl_typedef"·href="a01087.html#ace3fbe5caed8c848072[·...·truncated·by·diffoscope;·len:·24,·SHA:·4941e2cebfb98a75dbff6319b1b30bd5f6308c1a447c47ce889f0149b0043223·...·];</div> |
113 | <div·class="line"><a·id="l0008 | 114 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>};</div> |
114 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
115 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01279.html#aa0714dd1c60221fbbd867f9796ccf722">···85</a></span>··<a·class="code·hl_function"·href="a01279.html#aa0714dd1c60221fbbd867f9796ccf722">~PolymorphicSmallObject</a>()</div> | ||
116 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> | ||
117 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····destroyWrappedObject();</div> | ||
118 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>· | 115 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
116 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·n,·<span·class="keywordtype">int</span>·m></div> | ||
117 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01091.html">···99</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a><FieldMatrix<K,1,m>(FieldVector<K,n>)></div> | ||
119 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
120 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01279.html#a540e643bdb360a590d5571d82509e119">···91</a></span>··<a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a>&·<a·class="code·hl_function"·href="a01279.html#a540e643bdb360a590d5571d82509e119">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a>&·other)</div> | ||
121 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··{</div> | ||
122 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordflow">if</span>·(&other!=<span·class="keyword">this</span>)</div> | ||
123 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div> | ||
124 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······destroyWrappedObject();</div> | ||
125 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······copyToWrappedObject(other);</div> | ||
126 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> | ||
127 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
128 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div> | ||
129 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span> | 118 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>{</div> |
130 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01 | 119 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">··102</a></span>··<span·class="keyword">typedef</span>·FieldMatrix<K,m,n>·<a·class="code·hl_typedef"·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">Range</a>;</div> |
131 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span> | 120 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>};</div> |
132 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>· | 121 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> |
133 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>· | 122 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
134 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span> | 123 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
135 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>· | 124 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> |
136 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | 125 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> |
126 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH</span></div> | ||
137 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01279.html#a0cb41b8c9849201989384100e3d7409c">··110</a></span>··<span·class="keyword">explicit</span>·<span·class="keyword">operator</span>·bool()<span·class="keyword">·const</span></div> | ||
138 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="keyword">··</span>{</div> | ||
139 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">return</span>·p_;</div> | ||
140 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··}</div> | ||
141 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> | ||
142 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a01279.html#a40b4620d6b4cdf63072914d621059db0">··116</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01279.html#a40b4620d6b4cdf63072914d621059db0">bufferUsed</a>()<span·class="keyword">·const</span></div> | ||
143 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">··</span>{</div> | ||
144 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keywordflow">return</span>·((<span·class="keywordtype">void</span>*)·(p_)·==·(<span·class="keywordtype">void</span>*)(&buffer_));</div> | ||
145 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··}</div> | ||
146 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | ||
147 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a01279.html#a194b49151e7264d77ca70777bf1c3d48">··122</a></span>··<span·class="keyword">const</span>·Base&·<a·class="code·hl_function"·href="a01279.html#a194b49151e7264d77ca70777bf1c3d48">get</a>()<span·class="keyword">·const</span></div> | ||
148 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="keyword">··</span>{</div> | ||
149 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keywordflow">return</span>·*p_;</div> | ||
Max diff block lines reached; 7701/37858 bytes (20.34%) of diff not shown. |
Offset 5, 192 lines modified | Offset 5, 98 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | defaultderivativetraits.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6#include·<utility> | ||
17 | · | 16 | ·6#include·<type_traits> |
17 | ·7#include·<utility> | ||
18 | ·8 | 18 | ·8 |
19 | ·9namespace·Dune·{ | ||
20 | · | 19 | ·9#include·<dune/common/fvector.hh> |
20 | ·10#include·<dune/common/fmatrix.hh> | ||
21 | ·11 | 21 | ·11 |
22 | ·12 | ||
23 | ·43template<class·Base,·size_t·bufferSize> | ||
24 | 44class·PolymorphicSmallObject | ||
25 | ·45{ | ||
26 | ·46public: | ||
27 | ·47 | ||
28 | 49·PolymorphicSmallObject()·: | ||
29 | ·50·p_(nullptr) | ||
30 | · | 22 | ·12namespace·Dune·{ |
23 | ·13namespace·Functions·{ | ||
24 | ·14 | ||
25 | ·15 | ||
26 | ·16 | ||
27 | 22class·InvalidRange | ||
28 | ·23{}; | ||
29 | ·24 | ||
30 | ·25 | ||
31 | ·35template<class·Signature> | ||
32 | 36struct·DefaultDerivativeTraits | ||
33 | ·37{ | ||
34 | 39·typedef·InvalidRange·Range; | ||
35 | ·40}; | ||
36 | ·41 | ||
37 | ·42 | ||
38 | ·50template<> | ||
39 | 51struct·DefaultDerivativeTraits<·double(double)·> | ||
31 | ·52 | 40 | ·52{ |
41 | 54·typedef·double·Range; | ||
42 | ·55}; | ||
43 | ·56 | ||
44 | ·66template<typename·K,·int·n> | ||
45 | 67struct·DefaultDerivativeTraits<K(FieldVector<K,n>)> | ||
46 | ·68{ | ||
47 | 70·typedef·FieldVector<K,n>·Range; | ||
32 | ·59·template<class·Derived, | ||
33 | ·60·typename·std::enable_if<std::is_base_of<Base,·std::remove_cv_t< | ||
34 | ·61·std::remove_reference_t<Derived>>>::value,·int>::type·=·0> | ||
35 | 62·PolymorphicSmallObject(Derived&&·derived) | ||
36 | ·63·{ | ||
37 | ·64·constexpr·bool·useBuffer·=·sizeof(Derived)·<=·bufferSize; | ||
38 | ·65·if·constexpr·(useBuffer)·{ | ||
39 | ·66·p_·=·new·(&buffer_)·Derived(std::forward<Derived>(derived)); | ||
40 | ·67·}·else·{ | ||
41 | ·68·p_·=·new·Derived(std::forward<Derived>(derived)); | ||
42 | ·69·} | ||
43 | ·70·} | ||
44 | ·71 | 48 | ·71}; |
49 | ·72 | ||
50 | ·82template<typename·K,·int·n,·int·m> | ||
51 | 83struct·DefaultDerivativeTraits<FieldVector<K,m>(FieldVector<K,n>)> | ||
52 | ·84{ | ||
53 | 86·typedef·FieldMatrix<K,m,n>·Range; | ||
54 | ·87}; | ||
45 | 73·PolymorphicSmallObject(PolymorphicSmallObject&&·other)·noexcept | ||
46 | ·74·{ | ||
47 | ·75·moveToWrappedObject(std::move(other)); | ||
48 | ·76·} | ||
49 | ·77 | ||
50 | 79·PolymorphicSmallObject(const·PolymorphicSmallObject&·other) | ||
51 | ·80·{ | ||
52 | ·81·copyToWrappedObject(other); | ||
53 | ·82·} | ||
54 | ·83 | ||
55 | 85·~PolymorphicSmallObject() | ||
56 | ·86·{ | ||
57 | ·87·destroyWrappedObject(); | ||
58 | ·88 | 55 | ·88 |
56 | ·98template<typename·K,·int·n,·int·m> | ||
57 | 99struct·DefaultDerivativeTraits<FieldMatrix<K,1,m>(FieldVector<K,n>)> | ||
59 | ·89 | ||
60 | 91·PolymorphicSmallObject&·operator=(const·PolymorphicSmallObject&·other) | ||
61 | ·92·{ | ||
62 | ·93·if·(&other!=this) | ||
63 | ·94·{ | ||
64 | ·95·destroyWrappedObject(); | ||
65 | ·96·copyToWrappedObject(other); | ||
66 | ·97·} | ||
67 | ·98·return·*this; | ||
68 | ·99·} | ||
69 | ·100 | 58 | ·100{ |
70 | 102·PolymorphicSmallObject&·operator=(PolymorphicSmallObject&&·other)·noexcept | ||
71 | ·103·{ | ||
72 | ·104·destroyWrappedObject(); | ||
73 | ·105·moveToWrappedObject(std::move(other)); | ||
74 | · | 59 | 102·typedef·FieldMatrix<K,m,n>·Range; |
60 | ·103}; | ||
61 | ·104 | ||
62 | ·105 | ||
63 | ·106}}·//·namespace·Dune::Functions | ||
75 | ·107 | 64 | ·107 |
76 | ·108 | 65 | ·108 |
66 | ·109#endif·//·DUNE_FUNCTIONS_COMMON_DEFAULT_DERIVATIVE_TRAITS_HH | ||
77 | 110·explicit·operator·bool()·const | ||
78 | ·111·{ | ||
79 | ·112·return·p_; | ||
80 | ·113·} | ||
81 | ·114 | ||
82 | 116·bool·bufferUsed()·const | ||
83 | ·117·{ | ||
84 | ·118·return·((void*)·(p_)·==·(void*)(&buffer_)); | ||
85 | ·119·} | ||
86 | ·120 | ||
87 | 122·const·Base&·get()·const | ||
88 | ·123·{ | ||
Max diff block lines reached; 3404/7969 bytes (42.72%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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 modified | Offset 65, 34 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">differentiablefunction.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
76 | <code>#include·<iostream></code><br·/> | ||
77 | <code>#include·<cstddef></code><br·/> | ||
78 | <code>#include·<array></code><br·/> | ||
79 | <code>#include·<initializer_list></code><br·/> | ||
80 | <code>#include·<dune/common/ | 76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
81 | </div> | 83 | </div> |
82 | <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
85 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01095.html">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·></a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01103.html">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></a></td></tr> | ||
87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·differentiable·functions·using·type·erasure.··<a·href="a01103.html#details">More...</a><br·/></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
90 | <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> |
91 | Namespaces</h2></td></tr> | 95 | Namespaces</h2></td></tr> |
92 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 25 lines modified | Offset 6, 31 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | differentiablefunction.hh·File·Reference | ||
12 | #include·<type_traits> | ||
11 | overflowarray.hh·File·Reference | ||
12 | #include·<algorithm> | ||
13 | #include·<iostream> | ||
14 | #include·<cstddef> | ||
15 | #include·<array> | ||
16 | #include·<initializer_list> | ||
17 | #include·<dune/common/ | 13 | #include·<dune/common/typeutilities.hh> |
14 | #include·<dune/functions/common/type_traits.hh> | ||
15 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
16 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
17 | #include·<dune/functions/common/signature.hh> | ||
18 | #include·<dune/functions/common/typeerasure.hh> | ||
19 | #include·<dune/functions/common/functionconcepts.hh> | ||
18 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
19 | ·Classes | 21 | ·Classes |
20 | class· Dune::Functions::OverflowArray<_BA,_maxSize_> | ||
21 | 22 | class· Dune::Functions::DifferentiableFunction<_Signature,_DerivativeTraits, | |
23 | ········bufferSize_> | ||
24 | |||
25 | class· Dune::Functions::DifferentiableFunction<_Range(Domain), | ||
26 | ········DerivativeTraits,_bufferSize_> | ||
27 | ······Class·storing·differentiable·functions·using·type·erasure.·More... | ||
22 | 28 | ||
23 | ·Namespaces | 29 | ·Namespaces |
24 | namespace· Dune | 30 | namespace· Dune |
25 | 31 | ||
26 | namespace· Dune::Functions | 32 | namespace· Dune::Functions |
27 | 33 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·differentiablefunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 230 lines modified | Offset 62, 128 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">differentiablefunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<iostream></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<array></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> | ||
87 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/signature.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
89 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">/*</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</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><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
90 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01095.html">···28</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01095.html">DifferentiableFunction</a></div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{};</div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Imp</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
106 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">struct·</span>DifferentiableFunctionTraits</div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··{</div> | ||
91 | <div·class="line"><a·id="l0004 | 109 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">using·</span>Signature·=·S;</div> |
110 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>Range·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::Range</a>;</div> | ||
92 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
93 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">using·</span>Domain·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::Domain</a>;</div> |
94 | <div·class="line"><a·id="l0004 | 114 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
115 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::template</a>·DerivativeSignature<DerivativeTraits>;</div> | ||
95 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> | ||
96 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01275.html#a95296504e2bd12821b975daa3d2f9934">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a95296504e2bd12821b975daa3d2f9934">BaseArray</a>·=·BA;</div> | ||
97 | <div·class="line"><a·id="l0005 | 116 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01095.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits,·bufferSize></a>;</div> | ||
98 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>·=·<span·class="keyword">typename</span>·BaseArray::value_type;</div> | ||
99 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01275.html#a057b2fd50430511a0c5697c8e271fd70">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a057b2fd50430511a0c5697c8e271fd70">reference</a>·=·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
100 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01275.html#a040c3d78e6edfb6576a03b8be4f0e71c">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a040c3d78e6edfb6576a03b8be4f0e71c">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
101 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01275.html#ad6864fbd3a109a6b10b32af7e9c58b5b">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#ad6864fbd3a109a6b10b32af7e9c58b5b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>*;</div> | ||
102 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01275.html#a87ef9a454715903d6832df402705780d">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a87ef9a454715903d6832df402705780d">difference_type</a>·=·std::ptrdiff_t;</div> | ||
103 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·=·std::size_t;</div> | ||
104 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01275.html#a72ffe9b324024906b65d3051ec1d199c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a72ffe9b324024906b65d3051ec1d199c">iterator</a>·=·Dune::GenericIterator<OverflowArray,·value_type>;</div> | ||
105 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01275.html#ad7feb14b245d1a17e13e690cf693aba7">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#ad7feb14b245d1a17e13e690cf693aba7">const_iterator</a>·=·Dune::GenericIterator<const·OverflowArray,·const·value_type>;</div> | ||
106 | <div·class="line"><a·id="l0005 | 118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
119 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>Concept·=·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface>;</div> | ||
120 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
121 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> | ||
122 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Model·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
107 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div> |
108 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">using·</span>OverflowBuffer·=·std::array<<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>,·maxSize-baseSize>;</div> | ||
109 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span> | 124 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}</div> |
110 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 125 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
111 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 126 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
112 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01275.html#a8ff4c2cab7f220136c0b072c6a055f34">···65</a></span>··<a·class="code·hl_function"·href="a01275.html#a8ff4c2cab7f220136c0b072c6a055f34">OverflowArray</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
113 | <div·class="line"><a·id="l0006 | 127 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
128 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
129 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01103.html">···81</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01095.html">DifferentiableFunction</a><·Range(Domain),·DerivativeTraits,·bufferSize>·:</div> | ||
130 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01351.html">TypeErasureBase</a><</div> | ||
131 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::Concept,</div> | ||
132 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::template·Model></div> | ||
114 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01275.html#aec5c016d84ff17d2c57dac741c1954b6">···67</a></span>··<a·class="code·hl_function"·href="a01275.html#aec5c016d84ff17d2c57dac741c1954b6">OverflowArray</a>(<span·class="keyword">const</span>·std::initializer_list<value_type>&·l)·{</div> | ||
115 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····assert(l.size()·<=·<a·class="code·hl_function"·href="a01275.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
116 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····size_·=·l.size();</div> | ||
117 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::copy_n(l.begin(),·size_,·<a·class="code·hl_function"·href="a01275.html#a4b246cb76dc8a3b81638052e5d3c4617">begin</a>());</div> | ||
118 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··}</div> | ||
119 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
120 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01275.html#a0fb3877160f4a79b3f149a873ba6bc10">···73</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01275.html#a0fb3877160f4a79b3f149a873ba6bc10">operator·==·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01275.html">OverflowArray</a>&·other)<span·class="keyword">·const·</span>{</div> | ||
121 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·!=·other.<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>())</div> | ||
122 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
123 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordflow">for</span>·(<a·class="code·hl_typedef"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·i=0;·i<<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>();·++i)</div> | ||
124 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="keywordflow">if</span>·((*<span·class="keyword">this</span>)[i]·!=·other[i])</div> | ||
125 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
126 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
127 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··}</div> | ||
128 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01275.html#aac47600e996341476adeda5a998a6c4d">···83</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01275.html#aac47600e996341476adeda5a998a6c4d">clear</a>()·{</div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····size_·=·0;</div> | ||
Max diff block lines reached; 271/66736 bytes (0.41%) of diff not shown. |
Offset 5, 312 lines modified | Offset 5, 153 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | differentiablefunction.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type_traits> | ||
17 | ·7 | ||
16 | ·6#include·<algorithm> | ||
17 | ·7#include·<iostream> | ||
18 | ·8#include·<cstddef> | ||
19 | ·9#include·<array> | ||
20 | ·10#include·<initializer_list> | ||
21 | ·11 | ||
22 | · | 18 | ·8#include·<dune/common/typeutilities.hh> |
23 | ·13 | ||
24 | ·14 | ||
25 | · | 19 | ·9 |
20 | ·10#include·<dune/functions/common/type_traits.hh> | ||
21 | ·11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
22 | ·12#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
23 | ·13#include·<dune/functions/common/signature.hh> | ||
24 | ·14#include·<dune/functions/common/typeerasure.hh> | ||
25 | ·15#include·<dune/functions/common/functionconcepts.hh> | ||
26 | ·16 | ||
27 | ·17namespace·Dune·{ | ||
26 | ·1 | 28 | ·18namespace·Functions·{ |
27 | ·17 | ||
28 | ·18 | ||
29 | ·42template<class·BA,·std::size_t·maxSize·=·std::tuple_size_v<BA>> | ||
30 | 43class·OverflowArray·: | ||
31 | · | 29 | ·19 |
30 | ·20 | ||
31 | ·21 | ||
32 | ·22/* | ||
33 | ·23·*·Default·implementation·is·empty | ||
34 | ·24·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
35 | ·25·*·describing·a·function·signature·as·Range(Domain). | ||
36 | ·26·*/ | ||
37 | ·27template<class·Signature,·template<class>·class | ||
38 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
39 | 28class·DifferentiableFunction | ||
40 | ·29{}; | ||
41 | ·30 | ||
42 | ·31 | ||
43 | ·32 | ||
44 | ·33namespace·Imp | ||
45 | ·34{ | ||
46 | ·35 | ||
47 | ·37·template<class·S,·template<class>·class·DerivativeTraits,·size_t | ||
48 | bufferSize> | ||
49 | ·38·struct·DifferentiableFunctionTraits | ||
50 | ·39·{ | ||
51 | ·41·using·Signature·=·S; | ||
52 | ·42 | ||
53 | ·44·using·Range·=·typename·SignatureTraits<Signature>::Range; | ||
32 | ·45 | 54 | ·45 |
55 | ·47·using·Domain·=·typename·SignatureTraits<Signature>::Domain; | ||
56 | ·48 | ||
57 | ·50·using·DerivativeSignature·=·typename·SignatureTraits<Signature>::template | ||
58 | DerivativeSignature<DerivativeTraits>; | ||
59 | ·51 | ||
60 | ·53·using·DerivativeInterface·=·DifferentiableFunction<DerivativeSignature, | ||
61 | DerivativeTraits,_bufferSize>; | ||
62 | ·54 | ||
63 | ·56·using·Concept·=·DifferentiableFunctionWrapperInterface<Signature, | ||
64 | DerivativeInterface>; | ||
65 | ·57 | ||
66 | ·59·template<class·B> | ||
67 | ·60·using·Model·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
68 | DerivativeInterface,·B>; | ||
69 | ·61·}; | ||
33 | ·46·static·constexpr·std::size_t·baseSize·=·std::tuple_size_v<BA>; | ||
34 | ·47 | ||
35 | ·48public: | ||
36 | 49·using·BaseArray·=·BA; | ||
37 | ·50 | ||
38 | 51·using·value_type·=·typename·BaseArray::value_type; | ||
39 | 52·using·reference·=·value_type&; | ||
40 | 53·using·const_reference·=·const·value_type&; | ||
41 | 54·using·pointer·=·value_type*; | ||
42 | 55·using·difference_type·=·std::ptrdiff_t; | ||
43 | 56·using·size_type·=·std::size_t; | ||
44 | 57·using·iterator·=·Dune::GenericIterator<OverflowArray,·value_type>; | ||
45 | 58·using·const_iterator·=·Dune::GenericIterator<const·OverflowArray,·const | ||
46 | value_type>; | ||
47 | ·59 | ||
48 | ·60private: | ||
49 | ·61·using·OverflowBuffer·=·std::array<value_type,·maxSize-baseSize>; | ||
50 | ·62 | 70 | ·62} |
51 | ·63 | 71 | ·63 |
52 | ·64 | 72 | ·64 |
73 | ·65 | ||
74 | ·80template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
75 | size_t·bufferSize> | ||
76 | 81class·DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize>·: | ||
77 | ·82·public·TypeErasureBase< | ||
78 | ·83·typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
79 | bufferSize>::Concept, | ||
80 | ·84·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
81 | bufferSize>::template·Model> | ||
82 | ·85{ | ||
83 | ·86·using·Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain), | ||
84 | DerivativeTraits,·bufferSize>; | ||
85 | ·87 | ||
86 | ·88·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template | ||
87 | Model>; | ||
88 | ·89 | ||
89 | ·90·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | ||
90 | ·91 | ||
91 | ·92public: | ||
92 | ·93 | ||
93 | ·105·template<class·F,·disableCopyMove<DifferentiableFunction,·F>·=·0·> | ||
94 | 106·DifferentiableFunction(F&&·f)·: | ||
95 | ·107·Base(std::forward<F>(f)) | ||
96 | ·108·{ | ||
97 | ·109·static_assert(Dune::Functions::Concept::isFunction<F,·Range(Domain)>(), | ||
98 | "Trying·to·construct·a·DifferentiableFunction·from·type·that·does·not·model·the | ||
Max diff block lines reached; 116/13780 bytes (0.84%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·treedata.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 26 lines modified | Offset 65, 38 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">treedata.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<memory></code><br·/> |
76 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> | ||
77 | <code>#include·<dune/typetree/pairtraversal.hh></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
76 | <code>#include·<<a·class="el"·href="a00 | 79 | <code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
77 | </div> | 80 | </div> |
78 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00041_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
81 | Classes</h2></td></tr> | 84 | Classes</h2></td></tr> |
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01311.html">Dune::Functions::UniformNodeVisitor<·SimpleNodeVisitorImp,·leafOnly·></a></td></tr> | ||
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes.··<a·href="a01311.html#details">More...</a><br·/></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01315.html">Dune::Functions::TreeData<·T,·ND,·LO·></a></td></tr> |
83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Container·allowing·to·attach·data·to·each·node·of·a·tree.··<a·href="a01315.html#details">More...</a><br·/></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01319.html">Dune::Functions::TreeData<·T,·ND,·LO·>::InitVisitor</a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01323.html">Dune::Functions::TreeData<·T,·ND,·LO·>::DestroyVisitor</a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01327.html">Dune::Functions::TreeData<·T,·ND,·LO·>::CopyVisitor</a></td></tr> | ||
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
86 | <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> |
87 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 102 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 23 lines modified | Offset 6, 34 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | 11 | treedata.hh·File·Reference | |
12 | #include·<memory> | ||
12 | #include·<dune/common/ | 13 | #include·<dune/common/shared_ptr.hh> |
13 | #include·<dune/ | 14 | #include·<dune/typetree/pairtraversal.hh> |
15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
14 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
15 | ·Classes | 18 | ·Classes |
19 | struct· Dune::Functions::UniformNodeVisitor<_SimpleNodeVisitorImp,_leafOnly_> | ||
20 | ·······Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes. | ||
16 | class· Dune::Functions::FunctionFromCallable<_Range(Domain),_F, | ||
17 | ········FunctionInterface_> | ||
18 | ······Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction. | ||
19 | ········More... | 21 | ·········More... |
22 | |||
23 | ·class· Dune::Functions::TreeData<_T,_ND,_LO_> | ||
24 | ·······Container·allowing·to·attach·data·to·each·node·of·a·tree.·More... | ||
25 | |||
26 | struct· Dune::Functions::TreeData<_T,_ND,_LO_>::InitVisitor | ||
27 | |||
28 | struct· Dune::Functions::TreeData<_T,_ND,_LO_>::DestroyVisitor | ||
29 | |||
30 | struct· Dune::Functions::TreeData<_T,_ND,_LO_>::CopyVisitor | ||
20 | 31 | ||
21 | ·Namespaces | 32 | ·Namespaces |
22 | namespace· Dune | 33 | namespace· Dune |
23 | 34 | ||
24 | namespace· Dune::Functions | 35 | namespace· Dune::Functions |
25 | 36 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·treedata.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 73 lines modified | Offset 62, 256 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">treedata.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00041.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00041.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_TREEDATA_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_TREEDATA_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/function.hh></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#warning·This·file·is·deprecated.·Please·use·TreeContainer·from·dune-typetree·instead.</span></div> |
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<memory></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
82 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/shared_ptr.hh></span></div> |
83 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/typetree/pairtraversal.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00170.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Signature,·<span·class="keyword">class·</span>F,</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">class·</span>FunctionInterface·=·<span·class="keyword">typename</span>·Dune::VirtualFunction<</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">typename</span>·SignatureTraits<Signature>::RawDomain,</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a01211.html">···20</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01211.html">FunctionFromCallable</a>;</div> | ||
91 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
92 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·FunctionInterface></div> | ||
93 | <div·class="line"><a·id="l0003 | 91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·SimpleNodeVisitorImp,·<span·class="keywordtype">bool</span>·leafOnly></div> |
92 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01311.html">···35</a></span><span·class="keyword">struct</span></div> | ||
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>[[deprecated(<span·class="stringliteral">"This·is·an·implementation·detail·of·the·deprecated·class·TreeDate·and·thus·deprecated·itself."</span>)]]</div> | ||
94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><a·class="code·hl_struct"·href="a01311.html">UniformNodeVisitor</a>·:</div> | ||
95 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">public</span>·TypeTree::TreeVisitor,</div> | ||
94 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>· | 96 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> |
95 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> | 97 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> |
98 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="comment">//·This·is·only·enabled,·if·we·want·to·incorporate·inner·nodes.</span></div> | ||
96 | <div·class="line"><a·id="l0004 | 99 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="comment">//·Checking·leafOnly·would·be·sufficient,·but·for·SFINAE·the</span></div> |
100 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="comment">//·the·enable_if·condition·must·depend·on·the·template·parameter.</span></div> | ||
101 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath,</div> | ||
102 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keyword">typename</span>·std::enable_if<(not·leafOnly)·and·(not·Node::isLeaf),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
103 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">···46</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">pre</a>(Node&·node,·TreePath·treePath)</div> | ||
97 | <div·class="line"><a·id="l0004 | 104 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{</div> |
98 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keyword">static_cast<</span>SimpleNodeVisitorImp*<span·class="keyword">></span>(<span·class="keyword">this</span>)->apply(node,·treePath);</div> |
106 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div> | ||
99 | <div·class="line"><a·id="l0005 | 107 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
108 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath,</div> | ||
109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="keyword">typename</span>·std::enable_if<(leafOnly)·and·(not·Node::isLeaf),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
110 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">···53</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">pre</a>(Node&·node,·TreePath·treePath)</div> | ||
100 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{}</div> | 111 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div> |
101 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
102 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01311.html#a16683785d8080c47936577796e64eb78">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01311.html#a16683785d8080c47936577796e64eb78">leaf</a>(Node&·node,·TreePath·treePath)</div> | ||
103 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div> |
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">static_cast<</span>SimpleNodeVisitorImp*<span·class="keyword">></span>(<span·class="keyword">this</span>)->apply(node,·treePath);</div> | ||
104 | <div·class="line"><a·id="l0006 | 117 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div> |
118 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>};</div> | ||
105 | <div·class="line"><a·id="l0006 | 119 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
106 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01215.html#a6aca1daa3b7cbe5c186121333ceb21f7">···73</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01215.html#a6aca1daa3b7cbe5c186121333ceb21f7">evaluate</a>(<span·class="keyword">const</span>·Domain&·x,·Range&y)<span·class="keyword">·const</span></div> | ||
107 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">··</span>{</div> | ||
108 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····y·=·f_(x);</div> | ||
109 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> | ||
110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
111 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div> | ||
112 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··F·f_;</div> | ||
113 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>};</div> | ||
114 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
115 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
116 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
117 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}·<span·class="comment">//·namespace·Functions</span></div> | ||
118 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
119 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
122 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>ND,·<span·class="keywordtype">bool</span>·LO></div> | ||
123 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01315.html">···92</a></span><span·class="keyword">class</span></div> | ||
124 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>[[deprecated(<span·class="stringliteral">"This·class·is·deprecated.·Please·use·TreeContainer·from·dune-typetree·instead."</span>)]]</div> | ||
125 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><a·class="code·hl_class"·href="a01315.html">TreeData</a></div> | ||
126 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>{</div> | ||
127 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
128 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">public</span>:</div> | ||
129 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
130 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01315.html#a1935d801dae08dcf1211c99400e8201c">··100</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#a1935d801dae08dcf1211c99400e8201c">Tree</a>·=·T;</div> | ||
131 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
132 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01315.html#aad999148c3cbb4423a440febc8fa892c">··103</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#aad999148c3cbb4423a440febc8fa892c">size_type</a>·=·<span·class="keyword">typename</span>·Tree::size_type;</div> | ||
133 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
134 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01315.html#a1244c033abbc69a54440772bbda67099">··106</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·leafOnly·=·LO;</div> | ||
135 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
136 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Node></div> | ||
137 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01315.html#a98e841c3feef5258c0536cbc27b07c6d">··110</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#a98e841c3feef5258c0536cbc27b07c6d">NodeData</a>·=·ND<Node>;</div> | ||
138 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
139 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">protected</span>:</div> | ||
140 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01315.html#aa1173c59bbddcbf9f29bf2e09478d277">··113</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#aa1173c59bbddcbf9f29bf2e09478d277">RawContainer</a>·=·std::vector<void*>;</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>·</div> | ||
143 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="comment">//·Since·we·can·generate·the·node·data·type·only·if</span></div> | ||
144 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="comment">//·we·know·the·type·of·the·node,·we·have·to·do</span></div> | ||
145 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="comment">//·initialization,·copy,·and·destruction·via·a</span></div> | ||
146 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="comment">//·tree·traversal.·Once·we·can·use·C++14·this·can</span></div> | ||
147 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">//·be·written·in·a·much·easier·and·more·selfcontained</span></div> | ||
148 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="comment">//·ways·using·generic·lambda·functions.</span></div> | ||
149 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="comment">//·Until·then·we·need·explicit·visitor·classes·for</span></div> | ||
150 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="comment">//·each·operation.</span></div> | ||
151 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | ||
152 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a01319.html">··125</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01319.html">InitVisitor</a>·:</div> | ||
Max diff block lines reached; 12018/55663 bytes (21.59%) of diff not shown. |
Offset 5, 82 lines modified | Offset 5, 326 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | treedata.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_TREEDATA_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_TREEDATA_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<dune/common/function.hh> | ||
17 | ·7 | ||
18 | ·8#include·<dune/functions/common/signature.hh> | ||
19 | · | 16 | ·6 |
17 | ·7#warning·This·file·is·deprecated.·Please·use·TreeContainer·from·dune-typetree | ||
18 | instead. | ||
19 | ·8 | ||
20 | ·9#include·<memory> | ||
20 | ·10 | 21 | ·10 |
21 | ·11namespace·Dune·{ | ||
22 | ·12namespace·Functions·{ | ||
23 | ·1 | 22 | ·11#include·<dune/common/shared_ptr.hh> |
23 | ·12 | ||
24 | ·13#include·<dune/typetree/pairtraversal.hh> | ||
24 | ·14 | 25 | ·14 |
25 | ·15 | ||
26 | ·16template<class·Signature,·class·F, | ||
27 | ·17·class·FunctionInterface·=·typename·Dune::VirtualFunction< | ||
28 | ·18·typename·SignatureTraits<Signature>::RawDomain, | ||
29 | ·19·typename·SignatureTraits<Signature>::RawRange>·> | ||
30 | 20class·FunctionFromCallable; | ||
31 | ·21 | ||
32 | ·37template<class·Range,·class·Domain,·class·F,·class·FunctionInterface> | ||
33 | 38class·FunctionFromCallable<Range(Domain),·F,·FunctionInterface>·: | ||
34 | · | 26 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> |
27 | ·16#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
28 | ·17 | ||
29 | ·18namespace·Dune·{ | ||
30 | ·19namespace·Functions·{ | ||
31 | ·20 | ||
32 | ·34template<class·SimpleNodeVisitorImp,·bool·leafOnly> | ||
33 | 35struct | ||
34 | ·36[[deprecated("This·is·an·implementation·detail·of·the·deprecated·class | ||
35 | TreeDate·and·thus·deprecated·itself.")]] | ||
36 | ·37UniformNodeVisitor·: | ||
37 | ·38·public·TypeTree::TreeVisitor, | ||
38 | ·39·public·TypeTree::DynamicTraversal | ||
35 | ·40{ | 39 | ·40{ |
36 | ·41public: | ||
37 | ·42 | ||
38 | 52·FunctionFromCallable(F&&·f)·: | ||
39 | · | 40 | ·41·//·This·is·only·enabled,·if·we·want·to·incorporate·inner·nodes. |
41 | ·42·//·Checking·leafOnly·would·be·sufficient,·but·for·SFINAE·the | ||
42 | ·43·//·the·enable_if·condition·must·depend·on·the·template·parameter. | ||
43 | ·44·template<typename·Node,·typename·TreePath, | ||
44 | ·45·typename·std::enable_if<(not·leafOnly)·and·(not·Node::isLeaf),·int>::type·= | ||
45 | 0> | ||
46 | 46·void·pre(Node&·node,·TreePath·treePath) | ||
47 | ·47·{ | ||
48 | ·48·static_cast<SimpleNodeVisitorImp*>(this)->apply(node,·treePath); | ||
49 | ·49·} | ||
50 | ·50 | ||
51 | ·51·template<typename·Node,·typename·TreePath, | ||
52 | ·52·typename·std::enable_if<(leafOnly)·and·(not·Node::isLeaf),·int>::type·=·0> | ||
53 | 53·void·pre(Node&·node,·TreePath·treePath) | ||
40 | ·54·{} | 54 | ·54·{} |
41 | ·55 | 55 | ·55 |
42 | 64·FunctionFromCallable(const·F&·f)·: | ||
43 | ·6 | 56 | ·56·template<typename·Node,·typename·TreePath> |
57 | 57·void·leaf(Node&·node,·TreePath·treePath) | ||
58 | ·58·{ | ||
59 | ·59·static_cast<SimpleNodeVisitorImp*>(this)->apply(node,·treePath); | ||
60 | ·60·} | ||
61 | ·61}; | ||
62 | ·62 | ||
63 | ·63 | ||
64 | ·64 | ||
65 | ·91template<class·T,·template<class>·class·ND,·bool·LO> | ||
66 | 92class | ||
67 | ·93[[deprecated("This·class·is·deprecated.·Please·use·TreeContainer·from·dune- | ||
68 | typetree·instead.")]] | ||
69 | ·94TreeData | ||
70 | ·95{ | ||
71 | ·96 | ||
72 | ·97public: | ||
73 | ·98 | ||
74 | 100·using·Tree·=·T; | ||
75 | ·101 | ||
76 | 103·using·size_type·=·typename·Tree::size_type; | ||
77 | ·104 | ||
78 | 106·static·const·bool·leafOnly·=·LO; | ||
79 | ·107 | ||
80 | ·109·template<class·Node> | ||
81 | 110·using·NodeData·=·ND<Node>; | ||
82 | ·111 | ||
83 | ·112protected: | ||
84 | 113·using·RawContainer·=·std::vector<void*>; | ||
85 | ·114 | ||
86 | ·115 | ||
87 | ·116·//·Since·we·can·generate·the·node·data·type·only·if | ||
88 | ·117·//·we·know·the·type·of·the·node,·we·have·to·do | ||
89 | ·118·//·initialization,·copy,·and·destruction·via·a | ||
90 | ·119·//·tree·traversal.·Once·we·can·use·C++14·this·can | ||
91 | ·120·//·be·written·in·a·much·easier·and·more·selfcontained | ||
92 | ·121·//·ways·using·generic·lambda·functions. | ||
93 | ·122·//·Until·then·we·need·explicit·visitor·classes·for | ||
94 | ·123·//·each·operation. | ||
95 | ·124 | ||
96 | 125·struct·InitVisitor·: | ||
97 | ·126·public·UniformNodeVisitor<InitVisitor,·leafOnly> | ||
98 | ·127·{ | ||
99 | 128·InitVisitor(RawContainer&·data)·: | ||
100 | ·129·data_(data) | ||
101 | ·130·{} | ||
102 | ·131 | ||
103 | ·132·template<typename·Node,·typename·TreePath> | ||
104 | 133·void·apply(Node&·node,·TreePath·treePath) | ||
105 | ·134·{ | ||
106 | ·135·auto&&·index·=·node.treeIndex(); | ||
107 | ·136·if·(data_.size()·<·index+1) | ||
108 | ·137·data_.resize(index+1,·nullptr); | ||
109 | ·138·data_[index]·=·new·NodeData<Node>; | ||
110 | ·139·} | ||
Max diff block lines reached; 4366/11164 bytes (39.11%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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, 90 lines modified | Offset 65, 45 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>· | 72 | <a·href="#typedef-members">Typedefs</a>··</div> |
73 | <a·href="#func-members">Functions</a>··</div> | ||
74 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div> |
75 | </div><!--header--> | 74 | </div><!--header--> |
76 | <div·class="contents"> | 75 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
78 | <code>#include·<type_traits></code><br·/> | ||
79 | <code>#include·<dune/common/overloadset.hh></code><br·/> | ||
80 | <code>#include·<dune/common/i | 77 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
81 | <code>#include·<<a·class="el"·href="a00026_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
82 | </div> | 78 | </div> |
83 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> | 79 | <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
86 | Classes</h2></td></tr> | 82 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a013 | 83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01331.html">Dune::Functions::HasStaticSize<·T·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 84 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·type·is·a·statically·sized·container.··<a·href="a01331.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a013 | 86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01335.html">Dune::Functions::StaticSize<·T·></a></td></tr> |
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Obtain·size·of·statically·sized·container.··<a·href="a01335.html#details">More...</a><br·/></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 89 | </table><table·class="memberdecls"> |
94 | <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> |
95 | Namespaces</h2></td></tr> | 91 | Namespaces</h2></td></tr> |
96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 92 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 94 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
101 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
102 | Typedefs</h2></td></tr> | 98 | Typedefs</h2></td></tr> |
103 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·T,·class·ArgTuple·>·</td></tr> | ||
104 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">Dune::Functions::ExpandTuple</a>·=·typename·Imp::ExpandTupleHelper<·T,·ArgTuple·>::Type</td></tr> | ||
105 | <tr·class="memdesc:ga047a2180b455bfa030fba76eb6270952"><td·class="mdescLeft"> </td><td·class="mdescRight">Expand·tuple·arguments·as·template·arguments.··<a·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:ga047a2180b455bfa030fba76eb6270952"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·F,·class...·Tuples>·</td></tr> | ||
108 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga1ce77345fbee606e5ac22aeef7d109d6">Dune::Functions::TransformTuple</a>·=·typename·Imp::TransformTupleHelper<·F,·Tuples...·>::Type</td></tr> | ||
109 | <tr·class="memdesc:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·types·argument·using·type-functor.··<a·href="a00215.html#ga1ce77345fbee606e5ac22aeef7d109d6">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplParams"·colspan="2">template<class·IntegerSequence·>·</td></tr> | ||
112 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad7adaea3a8e209aef72602f07a6988b3">Dune::Functions::IntegerSequenceTuple</a>·=·typename·Imp::IntegerSequenceTupleHelper<·IntegerSequence·>::Type</td></tr> | ||
113 | <tr·class="memdesc:ad7adaea3a8e209aef72602f07a6988b3"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...>··<a·href="a00219.html#ad7adaea3a8e209aef72602f07a6988b3">More...</a><br·/></td></tr> | ||
114 | <tr·class="separator:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memSeparator"·colspan="2"> </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:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args>·</td></tr> | ||
119 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">Dune::Functions::forwardAsStaticInteger</a>·(std::integer_sequence<·size_type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std::forward<·Args·>(args)...))</td></tr> | ||
120 | <tr·class="separator:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·size_type·,·size_type·firstValue,·size_type·secondValue,·size_type...·otherValues,·class...·Args>·</td></tr> | ||
122 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">Dune::Functions::forwardAsStaticInteger</a>·(std::integer_sequence<·size_type,·firstValue,·secondValue,·otherValues...·>·values,·const·size_type·i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std::forward<·Args·>(args)...))</td></tr> | ||
123 | <tr·class="separator:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"><td·class="memTemplParams"·colspan="2">template<std::size_t·end,·class·F·,·class·size_type·,·class...·Args>·</td></tr> | ||
125 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gac7d45de6c68fce943e6924403389d234">Dune::Functions::forwardAsStaticIndex</a>·(const·size_type·&i,·F·&&f,·Args·&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·>(args)...))</td></tr> | ||
126 | <tr·class="memdesc:gac7d45de6c68fce943e6924403389d234"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·dynamic·index·to·static·index_constant.··<a·href="a00215.html#gac7d45de6c68fce943e6924403389d234">More...</a><br·/></td></tr> | ||
127 | <tr·class="separator:gac7d45de6c68fce943e6924403389d234"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:ga | 99 | <tr·class="memitem:ga673247dd74bcdd9e5acfc7735faf8a5b"><td·class="memTemplParams"·colspan="2">template<class·T·,·class...·Args>·</td></tr> |
100 | <tr·class="memitem:ga673247dd74bcdd9e5acfc7735faf8a5b"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">Dune::Functions::enableIfConstructible</a>·=·typename·std::enable_if<·std::is_constructible<·T,·Args...·>::value,·int·>::type</td></tr> | ||
101 | <tr·class="memdesc:ga673247dd74bcdd9e5acfc7735faf8a5b"><td·class="mdescLeft"> </td><td·class="mdescRight">Helper·to·constrain·forwarding·constructors.··<a·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">More...</a><br·/></td></tr> | ||
129 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga4e5fbe8e1330cdfab9eddd5962682b4c">Dune::Functions::transformTuple</a>·(F·&&f,·const·std::tuple<·T...·>·&tuple)·->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std::index_sequence_for<·T...·>{}))</td></tr> | ||
130 | <tr·class="memdesc:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·functor.··<a·href="a00215.html#ga4e5fbe8e1330cdfab9eddd5962682b4c">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
132 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T1,·class...·T2>·</td></tr> | ||
133 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gae663a5bfd683c8a0844bb974807d8f52">Dune::Functions::transformTuple</a>·(F·&&f,·const·std::tuple<·T1...·>·&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std::index_sequence_for<·T1...·>{}))</td></tr> | ||
134 | <tr·class="memdesc:gae663a5bfd683c8a0844bb974807d8f52"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·binary·functor.··<a·href="a00215.html#gae663a5bfd683c8a0844bb974807d8f52">More...</a><br·/></td></tr> | ||
135 | <tr·class="separator:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
136 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplParams"·colspan="2">template<class·Expression·>·</td></tr> | ||
137 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga7d55c56e78792c4b169c18d875a60935">Dune::Functions::callableCheck</a>·(Expression·f)</td></tr> | ||
138 | <tr·class="memdesc:ga7d55c56e78792c4b169c18d875a60935"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·predicate·for·checking·validity·of·expressions.··<a·href="a00215.html#ga7d55c56e78792c4b169c18d875a60935">More...</a><br·/></td></tr> | ||
139 | <tr·class="separator:ga | 102 | <tr·class="separator:ga673247dd74bcdd9e5acfc7735faf8a5b"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | <tr·class="memitem:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memTemplParams"·colspan="2">template<class·Check·>·</td></tr> | ||
141 | <tr·class="memitem:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaed02f0c6f78e0d71e09d9bc6a29347c4">Dune::Functions::negatePredicate</a>·(Check·check)</td></tr> | ||
142 | <tr·class="memdesc:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="mdescLeft"> </td><td·class="mdescRight">Negate·given·predicate.··<a·href="a00215.html#gaed02f0c6f78e0d71e09d9bc6a29347c4">More...</a><br·/></td></tr> | ||
143 | <tr·class="separator:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
144 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
145 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">Dune::Functions::forwardCapture</a>·(T·&&t)</td></tr> | ||
146 | <tr·class="memdesc:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·capture·object·for·perfect·forwarding.··<a·href="a00219.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">More...</a><br·/></td></tr> | ||
147 | <tr·class="separator:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
148 | </table> | 103 | </table> |
149 | </div><!--·contents·--> | 104 | </div><!--·contents·--> |
150 | <!--·start·footer·part·--> | 105 | <!--·start·footer·part·--> |
151 | <hr·class="footer"/><address·class="footer"><small> | 106 | <hr·class="footer"/><address·class="footer"><small> |
152 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
153 | </small></address> | 108 | </small></address> |
154 | </body> | 109 | </body> |
Offset 5, 94 lines modified | Offset 5, 33 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces·|·Typedefs | 9 | Classes·|·Namespaces·|·Typedefs |
10 | 10 | type_traits.hh·File·Reference | |
11 | #include·<utility> | ||
12 | #include·<type_traits> | 11 | #include·<type_traits> |
13 | #include·<dune/common/overloadset.hh> | ||
14 | #include·<dune/common/i | 12 | #include·<dune/common/typeutilities.hh> |
15 | #include·<dune/functions/common/functionconcepts.hh> | ||
16 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | 14 | ·Classes |
18 | struct· Dune::Functions:: | 15 | struct· Dune::Functions::HasStaticSize<_T_> |
19 | ······· | 16 | ·······Check·if·type·is·a·statically·sized·container.·More... |
20 | 17 | ||
21 | struct· Dune::Functions:: | 18 | struct· Dune::Functions::StaticSize<_T_> |
19 | ·······Obtain·size·of·statically·sized·container.·More... | ||
22 | ·······Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first | ||
23 | ·········position.·More... | ||
24 | 20 | ||
25 | ·Namespaces | 21 | ·Namespaces |
26 | namespace· Dune | 22 | namespace· Dune |
27 | 23 | ||
28 | namespace· Dune::Functions | 24 | namespace· Dune::Functions |
29 | 25 | ||
30 | ·Typedefs | 26 | ·Typedefs |
31 | template<template<·class...·>·class·T,·class·ArgTuple·> | ||
32 | using Dune::Functions::ExpandTuple·=·typename·Imp::ExpandTupleHelper<·T, | ||
33 | ·······ArgTuple·>::Type | ||
34 | ·····Expand·tuple·arguments·as·template·arguments.·More... | ||
35 | |||
36 | template<template<·class...·>·class·F,·class...·Tuples> | ||
37 | using Dune::Functions::TransformTuple·=·typename·Imp::TransformTupleHelper<·F, | ||
38 | ·······Tuples...·>::Type | ||
39 | ·····Transform·tuple·types·argument·using·type-functor.·More... | ||
40 | |||
41 | template<class·IntegerSequence·> | ||
42 | using Dune::Functions::IntegerSequenceTuple·=·typename·Imp:: | ||
43 | ·······IntegerSequenceTupleHelper<·IntegerSequence·>::Type | ||
44 | ·····Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...> | ||
45 | ·······More... | ||
46 | |||
47 | ·Functions | ||
48 | template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args> | ||
49 | auto Dune::Functions::forwardAsStaticInteger·(std::integer_sequence< | ||
50 | ······size_type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&... | ||
51 | ······args)·->·decltype(f(std::integral_constant<·size_type,·firstValue·>(), | ||
52 | ······std::forward<·Args·>(args)...)) | ||
53 | |||
54 | template<class·F·,·class·size_type·,·size_type·firstValue,·size_type | ||
55 | secondValue,·size_type...·otherValues,·class...·Args> | ||
56 | auto Dune::Functions::forwardAsStaticInteger·(std::integer_sequence< | ||
57 | ······size_type,·firstValue,·secondValue,·otherValues...·>·values,·const | ||
58 | ······size_type·i,·F·&&f,·Args·&&...·args)·->·decltype(f(std:: | ||
59 | ······integral_constant<·size_type,·firstValue·>(),·std::forward<·Args·> | ||
60 | ······(args)...)) | ||
61 | |||
62 | template<std::size_t·end,·class·F·,·class·size_type·,·class...·Args> | ||
63 | auto Dune::Functions::forwardAsStaticIndex·(const·size_type·&i,·F·&&f,·Args | ||
64 | ······&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·> | ||
65 | ······(args)...)) | ||
66 | ····Transform·dynamic·index·to·static·index_constant.·More... | ||
67 | |||
68 | template<class· | 27 | template<class·T·,·class...·Args> |
28 | using Dune::Functions::enableIfConstructible·=·typename·std::enable_if<·std:: | ||
29 | ·······is_constructible<·T,·Args...·>::value,·int·>::type | ||
30 | ·····Helper·to·constrain·forwarding·constructors.·More... | ||
69 | auto Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T...·>·&tuple) | ||
70 | ······->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std:: | ||
71 | ······index_sequence_for<·T...·>{})) | ||
72 | ····Transform·tuple·value·using·a·functor.·More... | ||
73 | |||
74 | template<class·F·,·class...·T1,·class...·T2> | ||
75 | auto Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T1...·> | ||
76 | ······&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp:: | ||
77 | ······transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std:: | ||
78 | ······index_sequence_for<·T1...·>{})) | ||
79 | ····Transform·tuple·value·using·a·binary·functor.·More... | ||
80 | |||
81 | template<class·Expression·> | ||
82 | auto Dune::Functions::callableCheck·(Expression·f) | ||
83 | ····Create·a·predicate·for·checking·validity·of·expressions.·More... | ||
84 | |||
85 | template<class·Check·> | ||
86 | auto Dune::Functions::negatePredicate·(Check·check) | ||
87 | ····Negate·given·predicate.·More... | ||
88 | |||
89 | template<class·T·> | ||
90 | auto Dune::Functions::forwardCapture·(T·&&t) | ||
91 | ····Create·a·capture·object·for·perfect·forwarding.·More... | ||
92 | 31 | ||
93 | =============================================================================== | 32 | =============================================================================== |
94 | ·····Generated·by [doxygen]·1.9.4 | 33 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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 62, 284 lines modified | Offset 62, 100 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">type_traits.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class=" | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00026.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args></div> |
85 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">···25</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a>·=·<span·class="keyword">typename</span>·std::enable_if<</div> | ||
86 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··std::is_constructible<T,·Args...>::value,·<span·class="keywordtype">int</span>>::type;</div> | ||
87 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
88 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
89 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·size_type·firstValue,·<span·class="keyword">class</span>...·Args></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">···21</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue>·values,·<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·size_type·firstValue,·size_type·secondValue,·size_type...·otherValues,·<span·class="keyword">class</span>...·Args></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00219.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">···28</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue,·secondValue,·otherValues...>·values,·<span·class="keyword">const</span>·size_type·i,·F&&·f,·Args&&...·args)</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> | ||
101 | <div·class="line"><a·id="l0003 | 90 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span>Imp·{</div> |
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·secondValue,·otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>}</div> | ||
105 | <div·class="line"><a·id="l0003 | 91 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
92 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·As·a·last·resort·try·if·there's·a·static·constexpr·size()</span></div> | ||
93 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
94 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·staticSize(<span·class="keyword">const</span>·T*,·<span·class="keyword">const</span>·PriorityTag<0>&)</div> | ||
95 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····->·<span·class="keyword">decltype</span>(std::integral_constant<std::size_t,T::size()>())</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 96 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··{</div> |
97 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keywordflow">return</span>·{};</div> | ||
98 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··}</div> | ||
107 | <div·class="line"><a·id="l0003 | 99 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
108 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span><std::size_t·end,·<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·<span·class="keyword">class</span>...·Args></div> | ||
109 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00215.html#gac7d45de6c68fce943e6924403389d234">···60</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#gac7d45de6c68fce943e6924403389d234">forwardAsStaticIndex</a>(<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
110 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="comment">//·Try·if·class·has·constexpr·default·constructor·and·size·method</span></div> |
101 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
102 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·staticSize(<span·class="keyword">const</span>·T*,·<span·class="keyword">const</span>·PriorityTag<1>&)</div> | ||
103 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····->·<span·class="keyword">decltype</span>(std::integral_constant<std::size_t,T().size()>())</div> | ||
111 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> |
112 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keywordflow">return</span>·{};</div> |
113 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··}</div> |
107 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="comment">//·Try·if·tuple_size·is·implemented·for·class</span></div> | ||
109 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
110 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·staticSize(<span·class="keyword">const</span>·T*,·<span·class="keyword">const</span>·PriorityTag<2>&)</div> | ||
111 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····->·<span·class="keyword">decltype</span>(std::integral_constant<std::size_t,std::tuple_size<T>::value>())</div> | ||
112 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> | ||
113 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">return</span>·{};</div> | ||
114 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> | ||
115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
117 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">constexpr</span>·std::false_type·hasStaticSize(<span·class="keyword">const</span>·T*·t,·<span·class="keyword">const</span>·PriorityTag<0>&·p)</div> | ||
118 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··{</div> | ||
119 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·{};</div> | ||
120 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··}</div> | ||
121 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
122 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
123 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·hasStaticSize(<span·class="keyword">const</span>·T*·t,·<span·class="keyword">const</span>·PriorityTag<1>&·p)</div> | ||
124 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····->·<span·class="keyword">decltype</span>(staticSize(t·,PriorityTag<42>()),·std::true_type())</div> | ||
114 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 125 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> |
115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 126 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">return</span>·{};</div> |
116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 127 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> |
117 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span> | 128 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
118 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span> | 129 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>}</div> |
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>· | 130 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>· | 131 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
121 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>· | 132 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
122 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
123 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>ListType,·<span·class="keyword">class</span>...·Args></div> | ||
124 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExpandTupleHelper<T,·ListType<Args...>></div> | ||
125 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> | ||
126 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> |
134 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01331.html">···81</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01331.html">HasStaticSize</a>·:</div> | ||
135 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">public</span>·decltype(Imp::hasStaticSize((typename·std::decay<T>::type*)(nullptr),·PriorityTag<42>()))</div> | ||
127 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{};</div> |
128 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}·<span·class="comment">//·end·namespace·Imp</span></div> | ||
130 | <div·class="line"><a·id="l0008 | 137 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
131 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class·</span>ArgTuple></div> | ||
132 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">···94</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">ExpandTuple</a>·=·<span·class="keyword">typename</span>·Imp::ExpandTupleHelper<T,·ArgTuple>::Type;</div> | ||
133 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
134 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
140 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T></div> | ||
141 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01335.html">···95</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01335.html">StaticSize</a>·:</div> | ||
142 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">public</span>·decltype(Imp::staticSize((typename·std::decay<T>::type*)(nullptr),·PriorityTag<42>()))</div> | ||
135 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span> | 143 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>{};</div> |
Max diff block lines reached; 36370/59719 bytes (60.90%) of diff not shown. |
Offset 5, 349 lines modified | Offset 5, 108 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | type_traits.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_TYPE_TRAITS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<utility> | ||
18 | · | 16 | ·6#include·<type_traits> |
17 | ·7 | ||
18 | ·8#include·<dune/common/typeutilities.hh> | ||
19 | ·9 | 19 | ·9 |
20 | ·10#include·<dune/common/overloadset.hh> | ||
21 | ·1 | 20 | ·10namespace·Dune·{ |
21 | ·11namespace·Functions·{ | ||
22 | ·12 | 22 | ·12 |
23 | ·13 | ||
24 | ·24template<class·T,·class...·Args> | ||
25 | 25using·enableIfConstructible·=·typename·std::enable_if< | ||
26 | ·26·std::is_constructible<T,·Args...>::value,·int>::type; | ||
27 | ·27 | ||
28 | ·28 | ||
29 | ·29 | ||
23 | ·13#include·<dune/functions/common/functionconcepts.hh> | ||
24 | ·14 | ||
25 | ·15namespace·Dune·{ | ||
26 | ·16namespace·Functions·{ | ||
27 | ·17 | ||
28 | ·18 | ||
29 | ·19 | ||
30 | ·20template<class·F,·class·size_type,·size_type·firstValue,·class...·Args> | ||
31 | 21auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue> | ||
32 | values,·const·size_type&·i,·F&&·f,·Args&&...·args) | ||
33 | ·22·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
34 | forward<Args>(args)...)) | ||
35 | ·23{ | ||
36 | ·24·return·f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
37 | forward<Args>(args)...); | ||
38 | ·25} | ||
39 | ·26 | ||
40 | ·27template<class·F,·class·size_type,·size_type·firstValue,·size_type | ||
41 | secondValue,·size_type...·otherValues,·class...·Args> | ||
42 | 28auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue, | ||
43 | secondValue,·otherValues...>·values,·const·size_type·i,·F&&·f,·Args&&...·args) | ||
44 | ·29·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
45 | forward<Args>(args)...)) | ||
46 | ·30{ | ||
47 | ·31·if·(i==firstValue) | ||
48 | ·32·return·f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
49 | forward<Args>(args)...); | ||
50 | ·33·return·forwardAsStaticInteger(std::integer_sequence<size_type,·secondValue, | ||
51 | otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...); | ||
52 | ·34} | ||
53 | ·35 | ||
54 | ·36 | ||
55 | ·37 | ||
56 | ·59template<std::size_t·end,·class·F,·class·size_type,·class...·Args> | ||
57 | 60auto·forwardAsStaticIndex(const·size_type&·i,·F&&·f,·Args&&...·args) | ||
58 | ·61·->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...)) | ||
59 | ·62{ | ||
60 | ·63·return·forwardAsStaticInteger(std::make_index_sequence<end>{},·i,·std:: | ||
61 | forward<F>(f),·std::forward<Args>(args)...); | ||
62 | ·64} | ||
63 | ·65 | ||
64 | ·66 | ||
65 | ·67 | ||
66 | · | 30 | ·30namespace·Imp·{ |
31 | ·31 | ||
32 | ·32·//·As·a·last·resort·try·if·there's·a·static·constexpr·size() | ||
33 | ·33·template<class·T> | ||
34 | ·34·constexpr·auto·staticSize(const·T*,·const·PriorityTag<0>&) | ||
35 | ·35·->·decltype(std::integral_constant<std::size_t,T::size()>()) | ||
36 | ·36·{ | ||
37 | ·37·return·{}; | ||
38 | ·38·} | ||
39 | ·39 | ||
40 | ·40·//·Try·if·class·has·constexpr·default·constructor·and·size·method | ||
41 | ·41·template<class·T> | ||
42 | ·42·constexpr·auto·staticSize(const·T*,·const·PriorityTag<1>&) | ||
43 | ·43·->·decltype(std::integral_constant<std::size_t,T().size()>()) | ||
44 | ·44·{ | ||
45 | ·45·return·{}; | ||
46 | ·46·} | ||
47 | ·47 | ||
48 | ·48·//·Try·if·tuple_size·is·implemented·for·class | ||
49 | ·49·template<class·T> | ||
50 | ·50·constexpr·auto·staticSize(const·T*,·const·PriorityTag<2>&) | ||
51 | ·51·->·decltype(std::integral_constant<std::size_t,std::tuple_size<T>::value> | ||
52 | ()) | ||
53 | ·52·{ | ||
54 | ·53·return·{}; | ||
55 | ·54·} | ||
56 | ·55 | ||
57 | ·56·template<class·T> | ||
58 | ·57·constexpr·std::false_type·hasStaticSize(const·T*·t,·const·PriorityTag<0>& | ||
59 | p) | ||
60 | ·58·{ | ||
61 | ·59·return·{}; | ||
62 | ·60·} | ||
63 | ·61 | ||
64 | ·62·template<class·T> | ||
65 | ·63·constexpr·auto·hasStaticSize(const·T*·t,·const·PriorityTag<1>&·p) | ||
66 | ·64·->·decltype(staticSize(t·,PriorityTag<42>()),·std::true_type()) | ||
67 | ·65·{ | ||
68 | ·66·return·{}; | ||
69 | ·67·} | ||
70 | ·68 | ||
67 | ·69 | 71 | ·69} |
68 | ·70·template<template<class...>·class·T,·class·List> | ||
69 | ·7 | 72 | ·70 |
73 | ·71 | ||
74 | ·72 | ||
75 | ·80template<class·T> | ||
76 | 81struct·HasStaticSize·: | ||
77 | ·82·public·decltype(Imp::hasStaticSize((typename·std::decay<T>::type*) | ||
78 | (nullptr),·PriorityTag<42>())) | ||
79 | ·83{}; | ||
80 | ·84 | ||
81 | ·85 | ||
Max diff block lines reached; 8580/13055 bytes (65.72%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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 64, 34 lines modified | Offset 64, 91 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
73 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div> |
73 | </div><!--header--> | 75 | </div><!--header--> |
74 | <div·class="contents"> | 76 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 77 | <div·class="textblock"><code>#include·<utility></code><br·/> |
78 | <code>#include·<type_traits></code><br·/> | ||
79 | <code>#include·<dune/common/overloadset.hh></code><br·/> | ||
80 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
76 | </div> | 82 | </div> |
77 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p> |
78 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
79 | <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> |
80 | Classes</h2></td></tr> | 86 | Classes</h2></td></tr> |
81 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01383.html">Dune::Functions::LastType<·T·></a></td></tr> |
82 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Get·last·entry·of·type·list.··<a·href="a01383.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html">Dune::Functions::RotateTuple<·T·></a></td></tr> | ||
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first·position.··<a·href="a01395.html#details">More...</a><br·/></td></tr> | ||
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
85 | <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> |
86 | Namespaces</h2></td></tr> | 95 | Namespaces</h2></td></tr> |
87 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·T,·class·ArgTuple·>·</td></tr> | ||
104 | <tr·class="memitem:ga047a2180b455bfa030fba76eb6270952"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">Dune::Functions::ExpandTuple</a>·=·typename·Imp::ExpandTupleHelper<·T,·ArgTuple·>::Type</td></tr> | ||
105 | <tr·class="memdesc:ga047a2180b455bfa030fba76eb6270952"><td·class="mdescLeft"> </td><td·class="mdescRight">Expand·tuple·arguments·as·template·arguments.··<a·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:ga047a2180b455bfa030fba76eb6270952"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplParams"·colspan="2">template<template<·class...·>·class·F,·class...·Tuples>·</td></tr> | ||
108 | <tr·class="memitem:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga1ce77345fbee606e5ac22aeef7d109d6">Dune::Functions::TransformTuple</a>·=·typename·Imp::TransformTupleHelper<·F,·Tuples...·>::Type</td></tr> | ||
109 | <tr·class="memdesc:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·types·argument·using·type-functor.··<a·href="a00215.html#ga1ce77345fbee606e5ac22aeef7d109d6">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:ga1ce77345fbee606e5ac22aeef7d109d6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplParams"·colspan="2">template<class·IntegerSequence·>·</td></tr> | ||
112 | <tr·class="memitem:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad7adaea3a8e209aef72602f07a6988b3">Dune::Functions::IntegerSequenceTuple</a>·=·typename·Imp::IntegerSequenceTupleHelper<·IntegerSequence·>::Type</td></tr> | ||
113 | <tr·class="memdesc:ad7adaea3a8e209aef72602f07a6988b3"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...>··<a·href="a00219.html#ad7adaea3a8e209aef72602f07a6988b3">More...</a><br·/></td></tr> | ||
114 | <tr·class="separator:ad7adaea3a8e209aef72602f07a6988b3"><td·class="memSeparator"·colspan="2"> </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:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args>·</td></tr> | ||
119 | <tr·class="memitem:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">Dune::Functions::forwardAsStaticInteger</a>·(std::integer_sequence<·size_type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std::forward<·Args·>(args)...))</td></tr> | ||
120 | <tr·class="separator:a84f8a9700ef8b12973e210ee4674c2b7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·size_type·,·size_type·firstValue,·size_type·secondValue,·size_type...·otherValues,·class...·Args>·</td></tr> | ||
122 | <tr·class="memitem:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">Dune::Functions::forwardAsStaticInteger</a>·(std::integer_sequence<·size_type,·firstValue,·secondValue,·otherValues...·>·values,·const·size_type·i,·F·&&f,·Args·&&...·args)·->·decltype(f(std::integral_constant<·size_type,·firstValue·>(),·std::forward<·Args·>(args)...))</td></tr> | ||
123 | <tr·class="separator:a4e975086fb37cbf3e33cc42a2b4ef1e2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"><td·class="memTemplParams"·colspan="2">template<std::size_t·end,·class·F·,·class·size_type·,·class...·Args>·</td></tr> | ||
125 | <tr·class="memitem:gac7d45de6c68fce943e6924403389d234"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gac7d45de6c68fce943e6924403389d234">Dune::Functions::forwardAsStaticIndex</a>·(const·size_type·&i,·F·&&f,·Args·&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·>(args)...))</td></tr> | ||
126 | <tr·class="memdesc:gac7d45de6c68fce943e6924403389d234"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·dynamic·index·to·static·index_constant.··<a·href="a00215.html#gac7d45de6c68fce943e6924403389d234">More...</a><br·/></td></tr> | ||
127 | <tr·class="separator:gac7d45de6c68fce943e6924403389d234"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T>·</td></tr> | ||
129 | <tr·class="memitem:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga4e5fbe8e1330cdfab9eddd5962682b4c">Dune::Functions::transformTuple</a>·(F·&&f,·const·std::tuple<·T...·>·&tuple)·->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std::index_sequence_for<·T...·>{}))</td></tr> | ||
130 | <tr·class="memdesc:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·functor.··<a·href="a00215.html#ga4e5fbe8e1330cdfab9eddd5962682b4c">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:ga4e5fbe8e1330cdfab9eddd5962682b4c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
132 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplParams"·colspan="2">template<class·F·,·class...·T1,·class...·T2>·</td></tr> | ||
133 | <tr·class="memitem:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gae663a5bfd683c8a0844bb974807d8f52">Dune::Functions::transformTuple</a>·(F·&&f,·const·std::tuple<·T1...·>·&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std::index_sequence_for<·T1...·>{}))</td></tr> | ||
134 | <tr·class="memdesc:gae663a5bfd683c8a0844bb974807d8f52"><td·class="mdescLeft"> </td><td·class="mdescRight">Transform·tuple·value·using·a·binary·functor.··<a·href="a00215.html#gae663a5bfd683c8a0844bb974807d8f52">More...</a><br·/></td></tr> | ||
135 | <tr·class="separator:gae663a5bfd683c8a0844bb974807d8f52"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
136 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplParams"·colspan="2">template<class·Expression·>·</td></tr> | ||
137 | <tr·class="memitem:ga7d55c56e78792c4b169c18d875a60935"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#ga7d55c56e78792c4b169c18d875a60935">Dune::Functions::callableCheck</a>·(Expression·f)</td></tr> | ||
138 | <tr·class="memdesc:ga7d55c56e78792c4b169c18d875a60935"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·predicate·for·checking·validity·of·expressions.··<a·href="a00215.html#ga7d55c56e78792c4b169c18d875a60935">More...</a><br·/></td></tr> | ||
139 | <tr·class="separator:ga7d55c56e78792c4b169c18d875a60935"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
140 | <tr·class="memitem:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memTemplParams"·colspan="2">template<class·Check·>·</td></tr> | ||
141 | <tr·class="memitem:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaed02f0c6f78e0d71e09d9bc6a29347c4">Dune::Functions::negatePredicate</a>·(Check·check)</td></tr> | ||
142 | <tr·class="memdesc:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="mdescLeft"> </td><td·class="mdescRight">Negate·given·predicate.··<a·href="a00215.html#gaed02f0c6f78e0d71e09d9bc6a29347c4">More...</a><br·/></td></tr> | ||
143 | <tr·class="separator:gaed02f0c6f78e0d71e09d9bc6a29347c4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
144 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
145 | <tr·class="memitem:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">Dune::Functions::forwardCapture</a>·(T·&&t)</td></tr> | ||
146 | <tr·class="memdesc:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·capture·object·for·perfect·forwarding.··<a·href="a00219.html#a6bb3a351c2ab1b4eb46d4ba1ec3d95a0">More...</a><br·/></td></tr> | ||
147 | <tr·class="separator:a6bb3a351c2ab1b4eb46d4ba1ec3d95a0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | </table> | 148 | </table> |
92 | </div><!--·contents·--> | 149 | </div><!--·contents·--> |
93 | <!--·start·footer·part·--> | 150 | <!--·start·footer·part·--> |
94 | <hr·class="footer"/><address·class="footer"><small> | 151 | <hr·class="footer"/><address·class="footer"><small> |
95 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 152 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
96 | </small></address> | 153 | </small></address> |
97 | </body> | 154 | </body> |
Offset 5, 23 lines modified | Offset 5, 94 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces | 9 | Classes·|·Namespaces·|·Typedefs·|·Functions |
10 | 10 | utility.hh·File·Reference | |
11 | #include·<utility> | ||
11 | #include·<type_traits> | 12 | #include·<type_traits> |
13 | #include·<dune/common/overloadset.hh> | ||
14 | #include·<dune/common/indices.hh> | ||
15 | #include·<dune/functions/common/functionconcepts.hh> | ||
12 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
13 | ·Classes | 17 | ·Classes |
14 | class· Dune::Functions::PolymorphicType<_Interface_> | ||
15 | 18 | struct· Dune::Functions::LastType<_T_> | |
19 | ·······Get·last·entry·of·type·list.·More... | ||
20 | |||
21 | struct· Dune::Functions::RotateTuple<_T_> | ||
22 | ·······Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first | ||
23 | ·········position.·More... | ||
16 | 24 | ||
17 | ·Namespaces | 25 | ·Namespaces |
18 | namespace· Dune | 26 | namespace· Dune |
19 | 27 | ||
20 | namespace· Dune::Functions | 28 | namespace· Dune::Functions |
21 | 29 | ||
30 | ·Typedefs | ||
31 | template<template<·class...·>·class·T,·class·ArgTuple·> | ||
32 | using Dune::Functions::ExpandTuple·=·typename·Imp::ExpandTupleHelper<·T, | ||
33 | ·······ArgTuple·>::Type | ||
34 | ·····Expand·tuple·arguments·as·template·arguments.·More... | ||
35 | |||
36 | template<template<·class...·>·class·F,·class...·Tuples> | ||
37 | using Dune::Functions::TransformTuple·=·typename·Imp::TransformTupleHelper<·F, | ||
38 | ·······Tuples...·>::Type | ||
39 | ·····Transform·tuple·types·argument·using·type-functor.·More... | ||
40 | |||
41 | template<class·IntegerSequence·> | ||
42 | using Dune::Functions::IntegerSequenceTuple·=·typename·Imp:: | ||
43 | ·······IntegerSequenceTupleHelper<·IntegerSequence·>::Type | ||
44 | ·····Transform·integer_sequence<I,k...>·to·tuple<integral_constant<I,k>...> | ||
45 | ·······More... | ||
46 | |||
47 | ·Functions | ||
48 | template<class·F·,·class·size_type·,·size_type·firstValue,·class...·Args> | ||
49 | auto Dune::Functions::forwardAsStaticInteger·(std::integer_sequence< | ||
50 | ······size_type,·firstValue·>·values,·const·size_type·&i,·F·&&f,·Args·&&... | ||
51 | ······args)·->·decltype(f(std::integral_constant<·size_type,·firstValue·>(), | ||
52 | ······std::forward<·Args·>(args)...)) | ||
53 | |||
54 | template<class·F·,·class·size_type·,·size_type·firstValue,·size_type | ||
55 | secondValue,·size_type...·otherValues,·class...·Args> | ||
56 | auto Dune::Functions::forwardAsStaticInteger·(std::integer_sequence< | ||
57 | ······size_type,·firstValue,·secondValue,·otherValues...·>·values,·const | ||
58 | ······size_type·i,·F·&&f,·Args·&&...·args)·->·decltype(f(std:: | ||
59 | ······integral_constant<·size_type,·firstValue·>(),·std::forward<·Args·> | ||
60 | ······(args)...)) | ||
61 | |||
62 | template<std::size_t·end,·class·F·,·class·size_type·,·class...·Args> | ||
63 | auto Dune::Functions::forwardAsStaticIndex·(const·size_type·&i,·F·&&f,·Args | ||
64 | ······&&...·args)·->·decltype(f(Dune::Indices::_0,·std::forward<·Args·> | ||
65 | ······(args)...)) | ||
66 | ····Transform·dynamic·index·to·static·index_constant.·More... | ||
67 | |||
68 | template<class·F·,·class...·T> | ||
69 | auto Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T...·>·&tuple) | ||
70 | ······->·decltype(Imp::transformTupleHelper(std::forward<·F·>(f),·tuple,·std:: | ||
71 | ······index_sequence_for<·T...·>{})) | ||
72 | ····Transform·tuple·value·using·a·functor.·More... | ||
73 | |||
74 | template<class·F·,·class...·T1,·class...·T2> | ||
75 | auto Dune::Functions::transformTuple·(F·&&f,·const·std::tuple<·T1...·> | ||
76 | ······&tuple1,·const·std::tuple<·T2...·>·&tuple2)·->·decltype(Imp:: | ||
77 | ······transformTupleHelper(std::forward<·F·>(f),·tuple1,·tuple2,·std:: | ||
78 | ······index_sequence_for<·T1...·>{})) | ||
79 | ····Transform·tuple·value·using·a·binary·functor.·More... | ||
80 | |||
81 | template<class·Expression·> | ||
82 | auto Dune::Functions::callableCheck·(Expression·f) | ||
83 | ····Create·a·predicate·for·checking·validity·of·expressions.·More... | ||
84 | |||
85 | template<class·Check·> | ||
86 | auto Dune::Functions::negatePredicate·(Check·check) | ||
87 | ····Negate·given·predicate.·More... | ||
88 | |||
89 | template<class·T·> | ||
90 | auto Dune::Functions::forwardCapture·(T·&&t) | ||
91 | ····Create·a·capture·object·for·perfect·forwarding.·More... | ||
92 | |||
22 | =============================================================================== | 93 | =============================================================================== |
23 | ·····Generated·by [doxygen]·1.9.4 | 94 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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 62, 56 lines modified | Offset 62, 284 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">utility.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_UTILITY_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_UTILITY_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class=" | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/overloadset.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
84 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> | ||
85 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·size_type·firstValue,·<span·class="keyword">class</span>...·Args></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">···21</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue>·values,·<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
86 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}</div> |
87 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">public</span>:</div> | ||
88 | <div·class="line"><a·id="l0002 | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
89 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·size_type·firstValue,·size_type·secondValue,·size_type...·otherValues,·<span·[·...·truncated·by·diffoscope;·len:·40,·SHA:·2a921388311ccd803c8a50f91aa3126cf7e73d3bdab039202bae431ab32ac158·...·]</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00219.html#a4e975086fb37cbf3e33cc42a2b4ef1e2">···28</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·firstValue,·secondValue,·otherValues...>·values,·<span·class="keyword">const</span>·size_type·i,·F&&·f,·Args&&...·args)</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··->decltype(f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...))</div> | ||
90 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span> | 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="keywordflow">if</span>·(i==firstValue)</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">return</span>·f(std::integral_constant<size_type,·firstValue>(),·std::forward<Args>(args)...);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::integer_sequence<size_type,·secondValue,·otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>}</div> | ||
91 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
92 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01239.html#a56439d136ed112196bb2bf1a7aca42e7">···40</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01239.html#a56439d136ed112196bb2bf1a7aca42e7">clone</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
93 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
94 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
108 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span><std::size_t·end,·<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>size_type,·<span·class="keyword">class</span>...·Args></div> | ||
109 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00215.html#gac7d45de6c68fce943e6924403389d234">···60</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00215.html#gac7d45de6c68fce943e6924403389d234">forwardAsStaticIndex</a>(<span·class="keyword">const</span>·size_type&·i,·F&&·f,·Args&&...·args)</div> | ||
110 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...))</div> | ||
95 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div> |
112 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#a84f8a9700ef8b12973e210ee4674c2b7">forwardAsStaticInteger</a>(std::make_index_sequence<end>{},·i,·std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
96 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01239.html#a937e58884f58dfac27f85c80024be57c">···62</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01239.html#a937e58884f58dfac27f85c80024be57c">move</a>(<span·class="keywordtype">void</span>*·buffer)·=·0;</div> | ||
97 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>};</div> | ||
98 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span> | 113 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> |
99 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 114 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
100 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 115 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
101 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
102 | <div·class="line"><a·id="l0006 | 116 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
117 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
118 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class·</span>List></div> | ||
120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">struct·</span>ExpandTupleHelper</div> | ||
121 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{};</div> | ||
122 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
123 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>ListType,·<span·class="keyword">class</span>...·Args></div> | ||
124 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExpandTupleHelper<T,·ListType<Args...>></div> | ||
125 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> | ||
126 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">using·</span>Type·=·T<Args...>;</div> | ||
127 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··};</div> | ||
128 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
129 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}·<span·class="comment">//·end·namespace·Imp</span></div> | ||
130 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
131 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class·</span>ArgTuple></div> | ||
132 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">···94</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00215.html#ga047a2180b455bfa030fba76eb6270952">ExpandTuple</a>·=·<span·class="keyword">typename</span>·Imp::ExpandTupleHelper<T,·ArgTuple>::Type;</div> | ||
133 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
134 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
135 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
136 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
137 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
138 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Tuple></div> | ||
139 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">struct·</span>TransformTupleHelper</div> | ||
140 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··{};</div> | ||
141 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | ||
142 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args1></div> | ||
143 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">struct·</span>TransformTupleHelper<T,·typename·std::tuple<Args1...>></div> | ||
144 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··{</div> | ||
145 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">using·</span>Type·=·std::tuple<T<Args1>...>;</div> | ||
146 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··};</div> | ||
147 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
148 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args1,·<span·class="keyword">class</span>...·Args2></div> | ||
149 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<span·class="keyword">struct·</span>TransformTupleHelper<T,·typename·std::tuple<Args1...>,·typename·std::tuple<Args2...>></div> | ||
150 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··{</div> | ||
151 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keyword">using·</span>Type·=·std::tuple<T<Args1,·Args2>...>;</div> | ||
152 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··};</div> | ||
153 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> | ||
154 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>}·<span·class="comment">//·end·namespace·Imp</span></div> | ||
155 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
156 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="keyword">template</span><<span·class="keyword">template</span><<span·class="keyword">class</span>...>·<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Tuples></div> | ||
157 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a00215.html#ga1ce77345fbee606e5ac22aeef7d109d6">··131</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00215.html#ga1ce77345fbee606e5ac22aeef7d109d6">TransformTuple</a>·=·<span·class="keyword">typename</span>·Imp::TransformTupleHelper<F,·Tuples...>::Type;</div> | ||
158 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> | ||
159 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> | ||
160 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> | ||
161 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
162 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> | ||
163 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·T,·std::size_t...·k></div> | ||
Max diff block lines reached; 4599/53735 bytes (8.56%) of diff not shown. |
Offset 5, 63 lines modified | Offset 5, 349 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | utility.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_UTILITY_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_UTILITY_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<utility> | ||
16 | · | 18 | ·8#include·<type_traits> |
19 | ·9 | ||
20 | ·10#include·<dune/common/overloadset.hh> | ||
21 | ·11#include·<dune/common/indices.hh> | ||
17 | ·7 | ||
18 | ·8 | ||
19 | ·9namespace·Dune·{ | ||
20 | ·10namespace·Functions·{ | ||
21 | ·11 | ||
22 | ·12 | 22 | ·12 |
23 | ·13 | ||
24 | ·23template<class·Interface> | ||
25 | 23 | ·13#include·<dune/functions/common/functionconcepts.hh> | |
24 | ·14 | ||
25 | ·15namespace·Dune·{ | ||
26 | ·16namespace·Functions·{ | ||
27 | ·17 | ||
28 | ·18 | ||
29 | ·19 | ||
30 | ·20template<class·F,·class·size_type,·size_type·firstValue,·class...·Args> | ||
31 | 21auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue> | ||
32 | values,·const·size_type&·i,·F&&·f,·Args&&...·args) | ||
33 | ·22·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
34 | forward<Args>(args)...)) | ||
26 | ·2 | 35 | ·23{ |
27 | ·26public: | ||
28 | ·27 | ||
29 | 2 | 36 | ·24·return·f(std::integral_constant<size_type,·firstValue>(),·std:: |
37 | forward<Args>(args)...); | ||
38 | ·25} | ||
39 | ·26 | ||
40 | ·27template<class·F,·class·size_type,·size_type·firstValue,·size_type | ||
41 | secondValue,·size_type...·otherValues,·class...·Args> | ||
42 | 28auto·forwardAsStaticInteger(std::integer_sequence<size_type,·firstValue, | ||
43 | secondValue,·otherValues...>·values,·const·size_type·i,·F&&·f,·Args&&...·args) | ||
44 | ·29·->decltype(f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
45 | forward<Args>(args)...)) | ||
30 | ·30 | 46 | ·30{ |
31 | ·31 | ||
32 | 40·virtual·Interface*·clone()·const·=·0; | ||
33 | ·41 | ||
34 | 51·virtual·Interface*·clone(void*·buffer)·const·=·0; | ||
35 | ·52 | ||
36 | 62·virtual·Interface*·move(void*·buffer)·=·0; | ||
37 | · | 47 | ·31·if·(i==firstValue) |
48 | ·32·return·f(std::integral_constant<size_type,·firstValue>(),·std:: | ||
49 | forward<Args>(args)...); | ||
50 | ·33·return·forwardAsStaticInteger(std::integer_sequence<size_type,·secondValue, | ||
51 | otherValues...>(),·i,·std::forward<F>(f),·std::forward<Args>(args)...); | ||
52 | ·34} | ||
53 | ·35 | ||
54 | ·36 | ||
55 | ·37 | ||
56 | ·59template<std::size_t·end,·class·F,·class·size_type,·class...·Args> | ||
57 | 60auto·forwardAsStaticIndex(const·size_type&·i,·F&&·f,·Args&&...·args) | ||
58 | ·61·->decltype(f(Dune::Indices::_0,·std::forward<Args>(args)...)) | ||
59 | ·62{ | ||
60 | ·63·return·forwardAsStaticInteger(std::make_index_sequence<end>{},·i,·std:: | ||
61 | forward<F>(f),·std::forward<Args>(args)...); | ||
38 | ·64 | 62 | ·64} |
39 | ·65 | 63 | ·65 |
40 | ·66 | 64 | ·66 |
65 | ·67 | ||
66 | ·68namespace·Imp·{ | ||
67 | ·69 | ||
68 | ·70·template<template<class...>·class·T,·class·List> | ||
69 | ·71·struct·ExpandTupleHelper | ||
70 | ·72·{}; | ||
71 | ·73 | ||
72 | ·74·template<template<class...>·class·T,·template<class...>·class·ListType, | ||
73 | class...·Args> | ||
74 | ·75·struct·ExpandTupleHelper<T,·ListType<Args...>> | ||
75 | ·76·{ | ||
76 | ·77·using·Type·=·T<Args...>; | ||
77 | ·78·}; | ||
78 | ·79 | ||
79 | ·80}·//·end·namespace·Imp | ||
80 | ·81 | ||
81 | ·93template<template<class...>·class·T,·class·ArgTuple> | ||
82 | 94using·ExpandTuple·=·typename·Imp::ExpandTupleHelper<T,·ArgTuple>::Type; | ||
83 | ·95 | ||
84 | ·96 | ||
85 | ·97 | ||
86 | ·98namespace·Imp·{ | ||
87 | ·99 | ||
88 | ·100·template<template<class...>·class·T,·class...·Tuple> | ||
89 | ·101·struct·TransformTupleHelper | ||
90 | ·102·{}; | ||
91 | ·103 | ||
92 | ·104·template<template<class...>·class·T,·class...·Args1> | ||
93 | ·105·struct·TransformTupleHelper<T,·typename·std::tuple<Args1...>> | ||
94 | ·106·{ | ||
95 | ·107·using·Type·=·std::tuple<T<Args1>...>; | ||
96 | ·108·}; | ||
97 | ·109 | ||
98 | ·110·template<template<class...>·class·T,·class...·Args1,·class...·Args2> | ||
99 | ·111·struct·TransformTupleHelper<T,·typename·std::tuple<Args1...>,·typename | ||
100 | std::tuple<Args2...>> | ||
101 | ·112·{ | ||
102 | ·113·using·Type·=·std::tuple<T<Args1,·Args2>...>; | ||
103 | ·114·}; | ||
104 | ·115 | ||
105 | ·116}·//·end·namespace·Imp | ||
106 | ·117 | ||
107 | ·130template<template<class...>·class·F,·class...·Tuples> | ||
108 | 131using·TransformTuple·=·typename·Imp::TransformTupleHelper<F,·Tuples...>:: | ||
109 | Type; | ||
110 | ·132 | ||
111 | ·133 | ||
112 | ·134 | ||
113 | ·135namespace·Imp·{ | ||
Max diff block lines reached; 1909/11775 bytes (16.21%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·staticforloop.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 44 lines modified | Offset 63, 38 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
71 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">staticforloop.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
77 | <code>#include·<<a·class="el"·href="a000 | 76 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00008_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a0 | 77 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
83 | </div> | 78 | </div> |
84 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> | 79 | <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
87 | Classes</h2></td></tr> | ||
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01095.html">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01103.html">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></a></td></tr> | ||
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·differentiable·functions·using·type·erasure.··<a·href="a01103.html#details">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | </table><table·class="memberdecls"> | ||
94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
95 | Namespaces</h2></td></tr> | 82 | Namespaces</h2></td></tr> |
96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 83 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 85 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | </table><table·class="memberdecls"> | ||
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
89 | Functions</h2></td></tr> | ||
90 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplParams"·colspan="2">template<std::size_t·begin_t,·std::size_t·end_t,·class·F·,·class...·Args>·</td></tr> | ||
91 | <tr·class="memitem:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">Dune::Functions::staticFindInRange</a>·(F·&&f,·Args·&&...·args)</td></tr> | ||
92 | <tr·class="memdesc:gaa625ea93bc3285b8a09c9267302386ec"><td·class="mdescLeft"> </td><td·class="mdescRight">Static·find·loop.··<a·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">More...</a><br·/></td></tr> | ||
93 | <tr·class="separator:gaa625ea93bc3285b8a09c9267302386ec"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | </table> | 94 | </table> |
101 | </div><!--·contents·--> | 95 | </div><!--·contents·--> |
102 | <!--·start·footer·part·--> | 96 | <!--·start·footer·part·--> |
103 | <hr·class="footer"/><address·class="footer"><small> | 97 | <hr·class="footer"/><address·class="footer"><small> |
104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
105 | </small></address> | 99 | </small></address> |
106 | </body> | 100 | </body> |
Offset 5, 34 lines modified | Offset 5, 26 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Namespaces·|·Functions | ||
10 | staticforloop.hh·File·Reference | ||
9 | Classes·|·Namespaces | ||
10 | differentiablefunction.hh·File·Reference | ||
11 | #include·<type_traits> | ||
12 | #include·<dune/common/ | 11 | #include·<dune/common/concept.hh> |
13 | #include·<dune/functions/common/type_traits.hh> | 12 | #include·<dune/functions/common/type_traits.hh> |
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
16 | #include·<dune/functions/common/signature.hh> | ||
17 | #include·<dune/functions/common/typeerasure.hh> | ||
18 | #include·<dune/functions/ | 13 | #include·<dune/functions/functionspacebases/concepts.hh> |
19 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | ||
21 | class· Dune::Functions::DifferentiableFunction<_Signature,_DerivativeTraits, | ||
22 | ········bufferSize_> | ||
23 | |||
24 | class· Dune::Functions::DifferentiableFunction<_Range(Domain), | ||
25 | ········DerivativeTraits,_bufferSize_> | ||
26 | ······Class·storing·differentiable·functions·using·type·erasure.·More... | ||
27 | |||
28 | ·Namespaces | 15 | ·Namespaces |
29 | namespace· Dune | 16 | namespace· Dune |
30 | 17 | ||
31 | namespace· Dune::Functions | 18 | namespace· Dune::Functions |
32 | 19 | ||
20 | ·Functions | ||
21 | template<std::size_t·begin_t,·std::size_t·end_t,·class·F·,·class...·Args> | ||
22 | void Dune::Functions::staticFindInRange·(F·&&f,·Args·&&...·args) | ||
23 | ····Static·find·loop.·More... | ||
24 | |||
33 | =============================================================================== | 25 | =============================================================================== |
34 | ·····Generated·by [doxygen]·1.9.4 | 26 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·staticforloop.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 128 lines modified | Offset 62, 75 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">staticforloop.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
80 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00008.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/signature.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
86 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
87 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
88 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> |
89 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ST,·ST·begin,·ST·end></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">struct·</span>StaticFindInRange</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span> | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply(F&&·f,·Args&&...·args)</div> | ||
91 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keywordflow">if</span>·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...))</div> | ||
92 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>······<span·class="keywordflow">return</span>;</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
96 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··}</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>};</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01095.html">···28</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01095.html">DifferentiableFunction</a></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span> | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
101 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ST,·ST·end></div> |
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>StaticFindInRange<ST,·end,·end></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span> | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> |
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Imp</div> | ||
104 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...Args></div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply(F&&·f,·Args&&...)</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{}</div> |
106 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>};</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span> | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}·<span·class="comment">//end·namespace·Imp</span></div> |
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>· | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
109 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">using·</span>Signature·=·S;</div> | ||
110 | <div·class="line"><a·id="l0004 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>Range·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::Range</a>;</div> | ||
112 | <div·class="line"><a·id="l0004 | 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">···55</span><span·class="keyword">template</span><std::size_t·begin_t,·std::size_t·end_t,·<span·class="keyword">class·</span>F,·<span·class="keyword">class</span>...·Args></div> | ||
113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">···56</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00215.html#gaa625ea93bc3285b8a09c9267302386ec">staticFindInRange</a>(F&&·f,·Args&&...·args)</div> | ||
113 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">using·</span>Domain·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::Domain</a>;</div> | ||
114 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
115 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01291.html">SignatureTraits<Signature>::template</a>·DerivativeSignature<DerivativeTraits>;</div> | ||
116 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01095.html">DifferentiableFunction<DerivativeSignature,·DerivativeTraits,·bufferSize></a>;</div> | ||
118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
119 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>Concept·=·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface>;</div> | ||
120 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span> | 114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div> |
121 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> | ||
122 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F>(f),·std::forward<Args>(args)...);</div> |
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>}</div> | ||
117 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
123 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>· | 118 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
124 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}</div> | 119 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
125 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 120 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}·<span·class="comment">//·namespace·Dune</span></div> |
126 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 121 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
127 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 122 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
128 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
129 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01103.html">···81</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01095.html">DifferentiableFunction</a><·Range(Domain),·DerivativeTraits,·bufferSize>·:</div> | ||
130 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01351.html">TypeErasureBase</a><</div> | ||
131 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::Concept,</div> | ||
132 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>::template·Model></div> | ||
133 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>{</div> | ||
134 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">using·</span>Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits,·bufferSize>;</div> | ||
135 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
124 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">#endif·</span><span·class="comment">//DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH</span></div> | ||
136 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01351.html">Base</a>·=·<a·class="code·hl_class"·href="a01351.html">TypeErasureBase<typename·Traits::Concept,·Traits::template·Model></a>;</div> | ||
137 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
138 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">using·</span>DerivativeInterface·=·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01095.html">Traits::DerivativeInterface</a>;</div> | ||
139 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
140 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">public</span>:</div> | ||
141 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
142 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F,·disableCopyMove<DifferentiableFunction,·F>·=·0·></div> | ||
143 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01103.html#a2bfab7479475446c596aaa715e392e51">··106</a></span>··<a·class="code·hl_function"·href="a01103.html#a2bfab7479475446c596aaa715e392e51">DifferentiableFunction</a>(F&&·f)·:</div> | ||
144 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<a·class="code·hl_class"·href="a01351.html">Base</a>(std::forward<F>(f))</div> | ||
145 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··{</div> | ||
146 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keyword">static_assert</span>(Dune::Functions::Concept::isFunction<F,·Range(Domain)>(),·<span·class="stringliteral">"Trying·to·construct·a·DifferentiableFunction·from·type·that·does·not·model·the·Function·concept"</span>);</div> | ||
147 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··}</div> | ||
148 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
149 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01103.html#aeec09a544bd23e1fabc708ae576ebb91">··113</a></span>··<a·class="code·hl_function"·href="a01103.html#aeec09a544bd23e1fabc708ae576ebb91">DifferentiableFunction</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
150 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> | ||
151 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01103.html#a92008c20202968cf4d5f7d705a06c1cc">··118</a></span>··Range·operator()·(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
152 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">··</span>{</div> | ||
153 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keywordflow">return</span>·this->asInterface().operator()(x);</div> | ||
Max diff block lines reached; 1998/28641 bytes (6.98%) of diff not shown. |
Offset 5, 153 lines modified | Offset 5, 76 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | staticforloop.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_DIFFERENTIABLE_FUNCTION_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<dune/common/concept.hh> | ||
18 | ·8 | ||
16 | ·6#include·<type_traits> | ||
17 | ·7 | ||
18 | ·8#include·<dune/common/typeutilities.hh> | ||
19 | ·9 | ||
20 | · | 19 | ·9#include·<dune/functions/common/type_traits.hh> |
21 | ·11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
22 | ·12#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
23 | ·13#include·<dune/functions/common/signature.hh> | ||
24 | ·14#include·<dune/functions/common/typeerasure.hh> | ||
25 | ·1 | 20 | ·10#include·<dune/functions/functionspacebases/concepts.hh> |
26 | ·1 | 21 | ·11 |
22 | ·12 | ||
27 | ·1 | 23 | ·13namespace·Dune·{ |
28 | ·1 | 24 | ·14namespace·Functions·{ |
29 | ·1 | 25 | ·15 |
26 | ·16namespace·Imp·{ | ||
27 | ·17 | ||
28 | ·18template<class·ST,·ST·begin,·ST·end> | ||
29 | ·19struct·StaticFindInRange | ||
30 | ·20 | 30 | ·20{ |
31 | ·21 | ||
32 | ·22/* | ||
33 | ·23·*·Default·implementation·is·empty | ||
34 | ·24·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
35 | ·25·*·describing·a·function·signature·as·Range(Domain). | ||
36 | ·26·*/ | ||
37 | ·27template<class·Signature,·template<class>·class | ||
38 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
39 | 28class·DifferentiableFunction | ||
40 | ·29{}; | ||
41 | ·30 | ||
42 | · | 31 | ·21·template<class·F,·class...Args> |
32 | ·22·static·void·apply(F&&·f,·Args&&...·args) | ||
33 | ·23·{ | ||
34 | ·24·if·(f(std::integral_constant<ST,·begin>(),·std::forward<Args>(args)...)) | ||
35 | ·25·return; | ||
36 | ·26·StaticFindInRange<ST,·begin+1,·end>::apply(std::forward<F>(f),·std:: | ||
37 | forward<Args>(args)...); | ||
38 | ·27·} | ||
39 | ·28}; | ||
40 | ·29 | ||
41 | ·30template<class·ST,·ST·end> | ||
42 | ·31struct·StaticFindInRange<ST,·end,·end> | ||
43 | ·32 | 43 | ·32{ |
44 | ·33·template<class·F,·class...Args> | ||
45 | ·34·static·void·apply(F&&·f,·Args&&...) | ||
46 | ·35·{} | ||
47 | ·36}; | ||
48 | ·37 | ||
44 | ·3 | 49 | ·38}·//end·namespace·Imp |
45 | ·34{ | ||
46 | ·35 | ||
47 | ·37·template<class·S,·template<class>·class·DerivativeTraits,·size_t | ||
48 | bufferSize> | ||
49 | ·38·struct·DifferentiableFunctionTraits | ||
50 | ·39 | 50 | ·39 |
51 | ·40 | ||
52 | ·41 | ||
53 | ·55template<std::size_t·begin_t,·std::size_t·end_t,·class·F,·class...·Args> | ||
54 | 56void·staticFindInRange(F&&·f,·Args&&...·args) | ||
51 | ·41·using·Signature·=·S; | ||
52 | ·42 | ||
53 | ·44·using·Range·=·typename·SignatureTraits<Signature>::Range; | ||
54 | ·45 | ||
55 | ·47·using·Domain·=·typename·SignatureTraits<Signature>::Domain; | ||
56 | ·48 | ||
57 | ·50·using·DerivativeSignature·=·typename·SignatureTraits<Signature>::template | ||
58 | DerivativeSignature<DerivativeTraits>; | ||
59 | ·51 | ||
60 | ·53·using·DerivativeInterface·=·DifferentiableFunction<DerivativeSignature, | ||
61 | DerivativeTraits,_bufferSize>; | ||
62 | ·54 | ||
63 | ·56·using·Concept·=·DifferentiableFunctionWrapperInterface<Signature, | ||
64 | DerivativeInterface>; | ||
65 | ·57 | 55 | ·57{ |
66 | ·59·template<class·B> | ||
67 | ·60·using·Model·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
68 | DerivativeInterface,·B>; | ||
69 | ·61·}; | ||
70 | ·62} | ||
71 | · | 56 | ·58·Imp::StaticFindInRange<std::size_t,·begin_t,·end_t>::apply(std::forward<F> |
57 | (f),·std::forward<Args>(args)...); | ||
58 | ·59} | ||
59 | ·60 | ||
60 | ·61 | ||
61 | ·62}·//·namespace·Dune::Functions | ||
62 | ·63}·//·namespace·Dune | ||
72 | ·64 | 63 | ·64 |
73 | ·65 | 64 | ·65 |
65 | ·66 | ||
66 | ·67#endif·//DUNE_FUNCTIONS_COMMON_STATICFORLOOP_HH | ||
74 | ·80template<class·Range,·class·Domain,·template<class>·class·DerivativeTraits, | ||
75 | size_t·bufferSize> | ||
76 | 81class·DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize>·: | ||
77 | ·82·public·TypeErasureBase< | ||
78 | ·83·typename·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
79 | bufferSize>::Concept, | ||
80 | ·84·Imp::DifferentiableFunctionTraits<Range(Domain),·DerivativeTraits, | ||
81 | bufferSize>::template·Model> | ||
82 | ·85{ | ||
83 | ·86·using·Traits·=·Imp::DifferentiableFunctionTraits<Range(Domain), | ||
84 | DerivativeTraits,·bufferSize>; | ||
85 | ·87 | ||
86 | ·88·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template | ||
87 | Model>; | ||
88 | ·89 | ||
89 | ·90·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | ||
90 | ·91 | ||
91 | ·92public: | ||
Max diff block lines reached; 1344/6251 bytes (21.50%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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, 38 lines modified | Offset 65, 25 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">interfaces.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
76 | <code>#include·<dune/common/shared_ptr.hh></code><br·/> | ||
77 | <code>#include·<dune/typetree/pairtraversal.hh></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
80 | </div> | 76 | </div> |
81 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> | 77 | <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
84 | Classes</h2></td></tr> | 80 | Classes</h2></td></tr> |
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01311.html">Dune::Functions::UniformNodeVisitor<·SimpleNodeVisitorImp,·leafOnly·></a></td></tr> | ||
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes.··<a·href="a01311.html#details">More...</a><br·/></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 81 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01239.html">Dune::Functions::PolymorphicType<·Interface·></a></td></tr> |
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 82 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·with·polymorphic·type·boiler·plate·code.··<a·href="a01239.html#details">More...</a><br·/></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01319.html">Dune::Functions::TreeData<·T,·ND,·LO·>::InitVisitor</a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01323.html">Dune::Functions::TreeData<·T,·ND,·LO·>::DestroyVisitor</a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01327.html">Dune::Functions::TreeData<·T,·ND,·LO·>::CopyVisitor</a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 84 | </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="namespaces"·name="namespaces"></a> |
99 | Namespaces</h2></td></tr> | 86 | Namespaces</h2></td></tr> |
100 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 87 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 89 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 34 lines modified | Offset 6, 20 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | 11 | interfaces.hh·File·Reference | |
12 | #include·<type_traits> | ||
12 | #include·<memory> | ||
13 | #include·<dune/common/shared_ptr.hh> | ||
14 | #include·<dune/typetree/pairtraversal.hh> | ||
15 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 14 | ·Classes |
15 | class· Dune::Functions::PolymorphicType<_Interface_> | ||
16 | ······Base·class·with·polymorphic·type·boiler·plate·code.·More... | ||
19 | struct· Dune::Functions::UniformNodeVisitor<_SimpleNodeVisitorImp,_leafOnly_> | ||
20 | ·······Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes. | ||
21 | ·········More... | ||
22 | |||
23 | ·class· Dune::Functions::TreeData<_T,_ND,_LO_> | ||
24 | ·······Container·allowing·to·attach·data·to·each·node·of·a·tree.·More... | ||
25 | |||
26 | struct· Dune::Functions::TreeData<_T,_ND,_LO_>::InitVisitor | ||
27 | |||
28 | struct· Dune::Functions::TreeData<_T,_ND,_LO_>::DestroyVisitor | ||
29 | |||
30 | struct· Dune::Functions::TreeData<_T,_ND,_LO_>::CopyVisitor | ||
31 | 17 | ||
32 | ·Namespaces | 18 | ·Namespaces |
33 | namespace· Dune | 19 | namespace· Dune |
34 | 20 | ||
35 | namespace· Dune::Functions | 21 | namespace· Dune::Functions |
36 | 22 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·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 62, 256 lines modified | Offset 62, 56 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">interfaces.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_INTERFACES_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_INTERFACES_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#warning·This·file·is·deprecated.·Please·use·TreeContainer·from·dune-typetree·instead.</span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
79 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>Functions·{</div> |
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/shared_ptr.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/typetree/pairtraversal.hh></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Interface></div> |
85 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01239.html">···24</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01239.html">PolymorphicType</a></div> | ||
86 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
87 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">public</span>:</div> | ||
87 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
88 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01239.html#ae65ec09f3c0f320f0e5890c3e028fa2a">···29</a></span>··<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01239.html#ae65ec09f3c0f320f0e5890c3e028fa2a">~Polymor[·...·truncated·by·diffoscope;·len:·14,·SHA:·a6c1c0dea314e8f1b7477405e7ec9400891102083d8b6ede39273ffba6ec02cf·...·]</div> |
90 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{}</div> | ||
89 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
92 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01239.html#a56439d136ed112196bb2bf1a7aca42e7">···40</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01239.html#a56439d136ed112196bb2bf1a7aca42e7">clone</a>()·<span·class="keyword">const</span>·=·0;</div> | ||
93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
94 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01239.html#a342f459670ff8ac9ef58314a95ca972d">···51</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01239.html#a342f459670ff8ac9ef58314a95ca972d">clone</a>(<span·class="keywordtype">void</span>*·buffer)·<span·class="keyword">const</span>·=·0;</div> | ||
90 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
96 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01239.html#a937e58884f58dfac27f85c80024be57c">···62</a></span>··<span·class="keyword">virtual</span>·Interface*·<a·class="code·hl_function"·href="a01239.html#a937e58884f58dfac27f85c80024be57c">move</a>(<span·class="keywordtype">void</span>*·buffer)·=·0;</div> | ||
91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class</span>·SimpleNodeVisitorImp,·<span·class="keywordtype">bool</span>·leafOnly></div> | ||
92 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01311.html">···35</a></span><span·class="keyword">struct</span></div> | ||
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>[[deprecated(<span·class="stringliteral">"This·is·an·implementation·detail·of·the·deprecated·class·TreeDate·and·thus·deprecated·itself."</span>)]]</div> | ||
94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><a·class="code·hl_struct"·href="a01311.html">UniformNodeVisitor</a>·:</div> | ||
95 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">public</span>·TypeTree::TreeVisitor,</div> | ||
96 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
97 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> | ||
98 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="comment">//·This·is·only·enabled,·if·we·want·to·incorporate·inner·nodes.</span></div> | ||
99 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="comment">//·Checking·leafOnly·would·be·sufficient,·but·for·SFINAE·the</span></div> | ||
100 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="comment">//·the·enable_if·condition·must·depend·on·the·template·parameter.</span></div> | ||
101 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath,</div> | ||
102 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········<span·class="keyword">typename</span>·std::enable_if<(not·leafOnly)·and·(not·Node::isLeaf),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
103 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">···46</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">pre</a>(Node&·node,·TreePath·treePath)</div> | ||
104 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{</div> | ||
105 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keyword">static_cast<</span>SimpleNodeVisitorImp*<span·class="keyword">></span>(<span·class="keyword">this</span>)->apply(node,·treePath);</div> | ||
106 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div> | ||
107 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
108 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath,</div> | ||
109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="keyword">typename</span>·std::enable_if<(leafOnly)·and·(not·Node::isLeaf),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
110 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">···53</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01311.html#a06f9e8d92b5769fff46163021a2175ce">pre</a>(Node&·node,·TreePath·treePath)</div> | ||
111 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
114 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01311.html#a16683785d8080c47936577796e64eb78">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01311.html#a16683785d8080c47936577796e64eb78">leaf</a>(Node&·node,·TreePath·treePath)</div> | ||
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div> | ||
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">static_cast<</span>SimpleNodeVisitorImp*<span·class="keyword">></span>(<span·class="keyword">this</span>)->apply(node,·treePath);</div> | ||
117 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div> | ||
118 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>};</div> | ||
119 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
120 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 97 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>};</div> |
121 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 98 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
122 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="keyword">template</span><<span·class="keyword">class</span>·T,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>ND,·<span·class="keywordtype">bool</span>·LO></div> | ||
123 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01315.html">···92</a></span><span·class="keyword">class</span></div> | ||
124 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>[[deprecated(<span·class="stringliteral">"This·class·is·deprecated.·Please·use·TreeContainer·from·dune-typetree·instead."</span>)]]</div> | ||
125 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><a·class="code·hl_class"·href="a01315.html">TreeData</a></div> | ||
126 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>{</div> | ||
127 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
100 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
128 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
129 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
130 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01315.html#a1935d801dae08dcf1211c99400e8201c">··100</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#a1935d801dae08dcf1211c99400e8201c">Tree</a>·=·T;</div> | ||
131 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
132 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01315.html#aad999148c3cbb4423a440febc8fa892c">··103</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#aad999148c3cbb4423a440febc8fa892c">size_type</a>·=·<span·class="keyword">typename</span>·Tree::size_type;</div> | ||
133 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
134 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01315.html#a1244c033abbc69a54440772bbda67099">··106</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·leafOnly·=·LO;</div> | ||
135 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
136 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Node></div> | ||
137 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01315.html#a98e841c3feef5258c0536cbc27b07c6d">··110</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#a98e841c3feef5258c0536cbc27b07c6d">NodeData</a>·=·ND<Node>;</div> | ||
138 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
139 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">protected</span>:</div> | ||
140 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01315.html#aa1173c59bbddcbf9f29bf2e09478d277">··113</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01315.html#aa1173c59bbddcbf9f29bf2e09478d277">RawContainer</a>·=·std::vector<void*>;</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>·</div> | ||
143 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="comment">//·Since·we·can·generate·the·node·data·type·only·if</span></div> | ||
144 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="comment">//·we·know·the·type·of·the·node,·we·have·to·do</span></div> | ||
145 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="comment">//·initialization,·copy,·and·destruction·via·a</span></div> | ||
146 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="comment">//·tree·traversal.·Once·we·can·use·C++14·this·can</span></div> | ||
147 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">//·be·written·in·a·much·easier·and·more·selfcontained</span></div> | ||
148 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="comment">//·ways·using·generic·lambda·functions.</span></div> | ||
149 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="comment">//·Until·then·we·need·explicit·visitor·classes·for</span></div> | ||
150 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="comment">//·each·operation.</span></div> | ||
151 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | ||
152 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a01319.html">··125</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01319.html">InitVisitor</a>·:</div> | ||
153 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01311.html">UniformNodeVisitor</a><InitVisitor,·leafOnly></div> | ||
154 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>··{</div> | ||
155 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a01319.html#a936aaecf0f2ccc0e52fa3fb5a02a0b73">··128</a></span>····<a·class="code·hl_function"·href="a01319.html#a936aaecf0f2ccc0e52fa3fb5a02a0b73">InitVisitor</a>(<a·class="code·hl_typedef"·href="a01315.html#aa1173c59bbddcbf9f29bf2e09478d277">RawContainer</a>&·data)·:</div> | ||
156 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>······data_(data)</div> | ||
157 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····{}</div> | ||
158 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | ||
159 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
160 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a01319.html#ac5ffe2a6bf083fedfea129594cb56195">··133</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01319.html#ac5ffe2a6bf083fedfea129594cb56195">apply</a>(Node&·node,·TreePath·treePath)</div> | ||
Max diff block lines reached; 12011/53241 bytes (22.56%) of diff not shown. |
Offset 5, 326 lines modified | Offset 5, 63 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | interfaces.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_INTERFACES_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_INTERFACES_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type_traits> | ||
17 | ·7 | ||
16 | ·6 | ||
17 | ·7#warning·This·file·is·deprecated.·Please·use·TreeContainer·from·dune-typetree | ||
18 | instead. | ||
19 | ·8 | 18 | ·8 |
20 | ·9#include·<memory> | ||
21 | ·10 | ||
22 | · | 19 | ·9namespace·Dune·{ |
20 | ·10namespace·Functions·{ | ||
21 | ·11 | ||
23 | ·12 | 22 | ·12 |
23 | ·13 | ||
24 | ·23template<class·Interface> | ||
25 | 24class·PolymorphicType | ||
26 | ·25{ | ||
27 | ·26public: | ||
28 | ·27 | ||
29 | 29·virtual·~PolymorphicType() | ||
30 | ·30·{} | ||
31 | ·31 | ||
32 | 40·virtual·Interface*·clone()·const·=·0; | ||
33 | ·41 | ||
34 | 51·virtual·Interface*·clone(void*·buffer)·const·=·0; | ||
35 | ·52 | ||
36 | 62·virtual·Interface*·move(void*·buffer)·=·0; | ||
24 | ·13#include·<dune/typetree/pairtraversal.hh> | ||
25 | ·14 | ||
26 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
27 | ·16#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
28 | ·17 | ||
29 | ·18namespace·Dune·{ | ||
30 | ·19namespace·Functions·{ | ||
31 | ·20 | ||
32 | ·34template<class·SimpleNodeVisitorImp,·bool·leafOnly> | ||
33 | 35struct | ||
34 | ·36[[deprecated("This·is·an·implementation·detail·of·the·deprecated·class | ||
35 | TreeDate·and·thus·deprecated·itself.")]] | ||
36 | ·37UniformNodeVisitor·: | ||
37 | ·38·public·TypeTree::TreeVisitor, | ||
38 | ·39·public·TypeTree::DynamicTraversal | ||
39 | ·40{ | ||
40 | ·41·//·This·is·only·enabled,·if·we·want·to·incorporate·inner·nodes. | ||
41 | ·42·//·Checking·leafOnly·would·be·sufficient,·but·for·SFINAE·the | ||
42 | ·43·//·the·enable_if·condition·must·depend·on·the·template·parameter. | ||
43 | ·44·template<typename·Node,·typename·TreePath, | ||
44 | ·45·typename·std::enable_if<(not·leafOnly)·and·(not·Node::isLeaf),·int>::type·= | ||
45 | 0> | ||
46 | 46·void·pre(Node&·node,·TreePath·treePath) | ||
47 | ·47·{ | ||
48 | ·48·static_cast<SimpleNodeVisitorImp*>(this)->apply(node,·treePath); | ||
49 | ·49·} | ||
50 | ·50 | ||
51 | ·51·template<typename·Node,·typename·TreePath, | ||
52 | ·52·typename·std::enable_if<(leafOnly)·and·(not·Node::isLeaf),·int>::type·=·0> | ||
53 | 53·void·pre(Node&·node,·TreePath·treePath) | ||
54 | ·54·{} | ||
55 | ·55 | ||
56 | ·56·template<typename·Node,·typename·TreePath> | ||
57 | 57·void·leaf(Node&·node,·TreePath·treePath) | ||
58 | ·58·{ | ||
59 | ·59·static_cast<SimpleNodeVisitorImp*>(this)->apply(node,·treePath); | ||
60 | ·60·} | ||
61 | ·6 | 37 | ·63}; |
62 | ·62 | ||
63 | ·63 | ||
64 | ·64 | 38 | ·64 |
39 | ·65 | ||
40 | ·66 | ||
65 | ·91template<class·T,·template<class>·class·ND,·bool·LO> | ||
66 | 92class | ||
67 | ·93[[deprecated("This·class·is·deprecated.·Please·use·TreeContainer·from·dune- | ||
68 | typetree·instead.")]] | ||
69 | ·94TreeData | ||
70 | ·95{ | ||
71 | ·96 | ||
72 | ·97public: | ||
73 | ·98 | ||
74 | 100·using·Tree·=·T; | ||
75 | ·101 | ||
76 | 103·using·size_type·=·typename·Tree::size_type; | ||
77 | ·104 | ||
78 | 106·static·const·bool·leafOnly·=·LO; | ||
79 | ·107 | ||
80 | ·109·template<class·Node> | ||
81 | 110·using·NodeData·=·ND<Node>; | ||
82 | ·111 | ||
83 | ·112protected: | ||
84 | 113·using·RawContainer·=·std::vector<void*>; | ||
85 | ·114 | ||
86 | ·115 | ||
87 | ·116·//·Since·we·can·generate·the·node·data·type·only·if | ||
88 | ·117·//·we·know·the·type·of·the·node,·we·have·to·do | ||
89 | ·118·//·initialization,·copy,·and·destruction·via·a | ||
90 | ·119·//·tree·traversal.·Once·we·can·use·C++14·this·can | ||
91 | ·120·//·be·written·in·a·much·easier·and·more·selfcontained | ||
92 | ·121·//·ways·using·generic·lambda·functions. | ||
93 | ·122·//·Until·then·we·need·explicit·visitor·classes·for | ||
94 | ·123·//·each·operation. | ||
95 | ·124 | ||
96 | 125·struct·InitVisitor·: | ||
97 | ·126·public·UniformNodeVisitor<InitVisitor,·leafOnly> | ||
98 | ·127·{ | ||
99 | 128·InitVisitor(RawContainer&·data)·: | ||
100 | ·129·data_(data) | ||
101 | ·130·{} | ||
102 | ·131 | ||
103 | ·132·template<typename·Node,·typename·TreePath> | ||
104 | 133·void·apply(Node&·node,·TreePath·treePath) | ||
105 | ·134·{ | ||
106 | ·135·auto&&·index·=·node.treeIndex(); | ||
107 | ·136·if·(data_.size()·<·index+1) | ||
108 | ·137·data_.resize(index+1,·nullptr); | ||
Max diff block lines reached; 4207/10489 bytes (40.11%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·multiindex.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 66, 47 lines modified | Offset 66, 47 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">multiindex.hh·File·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
77 | <code>#include·<array></code><br·/> | ||
77 | <code>#include·< | 78 | <code>#include·<iostream></code><br·/> |
78 | <code>#include·<dune/common/function.hh></code><br·/> | ||
79 | <code>#include·<dune/common/ | 79 | <code>#include·<dune/common/hash.hh></code><br·/> |
80 | </div> | 80 | </div> |
81 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
84 | Classes</h2></td></tr> | 84 | Classes</h2></td></tr> |
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01263.html">Dune::Functions::StaticMultiIndex<·size_type,·n·></a></td></tr> | ||
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01263.html#details">More...</a><br·/></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01267.html">Dune::Functions::StaticMultiIndex<·size_type,·1·></a></td></tr> |
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01267.html#details">More...</a><br·/></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01271.html">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·></a></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
89 | <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> |
90 | Namespaces</h2></td></tr> | 95 | Namespaces</h2></td></tr> |
91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 100 | </table><table·class="memberdecls"> |
96 | <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> |
97 | Functions</h2></td></tr> | 102 | Functions</h2></td></tr> |
103 | <tr·class="memitem:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplParams"·colspan="2">template<typename·Stream·,·class·size_type·,·std::size_t·n>·</td></tr> | ||
104 | <tr·class="memitem:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">Dune::Functions::operator<<</a>·(Stream·&stream,·const·StaticMultiIndex<·size_type,·n·>·&c)</td></tr> | ||
98 | <tr·class="memitem:gae3639def57e4833c434ae816ea82271e"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> | ||
99 | <tr·class="memitem:gae3639def57e4833c434ae816ea82271e"><td·class="memTemplItemLeft"·align="right"·valign="top">CallableFunctionWrapper<·F·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">Dune::Functions::callable</a>·(const·F·&f)</td></tr> | ||
100 | <tr·class="memdesc:gae3639def57e4833c434ae816ea82271e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·callable·object·from·some·Dune::VirtualFunction.··<a·href="a00209.html#gae3639def57e4833c434ae816ea82271e">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:gae3639def57e4833c434ae816ea82271e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:ga5831245ed303c2103ab06af079cb8cf9"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> | ||
103 | <tr·class="memitem:ga5831245ed303c2103ab06af079cb8cf9"><td·class="memTemplItemLeft"·align="right"·valign="top">CallableFunctionWrapper<·F·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga5831245ed303c2103ab06af079cb8cf9">Dune::Functions::callable</a>·(const·std::shared_ptr<·F·>·&fp)</td></tr> | ||
104 | <tr·class="memdesc:ga5831245ed303c2103ab06af079cb8cf9"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·callable·object·from·std::shared_ptr<F>··<a·href="a00209.html#ga5831245ed303c2103ab06af079cb8cf9">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator: | 105 | <tr·class="separator:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | </table> | 106 | </table> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
111 | </small></address> | 111 | </small></address> |
112 | </body> | 112 | </body> |
Offset 6, 37 lines modified | Offset 6, 35 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces·|·Functions | 10 | Classes·|·Namespaces·|·Functions |
11 | 11 | multiindex.hh·File·Reference | |
12 | #include·<cstddef> | ||
12 | #include·< | 13 | #include·<array> |
14 | #include·<iostream> | ||
13 | #include·<functional> | ||
14 | #include·<dune/common/function.hh> | ||
15 | #include·<dune/common/ | 15 | #include·<dune/common/hash.hh> |
16 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | 17 | ·Classes |
18 | class· Dune::Functions::CallableFunctionWrapper<_F_> | ||
19 | 18 | ·class· Dune::Functions::StaticMultiIndex<_size_type,_n_> | |
19 | ·······A·statically·sized·MultiIndex·type.·More... | ||
20 | |||
21 | ·class· Dune::Functions::StaticMultiIndex<_size_type,_1_> | ||
22 | ·······A·statically·sized·MultiIndex·type.·More... | ||
23 | |||
24 | struct· std::tuple_size<_Dune::Functions::StaticMultiIndex<_size_type,_n_>_> | ||
20 | 25 | ||
21 | ·Namespaces | 26 | ·Namespaces |
22 | namespace· Dune | 27 | namespace· Dune |
23 | 28 | ||
24 | namespace· Dune::Functions | 29 | namespace· Dune::Functions |
25 | 30 | ||
26 | ·Functions | 31 | ·Functions |
32 | template<typename·Stream·,·class·size_type·,·std::size_t·n> | ||
33 | Stream·& Dune::Functions::operator<<·(Stream·&stream,·const·StaticMultiIndex< | ||
34 | ··········size_type,·n·>·&c) | ||
27 | template<class·F·> | ||
28 | CallableFunctionWrapper<·F·> Dune::Functions::callable·(const·F·&f) | ||
29 | ····························Create·a·callable·object·from·some·Dune:: | ||
30 | ······························VirtualFunction.·More... | ||
31 | |||
32 | template<class·F·> | ||
33 | CallableFunctionWrapper<·F·> Dune::Functions::callable·(const·std::shared_ptr< | ||
34 | ······························F·>·&fp) | ||
35 | ····························Create·a·callable·object·from·std::shared_ptr<F> | ||
36 | ······························More... | ||
37 | 35 | ||
38 | =============================================================================== | 36 | =============================================================================== |
39 | ·····Generated·by [doxygen]·1.9.4 | 37 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·multiindex.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 90 lines modified | Offset 62, 98 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">multiindex.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cstddef></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<array></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<iostream></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/function.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/ | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hash.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a0021 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
90 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01263.html">···23</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a>·:</div> |
89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">public</span>·std::array<size_type,·n></div> | ||
91 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> |
92 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">using·</span>Range·=·<span·class="keyword">typename</span>·F::RangeType;</div> | ||
93 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>Domain·=·<span·class="keyword">typename</span>·F::DomainType;</div> | ||
94 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
95 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">public</span>:</div> |
92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01263.html#a447f3574395ba840fdca4ce12586caa0">···27</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01263.html#a447f3574395ba840fdca4ce12586caa0">size</a>()·{·<span·class="keywordflow">return</span>·n;·}</div> | ||
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01263.html#ae2acb6d4f8e9af393eea105ef6220119">···29</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01263.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> | ||
96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> | ||
96 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
97 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>};</div> |
99 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</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>·</div> | ||
102 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
103 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01267.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a><size_type,1>·:</div> | ||
104 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>·std::array<size_type,·1></div> | ||
105 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>{</div> | ||
106 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> | ||
98 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>· | 107 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
99 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····· | 108 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01267.html#a4d9eba5c2afef532845eb32f3c92fddb">···52</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01267.html#a4d9eba5c2afef532845eb32f3c92fddb">s[·...·truncated·by·diffoscope;·len:·56,·SHA:·a90fce96e1297211546dfea3a56ac646d472fd1a20c671fb626ba42b8b4a6021·...·]</div> |
100 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>· | 109 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01267.html#a04d0165dfe084b48e67ee75b72a4c046">···54</a></span>··<span·class="keyword">operator</span>·<span·class="keyword">const</span>·size_type&·()·<span·class="keyword">const</span>·{</div> | ||
111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··}</div> | ||
101 | <div·class="line"><a·id="l0005 | 113 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01067.html#af374bad6d7410748c48c4cfdf085fd56">···61</a></span>····<a·class="code·hl_function"·href="a01067.html#af374bad6d7410748c48c4cfdf085fd56">CallableFunctionWrapper</a>(<span·class="keyword">const</span>·std::shared_ptr<const·F>&·f)·:</div> | ||
103 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">···58</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01267.htm[·...·truncated·by·diffoscope;·len:·199,·SHA:·ffbacc446478505e14c5d2594ea477a6293fb59ac6919495cccb2df0a24f6e76·...·]</div> |
115 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> | ||
104 | <div·class="line"><a·id="l0006 | 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>·</div> | ||
118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01267.html#a43e775f6e3306b3479e3c35b6b8c2dd2">···62</a></span>··<span·class="keyword">operator</span>·size_type&·()·{</div> | ||
119 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
105 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> |
106 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01067.html#a08670433e1fd5804af96dfa0b73edea2">···70</a></span>····Range·<a·class="code·hl_function"·href="a01067.html#a08670433e1fd5804af96dfa0b73edea2">operator()</a>(<span·class="keyword">const</span>·Domain&·x)<span·class="keyword">·const</span></div> | ||
107 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
122 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>};</div> | ||
108 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
109 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
125 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
126 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Stream,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">···71</a></span><span·class="keyword">inline</span>·Stream&·<a·class="code·hl_function"·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">operator<<</a>(Stream&·stream,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex<size_type,n></a>&·c)·{</div> | ||
128 | <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>&·ci·:·c)</div> | ||
129 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····stream·<<·ci·<<·<span·class="stringliteral">"··"</span>;</div> | ||
110 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·· | 130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keywordflow">return</span>·stream;</div> |
111 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span> | 131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> |
112 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 132 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
113 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">private</span>:</div> | ||
114 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····std::shared_ptr<const·F>·f_;</div> | ||
115 | <div·class="line"><a·id="l0007 | 133 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
134 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
116 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 136 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
137 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
138 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01271.html">···82</a></span><span·class="keyword">struct·</span>std::tuple_size<·<a·class="code·hl_namespace"·href="a00218.html">Dune</a>::Functions::StaticMultiIndex<size_type,n>·></div> | ||
139 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··:·std::integral_constant<std::size_t,·n>·{·};</div> | ||
117 | <div·class="line"><a·id="l0008 | 140 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
141 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>DUNE_DEFINE_HASH(DUNE_HASH_TEMPLATE_ARGS(<span·class="keyword">typename</span>·size_type,·std::size_t·n),DUNE_HASH_TYPE(<a·class="code·hl_class"·href="a01263.html">Dune::Functions::StaticMultiIndex<size_type,n></a>))</div> | ||
118 | <div·class="line"><a·id="l0008 | 142 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
119 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
120 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">··105</a></span><a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>·<a·class="code·hl_function"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">callable</a>(<span·class="keyword">const</span>·F&·f)</div> | ||
121 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>{</div> | ||
122 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>(f);</div> | ||
123 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div> | ||
124 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
125 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
126 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span><span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
127 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a00209.html#ga5831245ed303c2103ab06af079cb8cf9">··137</a></span><a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>·<a·class="code·hl_function"·href="a00209.html#gae3639def57e4833c434ae816ea82271e">callable</a>(<span·class="keyword">const</span>·std::shared_ptr<F>&·fp)</div> | ||
128 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>{</div> | ||
129 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01067.html">CallableFunctionWrapper<F></a>(fp);</div> | ||
130 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>}</div> | ||
131 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> | ||
132 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> | ||
133 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> | ||
134 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>}·<span·class="comment">//·namespace·Functions</span></div> | ||
135 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
136 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> | ||
Max diff block lines reached; 4062/26904 bytes (15.10%) of diff not shown. |
Offset 5, 100 lines modified | Offset 5, 109 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | multiindex.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<cstddef> | ||
16 | · | 17 | ·7#include·<array> |
18 | ·8#include·<iostream> | ||
19 | ·9 | ||
17 | ·7#include·<functional> | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/function.hh> | ||
20 | ·10#include·<dune/common/ | 20 | ·10#include·<dune/common/hash.hh> |
21 | ·11 | 21 | ·11 |
22 | ·12 | 22 | ·12 |
23 | ·13namespace·Dune·{ | ||
24 | ·1 | 23 | ·13namespace·Dune::Functions·{ |
24 | ·14 | ||
25 | ·15 | 25 | ·15 |
26 | ·16 | 26 | ·16 |
27 | ·22template<class·size_type,·std::size_t·n> | ||
28 | 23class·StaticMultiIndex·: | ||
29 | ·24·public·std::array<size_type,·n> | ||
30 | ·25{ | ||
27 | ·17 | ||
28 | ·18 | ||
29 | ·36template<class·F> | ||
30 | 37class·CallableFunctionWrapper | ||
31 | ·38{ | ||
32 | ·39·using·Range·=·typename·F::RangeType; | ||
33 | ·40·using·Domain·=·typename·F::DomainType; | ||
34 | ·41 | ||
35 | · | 31 | ·26public: |
36 | ·43 | ||
37 | 50·CallableFunctionWrapper(const·F&·f) | ||
38 | ·51·{ | ||
39 | · | 32 | 27·static·constexpr·std::size_t·size()·{·return·n;·} |
33 | ·28 | ||
34 | 29·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ | ||
35 | ·30·return·hash_range(v.begin(),·v.end()); | ||
40 | · | 36 | ·31·} |
41 | ·54 | ||
42 | 61·CallableFunctionWrapper(const·std::shared_ptr<const·F>&·f)·: | ||
43 | ·62·f_(f) | ||
44 | · | 37 | ·32 |
38 | ·33}; | ||
39 | ·34 | ||
40 | ·35 | ||
41 | ·36 | ||
42 | ·46template<class·size_type> | ||
43 | 47class·StaticMultiIndex<size_type,1>·: | ||
44 | ·48·public·std::array<size_type,·1> | ||
45 | ·49{ | ||
46 | ·50public: | ||
47 | ·51 | ||
48 | 52·static·constexpr·std::size_t·size()·{·return·1;·} | ||
49 | ·53 | ||
50 | 54·operator·const·size_type&·()·const·{ | ||
51 | ·55·return·(*this)[0]; | ||
52 | ·56·} | ||
53 | ·57 | ||
54 | 58·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ | ||
55 | ·59·return·hash_range(v.begin(),·v.end()); | ||
56 | ·60·} | ||
57 | ·61 | ||
58 | 62·operator·size_type&·()·{ | ||
59 | ·63·return·(*this)[0]; | ||
45 | ·64 | 60 | ·64·} |
46 | 70·Range·operator()(const·Domain&·x)·const | ||
47 | ·71·{ | ||
48 | ·72·Range·y; | ||
49 | · | 61 | ·65 |
62 | ·66}; | ||
63 | ·67 | ||
64 | ·68 | ||
65 | ·69 | ||
66 | ·70template<typename·Stream,·class·size_type,·std::size_t·n> | ||
67 | 71inline·Stream&·operator<<(Stream&·stream,·const | ||
68 | StaticMultiIndex<size_type,n>&·c)·{ | ||
69 | ·72·for·(const·auto&·ci·:·c) | ||
70 | ·73·stream·<<·ci·<<·"·"; | ||
50 | ·74·return· | 71 | ·74·return·stream; |
51 | ·75 | 72 | ·75} |
52 | ·76 | 73 | ·76 |
53 | ·77·private: | ||
54 | ·78·std::shared_ptr<const·F>·f_; | ||
55 | ·7 | 74 | ·77 |
75 | ·78 | ||
76 | ·79}·//·namespace·Dune::Functions | ||
56 | ·80 | 77 | ·80 |
78 | ·81template<class·size_type,·std::size_t·n> | ||
79 | 82struct·std::tuple_size<·Dune::Functions::StaticMultiIndex<size_type,n>·> | ||
80 | ·83·:·std::integral_constant<std::size_t,·n>·{·}; | ||
81 | ·84 | ||
82 | ·85DUNE_DEFINE_HASH(DUNE_HASH_TEMPLATE_ARGS(typename·size_type,·std::size_t | ||
83 | n),DUNE_HASH_TYPE(Dune::Functions::StaticMultiIndex<size_type,n>)) | ||
84 | ·86 | ||
57 | ·81 | ||
58 | ·82 | ||
59 | ·104template<class·F> | ||
60 | 105CallableFunctionWrapper<F>·callable(const·F&·f) | ||
61 | ·106{ | ||
62 | ·107·return·CallableFunctionWrapper<F>(f); | ||
63 | ·108} | ||
64 | ·109 | ||
65 | ·110 | ||
66 | ·136template<class·F> | ||
67 | 137CallableFunctionWrapper<F>·callable(const·std::shared_ptr<F>&·fp) | ||
68 | ·138{ | ||
69 | ·139·return·CallableFunctionWrapper<F>(fp); | ||
70 | ·140} | ||
71 | ·141 | ||
72 | ·142 | ||
73 | ·143 | ||
74 | ·144}·//·namespace·Functions | ||
75 | ·145}·//·namespace·Dune | ||
76 | ·146 | ||
77 | · | 85 | ·87#endif·//·DUNE_FUNCTIONS_COMMON_MULTIINDEX_HH |
Max diff block lines reached; 1619/5049 bytes (32.07%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·functionfromcallable.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 64, 49 lines modified | Offset 64, 35 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#func-members">Functions</a>··</div> | ||
73 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">functionfromcallable.hh·File·Reference</div></div> |
74 | </div><!--header--> | 73 | </div><!--header--> |
75 | <div·class="contents"> | 74 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·<c | 75 | <div·class="textblock"><code>#include·<dune/common/function.hh></code><br·/> |
76 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
77 | <code>#include·<array></code><br·/> | ||
78 | <code>#include·<iostream></code><br·/> | ||
79 | <code>#include·<dune/common/hash.hh></code><br·/> | ||
80 | </div> | 77 | </div> |
81 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
84 | Classes</h2></td></tr> | 81 | Classes</h2></td></tr> |
82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01215.html">Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·></a></td></tr> | ||
83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction.··<a·href="a01215.html#details">More...</a><br·/></td></tr> | ||
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01263.html">Dune::Functions::StaticMultiIndex<·size_type,·n·></a></td></tr> | ||
86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01263.html#details">More...</a><br·/></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01267.html">Dune::Functions::StaticMultiIndex<·size_type,·1·></a></td></tr> | ||
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·statically·sized·MultiIndex·type.··<a·href="a01267.html#details">More...</a><br·/></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01271.html">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 85 | </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="namespaces"·name="namespaces"></a> |
95 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplParams"·colspan="2">template<typename·Stream·,·class·size_type·,·std::size_t·n>·</td></tr> | ||
104 | <tr·class="memitem:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">Dune::Functions::operator<<</a>·(Stream·&stream,·const·StaticMultiIndex<·size_type,·n·>·&c)</td></tr> | ||
105 | <tr·class="separator:af1c4bfbe0c688f745e4731c519db55dd"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | </table> | 92 | </table> |
107 | </div><!--·contents·--> | 93 | </div><!--·contents·--> |
108 | <!--·start·footer·part·--> | 94 | <!--·start·footer·part·--> |
109 | <hr·class="footer"/><address·class="footer"><small> | 95 | <hr·class="footer"/><address·class="footer"><small> |
110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
111 | </small></address> | 97 | </small></address> |
112 | </body> | 98 | </body> |
Offset 5, 36 lines modified | Offset 5, 26 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces | 9 | Classes·|·Namespaces |
10 | functionfromcallable.hh·File·Reference | ||
10 | multiindex.hh·File·Reference | ||
11 | #include·<cstddef> | ||
12 | #include·<array> | ||
13 | #include·<iostream> | ||
14 | #include·<dune/common/ | 11 | #include·<dune/common/function.hh> |
12 | #include·<dune/functions/common/signature.hh> | ||
15 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
16 | ·Classes | 14 | ·Classes |
15 | class· Dune::Functions::FunctionFromCallable<_Range(Domain),_F, | ||
16 | ········FunctionInterface_> | ||
17 | ······Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction. | ||
18 | ········More... | ||
17 | ·class· Dune::Functions::StaticMultiIndex<_size_type,_n_> | ||
18 | ·······A·statically·sized·MultiIndex·type.·More... | ||
19 | |||
20 | ·class· Dune::Functions::StaticMultiIndex<_size_type,_1_> | ||
21 | ·······A·statically·sized·MultiIndex·type.·More... | ||
22 | |||
23 | struct· std::tuple_size<_Dune::Functions::StaticMultiIndex<_size_type,_n_>_> | ||
24 | 19 | ||
25 | ·Namespaces | 20 | ·Namespaces |
26 | namespace· Dune | 21 | namespace· Dune |
27 | 22 | ||
28 | namespace· Dune::Functions | 23 | namespace· Dune::Functions |
29 | 24 | ||
30 | ·Functions | ||
31 | template<typename·Stream·,·class·size_type·,·std::size_t·n> | ||
32 | Stream·& Dune::Functions::operator<<·(Stream·&stream,·const·StaticMultiIndex< | ||
33 | ··········size_type,·n·>·&c) | ||
34 | |||
35 | =============================================================================== | 25 | =============================================================================== |
36 | ·····Generated·by [doxygen]·1.9.4 | 26 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·functionfromcallable.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 98 lines modified | Offset 62, 73 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">functionfromcallable.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<c | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/function.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<iostrea | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/signature.hh</a>></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hash.hh></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
82 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Signature,·<span·class="keyword">class·</span>F,</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">class·</span>FunctionInterface·=·<span·class="keyword">typename</span>·Dune::VirtualFunction<</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">typename</span>·SignatureTraits<Signature>::RawDomain,</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="keyword">typename</span>·SignatureTraits<Signature>::RawRange>·></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a01211.html">···20</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01211.html">FunctionFromCallable</a>;</div> | ||
86 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·F,·<span·class="keyword">class</span>·FunctionInterface></div> | ||
93 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01215.html">···38</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01211.html">FunctionFromCallable</a><Range(Domain),·F,·FunctionInterface>·:</div> | ||
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01263.html">···23</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a>·:</div> | ||
89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">public</span>·std::array<size_type,·n></div> | ||
90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
91 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>·FunctionInterface</div> |
92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01263.html#a447f3574395ba840fdca4ce12586caa0">···27</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01263.html#a447f3574395ba840fdca4ce12586caa0">size</a>()·{·<span·class="keywordflow">return</span>·n;·}</div> | ||
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01263.html#ae2acb6d4f8e9af393eea105ef6220119">···29</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01263.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</div> | ||
96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div> | ||
97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
98 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>};</div> | ||
99 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</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>·</div> | ||
102 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
103 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01267.html">···47</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a><size_type,1>·:</div> | ||
104 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">public</span>·std::array<size_type,·1></div> | ||
105 | <div·class="line"><a·id="l0004 | 95 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> |
106 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> |
97 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
98 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01215.html#a457340c945d3413b6285f28fde39a68b">···52</a></span>··<a·class="code·hl_function"·href="a01215.html#a457340c945d3413b6285f28fde39a68b">FunctionFromCallable</a>(F&&·f)·:</div> | ||
99 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····f_(f)</div> | ||
100 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··{}</div> | ||
107 | <div·class="line"><a·id="l0005 | 101 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
102 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01215.html#ae834ef8c2c819c027517478951ef332f">···64</a></span>··<a·class="code·hl_function"·href="a01215.html#ae834ef8c2c819c027517478951ef332f">FunctionFromCallable</a>(<span·class="keyword">const</span>·F&·f)·:</div> | ||
108 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01267.html#a4d9eba5c2afef532845eb32f3c92fddb">···52</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a01267.html#a4d9eba5c2afef532845eb32f3c92fddb">size</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
109 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01267.html#a04d0165dfe084b48e67ee75b72a4c046">···54</a></span>··<span·class="keyword">operator</span>·<span·class="keyword">const</span>·size_type&·()·<span·class="keyword">const</span>·{</div> | ||
111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··}</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"><a·class="line"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">···58</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">friend</span>·std::size_t·<a·class="code·hl_friend"·href="a01267.html#ae2acb6d4f8e9af393eea105ef6220119">hash_value</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex</a>&·v)·<span·class="keyword">noexcept</span>·{</div> | ||
115 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keywordflow">return</span>·hash_range(v.begin(),·v.end());</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>·</div> | ||
118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01267.html#a43e775f6e3306b3479e3c35b6b8c2dd2">···62</a></span>··<span·class="keyword">operator</span>·size_type&·()·{</div> | ||
119 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·(*<span·class="keyword">this</span>)[0];</div> | ||
120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> | ||
121 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 103 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····f_(f)</div> |
122 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span> | 104 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{}</div> |
123 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 105 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
106 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01215.html#a6aca1daa3b7cbe5c186121333ceb21f7">···73</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01215.html#a6aca1daa3b7cbe5c186121333ceb21f7">evaluate</a>(<span·class="keyword">const</span>·Domain&·x,·Range&y)<span·class="keyword">·const</span></div> | ||
124 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
125 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
126 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·Stream,·<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">···71</a></span><span·class="keyword">inline</span>·Stream&·<a·class="code·hl_function"·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">operator<<</a>(Stream&·stream,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex<size_type,n></a>&·c)·{</div> | ||
128 | <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>&·ci·:·c)</div> | ||
129 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····stream·<<·ci·<<·<span·class="stringliteral">"··"</span>;</div> | ||
130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span> | 107 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">··</span>{</div> |
131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span> | 108 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····y·=·f_(x);</div> |
132 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 109 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> |
133 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
111 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div> | ||
134 | <div·class="line"><a·id="l0007 | 112 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··F·f_;</div> |
135 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
136 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span> | 113 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>};</div> |
137 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
138 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01271.html">···82</a></span><span·class="keyword">struct·</span>std::tuple_size<·<a·class="code·hl_namespace"·href="a00218.html">Dune</a>::Functions::StaticMultiIndex<size_type,n>·></div> | ||
139 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··:·std::integral_constant<std::size_t,·n>·{·};</div> | ||
140 | <div·class="line"><a·id="l0008 | 114 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
141 | <div·class="line"><a·id="l0008 | 115 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
116 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | ||
117 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}·<span·class="comment">//·namespace·Functions</span></div> | ||
118 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">//·namespace·Dune</span></div> | ||
142 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | 119 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
143 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#endif·</span><span·class="comment">// | 120 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#endif·</span><span·class="comment">//DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH</span></div> |
121 | <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">signature.hh</a></div></div> | ||
144 | <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">Dune</a></div><div·class="ttdef"><b>Definition:</b>·polynomial.hh:10</div></div> | 122 | <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">Dune</a></div><div·class="ttdef"><b>Definition:</b>·polynomial.hh:10</div></div> |
123 | <div·class="ttc"·id="aa01211_html"><div·class="ttname"><a·href="a01211.html">Dune::Functions::FunctionFromCallable</a></div><div·class="ttdef"><b>Definition:</b>·functionfromcallable.hh:20</div></div> | ||
124 | <div·class="ttc"·id="aa01215_html_a457340c945d3413b6285f28fde39a68b"><div·class="ttname"><a·href="a01215.html#a457340c945d3413b6285f28fde39a68b">Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>::FunctionFromCallable</a></div><div·class="ttdeci">FunctionFromCallable(F·&&f)</div><div·class="ttdoc">Create·VirtualFunction·from·callable·object.</div><div·class="ttdef"><b>Definition:</b>·functionfromcallable.hh:52</div></div> | ||
125 | <div·class="ttc"·id="aa01215_html_a6aca1daa3b7cbe5c186121333ceb21f7"><div·class="ttname"><a·href="a01215.html#a6aca1daa3b7cbe5c186121333ceb21f7">Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>::evaluate</a></div><div·class="ttdeci">void·evaluate(const·Domain·&x,·Range·&y)·const</div><div·class="ttdoc">Evaluate·function.</div><div·class="ttdef"><b>Definition:</b>·functionfromcallable.hh:73</div></div> | ||
126 | <div·class="ttc"·id="aa01215_html_ae834ef8c2c819c027517478951ef332f"><div·class="ttname"><a·href="a01215.html#ae834ef8c2c819c027517478951ef332f">Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>::FunctionFromCallable</a></div><div·class="ttdeci">FunctionFromCallable(const·F·&f)</div><div·class="ttdoc">Create·VirtualFunction·from·callable·object.</div><div·class="ttdef"><b>Definition:</b>·functionfromcallable.hh:64</div></div> | ||
145 | <div·class="ttc"·id="aa00219_html"><div·class="ttname"><a·href="a00219.html">Dune::Functions</a></div><div·class="ttdef"><b>Definition:</b>·polynomial.hh:11</div></div> | ||
146 | <div·class="ttc"·id="aa00219_html_af1c4bfbe0c688f745e4731c519db55dd"><div·class="ttname"><a·href="a00219.html#af1c4bfbe0c688f745e4731c519db55dd">Dune::Functions::operator<<</a></div><div·class="ttdeci">Stream·&·operator<<(Stream·&stream,·const·StaticMultiIndex<·size_type,·n·>·&c)</div><div·class="ttdef"><b>Definition:</b>·multiindex.hh:71</div></div> | ||
147 | <div·class="ttc"·id="aa01263_html"><div·class="ttname"><a·href="a01263.html">Dune::Functions::StaticMultiIndex</a></div><div·class="ttdoc">A·statically·sized·MultiIndex·type.</div><div·class="ttdef"><b>Definition:</b>·multiindex.hh:25</div></div> | ||
Max diff block lines reached; 271/24466 bytes (1.11%) of diff not shown. |
Offset 5, 109 lines modified | Offset 5, 82 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | functionfromcallable.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<cstddef> | ||
17 | ·7#include·<array> | ||
18 | · | 16 | ·6#include·<dune/common/function.hh> |
17 | ·7 | ||
18 | ·8#include·<dune/functions/common/signature.hh> | ||
19 | ·9 | 19 | ·9 |
20 | ·10 | ||
21 | ·11namespace·Dune·{ | ||
20 | ·10#include·<dune/common/hash.hh> | ||
21 | ·11 | ||
22 | ·12 | ||
23 | ·1 | 22 | ·12namespace·Functions·{ |
23 | ·13 | ||
24 | ·14 | 24 | ·14 |
25 | ·15 | 25 | ·15 |
26 | ·16 | ||
27 | ·22template<class·size_type,·std::size_t·n> | ||
28 | 23class·StaticMultiIndex·: | ||
29 | ·24·public·std::array<size_type,·n> | ||
30 | · | 26 | ·16template<class·Signature,·class·F, |
27 | ·17·class·FunctionInterface·=·typename·Dune::VirtualFunction< | ||
28 | ·18·typename·SignatureTraits<Signature>::RawDomain, | ||
29 | ·19·typename·SignatureTraits<Signature>::RawRange>·> | ||
30 | 20class·FunctionFromCallable; | ||
31 | ·21 | ||
32 | ·37template<class·Range,·class·Domain,·class·F,·class·FunctionInterface> | ||
33 | 38class·FunctionFromCallable<Range(Domain),·F,·FunctionInterface>·: | ||
34 | ·39·public·FunctionInterface | ||
35 | ·40{ | ||
31 | · | 36 | ·41public: |
37 | ·42 | ||
38 | 52·FunctionFromCallable(F&&·f)·: | ||
39 | ·53·f_(f) | ||
40 | ·54·{} | ||
41 | ·55 | ||
42 | 64·FunctionFromCallable(const·F&·f)·: | ||
43 | ·65·f_(f) | ||
44 | ·66·{} | ||
32 | 27·static·constexpr·std::size_t·size()·{·return·n;·} | ||
33 | ·28 | ||
34 | 29·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ | ||
35 | ·30·return·hash_range(v.begin(),·v.end()); | ||
36 | ·31·} | ||
37 | ·32 | ||
38 | ·33}; | ||
39 | ·34 | ||
40 | ·35 | ||
41 | ·36 | ||
42 | ·46template<class·size_type> | ||
43 | 47class·StaticMultiIndex<size_type,1>·: | ||
44 | ·48·public·std::array<size_type,·1> | ||
45 | ·49{ | ||
46 | ·50public: | ||
47 | ·51 | ||
48 | 52·static·constexpr·std::size_t·size()·{·return·1;·} | ||
49 | ·53 | ||
50 | 54·operator·const·size_type&·()·const·{ | ||
51 | ·55·return·(*this)[0]; | ||
52 | ·56·} | ||
53 | ·57 | ||
54 | 58·inline·friend·std::size_t·hash_value(const·StaticMultiIndex&·v)·noexcept·{ | ||
55 | ·59·return·hash_range(v.begin(),·v.end()); | ||
56 | ·60·} | ||
57 | ·61 | ||
58 | 62·operator·size_type&·()·{ | ||
59 | ·63·return·(*this)[0]; | ||
60 | ·64·} | ||
61 | ·65 | ||
62 | ·66}; | ||
63 | ·67 | 45 | ·67 |
46 | 73·void·evaluate(const·Domain&·x,·Range&y)·const | ||
47 | ·74·{ | ||
48 | ·75·y·=·f_(x); | ||
64 | ·68 | ||
65 | ·69 | ||
66 | ·70template<typename·Stream,·class·size_type,·std::size_t·n> | ||
67 | 71inline·Stream&·operator<<(Stream&·stream,·const | ||
68 | StaticMultiIndex<size_type,n>&·c)·{ | ||
69 | ·72·for·(const·auto&·ci·:·c) | ||
70 | ·73·stream·<<·ci·<<·"·"; | ||
71 | ·74·return·stream; | ||
72 | ·75} | ||
73 | ·76 | 49 | ·76·} |
74 | ·77 | 50 | ·77 |
75 | ·78 | 51 | ·78private: |
52 | ·79·F·f_; | ||
53 | ·80}; | ||
54 | ·81 | ||
55 | ·82 | ||
56 | ·83 | ||
76 | · | 57 | ·84}·//·namespace·Functions |
58 | ·85}·//·namespace·Dune | ||
77 | ·80 | ||
78 | ·81template<class·size_type,·std::size_t·n> | ||
79 | 82struct·std::tuple_size<·Dune::Functions::StaticMultiIndex<size_type,n>·> | ||
80 | ·83·:·std::integral_constant<std::size_t,·n>·{·}; | ||
81 | ·84 | ||
82 | ·85DUNE_DEFINE_HASH(DUNE_HASH_TEMPLATE_ARGS(typename·size_type,·std::size_t | ||
83 | n),DUNE_HASH_TYPE(Dune::Functions::StaticMultiIndex<size_type,n>)) | ||
84 | ·86 | 59 | ·86 |
85 | ·87#endif·// | 60 | ·87#endif·//DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH |
61 | signature.hh | ||
86 | Dune | 62 | Dune |
87 | Definition:·polynomial.hh:10 | 63 | Definition:·polynomial.hh:10 |
64 | Dune::Functions::FunctionFromCallable | ||
65 | Definition:·functionfromcallable.hh:20 | ||
66 | Dune::Functions::FunctionFromCallable<_Range(Domain),_F,_FunctionInterface_>:: | ||
67 | FunctionFromCallable | ||
68 | FunctionFromCallable(F·&&f) | ||
69 | Create·VirtualFunction·from·callable·object. | ||
70 | Definition:·functionfromcallable.hh:52 | ||
71 | Dune::Functions::FunctionFromCallable<_Range(Domain),_F,_FunctionInterface_>:: | ||
72 | evaluate | ||
Max diff block lines reached; 116/4799 bytes (2.42%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·local | 8 | <title>dune-functions:·polymorphicsmallobject.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 33 lines modified | Offset 65, 26 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">local | 72 | ··<div·class="headertitle"><div·class="title">polymorphicsmallobject.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<utility></code><br·/> |
76 | <code>#include·< | 76 | <code>#include·<type_traits></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00023_source.html">dune/functions/common/localfunction_imp.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00026_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
82 | </div> | 77 | </div> |
83 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
86 | Classes</h2></td></tr> | 81 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01279.html">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·></a></td></tr> |
83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·providing·small·object·optimization·with·polymorphic·types.··<a·href="a01279.html#details">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01251.html">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·storing·local·functions·using·type·erasure.··<a·href="a01251.html#details">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | 85 | </table><table·class="memberdecls"> |
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
94 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
Offset 6, 30 lines modified | Offset 6, 22 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·common | 9 | ····*·common |
10 | Classes·|·Namespaces | 10 | Classes·|·Namespaces |
11 | local | 11 | polymorphicsmallobject.hh·File·Reference |
12 | #include·<utility> | ||
12 | #include·<type_traits> | 13 | #include·<type_traits> |
13 | #include·<dune/common/typeutilities.hh> | ||
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction.hh> | ||
16 | #include·<dune/functions/common/localfunction_imp.hh> | ||
17 | #include·<dune/functions/common/typeerasure.hh> | ||
18 | #include·<dune/functions/common/functionconcepts.hh> | ||
19 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | 15 | ·Classes |
16 | class· Dune::Functions::PolymorphicSmallObject<_Base,_bufferSize_> | ||
17 | ······A·wrapper·providing·small·object·optimization·with·polymorphic·types. | ||
18 | ········More... | ||
21 | class· Dune::Functions::LocalFunction<_Signature,_LocalContext, | ||
22 | ········DerivativeTraits,_bufferSize_> | ||
23 | |||
24 | class· Dune::Functions::LocalFunction<_Range(Domain),_LocalContext, | ||
25 | ········DerivativeTraits,_bufferSize_> | ||
26 | ······Class·storing·local·functions·using·type·erasure.·More... | ||
27 | 19 | ||
28 | ·Namespaces | 20 | ·Namespaces |
29 | namespace· Dune | 21 | namespace· Dune |
30 | 22 | ||
31 | namespace· Dune::Functions | 23 | namespace· Dune::Functions |
32 | 24 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·local | 8 | <title>dune-functions:·polymorphicsmallobject.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 152 lines modified | Offset 62, 164 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title">local | 68 | ··<div·class="headertitle"><div·class="title">polymorphicsmallobject.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_LOCAL | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_LOCAL | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<utility></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00023.html">dune/functions/common/localfunction_imp.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00026.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>Functions·{</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l000 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
92 | <div·class="line"><a·id="l000 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Base,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">/*</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*/</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
99 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01279.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a></div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{};</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Imp</div> | ||
105 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> |
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
107 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·L,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
108 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">struct·</span>LocalFunctionTraits·:</div> | ||
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> | ||
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">protected</span>:</div> | ||
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> | ||
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
114 | <div·class="line"><a·id="l0004 | 86 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</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">using·</span>LocalContext·=·L;</div> | ||
116 | <div·class="line"><a·id="l0004 | 87 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
117 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01279.html#ab91da8192c7c5d7a796d79145ce97c84">···49</a></span>··<a·class="code·hl_function"·href="a01279.html#ab91da8192c7c5d7a796d79145ce97c84">PolymorphicSmallObject</a>()·:</div> |
89 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····p_(nullptr)</div> | ||
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 90 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{}</div> |
119 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01243.html">LocalFunction<DerivativeSignature,·L,·DerivativeTraits,·bufferSize></a>;</div> | ||
120 | <div·class="line"><a·id="l0005 | 91 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
121 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>Concept·=·LocalFunctionWrapperInterface<S,·DerivativeInterface,·L>;</div> | ||
122 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
123 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·· | 92 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Derived,</div> |
124 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">using·</span>Model·=·LocalFunctionWrapperImplementation<S,·DerivativeInterface,·L,·B>;</div> | ||
125 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div> | ||
126 | <div·class="line"><a·id="l0006 | 93 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">typename</span>·std::enable_if<std::is_base_of<Base,·std::remove_cv_t<</div> |
94 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··········std::remove_reference_t<Derived>>>::value,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
95 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01279.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">···62</a></span>··<a·class="code·hl_function"·href="a01279.html#a480e7b17ee91d54d4cf4c7d33bfd67d9">PolymorphicSmallObject</a>(Derived&&·derived)</div> | ||
127 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 96 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div> |
97 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·useBuffer·=·<span·class="keyword">sizeof</span>(Derived)·<=·bufferSize;</div> | ||
98 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(useBuffer)·{</div> | ||
99 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······p_·=·<span·class="keyword">new</span>·(&buffer_)·Derived(std::forward<Derived>(derived));</div> | ||
100 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}·<span·class="keywordflow">else</span>·{</div> | ||
101 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······p_·=·<span·class="keyword">new</span>·Derived(std::forward<Derived>(derived));</div> | ||
102 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div> | ||
103 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> | ||
104 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
105 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01279.html#a4b1d4df1c0a49f22c3da8beff0412560">···73</a></span>··<a·class="code·hl_function"·href="a01279.html#a4b1d4df1c0a49f22c3da8beff0412560">PolymorphicSmallObject</a>(<a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a>&&·other)·<span·class="keyword">noexcept</span></div> | ||
128 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div> |
107 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····moveToWrappedObject(std::move(other));</div> | ||
129 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> |
109 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
110 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01279.html#a9d9b0d1436228de2c11df7acacad66ae">···79</a></span>··<a·class="code·hl_function"·href="a01279.html#a9d9b0d1436228de2c11df7acacad66ae">PolymorphicSmallObject</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a>&·other)</div> | ||
130 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·LocalContext,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
131 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01251.html">···87</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01243.html">LocalFunction</a><·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>·:</div> | ||
132 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01351.html">TypeErasureBase</a><</div> | ||
133 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>::Concept,</div> | ||
134 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize>::template·Model></div> | ||
135 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div> |
136 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····copyToWrappedObject(other);</div> |
113 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··}</div> | ||
137 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
138 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01279.html#aa0714dd1c60221fbbd867f9796ccf722">···85</a></span>··<a·class="code·hl_function"·href="a01279.html#aa0714dd1c60221fbbd867f9796ccf722">~PolymorphicSmallObject</a>()</div> |
116 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> | ||
117 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····destroyWrappedObject();</div> | ||
118 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> | ||
139 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
140 | <div·class="line"><a·id="l0009 | 120 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01279.html#a540e643bdb360a590d5571d82509e119">···91</a></span>··<a·class="code·hl_class"·href="a01279.html">PolymorphicSmallObject</a>&·<a·class="code·hl_function"·href="a01279.html#a540e[·...·truncated·by·diffoscope;·len:·161,·SHA:·1758bbc057fd51d483d467a764fb34df70787f3422cfba89e991962043b78347·...·]</div> |
121 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··{</div> | ||
122 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordflow">if</span>·(&other!=<span·class="keyword">this</span>)</div> | ||
123 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div> | ||
124 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······destroyWrappedObject();</div> | ||
125 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······copyToWrappedObject(other);</div> | ||
141 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | 126 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> |
142 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">p | 127 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> |
143 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | 128 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div> |
144 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F,·disableCopyMove<LocalFunction,·F>·=·0·></div> | ||
145 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01251.html#a6d54d317a0068c6bcb27a937afac321d">··112</a></span>··<a·class="code·hl_function"·href="a01251.html#a6d54d317a0068c6bcb27a937afac321d">LocalFunction</a>(F&&·f)·:</div> | ||
Max diff block lines reached; 19446/49107 bytes (39.60%) of diff not shown. |
Offset 5, 189 lines modified | Offset 5, 192 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | local | 9 | polymorphicsmallobject.hh |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_LOCAL_FUNCTION_HH | ||
14 | · | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_POLYMORPHICSMALLOBJECT_HH | ||
15 | ·5 | 15 | ·5 |
16 | ·6#include·<utility> | ||
16 | · | 17 | ·7#include·<type_traits> |
18 | ·8 | ||
17 | ·7 | ||
18 | ·8#include·<dune/common/typeutilities.hh> | ||
19 | ·9 | ||
20 | ·10#include·<dune/functions/common/defaultderivativetraits.hh> | ||
21 | ·11#include·<dune/functions/common/differentiablefunction.hh> | ||
22 | ·12#include·<dune/functions/common/localfunction_imp.hh> | ||
23 | ·13#include·<dune/functions/common/typeerasure.hh> | ||
24 | ·14#include·<dune/functions/common/functionconcepts.hh> | ||
25 | ·15 | ||
26 | ·16 | ||
27 | ·17 | ||
28 | · | 19 | ·9namespace·Dune·{ |
29 | ·1 | 20 | ·10namespace·Functions·{ |
30 | ·20 | ||
31 | ·21 | ||
32 | ·22 | ||
33 | ·23/* | ||
34 | ·24·*·Default·implementation·is·empty | ||
35 | ·25·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
36 | ·26·*·describing·a·function·signature·as·Range(Domain). | ||
37 | ·27·*/ | ||
38 | ·28template<class·Signature,·class·LocalContext,·template<class>·class | ||
39 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
40 | 29class·LocalFunction | ||
41 | ·30{}; | ||
42 | ·31 | ||
43 | ·32 | ||
44 | ·33 | ||
45 | ·34namespace·Imp | ||
46 | ·35{ | ||
47 | ·36 | ||
48 | ·38·template<class·S,·class·L,·template<class>·class·DerivativeTraits,·size_t | ||
49 | bufferSize> | ||
50 | ·39·struct·LocalFunctionTraits·: | ||
51 | ·40·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
52 | ·41·{ | ||
53 | ·42·protected: | ||
54 | ·43·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
55 | ·44 | ||
56 | ·45·public: | ||
57 | ·47·using·LocalContext·=·L; | ||
58 | ·48 | ||
59 | ·50·using·DerivativeSignature·=·typename·Base::DerivativeSignature; | ||
60 | ·51 | ||
61 | ·53·using·DerivativeInterface·=·LocalFunction<DerivativeSignature,_L, | ||
62 | DerivativeTraits,_bufferSize>; | ||
63 | ·54 | ||
64 | ·56·using·Concept·=·LocalFunctionWrapperInterface<S,·DerivativeInterface,·L>; | ||
65 | ·57 | ||
66 | ·59·template<class·B> | ||
67 | ·60·using·Model·=·LocalFunctionWrapperImplementation<S,·DerivativeInterface,·L, | ||
68 | B>; | ||
69 | ·61·}; | ||
70 | ·62} | ||
71 | ·63 | ||
72 | ·64 | ||
73 | ·65 | ||
74 | ·86template<class·Range,·class·Domain,·class·LocalContext,·template<class> | ||
75 | class·DerivativeTraits,·size_t·bufferSize> | ||
76 | 87class·LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits, | ||
77 | bufferSize>·: | ||
78 | ·88·public·TypeErasureBase< | ||
79 | ·89·typename·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
80 | DerivativeTraits,·bufferSize>::Concept, | ||
81 | ·90·Imp::LocalFunctionTraits<Range(Domain),·LocalContext,·DerivativeTraits, | ||
82 | bufferSize>::template·Model> | ||
83 | ·91{ | ||
84 | ·92·using·Traits·=·Imp::LocalFunctionTraits<Range(Domain),·LocalContext, | ||
85 | DerivativeTraits,·bufferSize>; | ||
86 | ·93 | ||
87 | ·94·using·Base·=·TypeErasureBase<typename_Traits::Concept,_Traits::template | ||
88 | Model>; | ||
89 | ·95 | ||
90 | ·96·using·DerivativeInterface·=·typename·Traits::DerivativeInterface; | ||
91 | ·97 | ||
92 | ·98public: | ||
93 | ·99 | ||
94 | ·111·template<class·F,·disableCopyMove<LocalFunction,·F>·=·0·> | ||
95 | 112·LocalFunction(F&&·f)·: | ||
96 | ·113·Base(std::forward<F>(f)) | ||
97 | ·114·{ | ||
98 | ·115·static_assert(Dune::Functions::Concept::isLocalFunction<F,·Range(Domain), | ||
99 | LocalContext>(),·"Trying·to·construct·a·LocalFunction·from·type·that·does·not | ||
100 | model·the·LocalFunction·concept"); | ||
101 | ·116·} | ||
102 | ·11 | 21 | ·11 |
103 | 118·LocalFunction()·=·default; | ||
104 | ·119 | ||
105 | 123·Range·operator()·(const·Domain&·x)·const | ||
106 | ·124·{ | ||
107 | ·125·return·this->asInterface().operator()(x); | ||
108 | ·126·} | ||
109 | ·12 | 22 | ·12 |
110 | 23 | ·43template<class·Base,·size_t·bufferSize> | |
24 | 44class·PolymorphicSmallObject | ||
25 | ·45{ | ||
26 | ·46public: | ||
27 | ·47 | ||
28 | 49·PolymorphicSmallObject()·: | ||
29 | ·50·p_(nullptr) | ||
30 | ·51·{} | ||
31 | ·52 | ||
32 | ·59·template<class·Derived, | ||
33 | ·60·typename·std::enable_if<std::is_base_of<Base,·std::remove_cv_t< | ||
34 | ·61·std::remove_reference_t<Derived>>>::value,·int>::type·=·0> | ||
35 | 62·PolymorphicSmallObject(Derived&&·derived) | ||
36 | ·63·{ | ||
37 | ·64·constexpr·bool·useBuffer·=·sizeof(Derived)·<=·bufferSize; | ||
38 | ·65·if·constexpr·(useBuffer)·{ | ||
Max diff block lines reached; 5538/10786 bytes (51.34%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·overflowarray.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 64, 69 lines modified | Offset 64, 40 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#define-members">Macros</a>··</div> | ||
73 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">overflowarray.hh·File·Reference</div></div> |
74 | </div><!--header--> | 73 | </div><!--header--> |
75 | <div·class="contents"> | 74 | <div·class="contents"> |
76 | <p>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·· | ||
77 | <a·href="#details">More...</a></p> | ||
78 | <div·class="textblock"><code>#include·<algorithm></code><br·/> | 75 | <div·class="textblock"><code>#include·<algorithm></code><br·/> |
79 | <code>#include·<iostream></code><br·/> | 76 | <code>#include·<iostream></code><br·/> |
80 | <code>#include·<cstddef></code><br·/> | 77 | <code>#include·<cstddef></code><br·/> |
78 | <code>#include·<array></code><br·/> | ||
81 | <code>#include·<initializer_list></code><br·/> | 79 | <code>#include·<initializer_list></code><br·/> |
82 | <code>#include·<dune/common/genericiterator.hh></code><br·/> | 80 | <code>#include·<dune/common/genericiterator.hh></code><br·/> |
83 | </div> | 81 | </div> |
84 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
87 | Classes</h2></td></tr> | 85 | Classes</h2></td></tr> |
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01275.html">Dune::Functions::OverflowArray<·BA,·maxSize·></a></td></tr> |
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·d | 87 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·dynamically·sized·array-like·class·with·overflow.··<a·href="a01275.html#details">More...</a><br·/></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 89 | </table><table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 91 | Namespaces</h2></td></tr> |
94 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 92 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 94 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | ||
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> | ||
100 | Macros</h2></td></tr> | ||
101 | <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)   {}</td></tr> | ||
102 | <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table> | 96 | </table> |
104 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
105 | <div·class="textblock"><p·>An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·</p> | ||
106 | </div><h2·class="groupheader">Macro·Definition·Documentation</h2> | ||
107 | <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a> | ||
108 | <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">◆ </a></span>CHECKSIZE</h2> | ||
109 | <div·class="memitem"> | ||
110 | <div·class="memproto"> | ||
111 | ······<table·class="memname"> | ||
112 | ········<tr> | ||
113 | ··········<td·class="memname">#define·CHECKSIZE</td> | ||
114 | ··········<td>(</td> | ||
115 | ··········<td·class="paramtype"> </td> | ||
116 | ··········<td·class="paramname">X</td><td>)</td> | ||
117 | ··········<td>   {}</td> | ||
118 | ········</tr> | ||
119 | ······</table> | ||
120 | </div><div·class="memdoc"> | ||
121 | </div> | ||
122 | </div> | ||
123 | </div><!--·contents·--> | 97 | </div><!--·contents·--> |
124 | <!--·start·footer·part·--> | 98 | <!--·start·footer·part·--> |
125 | <hr·class="footer"/><address·class="footer"><small> | 99 | <hr·class="footer"/><address·class="footer"><small> |
126 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 100 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
127 | </small></address> | 101 | </small></address> |
128 | </body> | 102 | </body> |
129 | </html> | 103 | </html> |
Offset 5, 38 lines modified | Offset 5, 28 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | Classes·|·Namespaces | 9 | Classes·|·Namespaces |
10 | overflowarray.hh·File·Reference | ||
10 | reserveddeque.hh·File·Reference | ||
11 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
12 | More... | ||
13 | #include·<algorithm> | 11 | #include·<algorithm> |
14 | #include·<iostream> | 12 | #include·<iostream> |
15 | #include·<cstddef> | 13 | #include·<cstddef> |
14 | #include·<array> | ||
16 | #include·<initializer_list> | 15 | #include·<initializer_list> |
17 | #include·<dune/common/genericiterator.hh> | 16 | #include·<dune/common/genericiterator.hh> |
18 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
19 | ·Classes | 18 | ·Classes |
19 | class· Dune::Functions::OverflowArray<_BA,_maxSize_> | ||
20 | ······A·dynamically·sized·array-like·class·with·overflow.·More... | ||
20 | class· Dune::Functions::ReservedDeque<_T,_n_> | ||
21 | ······A·double-ended·queue·(deque)·class·with·statically·reserved·memory. | ||
22 | ········More... | ||
23 | 21 | ||
24 | ·Namespaces | 22 | ·Namespaces |
25 | namespace· Dune | 23 | namespace· Dune |
26 | 24 | ||
27 | namespace· Dune::Functions | 25 | namespace· Dune::Functions |
28 | 26 | ||
29 | ·Macros | ||
30 | #define CHECKSIZE(X) {} | ||
31 | |||
32 | *****·Detailed·Description·***** | ||
33 | An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack. | ||
34 | *****·Macro·Definition·Documentation·***** | ||
35 | *****·◆ CHECKSIZE·***** | ||
36 | #define·CHECKSIZE·(· X·)· {} | ||
37 | =============================================================================== | 27 | =============================================================================== |
38 | ·····Generated·by [doxygen]·1.9.4 | 28 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·overflowarray.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 229 lines modified | Offset 62, 230 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">overflowarray.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<algorithm></span></div> |
77 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<iostream></span></div> |
78 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<cstddef></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<array></span></div> | ||
79 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<initializer_list></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
80 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
81 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/genericiterator.hh></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
83 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDDEQUE</span></div> | ||
84 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> | ||
85 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#else</span></div> | ||
86 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00065.html#a65543e75bc949ecdb95a25b1f4e11675">···20</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> | ||
87 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#endif</span></div> | ||
88 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
89 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> |
90 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
91 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
92 | <div·class="line"><a·id="l0004 | 89 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">template</span><<span·class="keyword">class</span>·BA,·std::<span·class="keywordtype">size_t</span>·maxSize·=·std::tuple_size_v<BA>></div> |
93 | <div·class="line"><a·id="l0004 | 90 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01275.html">···43</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01275.html">OverflowArray</a>·:</div> |
91 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>·BA</div> | ||
94 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 92 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> |
95 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">p | 93 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·baseSize·=·std::tuple_size_v<BA>;</div> |
96 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 94 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
97 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">···51</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a>;</div> | ||
98 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01283.html#a65bd934ebbbb695648a6f506d8914861">···53</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01283.html#a65bd934ebbbb695648a6f506d8914861">pointer</a>;</div> | ||
99 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01283.html#a9d97a3dd5165e57039304aab2c6065b3">···55</a></span>····<span·class="keyword">typedef</span>·T&·<a·class="code·hl_typedef"·href="a01283.html#a9d97a3dd5165e57039304aab2c6065b3">reference</a>;</div> | ||
100 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01283.html#a841549562074d4cf71f7cac885b5e351">···57</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&·<a·class="code·hl_typedef"·href="a01283.html#a841549562074d4cf71f7cac885b5e351">const_reference</a>;</div> | ||
101 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01283.html#ae274c5849a958b0d61a6047ae8849ce4">···59</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01283.html#ae274c5849a958b0d61a6047ae8849ce4">size_type</a>;</div> | ||
102 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01283.html#a9caae6b45eb4e86efd054b5b21e17ecb">···61</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01283.html#a9caae6b45eb4e86efd054b5b21e17ecb">difference_type</a>;</div> | ||
103 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01283.html#a165ae75902a942b5a9a01a540d5e92b3">···63</a></span>····<span·class="keyword">typedef</span>·Dune::GenericIterator<ReservedDeque,·value_type>·<a·class="code·hl_typedef"·href="a01283.html#a165ae75902a942b5a9a01a540d5e92b3">iterator</a>;</div> | ||
104 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> |
96 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01275.html#a95296504e2bd12821b975daa3d2f9934">···49</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a95296504e2bd12821b975daa3d2f9934">BaseArray</a>·=·BA;</div> | ||
97 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
98 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>·=·<span·class="keyword">typename</span>·BaseArray::value_type;</div> | ||
99 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01275.html#a057b2fd50430511a0c5697c8e271fd70">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a057b2fd50430511a0c5697c8e271fd70">reference</a>·=·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
100 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01275.html#a040c3d78e6edfb6576a03b8be4f0e71c">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a040c3d78e6edfb6576a03b8be4f0e71c">const_reference</a>·=·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&;</div> | ||
101 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01275.html#ad6864fbd3a109a6b10b32af7e9c58b5b">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#ad6864fbd3a109a6b10b32af7e9c58b5b">pointer</a>·=·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>*;</div> | ||
102 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01275.html#a87ef9a454715903d6832df402705780d">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a87ef9a454715903d6832df402705780d">difference_type</a>·=·std::ptrdiff_t;</div> | ||
103 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·=·std::size_t;</div> | ||
104 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01275.html#a72ffe9b324024906b65d3051ec1d199c">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#a72ffe9b324024906b65d3051ec1d199c">iterator</a>·=·Dune::GenericIterator<OverflowArray,·value_type>;</div> | ||
105 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01275.html#ad7feb14b245d1a17e13e690cf693aba7">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01275.html#ad7feb14b245d1a17e13e690cf693aba7">const_iterator</a>·=·Dune::GenericIterator<const·OverflowArray,·const·value_type>;</div> | ||
106 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
107 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">private</span>:</div> | ||
108 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">using·</span>OverflowBuffer·=·std::array<<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>,·maxSize-baseSize>;</div> | ||
109 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</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="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
112 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01275.html#a8ff4c2cab7f220136c0b072c6a055f34">···65</a></span>··<a·class="code·hl_function"·href="a01275.html#a8ff4c2cab7f220136c0b072c6a055f34">OverflowArray</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
105 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 113 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
106 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01275.html#aec5c016d84ff17d2c57dac741c1954b6">···67</a></span>··<a·class="code·hl_function"·href="a01275.html#aec5c016d84ff17d2c57dac741c1954b6">OverflowArray</a>(<span·class="keyword">const[·...·truncated·by·diffoscope;·len:·57,·SHA:·5b197b04ea95ccd85cddeffdf2574adc10431de4a34a68205343480081aa4dfe·...·]</div> |
115 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····assert(l.size()·<=·<a·class="code·hl_function"·href="a01275.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
107 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····size_·=·l.size();</div> |
108 | <div·class="line"><a·id="l0007 | 117 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::copy_n(l.begin(),·size_,·<a·class="code·hl_function"·href="a01275.html#a4b246cb76dc8a3b81638052e5d3c4617">begin</a>());</div> |
109 | <div·class="line"><a·id="l0007 | 118 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··}</div> |
110 | <div·class="line"><a·id="l0007 | 119 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
111 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01283.html#ad7ce13b5aef147da1c161680a6002e32">···77</a></span>····<a·class="code·hl_function"·href="a01283.html#ad7ce13b5aef147da1c161680a6002e32">ReservedDeque</a>(std::initializer_list<T>·<span·class="keyword">const</span>·&l)</div> | ||
112 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div> | ||
113 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······assert(l.size()·<=·n);<span·class="comment">//·Actually,·this·is·not·needed·any·more!</span></div> | ||
114 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······size_·=·l.size();</div> | ||
115 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01275.html#a0fb3877160f4a79b3f149a873ba6bc10">···73</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01275.html#a0fb3877160f4a79b3f149a873ba6bc10">operato[·...·truncated·by·diffoscope;·len:·155,·SHA:·e012c08a01a8357531518e43559c761d00fa424fb99b6c2e9be855949a335804·...·]</div> |
121 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·!=·other.<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>())</div> | ||
122 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
123 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordflow">for</span>·(<a·class="code·hl_typedef"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·i=0;·i<<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>();·++i)</div> | ||
124 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······<span·class="keywordflow">if</span>·((*<span·class="keyword">this</span>)[i]·!=·other[i])</div> | ||
125 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> | ||
126 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
116 | <div·class="line"><a·id="l0008 | 127 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··}</div> |
117 | <div·class="line"><a·id="l0008 | 128 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
118 | <div·class="line"><a·id="l0008 | 129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01275.html#aac47600e996341476adeda5a998a6c4d">···83</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01275.html#aac47600e996341476adeda5a998a6c4d">clear</a[·...·truncated·by·diffoscope;·len:·5,·SHA:·22c1924eca6cd235dba0af9ed194effd97f8f5fe4cf127b841652fcb8edffa0a·...·]</div> |
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····size_·=·0;</div> | ||
119 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> |
120 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
133 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01275.html#acb3c0d310f92e484249c69697210dd3b">···93</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01275.html#acb3c0d310f92e484249c69697210dd3b">resize</a>(<a·class="code·hl_typedef"·href="a01275.html#ab600c0c276d09c1adfa934f77ca7c712">size_type</a>·n)·{</div> | ||
134 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····assert(n·<=·<a·class="code·hl_function"·href="a01275.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
121 | <div·class="line"><a·id="l0009 | 135 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····size_·=·n;</div> |
122 | <div·class="line"><a·id="l0009 | 136 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}</div> |
123 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
124 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01283.html#accbfb817461412168779007c0a2e792d">···96</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01283.html#accbfb817461412168779007c0a2e792d">resize</a>(<span·class="keywordtype">size_t</span>·s)</div> | ||
125 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>· | 137 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
138 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01275.html#a267512305609933baab963caed1ccd41">··104</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01275.html#a267512305609933baab963caed1ccd41">push_back</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01275.html#a67526616996e52fa0bc26046cf0a2485">value_type</a>&·t)·{</div> | ||
139 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····assert(<a·class="code·hl_function"·href="a01275.html#a6418868e96294c749e1f50b3f4e24e04">size</a>()·<·<a·class="code·hl_function"·href="a01275.html#a966efdb92bd58131b9960ca4c3afb792">capacity</a>());</div> | ||
126 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<a·class="code·hl_define"·href="a00065.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(s<=n);</div> | ||
127 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······size_·=·s;</div> | ||
128 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····}</div> | ||
129 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
130 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01283.html#aec567f9d91f8d29e9baff6adef93051b">··103</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01283.html#aec567f9d91f8d29e9baff6adef93051b">push_back</a>(<span·class="keyword">const</span>·T&·t)</div> | ||
131 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{</div> | ||
132 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······<a·class="code·hl_define"·href="a00065.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(size_<n);</div> | ||
133 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>···· | 140 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····(*this)[size_++]·=·t;</div> |
134 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·· | 141 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> |
135 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | 142 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> |
136 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01283.html#a492adac13d6ff55ebeb9863346312799">··110</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01283.html#a492adac13d6ff55ebeb9863346312799">push_front</a>(<span·class="keyword">const</span>·T&·t)</div> | ||
Max diff block lines reached; 41944/90331 bytes (46.43%) of diff not shown. |
Offset 5, 319 lines modified | Offset 5, 312 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·common | 8 | ····*·common |
9 | 9 | overflowarray.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH |
14 | ·4#define·DUNE_FUNCTIONS_COMMON_ | 14 | ·4#define·DUNE_FUNCTIONS_COMMON_OVERFLOWARRAY_HH |
15 | ·5 | 15 | ·5 |
16 | · | 16 | ·6#include·<algorithm> |
17 | · | 17 | ·7#include·<iostream> |
18 | · | 18 | ·8#include·<cstddef> |
19 | ·9#include·<array> | ||
19 | ·1 | 20 | ·10#include·<initializer_list> |
21 | ·11 | ||
22 | ·12#include·<dune/common/genericiterator.hh> | ||
23 | ·13 | ||
20 | ·14 | 24 | ·14 |
25 | ·15 | ||
21 | ·15#include·<dune/common/genericiterator.hh> | ||
22 | ·16 | ||
23 | ·17#ifdef·CHECK_RESERVEDDEQUE | ||
24 | ·18#define·CHECKSIZE(X)·assert(X) | ||
25 | ·19#else | ||
26 | 20#define·CHECKSIZE(X)·{} | ||
27 | ·21#endif | ||
28 | ·22 | ||
29 | ·23namespace·Dune·{ | ||
30 | · | 26 | ·16namespace·Dune::Functions·{ |
31 | ·25 | ||
32 | ·43·template<class·T,·int·n> | ||
33 | 27 | ·17 | |
28 | ·18 | ||
29 | ·42template<class·BA,·std::size_t·maxSize·=·std::tuple_size_v<BA>> | ||
30 | 43class·OverflowArray·: | ||
31 | ·44·public·BA | ||
34 | ·45 | 32 | ·45{ |
35 | ·46·pu | 33 | ·46·static·constexpr·std::size_t·baseSize·=·std::tuple_size_v<BA>; |
36 | ·47 | 34 | ·47 |
37 | 51·typedef·T·value_type; | ||
38 | 53·typedef·T*·pointer; | ||
39 | 55·typedef·T&·reference; | ||
40 | 57·typedef·const·T&·const_reference; | ||
41 | 59·typedef·size_t·size_type; | ||
42 | 61·typedef·std::ptrdiff_t·difference_type; | ||
43 | 63·typedef·Dune::GenericIterator<ReservedDeque,·value_type>·iterator; | ||
44 | 65·typedef·Dune::GenericIterator<const·ReservedDeque,·const·value_type> | ||
45 | 35 | ·48public: | |
36 | 49·using·BaseArray·=·BA; | ||
37 | ·50 | ||
38 | 51·using·value_type·=·typename·BaseArray::value_type; | ||
39 | 52·using·reference·=·value_type&; | ||
40 | 53·using·const_reference·=·const·value_type&; | ||
41 | 54·using·pointer·=·value_type*; | ||
42 | 55·using·difference_type·=·std::ptrdiff_t; | ||
43 | 56·using·size_type·=·std::size_t; | ||
44 | 57·using·iterator·=·Dune::GenericIterator<OverflowArray,·value_type>; | ||
45 | 58·using·const_iterator·=·Dune::GenericIterator<const·OverflowArray,·const | ||
46 | value_type>; | ||
47 | ·59 | ||
48 | ·60private: | ||
49 | ·61·using·OverflowBuffer·=·std::array<value_type,·maxSize-baseSize>; | ||
50 | ·62 | ||
51 | ·63public: | ||
52 | ·64 | ||
53 | 65·OverflowArray()·=·default; | ||
46 | ·66 | 54 | ·66 |
55 | 67·OverflowArray(const·std::initializer_list<value_type>&·l)·{ | ||
56 | ·68·assert(l.size()·<=·capacity()); | ||
47 | 72·ReservedDeque()·: | ||
48 | ·73·size_(0), | ||
49 | ·74·first_(0) | ||
50 | ·75·{} | ||
51 | ·76 | ||
52 | 77·ReservedDeque(std::initializer_list<T>·const·&l) | ||
53 | ·78·{ | ||
54 | ·79·assert(l.size()·<=·n);//·Actually,·this·is·not·needed·any·more! | ||
55 | · | 57 | ·69·size_·=·l.size(); |
56 | · | 58 | ·70·std::copy_n(l.begin(),·size_,·begin()); |
59 | ·71·} | ||
60 | ·72 | ||
61 | 73·bool·operator_==(const·OverflowArray&·other)·const·{ | ||
62 | ·74·if·(size()·!=·other.size()) | ||
63 | ·75·return·false; | ||
64 | ·76·for·(size_type·i=0;·i<size();·++i) | ||
65 | ·77·if·((*this)[i]·!=·other[i]) | ||
66 | ·78·return·false; | ||
67 | ·79·return·true; | ||
57 | ·8 | 68 | ·80·} |
58 | ·8 | 69 | ·81 |
59 | 8 | 70 | 83·void·clear()·{ |
60 | ·90·{ | ||
61 | ·91·first_·=·0; | ||
62 | · | 71 | ·84·size_·=·0; |
63 | ·93·} | ||
64 | · | 72 | ·85·} |
73 | ·86 | ||
65 | 9 | 74 | 93·void·resize(size_type·n)·{ |
75 | ·94·assert(n·<=·capacity()); | ||
66 | ·97·{ | ||
67 | ·98·CHECKSIZE(s<=n); | ||
68 | ·9 | 76 | ·95·size_·=·n; |
69 | ·100·} | ||
70 | · | 77 | ·96·} |
78 | ·97 | ||
71 | 10 | 79 | 104·void·push_back(const·value_type&·t)·{ |
80 | ·105·assert(size()·<·capacity()); | ||
81 | ·106·(*this)[size_++]·=·t; | ||
72 | ·104·{ | ||
73 | ·105·CHECKSIZE(size_<n); | ||
74 | ·106·data_[size_++·%·n]·=·t; | ||
75 | ·107·} | 82 | ·107·} |
76 | ·108 | 83 | ·108 |
77 | 110·void·push_front(const·T&·t) | ||
78 | ·111·{ | ||
79 | ·112·CHECKSIZE(size_<n); | ||
80 | ·113·++size_; | ||
81 | ·114·first_·=·(first_+(n-1))·%·n; | ||
82 | ·115·data_[first_]·=·t; | ||
83 | ·116·} | ||
84 | ·117 | ||
85 | 11 | 84 | 110·void·pop_back()·{ |
Max diff block lines reached; 13238/17358 bytes (76.26%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultnodetorangemap.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 48 lines modified | Offset 58, 55 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">defaultnodetorangemap.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<cm | 75 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
76 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
77 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
78 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
76 | </div> | 79 | </div> |
77 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> | 80 | <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p> |
78 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
80 | Classes</h2></td></tr> | 83 | Classes</h2></td></tr> |
81 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html">Dune::Functions::DefaultNodeToRangeMap<·Tree·></a></td></tr> |
82 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·l | 85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·lexicographic·ordering.··<a·href="a01563.html#details">More...</a><br·/></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html">Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor</a></td></tr> | ||
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table><table·class="memberdecls"> | 89 | </table><table·class="memberdecls"> |
85 | <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> |
86 | Namespaces</h2></td></tr> | 91 | Namespaces</h2></td></tr> |
87 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 92 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 94 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 96 | </table><table·class="memberdecls"> |
92 | <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> |
93 | Functions</h2></td></tr> | 98 | Functions</h2></td></tr> |
99 | <tr·class="memitem:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplParams"·colspan="2">template<class·Tree·>·</td></tr> | ||
100 | <tr·class="memitem:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplItemLeft"·align="right"·valign="top">DefaultNodeToRangeMap<·Tree·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a37dfd0fc94784b1ffe3050d87b37ad76">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Tree·&tree)</td></tr> | ||
94 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplParams"·colspan="2">template<class·K·,·int·sinFactor,·int·cosFactor>·</td></tr> | ||
95 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplItemLeft"·align="right"·valign="top">TrigonometricFunction<·K,·-cosFactor,·sinFactor·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">Dune::Functions::derivative</a>·(const·TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f)</td></tr> | ||
96 | <tr·class="memdesc:ga7ec424ff4be740ad675bd85750940472"><td·class="mdescLeft"> </td><td·class="mdescRight">Obtain·derivative·of·<a·class="el"·href="a01051.html"·title="A·linear·combination·of·trigonomic·functions.">TrigonometricFunction</a>·function.··<a·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator: | 101 | <tr·class="separator:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·TreePath·>·</td></tr> | ||
103 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad5971c4cc40d4d8a400ef5fe9e596350">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Basis·&basis,·TreePath·&&treePath)·->·decltype(makeDefaultNodeToRangeMap(TypeTree::child(basis.localView().tree(),·treePath)))</td></tr> | ||
104 | <tr·class="separator:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | </table> | 105 | </table> |
99 | </div><!--·contents·--> | 106 | </div><!--·contents·--> |
100 | <!--·start·footer·part·--> | 107 | <!--·start·footer·part·--> |
101 | <hr·class="footer"/><address·class="footer"><small> | 108 | <hr·class="footer"/><address·class="footer"><small> |
102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
103 | </small></address> | 110 | </small></address> |
104 | </body> | 111 | </body> |
Offset 4, 32 lines modified | Offset 4, 40 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
9 | trigonometricfunction.hh·File·Reference | ||
10 | 9 | defaultnodetorangemap.hh·File·Reference | |
10 | #include·<dune/common/concept.hh> | ||
11 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
12 | #include·<dune/typetree/traversal.hh> | ||
13 | #include·<dune/typetree/visitor.hh> | ||
11 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
12 | ·Classes | 15 | ·Classes |
13 | class· Dune::Functions::TrigonometricFunction<_K,_sinFactor,_cosFactor_> | ||
14 | 16 | struct· Dune::Functions::DefaultNodeToRangeMap<_Tree_> | |
17 | ·······A·simple·node·to·range·map·using·lexicographic·ordering.·More... | ||
18 | |||
19 | struct· Dune::Functions::DefaultNodeToRangeMap<_Tree_>::Visitor | ||
15 | 20 | ||
16 | ·Namespaces | 21 | ·Namespaces |
17 | namespace· Dune | 22 | namespace· Dune |
18 | 23 | ||
19 | namespace· Dune::Functions | 24 | namespace· Dune::Functions |
20 | 25 | ||
21 | ·Functions | 26 | ·Functions |
27 | template<class·Tree·> | ||
28 | DefaultNodeToRangeMap<·Tree·> Dune::Functions::makeDefaultNodeToRangeMap | ||
22 | template<class·K·,·int·sinFactor,·int·cosFactor> | ||
23 | TrigonometricFunction<·K,·-cosFactor,·Dune::Functions::derivative·(const | ||
24 | ·························sinFactor·> TrigonometricFunction<·K,·sinFactor, | ||
25 | ······························· | 29 | ·······························(const·Tree·&tree) |
26 | ····································Obtain·derivative·of | ||
27 | 30 | ||
31 | template<class·Basis·,·class·TreePath·> | ||
32 | ·························auto Dune::Functions::makeDefaultNodeToRangeMap | ||
33 | ·······························(const·Basis·&basis,·TreePath·&&treePath)·- | ||
34 | ·······························>·decltype(makeDefaultNodeToRangeMap(TypeTree:: | ||
35 | ·······························child(basis.localView().tree(),·treePath))) | ||
28 | 36 | ||
29 | =============================================================================== | 37 | =============================================================================== |
30 | ·····Generated·by [doxygen]·1.9.4 | 38 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultnodetorangemap.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 61 lines modified | Offset 58, 131 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">defaultnodetorangemap.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cmath></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
79 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
82 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
83 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·sinFactor,·<span·class="keywordtype">int</span>·cosFactor></div> | ||
84 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
85 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
86 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> | ||
87 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01051.html#a84e99df5856264ae06faa710876763aa">···30</a></span>··K·<a·class="code·hl_function"·href="a01051.html#a84e99df5856264ae06faa710876763aa">operator·()·</a>(<span·class="keyword">const</span>·K&·x)<span·class="keyword">·const</span></div> | ||
88 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">··</span>{</div> | ||
89 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">return</span>·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x);</div> | ||
90 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
91 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Tree></div> | ||
91 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01563.html">···38</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01563.html">DefaultNodeToRangeMap</a></div> | ||
92 | <div·class="line"><a·id="l0003 | 92 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> |
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
94 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·sinFactor,·<span·class="keywordtype">int</span>·cosFactor></div> | ||
95 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">···39</a></span><a·class="code·hl_class"·href="a01051.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01051.html">TrigonometricFunction<K,·sinFactor,·cosFactor></a>&·f)</div> | ||
96 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span> | 93 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
94 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·A·simple·visitor·for·computing·lexicographic</span></div> | ||
97 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01051.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>();</div> | ||
98 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}</div> | ||
99 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
100 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
101 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
102 | <div·class="line"><a·id="l0004 | 95 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="comment">//·subtree·indices.·To·identify·a·leaf·node</span></div> |
103 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
104 | <div·class="line"><a·id="l0004 | 96 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">//·we·use·its·treeIndex()·which·is·unique</span></div> |
97 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·wrt·the·whole·tree·and·store·the·computed</span></div> | ||
98 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·index·in·a·vector·indexed·by·the·tree·indices.</span></div> | ||
99 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01567.html">···46</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01567.html">Visitor</a></div> | ||
100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
105 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> |
106 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> | ||
107 | <div·class=" | 103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01567.html#a31bda2d0d2a6e6caaad0c4b54833baaa">···50</a></span>····<a·class="code·hl_function"·href="a01567.html#a31bda2d0d2a6e6caaad0c4b54833baaa">Visitor</a>(std::vector<[·...·truncated·by·diffoscope;·len:·32,·SHA:·4c5151a71750f8f9aa3d575317d6904146800f7a191756cac576d047148d4131·...·]</div> |
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>(indices),</div> | ||
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>(0)</div> | ||
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····{}</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01567.html#a6fa6002b8649337f257a1ba63f487638">···56</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01567.html#a6fa6002b8649337f257a1ba63f487638">leaf</a>(Node&·node,·TreePath·treePath)</div> | ||
110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{</div> | ||
111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>.size()·<·node.treeIndex()+1)</div> | ||
112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>.resize(node.treeIndex()+1);</div> | ||
113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>[node.treeIndex()]·=·<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······++<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> | ||
116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">···64</a></span>····std::vector<std::size_t>&·<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>;</div> | ||
118 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">···65</a></span>····std::size_t·<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div> | ||
120 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
121 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01563.html#a1f05cfc19a0fd6aeddd0fd441f0e0718">···78</a></span>··<a·class="code·hl_function"·href="a01563.html#a1f05cfc19a0fd6aeddd0fd441f0e0718">DefaultNodeToRangeMap</a>(<span·class="keyword">const</span>·Tree&·tree)</div> | ||
122 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··{</div> | ||
123 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····TypeTree::applyToTree(tree,·<a·class="code·hl_struct"·href="a01567.html">Visitor</a>(<a·class="code·hl_variable"·href="a01563.html#a125d091dadb6d9cd180e65ae5fe93bee">indices_</a>));</div> | ||
124 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··}</div> | ||
125 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
126 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
127 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::enable_if_t<models<Concept::HasIndexAccess,·Range,·decltype(std::declval<Node>().treeIndex())>()·and·not·Tree::isLeaf,·<span·class="keywordtype">int</span>>·=·0></div> | ||
128 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01563.html#aae4c40b619bba5f520878a6288fb702a">···85</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(<span·class="keyword">const</span>·Node&·node,·<span·class="keyword">const</span>·TreePath&·treePath,·Range&&·y)·<span·class="keyword">const</span></div> | ||
129 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> | ||
130 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·y[<a·class="code·hl_variable"·href="a01563.html#a125d091dadb6d9cd180e65ae5fe93bee">indices_</a>[node.treeIndex()]];</div> | ||
131 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> | ||
132 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
133 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
134 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····std::enable_if_t<·not·models<Concept::HasIndexAccess,·Range,·decltype(std::declval<Node>().treeIndex())>()·or·Tree::isLeaf,·<span·class="keywordtype">int</span>>·=·0></div> | ||
135 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01563.html#aae4c40b619bba5f520878a6288fb702a">···92</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(<span·class="keyword">const</span>·Node&·node,·<span·class="keyword">const</span>·TreePath&·treePath,·Range&&·y)·<span·class="keyword">const</span></div> | ||
136 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div> | ||
137 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">return</span>·std::forward<Range>(y);</div> | ||
138 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··}</div> | ||
139 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
140 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01563.html#a125d091dadb6d9cd180e65ae5fe93bee">···97</a></span>··std::vector<std::size_t>·<a·class="code·hl_variable"·href="a01563.html#a125d091dadb6d9cd180e65ae5fe93bee">indices_</a>;</div> | ||
141 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>};</div> | ||
142 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
143 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
144 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
145 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Tree></div> | ||
146 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a00219.html#a37dfd0fc94784b1ffe3050d87b37ad76">··103</a></span><a·class="code·hl_struct"·href="a01563.html">DefaultNodeToRangeMap<Tree></a>·<a·class="code·hl_function"·href="a00219.html#a37dfd0fc94784b1ffe3050d87b37ad76">makeDefaultNodeToRangeMap</a>(<span·class="keyword">const</span>·Tree&·tree)</div> | ||
147 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>{</div> | ||
148 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01563.html">DefaultNodeToRangeMap<Tree></a>(tree);</div> | ||
149 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>}</div> | ||
150 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
Max diff block lines reached; 4168/28843 bytes (14.45%) of diff not shown. |
Offset 4, 64 lines modified | Offset 4, 147 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·analyticfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | defaultnodetorangemap.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<cmath> | ||
16 | ·7 | ||
17 | ·8namespace·Dune·{ | ||
18 | · | 15 | ·6 |
16 | ·7#include·<dune/common/concept.hh> | ||
17 | ·8 | ||
18 | ·9#include·<dune/functions/functionspacebases/concepts.hh> | ||
19 | ·10 | 19 | ·10 |
20 | ·11#include·<dune/typetree/traversal.hh> | ||
21 | ·12#include·<dune/typetree/visitor.hh> | ||
22 | ·13 | ||
23 | ·14 | ||
24 | ·15namespace·Dune·{ | ||
25 | ·16namespace·Functions·{ | ||
26 | ·17 | ||
27 | ·18 | ||
28 | ·19 | ||
29 | ·37template<class·Tree> | ||
30 | 38struct·DefaultNodeToRangeMap | ||
31 | ·39{ | ||
20 | ·11 | ||
21 | ·12 | ||
22 | ·25template<class·K,·int·sinFactor,·int·cosFactor> | ||
23 | 26class·TrigonometricFunction | ||
24 | ·27{ | ||
25 | ·28public: | ||
26 | 30·K·operator_()(const·K&·x)·const | ||
27 | ·31·{ | ||
28 | ·32·return·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x); | ||
29 | ·33·} | ||
30 | ·34}; | ||
31 | ·35 | ||
32 | ·36 | ||
33 | ·38template<class·K,·int·sinFactor,·int·cosFactor> | ||
34 | 39TrigonometricFunction<K,·-cosFactor,·sinFactor>·derivative(const | ||
35 | TrigonometricFunction<K,_sinFactor,_cosFactor>&·f) | ||
36 | ·40 | 32 | ·40 |
37 | ·41·return·TrigonometricFunction<K,·-cosFactor,·sinFactor>(); | ||
38 | ·42} | ||
39 | ·43 | ||
40 | ·44 | ||
41 | ·4 | 33 | ·41·//·A·simple·visitor·for·computing·lexicographic |
34 | ·42·//·subtree·indices.·To·identify·a·leaf·node | ||
35 | ·43·//·we·use·its·treeIndex()·which·is·unique | ||
36 | ·44·//·wrt·the·whole·tree·and·store·the·computed | ||
37 | ·45·//·index·in·a·vector·indexed·by·the·tree·indices. | ||
38 | 46·struct·Visitor | ||
39 | ·47·:·public·TypeTree::TreeVisitor | ||
40 | ·48·,·public·TypeTree::DynamicTraversal | ||
41 | ·49·{ | ||
42 | 50·Visitor(std::vector<std::size_t>&·indices)·: | ||
43 | ·51·indices_(indices), | ||
44 | ·52·counter_(0) | ||
45 | ·53·{} | ||
46 | ·54 | ||
47 | ·55·template<typename·Node,·typename·TreePath> | ||
48 | 56·void·leaf(Node&·node,·TreePath·treePath) | ||
49 | ·57·{ | ||
50 | ·58·if·(indices_.size()·<·node.treeIndex()+1) | ||
51 | ·59·indices_.resize(node.treeIndex()+1); | ||
52 | ·60·indices_[node.treeIndex()]·=·counter_; | ||
53 | ·61·++counter_; | ||
54 | ·62·} | ||
55 | ·63 | ||
56 | 64·std::vector<std::size_t>&·indices_; | ||
57 | 65·std::size_t·counter_; | ||
58 | ·66·}; | ||
59 | ·67 | ||
60 | 78·DefaultNodeToRangeMap(const·Tree&·tree) | ||
61 | ·79·{ | ||
62 | ·80·TypeTree::applyToTree(tree,·Visitor(indices_)); | ||
63 | ·81·} | ||
64 | ·82 | ||
65 | ·83·template<class·Node,·class·TreePath,·class·Range, | ||
66 | ·84·std::enable_if_t<models<Concept::HasIndexAccess,·Range,·decltype(std:: | ||
67 | declval<Node>().treeIndex())>()·and·not·Tree::isLeaf,·int>·=·0> | ||
68 | 85·decltype(auto)·operator()(const·Node&·node,·const·TreePath&·treePath, | ||
69 | Range&&·y)·const | ||
70 | ·86·{ | ||
71 | ·87·return·y[indices_[node.treeIndex()]]; | ||
72 | ·88·} | ||
73 | ·89 | ||
74 | ·90·template<class·Node,·class·TreePath,·class·Range, | ||
75 | ·91·std::enable_if_t<·not·models<Concept::HasIndexAccess,·Range,·decltype(std:: | ||
76 | declval<Node>().treeIndex())>()·or·Tree::isLeaf,·int>·=·0> | ||
77 | 92·decltype(auto)·operator()(const·Node&·node,·const·TreePath&·treePath, | ||
78 | Range&&·y)·const | ||
79 | ·93·{ | ||
80 | ·94·return·std::forward<Range>(y); | ||
81 | ·95·} | ||
82 | ·96 | ||
83 | 97·std::vector<std::size_t>·indices_; | ||
84 | ·98}; | ||
85 | ·99 | ||
86 | ·100 | ||
87 | ·101 | ||
88 | ·102template<class·Tree> | ||
89 | 103DefaultNodeToRangeMap<Tree>·makeDefaultNodeToRangeMap(const·Tree&·tree) | ||
90 | ·104{ | ||
91 | ·105·return·DefaultNodeToRangeMap<Tree>(tree); | ||
92 | ·106} | ||
93 | ·107 | ||
94 | ·108 | ||
95 | ·109 | ||
96 | ·110template<class·Basis,·class·TreePath> | ||
97 | 111auto·makeDefaultNodeToRangeMap(const·Basis&·basis,·TreePath&&·treePath) | ||
98 | ·112·->·decltype(makeDefaultNodeToRangeMap(TypeTree::child(basis.localView | ||
99 | ().tree(),treePath))) | ||
100 | ·113{ | ||
101 | ·114·auto&&·localView·=·basis.localView(); | ||
Max diff block lines reached; 1675/6026 bytes (27.80%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·boundarydofs.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 61 lines modified | Offset 58, 42 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#namespaces">Namespaces</a>·| | 69 | <a·href="#namespaces">Namespaces</a>·| |
70 | <a·href="#func-members">Functions</a>··</div> | 70 | <a·href="#func-members">Functions</a>··</div> |
71 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">boundarydofs.hh·File·Reference</div></div> |
72 | </div><!--header--> | 72 | </div><!--header--> |
73 | <div·class="contents"> | 73 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<utility></code><br·/> |
75 | <code>#include·<utility></code><br·/> | ||
76 | <code>#include·<type_traits></code><br·/> | ||
77 | <code>#include·<dune/common/std/type_traits.hh></code><br·/> | ||
78 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
80 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a0 | 75 | <code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/functionspacebases/subentitydofs.hh</a>></code><br·/> |
83 | </div> | 76 | </div> |
84 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> | 77 | <p><a·href="a00074_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 80 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 81 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 83 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | 85 | </table><table·class="memberdecls"> |
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
94 | Functions</h2></td></tr> | 87 | Functions</h2></td></tr> |
88 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>()(0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename·Basis::GridView::Intersection·>()),·0)··=·0>·</td></tr> | ||
89 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
90 | <tr·class="memdesc:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Loop·over·all·DOFs·on·the·boundary.··<a·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">More...</a><br·/></td></tr> | ||
95 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
96 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Dune::Functions::fieldTypes</a>·()</td></tr> | ||
97 | <tr·class="memdesc:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·list·of·field·types·in·container.··<a·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
100 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">Dune::Functions::hasUniqueFieldType</a>·()</td></tr> | ||
101 | <tr·class="memdesc:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·container·has·a·unique·field·type.··<a·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">More...</a><br·/></td></tr> | ||
102 | <tr·class="separator:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> | ||
104 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a>·(Vector·&v)</td></tr> | ||
105 | <tr·class="memdesc:gae5b9f62f85e3d638423142695a74d056"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.··<a·href="a00214.html#gae5b9f62f85e3d638423142695a74d056">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:ga | 91 | <tr·class="separator:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> | ||
108 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga50a181637103e7abc011235a9fd30611">Dune::Functions::istlVectorBackend</a>·(const·Vector·&v)</td></tr> | ||
109 | <tr·class="memdesc:ga50a181637103e7abc011235a9fd30611"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·const·ISTL·like·containers.··<a·href="a00214.html#ga50a181637103e7abc011235a9fd30611">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:ga50a181637103e7abc011235a9fd30611"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | </table> | 92 | </table> |
112 | </div><!--·contents·--> | 93 | </div><!--·contents·--> |
113 | <!--·start·footer·part·--> | 94 | <!--·start·footer·part·--> |
114 | <hr·class="footer"/><address·class="footer"><small> | 95 | <hr·class="footer"/><address·class="footer"><small> |
115 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
116 | </small></address> | 97 | </small></address> |
117 | </body> | 98 | </body> |
Offset 4, 47 lines modified | Offset 4, 28 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Namespaces·|·Functions | 8 | Namespaces·|·Functions |
9 | boundarydofs.hh·File·Reference | ||
9 | istlvectorbackend.hh·File·Reference | ||
10 | #include·<cstddef> | ||
11 | #include·<utility> | 10 | #include·<utility> |
12 | #include·<type_traits> | ||
13 | #include·<dune/common/std/type_traits.hh> | ||
14 | #include·<dune/common/indices.hh> | ||
15 | #include·<dune/common/hybridutilities.hh> | ||
16 | #include·<dune/common/concept.hh> | ||
17 | #include·<dune/functions/common/indexaccess.hh> | ||
18 | #include·<dune/functions/functionspacebases/ | 11 | #include·<dune/functions/functionspacebases/subentitydofs.hh> |
19 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
20 | ·Namespaces | 13 | ·Namespaces |
21 | namespace· Dune | 14 | namespace· Dune |
22 | 15 | ||
23 | namespace· Dune::Functions | 16 | namespace· Dune::Functions |
24 | 17 | ||
25 | ·Functions | 18 | ·Functions |
19 | template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>() | ||
20 | (0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename | ||
21 | Basis::GridView::Intersection·>()),·0)·=·0> | ||
22 | void Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
23 | ····Loop·over·all·DOFs·on·the·boundary.·More... | ||
26 | template<class·V·> | ||
27 | constexpr·auto Dune::Functions::fieldTypes·() | ||
28 | ··············Generate·list·of·field·types·in·container.·More... | ||
29 | |||
30 | template<class·V·> | ||
31 | constexpr·bool Dune::Functions::hasUniqueFieldType·() | ||
32 | ··············Check·if·container·has·a·unique·field·type.·More... | ||
33 | |||
34 | template<class·Vector·> | ||
35 | ··········auto Dune::Functions::istlVectorBackend·(Vector·&v) | ||
36 | ··············Return·a·vector·backend·wrapping·non-const·ISTL·like | ||
37 | ················containers.·More... | ||
38 | |||
39 | template<class·Vector·> | ||
40 | ··········auto Dune::Functions::istlVectorBackend·(const·Vector·&v) | ||
41 | ··············Return·a·vector·backend·wrapping·const·ISTL·like·containers. | ||
42 | ················More... | ||
43 | 24 | ||
44 | =============================================================================== | 25 | =============================================================================== |
45 | ·····Generated·by [doxygen]·1.9.4 | 26 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·boundarydofs.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 339 lines modified | Offset 58, 103 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">boundarydofs.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00074.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cstddef></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<utility></span></div> |
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<<a·class="code"·href="a00089.html">dune/functions/functionspacebases/subentitydofs.hh</a>></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class=" | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
94 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> |
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
96 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·[·...·truncated·by·diffoscope;·len:·7,·SHA:·96b4fe24e6c1731708894e5c18afa9f13f7e2dfe3ac293f866a68a0eeee305b3·...·]</div> |
87 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">···36</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
97 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keywordflow">return</span>·TypeList<V>{};</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">template</span><<span·class="keyword">class·</span>V,</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(V&&·v)</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>,·V>())</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[std::size_t{0}]);</div> | ||
107 | <div·class="line"><a·id="l0003 | 89 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> |
90 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">auto</span>·indexRange·=·<span·class="keyword">typename</span>·<span·class="keyword">decltype</span>(range(Hybrid::size(v)))::integer_sequence();</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·· | 91 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keywordflow">return</span>·uniqueTypeList(std::tuple_cat(<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[i])...));</div> | ||
112 | <div·class="line"><a·id="l0004 | 92 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> |
93 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·· | 94 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> |
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span> | 95 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······localView.bind(element);</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 96 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> |
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 97 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> |
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 98 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·localIndex:·seDOFs.bind(localView,intersection))</div> |
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 99 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>············f(localIndex,·localView,·intersection);</div> |
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 100 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div> |
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
121 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div> |
102 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
103 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
104 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
105 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> | ||
106 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>()),0)·=·0></div> | ||
107 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">forEachBoundaryDOF</a>(<span·class="keyword">const</span>·Basis&·basis,·F&&·f)</div> | ||
122 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>{</div> |
109 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
110 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
111 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> | ||
112 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> | ||
113 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keywordflow">return</span>·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Impl::fieldTypes</a>(std::declval<V>())){};</div> | ||
124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> | ||
125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
127 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">···74</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">hasUniqueFieldType</a>()</div> | ||
128 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>{</div> | ||
129 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">return</span>·std::tuple_size<std::decay_t<decltype(fieldTypes<V>())>>::value==1;</div> | ||
130 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}</div> | ||
131 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
132 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
133 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 114 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div> |
115 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······localView.bind(element);</div> | ||
116 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> | ||
134 | <div·class="line"><a·id="l0008 | 117 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> |
118 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·localIndex:·seDOFs.bind(localView,intersection))</div> | ||
119 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>············f(localIndex,·localView);</div> | ||
120 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> | ||
121 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>}</div> | ||
135 | <div·class="line"><a·id="l0008 | 122 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
136 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">/*</span></div> | ||
137 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="comment">·*·\brief·A·wrapper·providing·multi-index·access·to·vector·entries</span></div> | ||
138 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">·*</span></div> | ||
139 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">·*·The·wrapped·vector·type·should·be·an·istl·like·random</span></div> | ||
140 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·*·access·container·providing·operator[]·and·size()·methods.</span></div> | ||
141 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">·*·For·classical·containers·this·should·support·indices</span></div> | ||
142 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">·*·of·type·std::size_t.·For·multi-type·containers·indices</span></div> | ||
143 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">·*·of·the·form·Dune::index_constant<i>·should·be·supported</span></div> | ||
144 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">·*·while·size()·should·be·a·static·constexpr·method.</span></div> | ||
145 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="comment">·*</span></div> | ||
Max diff block lines reached; 34985/65028 bytes (53.80%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | us-ascii |
Offset 4, 365 lines modified | Offset 4, 105 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·backends | ||
8 | 7 | ····*·functionspacebases | |
8 | boundarydofs.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BOUNDARYDOFS_HH |
14 | ·5 | 14 | ·5 |
15 | ·6#include·<cstddef> | ||
16 | · | 15 | ·6#include·<utility> |
17 | · | 16 | ·7 |
17 | ·8#include·<dune/functions/functionspacebases/subentitydofs.hh> | ||
18 | ·9 | 18 | ·9 |
19 | ·10#include·<dune/common/std/type_traits.hh> | ||
20 | ·11#include·<dune/common/indices.hh> | ||
21 | ·12#include·<dune/common/hybridutilities.hh> | ||
22 | ·1 | 19 | ·10namespace·Dune·{ |
20 | ·11namespace·Functions·{ | ||
21 | ·12 | ||
22 | ·13 | ||
23 | ·14 | 23 | ·14 |
24 | ·34template<class·Basis,·class·F, | ||
25 | ·35·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
26 | LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0> | ||
27 | 36void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
24 | ·15#include·<dune/functions/common/indexaccess.hh> | ||
25 | ·16#include·<dune/functions/functionspacebases/concepts.hh> | ||
26 | ·17 | ||
27 | ·18 | ||
28 | ·19namespace·Dune·{ | ||
29 | ·20namespace·Functions·{ | ||
30 | ·21 | ||
31 | ·22namespace·Impl·{ | ||
32 | ·23 | ||
33 | ·24template<class·V, | ||
34 | ·25·std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>() | ||
35 | ,·int>·=·0> | ||
36 | ·26auto·fieldTypes(V&&·/*v*/) | ||
37 | · | 28 | ·37{ |
29 | ·38·auto·localView·=·basis.localView(); | ||
30 | ·39·auto·seDOFs·=·subEntityDOFs(basis); | ||
31 | ·40·const·auto&·gridView·=·basis.gridView(); | ||
32 | ·41·for(auto&&·element·:·elements(gridView)) | ||
33 | ·42·if·(element.hasBoundaryIntersections()) | ||
38 | ·28·return·TypeList<V>{}; | ||
39 | ·29} | ||
40 | ·30 | ||
41 | ·31template<class·V, | ||
42 | ·32·std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(), | ||
43 | int>·=·0> | ||
44 | ·33auto·fieldTypes(V&&·v) | ||
45 | ·34{ | ||
46 | ·35·if·constexpr·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std:: | ||
47 | size_t>,·V>()) | ||
48 | ·36·return·fieldTypes(v[std::size_t{0}]); | ||
49 | ·37·else | ||
50 | · | 34 | ·43·{ |
51 | ·39·auto·indexRange·=·typename·decltype(range(Hybrid::size(v))):: | ||
52 | integer_sequence(); | ||
53 | ·40·return·unpackIntegerSequence([&](auto...·i)·{ | ||
54 | ·41·return·uniqueTypeList(std::tuple_cat(fieldTypes(v[i])...)); | ||
55 | ·4 | 35 | ·44·localView.bind(element); |
36 | ·45·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
37 | ·46·if·(intersection.boundary()) | ||
38 | ·47·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
39 | ·48·f(localIndex,·localView,·intersection); | ||
56 | ·4 | 40 | ·49·} |
57 | ·44} | ||
58 | ·45 | ||
59 | ·46}·//·namespace·Impl | ||
60 | ·47 | ||
61 | ·48 | ||
62 | ·49 | ||
63 | ·62template<class·V> | ||
64 | 41 | ·50} | |
42 | ·51 | ||
43 | ·52 | ||
44 | ·53 | ||
45 | ·71template<class·Basis,·class·F, | ||
46 | ·72·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
47 | LocalView>()),0)·=·0> | ||
48 | ·73void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
65 | · | 49 | ·74{ |
50 | ·75·auto·localView·=·basis.localView(); | ||
51 | ·76·auto·seDOFs·=·subEntityDOFs(basis); | ||
52 | ·77·const·auto&·gridView·=·basis.gridView(); | ||
53 | ·78·for(auto&&·element·:·elements(gridView)) | ||
54 | ·79·if·(element.hasBoundaryIntersections()) | ||
66 | ·65·return·decltype(Impl::fieldTypes(std::declval<V>())){}; | ||
67 | ·66} | ||
68 | ·67 | ||
69 | ·73template<class·V> | ||
70 | 74constexpr·bool·hasUniqueFieldType() | ||
71 | ·75{ | ||
72 | ·76·return·std::tuple_size<std::decay_t<decltype(fieldTypes<V>())>>::value==1; | ||
73 | ·77} | ||
74 | ·78 | ||
75 | ·79 | ||
76 | ·80 | 55 | ·80·{ |
56 | ·81·localView.bind(element); | ||
57 | ·82·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
58 | ·83·if·(intersection.boundary()) | ||
59 | ·84·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
60 | ·85·f(localIndex,·localView); | ||
61 | ·86·} | ||
62 | ·87} | ||
63 | ·88 | ||
64 | ·89 | ||
65 | ·90 | ||
66 | ·107template<class·Basis,·class·F, | ||
67 | ·108·decltype(std::declval<std::decay_t<F>>()(std::declval<typename·Basis:: | ||
68 | MultiIndex>()),0)·=·0> | ||
69 | ·109void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
77 | ·81namespace·Impl·{ | ||
78 | ·82 | ||
79 | ·83/* | ||
80 | ·84·*·\brief·A·wrapper·providing·multi-index·access·to·vector·entries | ||
81 | ·85·* | ||
82 | ·86·*·The·wrapped·vector·type·should·be·an·istl·like·random | ||
Max diff block lines reached; 8251/14250 bytes (57.90%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·interpolate.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 40 lines modified | Offset 58, 62 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>· | 69 | <a·href="#namespaces">Namespaces</a>·| |
70 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">interpolate.hh·File·Reference</div></div> |
72 | </div><!--header--> | 72 | </div><!--header--> |
73 | <div·class="contents"> | 73 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·<memory></code><br·/> | 74 | <div·class="textblock"><code>#include·<memory></code><br·/> |
75 | <code>#include·<vector></code><br·/> | ||
76 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
77 | <code>#include·<dune/common/bitsetvector.hh></code><br·/> | ||
78 | <code>#include·<dune/typetree/childextraction.hh></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a02873_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/sizeinfo.hh</a>></code><br·/> | ||
84 | <code>#include·<<a·class="el"·href="a00095_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> | ||
85 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> | ||
86 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
87 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
75 | </div> | 88 | </div> |
76 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> |
77 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
78 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
79 | Classes</h2></td></tr> | ||
80 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01919.html">Dune::Functions::GridViewEntitySet<·GV,·cd·></a></td></tr> | ||
81 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.··<a·href="a01919.html#details">More...</a><br·/></td></tr> | ||
82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
83 | </table><table·class="memberdecls"> | ||
84 | <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> |
85 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
86 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
99 | Functions</h2></td></tr> | ||
100 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·>·</td></tr> | ||
101 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a13b0c6bf02d744e7b2078d1a535b5211">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bv,·const·NTRE·&nodeToRangeEntry)</td></tr> | ||
102 | <tr·class="memdesc:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<a·href="a00219.html#a13b0c6bf02d744e7b2078d1a535b5211">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·>·</td></tr> | ||
105 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ae167dc7b5ace0ff9617a3205b05744b5">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bitVector)</td></tr> | ||
106 | <tr·class="memdesc:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<a·href="a00219.html#ae167dc7b5ace0ff9617a3205b05744b5">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·>·</td></tr> | ||
109 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a2e34859322800ae26a292903910ef9f7">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f)</td></tr> | ||
110 | <tr·class="memdesc:a2e34859322800ae26a292903910ef9f7"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<a·href="a00219.html#a2e34859322800ae26a292903910ef9f7">More...</a><br·/></td></tr> | ||
111 | <tr·class="separator:a2e34859322800ae26a292903910ef9f7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table> | 112 | </table> |
91 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
92 | <!--·start·footer·part·--> | 114 | <!--·start·footer·part·--> |
93 | <hr·class="footer"/><address·class="footer"><small> | 115 | <hr·class="footer"/><address·class="footer"><small> |
94 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
95 | </small></address> | 117 | </small></address> |
96 | </body> | 118 | </body> |
Offset 4, 24 lines modified | Offset 4, 48 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | Classes·|·Namespaces | ||
9 | 7 | ····*·functionspacebases | |
8 | Namespaces·|·Functions | ||
9 | interpolate.hh·File·Reference | ||
10 | #include·<memory> | 10 | #include·<memory> |
11 | #include·<vector> | ||
12 | #include·<dune/common/exceptions.hh> | ||
13 | #include·<dune/common/bitsetvector.hh> | ||
14 | #include·<dune/typetree/childextraction.hh> | ||
15 | #include·<dune/functions/gridfunctions/gridviewfunction.hh> | ||
16 | #include·<dune/functions/common/functionconcepts.hh> | ||
17 | #include·<dune/functions/backends/concepts.hh> | ||
18 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
19 | #include·<dune/functions/functionspacebases/sizeinfo.hh> | ||
20 | #include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
21 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
22 | #include·<dune/typetree/traversal.hh> | ||
23 | #include·<dune/typetree/visitor.hh> | ||
11 | Go_to_the_source_code_of_this_file. | 24 | Go_to_the_source_code_of_this_file. |
12 | ·Classes | ||
13 | class· Dune::Functions::GridViewEntitySet<_GV,_cd_> | ||
14 | ······An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·More... | ||
15 | |||
16 | ·Namespaces | 25 | ·Namespaces |
17 | namespace· Dune | 26 | namespace· Dune |
18 | 27 | ||
19 | namespace· Dune::Functions | 28 | namespace· Dune::Functions |
20 | 29 | ||
30 | ·Functions | ||
31 | template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·> | ||
32 | void Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
33 | ······const·BV·&bv,·const·NTRE·&nodeToRangeEntry) | ||
34 | ····Interpolate·given·function·in·discrete·function·space.·More... | ||
35 | |||
36 | template<class·B·,·class·C·,·class·F·,·class·BV·> | ||
37 | void Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
38 | ······const·BV·&bitVector) | ||
39 | ····Interpolate·given·function·in·discrete·function·space.·More... | ||
40 | |||
41 | template<class·B·,·class·C·,·class·F·> | ||
42 | void Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f) | ||
43 | ····Interpolate·given·function·in·discrete·function·space.·More... | ||
44 | |||
21 | =============================================================================== | 45 | =============================================================================== |
22 | ·····Generated·by [doxygen]·1.9.4 | 46 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·interpolate.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 109 lines modified | Offset 58, 290 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">interpolate.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00080.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00080.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<vector></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class=" | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/bitsetvector.hh></span></div> | ||
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/typetree/childextraction.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keywordtype">int</span>·cd></div> | ||
85 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00182.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a02873.html">dune/functions/backends/concepts.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/sizeinfo.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00095.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00134.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
87 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class=" | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> |
88 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
89 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"> | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
90 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Functions·{</div> |
91 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<a·class="code·hl_enumvalue"·href="a01919.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">codim</a>·=·cd</div> | ||
92 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
93 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
94 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>AllTrueBitSetVector</div> |
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">struct·</span>AllTrueBitSet</div> | ||
95 | <div·class="line"><a·id="l0003 | 104 | <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"><a·class="line"·href="a01919.html#aa4368ad66f18ba8279f20ab7a794069d">···35</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::LocalCoordinate·<a·class="code·hl_typedef"·href="a01919.html#aa4368ad66f18ba8279f20ab7a794069d">LocalCoordinate</a>;</div> | ||
97 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keywordtype">bool</span>·test(<span·class="keywordtype">int</span>)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;·}</div> |
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··}·allTrue_;</div> | ||
98 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
99 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"> | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">operator</span>·bool()<span·class="keyword">·const</span></div> |
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">··</span>{</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
100 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div> |
101 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">···41</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::template·Codim<codim>::Iterator·<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>;</div> | ||
102 | <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> |
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·I></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">const</span>·AllTrueBitSetVector&·operator[](<span·class="keyword">const</span>·I&)<span·class="keyword">·const</span></div> | ||
103 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01919.html#af641ddccfd83eac1935a39604afd4335">···44</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_typedef"·href="a01919.html#af641ddccfd83eac1935a39604afd4335">iterator</a>;</div> | ||
104 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01919.html#a03a85089dbc09737fa68ee0643f253e8">···47</a></span>··<a·class="code·hl_function"·href="a01919.html#a03a85089dbc09737fa68ee0643f253e8">GridViewEntitySet</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01919.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>&·gv)·:</div> | ||
106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····gv_(gv)</div> | ||
107 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{}</div> | ||
108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01919.html#aecef1420c439c2cae8ae253822257318">···52</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01919.html#aecef1420c439c2cae8ae253822257318">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>&·e)<span·class="keyword">·const</span></div> | ||
110 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">··</span>{</div> |
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·SP></div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordtype">void</span>·resize(<span·class="keyword">const</span>·SP&)<span·class="keyword">·const</span></div> | ||
111 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">··</span>{}</div> |
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>· | 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
114 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·B,·<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·NTRE,·<span·class="keyword">class</span>·HV,·<spa[·...·truncated·by·diffoscope;·len:·77,·SHA:·fa7897fbf75404c54c12989a18c927fc91c630541bdbc6bb96ccc384cbf99aee·...·]</div> |
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">class·</span>LocalInterpolateVisitor</div> | ||
115 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword"> | 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> |
116 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·· | 130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> |
117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 131 | <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>·</div> | 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01919.html#a6eacf8355789441dabcf555e0c89c967">···64</a></span>··<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_function"·href="a01919.html#a6eacf8355789441dabcf555e0c89c967">begin</a>()<span·class="keyword">·const</span></div> | ||
120 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">public</span>:</div> |
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">return</span>·gv_.template·begin<codim>();</div> | ||
122 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">using·</span>Basis·=·B;</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">using·</span>LocalView·=·<span·class="keyword">typename</span>·B::LocalView;</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">using·</span>MultiIndex·=·<span·class="keyword">typename</span>·LocalView::MultiIndex;</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
124 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01919.html#a1e115d056b4517cbef7a2c2007132ab7">···70</a></span>··<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_function"·href="a01919.html#a1e115d056b4517cbef7a2c2007132ab7">end</a>()<span·class="keyword">·const</span></div> | ||
125 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">using·</span>LocalFunction·=·LF;</div> |
126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">return</span>·gv_.template·end<codim>();</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> | ||
128 | <div·class="line"><a·id="l0007 | 140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
129 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01919.html#a3f882a9eb425fd9dae3c23c829512642">···76</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01919.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>&·<a·class="code·hl_function"·href="a01919.html#a3f882a9eb425fd9dae3c23c829512642">gridView</a>()<span·class="keyword">·const</span></div> | ||
130 | <div·class="line"><a·id="l0007 | 141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">using·</span>Tree·=·T;</div> |
131 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">return</span>·gv_;</div> | ||
132 | <div·class="line"><a·id="l0007 | 142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">using·</span>VectorBackend·=·HV;</div> | ||
144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">using·</span>BitVectorBackend·=·HBV;</div> | ||
145 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
146 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">using·</span>NodeToRangeEntry·=·NTRE;</div> | ||
147 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
Max diff block lines reached; 38638/62428 bytes (61.89%) of diff not shown. |
Offset 4, 142 lines modified | Offset 4, 316 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | interpolate.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<memory> | 15 | ·6#include·<memory> |
16 | ·7 | 16 | ·7#include·<vector> |
17 | ·8 | 17 | ·8 |
18 | ·9namespace·Dune·{ | ||
19 | ·10 | ||
20 | ·11namespace·Functions·{ | ||
21 | · | 18 | ·9#include·<dune/common/exceptions.hh> |
19 | ·10#include·<dune/common/bitsetvector.hh> | ||
20 | ·11 | ||
21 | ·12#include·<dune/typetree/childextraction.hh> | ||
22 | ·13 | 22 | ·13 |
23 | ·21template<class·GV,·int·cd> | ||
24 | 22class·GridViewEntitySet | ||
25 | ·23{ | ||
26 | · | 23 | ·14#include·<dune/functions/gridfunctions/gridviewfunction.hh> |
24 | ·15#include·<dune/functions/common/functionconcepts.hh> | ||
25 | ·16 | ||
26 | ·17#include·<dune/functions/backends/concepts.hh> | ||
27 | ·18#include·<dune/functions/backends/istlvectorbackend.hh> | ||
28 | ·19#include·<dune/functions/functionspacebases/sizeinfo.hh> | ||
29 | ·20#include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
30 | ·21#include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
31 | ·22 | ||
32 | ·23#include·<dune/typetree/traversal.hh> | ||
33 | ·24#include·<dune/typetree/visitor.hh> | ||
27 | ·25 | 34 | ·25 |
28 | 26·typedef·GV·GridView; | ||
29 | ·27·enum·{ | ||
30 | ·28·codim·=·cd | ||
31 | 2 | 35 | ·26namespace·Dune·{ |
36 | ·27namespace·Functions·{ | ||
37 | ·28 | ||
38 | ·29namespace·Imp·{ | ||
32 | ·30 | 39 | ·30 |
33 | 32·typedef·typename·GridView::template·Codim<codim>::Entity·Element; | ||
34 | ·33 | ||
35 | 35·typedef·typename·Element::Geometry::LocalCoordinate·LocalCoordinate; | ||
36 | 40 | ·31struct·AllTrueBitSetVector | |
41 | ·32{ | ||
42 | ·33·struct·AllTrueBitSet | ||
43 | ·34·{ | ||
44 | ·35·bool·test(int)·const·{·return·true;·} | ||
45 | ·36·}·allTrue_; | ||
37 | ·37 | 46 | ·37 |
38 | 38· | 47 | ·38·operator·bool()·const |
39 | ·39 | 48 | ·39·{ |
40 | 49 | ·40·return·true; | |
50 | ·41·} | ||
41 | ·42 | 51 | ·42 |
52 | ·43·template<class·I> | ||
53 | ·44·const·AllTrueBitSetVector&·operator[](const·I&)·const | ||
42 | 44·typedef·const_iterator·iterator; | ||
43 | ·45 | ||
44 | 47·GridViewEntitySet(const·GridView&·gv)·: | ||
45 | ·48·gv_(gv) | ||
46 | ·49·{} | ||
47 | ·50 | ||
48 | 52·bool·contains(const·Element&·e)·const | ||
49 | · | 54 | ·45·{ |
50 | · | 55 | ·46·return·*this; |
56 | ·47·} | ||
57 | ·48 | ||
58 | ·49·template<class·SP> | ||
59 | ·50·void·resize(const·SP&)·const | ||
60 | ·51·{} | ||
61 | ·52 | ||
62 | ·53}; | ||
63 | ·54 | ||
51 | ·55 | 64 | ·55 |
52 | ·56 | 65 | ·56 |
53 | 58·size_t·size()·const | ||
54 | ·59·{ | ||
55 | ·60·return·gv_.size(codim); | ||
56 | · | 66 | ·57template·<class·B,·class·T,·class·NTRE,·class·HV,·class·LF,·class·HBV> |
67 | ·58class·LocalInterpolateVisitor | ||
68 | ·59·:·public·TypeTree::TreeVisitor | ||
69 | ·60·,·public·TypeTree::DynamicTraversal | ||
70 | ·61{ | ||
57 | ·62 | 71 | ·62 |
58 | 64·const_iterator·begin()·const | ||
59 | ·65·{ | ||
60 | ·66·return·gv_.template·begin<codim>(); | ||
61 | ·6 | 72 | ·63public: |
73 | ·64 | ||
74 | ·65·using·Basis·=·B; | ||
75 | ·66·using·LocalView·=·typename·B::LocalView; | ||
76 | ·67·using·MultiIndex·=·typename·LocalView::MultiIndex; | ||
62 | ·68 | 77 | ·68 |
63 | 70·const_iterator·end()·const | ||
64 | ·71·{ | ||
65 | ·72·return·gv_.template·end<codim>(); | ||
66 | ·73·} | ||
67 | ·74 | ||
68 | 78 | ·69·using·LocalFunction·=·LF; | |
79 | ·70 | ||
80 | ·71·using·Tree·=·T; | ||
81 | ·72 | ||
82 | ·73·using·VectorBackend·=·HV; | ||
83 | ·74·using·BitVectorBackend·=·HBV; | ||
84 | ·75 | ||
85 | ·76·using·NodeToRangeEntry·=·NTRE; | ||
69 | ·77 | 86 | ·77 |
70 | ·78·return·gv_; | ||
71 | ·7 | 87 | ·78·using·GridView·=·typename·Basis::GridView; |
88 | ·79·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
72 | ·80 | 89 | ·80 |
73 | ·81private: | ||
74 | ·82·GridView·gv_; | ||
75 | ·8 | 90 | ·81·using·LocalDomain·=·typename·Element::Geometry::LocalCoordinate; |
91 | ·82 | ||
Max diff block lines reached; 9882/13516 bytes (73.11%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·bsplinebasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 36 lines modified | Offset 58, 86 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | ||
69 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>··</div> | ||
70 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">bsplinebasis.hh·File·Reference</div></div> |
71 | </div><!--header--> | 74 | </div><!--header--> |
72 | <div·class="contents"> | 75 | <div·class="contents"> |
73 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
76 | <p>The·B-spline·global·function·space·basis.·· | ||
77 | <a·href="#details">More...</a></p> | ||
78 | <div·class="textblock"><code>#include·<array></code><br·/> | ||
79 | <code>#include·<numeric></code><br·/> | ||
80 | <code>#include·<dune/common/dynmatrix.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
82 | <code>#include·<dune/common/diagonalmatrix.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
84 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
85 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
74 | <code>#include·<<a·class="el"·href="a00 | 86 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
75 | <code>#include·<<a·class="el"·href="a00 | 87 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
76 | </div> | 88 | </div> |
77 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> | 89 | <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p> |
78 | <table·class="memberdecls"> | 90 | <table·class="memberdecls"> |
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
92 | Classes</h2></td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01483.html">Dune::Functions::BSplineLocalBasis<·GV,·R·></a></td></tr> | ||
94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·to·a·knot·span.··<a·href="a01483.html#details">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html">Dune::Functions::BSplineLocalCoefficients<·dim·></a></td></tr> | ||
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Attaches·a·shape·function·to·an·entity.··<a·href="a01487.html#details">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01491.html">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·></a></td></tr> | ||
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.··<a·href="a01491.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01475.html">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·></a></td></tr> | ||
103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.··<a·href="a01475.html#details">More...</a><br·/></td></tr> | ||
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html">Dune::Functions::BSplinePreBasis<·GV·></a></td></tr> | ||
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·B-spline·basis.··<a·href="a01479.html#details">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01495.html">Dune::Functions::BSplineNode<·GV·></a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
79 | <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> |
80 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
81 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 113 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 115 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
121 | Typedefs</h2></td></tr> | ||
122 | <tr·class="memitem:ga189243b64e66543614a954706d70ce4a"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
123 | <tr·class="memitem:ga189243b64e66543614a954706d70ce4a"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga189243b64e66543614a954706d70ce4a">Dune::Functions::BSplineBasis</a>·=·DefaultGlobalBasis<·BSplinePreBasis<·GV·>·></td></tr> | ||
124 | <tr·class="memdesc:ga189243b64e66543614a954706d70ce4a"><td·class="mdescLeft"> </td><td·class="mdescRight">A·global·B-spline·basis.··<a·href="a00213.html#ga189243b64e66543614a954706d70ce4a">More...</a><br·/></td></tr> | ||
125 | <tr·class="separator:ga189243b64e66543614a954706d70ce4a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table><table·class="memberdecls"> | ||
127 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
128 | Functions</h2></td></tr> | ||
129 | <tr·class="memitem:ga63a9701af71fffbbb851a38cb8cf886f"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga63a9701af71fffbbb851a38cb8cf886f">Dune::Functions::BasisFactory::bSpline</a>·(const·std::vector<·double·>·&knotVector,·unsigned·int·order,·bool·makeOpen=true)</td></tr> | ||
130 | <tr·class="memdesc:ga63a9701af71fffbbb851a38cb8cf886f"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·B-spline·pre-basis.··<a·href="a00213.html#ga63a9701af71fffbbb851a38cb8cf886f">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:ga63a9701af71fffbbb851a38cb8cf886f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
85 | </table> | 132 | </table> |
133 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
134 | <div·class="textblock"><p·>The·B-spline·global·function·space·basis.·</p> | ||
86 | </div><!--·contents·--> | 135 | </div></div><!--·contents·--> |
87 | <!--·start·footer·part·--> | 136 | <!--·start·footer·part·--> |
88 | <hr·class="footer"/><address·class="footer"><small> | 137 | <hr·class="footer"/><address·class="footer"><small> |
89 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
90 | </small></address> | 139 | </small></address> |
91 | </body> | 140 | </body> |
92 | </html> | 141 | </html> |
Offset 4, 22 lines modified | Offset 4, 66 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | Namespaces | ||
9 | 7 | ····*·functionspacebases | |
8 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
9 | bsplinebasis.hh·File·Reference | ||
10 | The·B-spline·global·function·space·basis.·More... | ||
11 | #include·<array> | ||
12 | #include·<numeric> | ||
13 | #include·<dune/common/dynmatrix.hh> | ||
10 | #include·<dune/functions/common/ | 14 | #include·<dune/localfunctions/common/localbasis.hh> |
15 | #include·<dune/common/diagonalmatrix.hh> | ||
11 | #include·<dune/functions/common/ | 16 | #include·<dune/localfunctions/common/localkey.hh> |
12 | #include·<dune/functions/common/ | 17 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> |
18 | #include·<dune/geometry/type.hh> | ||
19 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
20 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 21 | Go_to_the_source_code_of_this_file. |
22 | ·Classes | ||
23 | class· Dune::Functions::BSplineLocalBasis<_GV,_R_> | ||
24 | ······LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the | ||
25 | ········restriction·of·a·B-spline·patch·to·a·knot·span.·More... | ||
26 | |||
27 | class· Dune::Functions::BSplineLocalCoefficients<_dim_> | ||
28 | ······Attaches·a·shape·function·to·an·entity.·More... | ||
29 | |||
30 | class· Dune::Functions::BSplineLocalInterpolation<_dim,_LB_> | ||
31 | ······Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
32 | ········spline·basis·on·tensor-product·grids.·More... | ||
33 | |||
34 | class· Dune::Functions::BSplineLocalFiniteElement<_GV,_R_> | ||
35 | ······LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
36 | ········spline·basis·on·tensor-product·grids.·More... | ||
37 | |||
38 | class· Dune::Functions::BSplinePreBasis<_GV_> | ||
39 | ······Pre-basis·for·B-spline·basis.·More... | ||
40 | |||
41 | class· Dune::Functions::BSplineNode<_GV_> | ||
42 | |||
14 | ·Namespaces | 43 | ·Namespaces |
15 | namespace· Dune | 44 | namespace· Dune |
16 | 45 | ||
17 | namespace· Dune::Functions | 46 | namespace· Dune::Functions |
18 | 47 | ||
48 | namespace· Dune::Functions::BasisFactory | ||
49 | |||
50 | ·Typedefs | ||
51 | template<typename·GV·> | ||
52 | using Dune::Functions::BSplineBasis·=·DefaultGlobalBasis<·BSplinePreBasis<·GV | ||
53 | ·······>·> | ||
54 | ·····A·global·B-spline·basis.·More... | ||
55 | |||
56 | ·Functions | ||
57 | auto Dune::Functions::BasisFactory::bSpline·(const·std::vector<·double·> | ||
58 | ······&knotVector,·unsigned·int·order,·bool·makeOpen=true) | ||
59 | ····Create·a·pre-basis·factory·that·can·create·a·B-spline·pre-basis.·More... | ||
60 | |||
61 | *****·Detailed·Description·***** | ||
62 | The·B-spline·global·function·space·basis. | ||
19 | =============================================================================== | 63 | =============================================================================== |
20 | ·····Generated·by [doxygen]·1.9.4 | 64 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·bsplinebasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 92 lines modified | Offset 58, 1213 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">bsplinebasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"><a·class="line"·href="a01483.html#a0866963a2c58b8b1f281a50722b9f3da">····1</a></span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l000 | 76 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<numeric></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<<a·class="code"·href="a00008.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l0001 | 78 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class=" | 79 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/dynmatrix.hh></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 80 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> |
82 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/diagonalmatrix.hh></span></div> | ||
83 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/common/localkey.hh></span></div> | ||
84 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
85 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
86 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l0002 | 88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
88 | <div·class="line"><a·id="l0002 | 89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a></div> |
89 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">auto</span>·require(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
90 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····localFunction(f)</div> | ||
91 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··);</div> | ||
92 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> |
93 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Functions·{</div> |
94 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·A·maze·of·dependencies·between·the·different·parts·of·this.··We·need·a·few·forward·declarations</span></div> | ||
94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></div> | ||
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01475.html">BSplineLocalFiniteElement</a>;</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="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
97 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//</span></div> | ||
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
100 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalFunctionInterface,·<span·class="keyword">class</span>·EntitySet></div> | ||
101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>GridFunctionWrapperInterface·:</div> | ||
102 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> | ||
103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> | ||
104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> | ||
105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">virtual</span>·LocalFunctionInterface·wrappedLocalFunction()·<span·class="keyword">const</span>·=·0;</div> | ||
106 | <div·class="line"><a·id="l0003 | 96 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
107 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·EntitySet&·wrappedEntitySet()·<span·class="keyword">const</span>·=·0;</div> | ||
108 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> |
98 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01479.html">BSplinePreBasis</a>;</div> | ||
109 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
110 | <div·class="line"><a·id="l000 | 100 | <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="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalFunctionInterface,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">class</span>·B></div> | ||
113 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>GridFunctionWrapperImplementation·:</div> | ||
114 | <div·class="line"><a·id="l0004 | 101 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·R></div> |
102 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01483.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01483.html">BSplineLocalBasis</a></div> | ||
103 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> | ||
104 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01475.html">BSplineLocalFiniteElement</a><GV,R>;</div> | ||
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span> | 105 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword"> | 106 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::ctype·D;</div> |
107 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">enum</span>·{dim·=·GV::dimension};</div> | ||
117 | <div·class="line"><a·id="l0005 | 108 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> |
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">using·</span>Base::Base;</div> | Diff chunk too large, falling back to line-by-line diff (1078 lines added, 21 lines removed) | |
119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
120 | <div·class="line"><a·id="l0005 | 110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">typedef</span>·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>,</div> |
121 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01483.html#a0ec676c23af5cfb27d18260102af08ca">···55</a></span>··FieldMatrix<R,1,dim>·>·<a·class="code·hl_typedef"·href="a01483.html#a0ec676c23af5cfb27d18260102af08ca">Traits</a>;</div> |
122 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
123 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01483.html#ab66fbd26ea34c67071da5c0fa9504191">···61</a></span>··<a·class="code·hl_function"·href="a01483.html#ab66fbd26ea34c67071da5c0fa9504191">BSplineLocalBasis</a>(<span·class="keyword">c[·...·truncated·by·diffoscope;·len:·100,·SHA:·d9bcc5603c01d094a116cb35c147a7064d274f0843da16416d02e31d1a7f3d63·...·]</div> |
124 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····················<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01475.html">BSplineLocalFiniteElement<GV,R></a>&·lFE)</div> |
125 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··:·preBasis_(preBasis),</div> |
126 | <div·class="line"><a·id="l000 | 116 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····lFE_(lFE)</div> |
127 | <div·class="line"><a·id="l0006 | 117 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{}</div> |
128 | <div·class="line"><a·id="l0006 | 118 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
129 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01483.html#a6f6f0d5f6137fc30c687a913a9794ef9">···70</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01483.html#a6f6f0d5f6137fc30c687a913a9794ef9">evaluat[·...·truncated·by·diffoscope;·len:·83,·SHA:·4af92509f774828f3cdd7cf0e04879f8069559d22e3996161749bc7a8685f9b8·...·]</div> |
130 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·························std::vector<FieldVector<R,1>·>&·out)<span·class="keyword">·const</span></div> |
131 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">··</span>{</div> |
132 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> |
133 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····scaling_.umv(in,globalIn);</div> |
134 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
135 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····preBasis_.evaluateFunction(globalIn,·out,·lFE_.currentKnotSpan_);</div> |
136 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··}</div> |
137 | <div·class="line"><a·id="l0007 | 127 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
138 | <div·class=" | 128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01483.html#a7bece6d4241e57b2f43e52f4427c7c7c">···82</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01483.html#a7bece6d4241e57b2f43e52f4[·...·truncated·by·diffoscope;·len:·100,·SHA:·534d6eacffd307af0de80f90c8570f04ac5fc91fff7a4ef1c124969253bcf14d·...·]</div> |
139 | <div·class=" | 129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·························std::vector<FieldMatrix<D,1,dim>·>&·out)<span·class="keyword">·const</span></div> |
140 | <div·class=" | 130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">··</span>{</div> |
131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> | ||
132 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····scaling_.umv(in,globalIn);</div> | ||
133 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····preBasis_.evaluateJacobian(globalIn,·out,·lFE_.currentKnotSpan_);</div> | ||
135 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
136 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<out.size();·i++)</div> | ||
137 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·j=0;·j<dim;·j++)</div> | ||
138 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········out[i][0][j]·*=·scaling_[j][j];</div> | ||
139 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> | ||
140 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
141 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">template</span><<span·class="keywordtype">size_t</span>·k></div> | ||
142 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a01483.html#a515832d188de13e946d113c4b562fb0f">···97</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01483.html#a515832d188de13e946d113c4b562fb0f">evaluate</a>·(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·std::array<int,k>&·directions,</div> | ||
Max diff block lines reached; 30595/232307 bytes (13.17%) of diff not shown. |
Offset 4, 91 lines modified | Offset 4, 1510 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | bsplinebasis.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | 10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·10#include·<array> | ||
16 | ·11#include·<numeric> | ||
17 | ·12 | ||
18 | ·14#include·<dune/common/dynmatrix.hh> | ||
15 | ·6#include·<dune/functions/common/type_traits.hh> | ||
16 | ·7#include·<dune/functions/common/interfaces.hh> | ||
17 | ·8#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
18 | ·9 | ||
19 | ·10 | ||
20 | ·11 | ||
21 | ·12namespace·Dune·{ | ||
22 | ·13namespace·Functions·{ | ||
23 | ·14namespace·Imp·{ | ||
24 | ·15 | 19 | ·15 |
25 | ·1 | 20 | ·16#include·<dune/localfunctions/common/localbasis.hh> |
21 | ·17#include·<dune/common/diagonalmatrix.hh> | ||
22 | ·18#include·<dune/localfunctions/common/localkey.hh> | ||
23 | ·19#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
24 | ·20#include·<dune/geometry/type.hh> | ||
25 | ·21#include·<dune/functions/functionspacebases/nodes.hh> | ||
26 | ·22#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
27 | ·23 | ||
28 | ·24namespace·Dune | ||
26 | ·2 | 29 | ·25{ |
30 | ·26namespace·Functions·{ | ||
27 | ·21·template<class·F> | ||
28 | ·22·auto·require(F&&·f)·->·decltype( | ||
29 | ·23·localFunction(f) | ||
30 | ·24·); | ||
31 | ·25}; | ||
32 | ·26 | ||
33 | ·27 | 31 | ·27 |
34 | ·28 | ||
35 | ·29//·Interface·of·type·erasure·wrapper | ||
36 | ·30// | ||
37 | ·31//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor, | ||
38 | clone,·...) | ||
39 | ·32//·will·be·added·by·the·type·erasure·foundation·classes. | ||
40 | ·33template<class·Signature,·class·DerivativeInterface,·class | ||
41 | LocalFunctionInterface,·class·EntitySet> | ||
42 | ·34class·GridFunctionWrapperInterface·: | ||
43 | ·35·public·DifferentiableFunctionWrapperInterface<Signature, | ||
44 | 32 | ·28//·A·maze·of·dependencies·between·the·different·parts·of·this.·We·need·a·few | |
33 | forward·declarations | ||
34 | ·29template<typename·GV,·typename·R> | ||
35 | ·30class·BSplineLocalFiniteElement; | ||
36 | ·31 | ||
37 | ·32template<typename·GV> | ||
38 | ·33class·BSplinePreBasis; | ||
39 | ·34 | ||
40 | ·35 | ||
41 | ·44template<class·GV,·class·R> | ||
42 | 45class·BSplineLocalBasis | ||
45 | · | 43 | ·46{ |
44 | ·47·friend·class·BSplineLocalFiniteElement<GV,R>; | ||
46 | ·37public: | ||
47 | ·38·virtual·LocalFunctionInterface·wrappedLocalFunction()·const·=·0; | ||
48 | ·39 | ||
49 | ·40·virtual·const·EntitySet&·wrappedEntitySet()·const·=·0; | ||
50 | ·41}; | ||
51 | ·42 | ||
52 | ·43 | ||
53 | ·44//·Implementation·of·type·erasure·wrapper | ||
54 | ·45template<class·Signature,·class·DerivativeInterface,·class | ||
55 | LocalFunctionInterface,·class·EntitySet,·class·B> | ||
56 | ·46class·GridFunctionWrapperImplementation·: | ||
57 | ·47·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
58 | DerivativeInterface,·B> | ||
59 | ·48 | 45 | ·48 |
60 | ·49·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
61 | 46 | ·49·typedef·typename·GV::ctype·D; | |
47 | ·50·enum·{dim·=·GV::dimension}; | ||
62 | ·5 | 48 | ·51public: |
63 | ·51·using·Base::Base; | Diff chunk too large, falling back to line-by-line diff (1156 lines added, 21 lines removed) | |
64 | ·52 | 49 | ·52 |
65 | ·5 | 50 | ·54·typedef·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>, |
66 | · | 51 | 55·FieldMatrix<R,1,dim>·>·Traits; |
67 | ·5 | 52 | ·56 |
68 | · | 53 | 61·BSplineLocalBasis(const·BSplinePreBasis<GV>&·preBasis, |
69 | · | 54 | ·62·const·BSplineLocalFiniteElement<GV,R>&·lFE) |
70 | · | 55 | ·63·:·preBasis_(preBasis), |
71 | · | 56 | ·64·lFE_(lFE) |
72 | ·6 | 57 | ·65·{} |
73 | ·6 | 58 | ·66 |
74 | · | 59 | 70·void·evaluateFunction·(const·FieldVector<D,dim>&·in, |
75 | · | 60 | ·71·std::vector<FieldVector<R,1>·>&·out)·const |
76 | · | 61 | ·72·{ |
77 | · | 62 | ·73·FieldVector<D,dim>·globalIn·=·offset_; |
78 | · | 63 | ·74·scaling_.umv(in,globalIn); |
79 | · | 64 | ·75 |
80 | ·6 | 65 | ·76·preBasis_.evaluateFunction(globalIn,·out,·lFE_.currentKnotSpan_); |
81 | · | 66 | ·77·} |
82 | ·7 | 67 | ·78 |
83 | t | 68 | 82·void·evaluateJacobian·(const·FieldVector<D,dim>&·in, |
84 | d | 69 | ·83·std::vector<FieldMatrix<D,1,dim>·>&·out)·const |
85 | 70 | ·84·{ | |
71 | ·85·FieldVector<D,dim>·globalIn·=·offset_; | ||
72 | ·86·scaling_.umv(in,globalIn); | ||
73 | ·87 | ||
74 | ·88·preBasis_.evaluateJacobian(globalIn,·out,·lFE_.currentKnotSpan_); | ||
75 | ·89 | ||
76 | ·90·for·(size_t·i=0;·i<out.size();·i++) | ||
77 | ·91·for·(int·j=0;·j<dim;·j++) | ||
78 | ·92·out[i][0][j]·*=·scaling_[j][j]; | ||
79 | ·93·} | ||
80 | ·94 | ||
81 | ·96·template<size_t·k> | ||
82 | 97·inline·void·evaluate·(const·typename·std::array<int,k>&·directions, | ||
83 | ·98·const·typename·Traits::DomainType&·in, | ||
Max diff block lines reached; 13467/52565 bytes (25.62%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·powerbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 47 lines modified | Offset 58, 64 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">powerbasis.hh·File·Reference</div></div> |
72 | </div><!--header--> | 73 | </div><!--header--> |
73 | <div·class="contents"> | 74 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<dune/common/reservedvector.hh></code><br·/> |
75 | <code>#include·<optional></code><br·/> | ||
76 | <code>#include·<dune/common/exceptions.hh></code><br·/> | ||
77 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | 76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
78 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/indices.hh></code><br·/> |
79 | <code>#include·< | 78 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a0 | 82 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
81 | <code>#include·<<a·class="el"·href="a00 | 83 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
82 | </div> | 84 | </div> |
83 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
85 | <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> |
86 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01735.html">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·power·bases.··<a·href="a01735.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | 92 | </table><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:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table><table·class="memberdecls"> | ||
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
105 | Functions</h2></td></tr> | ||
106 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·,·class·IndexMergingStrategy·>·</td></tr> | ||
107 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga0d8eb549af76bc2563ab189e63668ee5">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·const·IndexMergingStrategy·&)</td></tr> | ||
108 | <tr·class="memdesc:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·build·a·<a·class="el"·href="a01735.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<a·href="a00213.html#ga0d8eb549af76bc2563ab189e63668ee5">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·>·</td></tr> | ||
111 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gab84b622cf7be16d0373640b6f0478eb0">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory)</td></tr> | ||
112 | <tr·class="memdesc:gab84b622cf7be16d0373640b6f0478eb0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01735.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<a·href="a00213.html#gab84b622cf7be16d0373640b6f0478eb0">More...</a><br·/></td></tr> | ||
113 | <tr·class="separator:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | </table> | 114 | </table> |
98 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
99 | <!--·start·footer·part·--> | 116 | <!--·start·footer·part·--> |
100 | <hr·class="footer"/><address·class="footer"><small> | 117 | <hr·class="footer"/><address·class="footer"><small> |
101 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 118 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
102 | </small></address> | 119 | </small></address> |
103 | </body> | 120 | </body> |
Offset 4, 31 lines modified | Offset 4, 48 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
9 | powerbasis.hh·File·Reference | ||
9 | facenormalgridfunction.hh·File·Reference | ||
10 | #include·<type_traits> | ||
11 | #include·<optional> | ||
12 | #include·<dune/common/e | 10 | #include·<dune/common/reservedvector.hh> |
13 | #include·<dune/common/typeutilities.hh> | 11 | #include·<dune/common/typeutilities.hh> |
14 | #include·<dune/common/ | 12 | #include·<dune/common/indices.hh> |
15 | #include·<dune/ | 13 | #include·<dune/functions/common/utility.hh> |
14 | #include·<dune/functions/common/type_traits.hh> | ||
15 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
16 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
16 | #include·<dune/functions/ | 17 | #include·<dune/functions/functionspacebases/concepts.hh> |
17 | #include·<dune/functions/ | 18 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
18 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
19 | ·Classes | 20 | ·Classes |
20 | class· Dune::Functions::FaceNormalGridFunction<_GV_> | ||
21 | 21 | class· Dune::Functions::PowerPreBasis<_IMS,_SPB,_C_> | |
22 | ······A·pre-basis·for·power·bases.·More... | ||
22 | 23 | ||
23 | ·Namespaces | 24 | ·Namespaces |
24 | namespace· Dune | 25 | namespace· Dune |
25 | 26 | ||
26 | namespace· Dune::Functions | 27 | namespace· Dune::Functions |
27 | 28 | ||
29 | namespace· Dune::Functions::BasisFactory | ||
30 | |||
31 | namespace· Dune::Functions::BasisBuilder | ||
32 | |||
33 | ·Functions | ||
34 | template<std::size_t·k,·class·ChildPreBasisFactory·,·class | ||
35 | IndexMergingStrategy·> | ||
36 | auto Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
37 | ······&&childPreBasisFactory,·const·IndexMergingStrategy·&) | ||
38 | ····Create·a·pre-basis·factory·that·can·build·a·PowerPreBasis.·More... | ||
39 | |||
40 | template<std::size_t·k,·class·ChildPreBasisFactory·> | ||
41 | auto Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
42 | ······&&childPreBasisFactory) | ||
43 | ····Create·a·factory·builder·that·can·build·a·PowerPreBasis.·More... | ||
44 | |||
28 | =============================================================================== | 45 | =============================================================================== |
29 | ·····Generated·by [doxygen]·1.9.4 | 46 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·powerbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 195 lines modified | Offset 58, 410 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">powerbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00086.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00086.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<optional></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
79 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
80 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
81 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
83 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/utility.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a0 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> | ||
89 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span> | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·Compute·closest·face·to·point</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ReferenceElement,·<span·class="keyword">class</span>·Coordinate></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">auto</span>·closestFaceIndex(<span·class="keyword">const</span>·ReferenceElement&·re,·<span·class="keyword">const</span>·Coordinate&·x)</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">auto</span>·closestFaceIndex·=·<span·class="keyword">decltype</span>(re.subEntity(0,1,0,1)){};</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keywordtype">double</span>·closestFaceDistance·=·std::numeric_limits<double>::max();</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·faceIndex·:·Dune::range(re.size(1)))</div> | ||
99 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·*****************************************************************************</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·This·is·the·reusable·part·of·the·power·bases.·It·contains</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="comment">//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>.</span></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">auto</span>·normal·=·re.integrationOuterNormal(faceIndex);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····normal·/=·normal.two_norm();</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">auto</span>·c·=·re.position(faceIndex,1);</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····c·-=·x;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······closestFaceDistance·=·faceDistance;</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······closestFaceIndex·=·faceIndex;</div> | ||
112 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//</span></div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//···PowerPreBasis</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
113 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
114 | <div·class="line"><a·id="l0004 | 103 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class</span>·IMS,·<span·class="keyword">class</span>·SPB,·std::<span·class="keywordtype">size_t</span>·C></div> |
104 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01735.html">···44</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01735.html">PowerPreBasis</a></div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 105 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> |
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
117 | <div·class="line"><a·id="l0004 | 106 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·children·=·C;</div> |
107 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·isBlocked·=·std::is_same_v<IMS,BasisFactory::BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>;</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 109 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">public</span>:</div> |
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 110 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
111 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01735.html#a419106855686e36864eea0100d8e618e">···52</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01735.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>·=·SPB;</div> | ||
121 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
113 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01735.html#a37d97aeb515a5abfd55259f1fb320d12">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01735.html#a37d97aeb515a5abfd55259f1fb320d12">GridView</a>·=·<span·class="keyword">typename</span>·SPB::GridView;</div> | ||
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV></div> | ||
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01887.html">···65</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01887.html">FaceNormalGridFunction</a></div> | ||
124 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">size_type</a>·=·std::size_t;</div> | ||
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01735.html#a1c74f8319f302dc61ba704be6489cf37">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01735.html#a1c74f8319f302dc61ba704be6489cf37">IndexMergingStrategy</a>·=·IMS;</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"><a·class="line"·href="a01735.html#a7b5f1965bab95ba5c42821645f548c38">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01735.html#a7b5f1965bab95ba5c42821645f548c38">SubNode</a>·=·<span·class="keyword">typename</span>·SubPreBasis::Node;</div> | ||
120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01735.html#a32df93d56f2f547813944cb7bcd04ffa">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01715.html">Node</a>·=·<a·class="code·hl_class"·href="a01715.html">PowerBasisNode<SubNode,·children></a>;</div> | ||
125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 122 | <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"><a·class="line"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV;</div> | ||
127 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01887.html#a0c37b830a7bbba309a4df30441de8b8e">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01919.html">EntitySet</a>·=·<a·class="code·hl_class"·href="a01919.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
128 | <div·class="line"><a·id="l000 | 123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01735.html#adc20cd44a238188f2f0117d30cfb3ea6">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01735.html#a127b2[·...·truncated·by·diffoscope;·len:·190,·SHA:·e0f05f88db2be8dde13166c2be8d27ca208320b3201ac205e838e3613313466f·...·];</div> |
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01735.html#aea6df17c50528be1cecdbd8f40264063">···69</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">size_type</a>·<a·class="code·hl_variable"·href="a01735.html#aea6df17c50528be1cecdbd8f40264063">minMultiIndexSize</a>·=·SubPreBasis::minMultiIndexSize·+·isBlocked;</div> | ||
125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01735.html#a3a52441f0c9a8d94a76b6e0a87cdd6fc">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">size_type</a>·<a·class="code·hl_variable"·href="a01735.html#a3a52441f0c9a8d94a76b6e0a87cdd6fc">multiIndexBufferSize</a>·=·SubPreBasis::multiIndexBufferSize·+·isBlocked;</div> | ||
129 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
130 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01887.html#a219d5fdf7e937595a134a106bab1cefa">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a219d5fdf7e937595a134a106bab1cefa">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
131 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01887.html#a35676aaf895f54191ad4dda5ed0bcfdd">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
132 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01887.html#a4d72e8da655bc11d728782fbd85b45f6">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
133 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
134 | <div·class="line"><a·id="l0007 | 127 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> |
135 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
136 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">using·</span>Traits·=·Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a01887.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>(<a·class="code·hl_typedef"·href="a01887.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>),·<a·class="code·hl_typedef"·href="a01887.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>,·<a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a>,·16>;</div> | ||
137 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
138 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····disableCopyMove<<a·class="code·hl_function"·href="a01735.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>,·SFArgs...>·=·0,</div> |
129 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01735.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
130 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01735.html#ab0335222dc72364fe128e8459751377b">···80</a></span>··<a·class="code·hl_function"·href="a01735.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>(SFArgs&&...·sfArgs)·:</div> | ||
131 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····subPreBasis_(std::forward<SFArgs>(sfArgs)...)</div> | ||
Max diff block lines reached; 77788/103839 bytes (74.91%) of diff not shown. |
Offset 4, 231 lines modified | Offset 4, 498 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | powerbasis.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_POWERBASIS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<type_traits> | ||
16 | ·7#include·<optional> | ||
17 | ·8 | ||
18 | · | 15 | ·6#include·<dune/common/reservedvector.hh> |
19 | · | 16 | ·7#include·<dune/common/typeutilities.hh> |
20 | · | 17 | ·8#include·<dune/common/indices.hh> |
21 | ·12#include·<dune/geometry/referenceelements.hh> | ||
22 | · | 18 | ·9 |
19 | ·10#include·<dune/functions/common/utility.hh> | ||
20 | ·11#include·<dune/functions/common/type_traits.hh> | ||
21 | ·12#include·<dune/functions/functionspacebases/basistags.hh> | ||
22 | ·13#include·<dune/functions/functionspacebases/nodes.hh> | ||
23 | ·14#include·<dune/functions/ | 23 | ·14#include·<dune/functions/functionspacebases/concepts.hh> |
24 | ·15#include·<dune/functions/ | 24 | ·15#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
25 | ·16 | 25 | ·16 |
26 | ·17 | 26 | ·17 |
27 | ·18 | ||
28 | ·19namespace·Dune·{ | ||
27 | · | 29 | ·20namespace·Functions·{ |
28 | ·19 | ||
29 | ·20namespace·Impl·{ | ||
30 | ·21 | 30 | ·21 |
31 | ·22//·Compute·closest·face·to·point | ||
32 | ·23template<class·ReferenceElement,·class·Coordinate> | ||
33 | ·2 | 31 | ·22 |
32 | ·23/ | ||
33 | /·***************************************************************************** | ||
34 | ·24//·This·is·the·reusable·part·of·the·power·bases.·It·contains | ||
35 | ·25// | ||
36 | ·26//·PowerPreBasis | ||
37 | ·27// | ||
38 | ·28//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
39 | shared | ||
40 | ·29//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
41 | view | ||
42 | ·30//·and·can·be·used·without·a·global·basis. | ||
43 | ·31/ | ||
44 | /·***************************************************************************** | ||
45 | ·32 | ||
46 | ·43template<class·IMS,·class·SPB,·std::size_t·C> | ||
47 | 44class·PowerPreBasis | ||
34 | · | 48 | ·45{ |
49 | ·46·static·const·std::size_t·children·=·C; | ||
50 | ·47·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
51 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
35 | ·26·auto·closestFaceIndex·=·decltype(re.subEntity(0,1,0,1)){}; | ||
36 | ·27·double·closestFaceDistance·=·std::numeric_limits<double>::max(); | ||
37 | ·28·for(auto&&·faceIndex·:·Dune::range(re.size(1))) | ||
38 | ·29·{ | ||
39 | ·30·//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection | ||
40 | ·31·//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face | ||
41 | ·32·//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>. | ||
42 | ·33·auto·normal·=·re.integrationOuterNormal(faceIndex); | ||
43 | ·34·normal·/=·normal.two_norm(); | ||
44 | ·35·auto·c·=·re.position(faceIndex,1); | ||
45 | ·36·c·-=·x; | ||
46 | ·37·auto·faceDistance·=·(c*normal); | ||
47 | ·38·if·(faceDistance<closestFaceDistance) | ||
48 | ·39·{ | ||
49 | ·40·closestFaceDistance·=·faceDistance; | ||
50 | ·41·closestFaceIndex·=·faceIndex; | ||
51 | ·42·} | ||
52 | ·43·} | ||
53 | ·44·return·closestFaceIndex; | ||
54 | ·45} | ||
55 | ·46 | ||
56 | ·47}·//·end·namespace·Impl | ||
57 | ·48 | 52 | ·48 |
58 | ·49 | 53 | ·49public: |
59 | ·50 | 54 | ·50 |
60 | ·51 | ||
61 | ·64template<class·GV> | ||
62 | 65class·FaceNormalGridFunction | ||
63 | ·66{ | ||
64 | ·67public: | ||
65 | 68·using·GridView·=·GV; | ||
66 | 69·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
67 | 55 | 52·using·SubPreBasis·=·SPB; | |
56 | ·53 | ||
57 | 55·using·GridView·=·typename·SPB::GridView; | ||
58 | ·56 | ||
59 | 58·using·size_type·=·std::size_t; | ||
60 | ·59 | ||
61 | 61·using·IndexMergingStrategy·=·IMS; | ||
62 | ·62 | ||
63 | 63·using·SubNode·=·typename·SubPreBasis::Node; | ||
64 | ·64 | ||
65 | 66·using·Node·=·PowerBasisNode<SubNode,_children>; | ||
66 | ·67 | ||
67 | 68·static·constexpr·size_type·maxMultiIndexSize·=·SubPreBasis:: | ||
68 | maxMultiIndexSize·+·isBlocked; | ||
69 | 69·static·constexpr·size_type·minMultiIndexSize·=·SubPreBasis:: | ||
70 | minMultiIndexSize·+·isBlocked; | ||
71 | 70·static·constexpr·size_type·multiIndexBufferSize·=·SubPreBasis:: | ||
72 | multiIndexBufferSize·+·isBlocked; | ||
68 | ·71 | 73 | ·71 |
74 | ·77·template<class...·SFArgs, | ||
75 | ·78·disableCopyMove<PowerPreBasis,·SFArgs...>·=·0, | ||
76 | ·79·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
77 | 80·PowerPreBasis(SFArgs&&...·sfArgs)·: | ||
78 | ·81·subPreBasis_(std::forward<SFArgs>(sfArgs)...) | ||
69 | 72·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
70 | 73·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
71 | 74·using·Range·=·typename·EntitySet::GlobalCoordinate; | ||
72 | ·75 | ||
73 | ·76private: | ||
74 | ·77 | ||
75 | ·78·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
76 | DefaultDerivativeTraits,·16>; | ||
77 | ·79 | ||
Max diff block lines reached; 18624/23538 bytes (79.12%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·subentitydofs.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 54 lines modified | Offset 58, 58 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">subentitydofs.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<vector></code><br·/> |
76 | <code>#include·<tuple></code><br·/> | ||
77 | <code>#include·<dune/ | 76 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> |
78 | <code>#include·<dune/ | 77 | <code>#include·<dune/typetree/traversal.hh></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
82 | </div> | 78 | </div> |
83 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> | 79 | <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
86 | Classes</h2></td></tr> | 82 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a018 | 83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01803.html">Dune::Functions::SubEntityDOFs<·GridView·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 84 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·DOFs·associated·to·sub-entity.··<a·href="a01803.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | 86 | </table><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:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
98 | <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> |
99 | Functions</h2></td></tr> | 95 | Functions</h2></td></tr> |
100 | <tr·class="memitem:ga9 | 96 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> |
101 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::makeComposedGridFunction</a>·(OF·&&outerFunction,·IF·&&...·innerFunction)</td></tr> | ||
102 | <tr·class="mem | 97 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">Dune::Functions::subEntityDOFs[·...·truncated·by·diffoscope;·len:·20,·SHA:·e3b2b41dd74234f5c00ffec66969d31ea9fae8b059896cfc24834af4ae7ea2d1·...·]</td></tr> |
98 | <tr·class="memdesc:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<a·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">More...</a><br·/></td></tr> | ||
99 | <tr·class="separator:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> | ||
101 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga5803226b1ed4bf848a9532181c952244">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | ||
102 | <tr·class="memdesc:ga5803226b1ed4bf848a9532181c952244"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<a·href="a00214.html#ga5803226b1ed4bf848a9532181c952244">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:ga5803226b1ed4bf848a9532181c952244"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplParams"·colspan="2">template<class·LocalView·,·class·Intersection·>·</td></tr> | ||
105 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga09ad7987f85909bfcf269a0de9c652d8">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·const·Intersection·&intersection)</td></tr> | ||
106 | <tr·class="memdesc:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<a·href="a00214.html#ga09ad7987f85909bfcf269a0de9c652d8">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:ga9 | 107 | <tr·class="separator:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | </table> | 108 | </table> |
105 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 111 | <hr·class="footer"/><address·class="footer"><small> |
108 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
109 | </small></address> | 113 | </small></address> |
110 | </body> | 114 | </body> |
Offset 4, 37 lines modified | Offset 4, 41 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
9 | subentitydofs.hh·File·Reference | ||
10 | #include·<vector> | ||
9 | composedgridfunction.hh·File·Reference | ||
10 | #include·<type_traits> | ||
11 | #include·<tuple> | ||
12 | #include·<dune/ | 11 | #include·<dune/geometry/referenceelements.hh> |
12 | #include·<dune/typetree/traversal.hh> | ||
13 | #include·<dune/common/typeutilities.hh> | ||
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction.hh> | ||
16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 14 | ·Classes |
19 | class· Dune::Functions::ComposedGridFunction<_OF,_IF_> | ||
20 | 15 | class· Dune::Functions::SubEntityDOFs<_GridView_> | |
16 | ······Range·of·DOFs·associated·to·sub-entity.·More... | ||
21 | 17 | ||
22 | ·Namespaces | 18 | ·Namespaces |
23 | namespace· Dune | 19 | namespace· Dune |
24 | 20 | ||
25 | namespace· Dune::Functions | 21 | namespace· Dune::Functions |
26 | 22 | ||
27 | ·Functions | 23 | ·Functions |
28 | template<class·OF·,·class...·IF> | ||
29 | auto Dune::Functions::makeComposedGridFunction·(OF·&&outerFunction,·IF·&&... | ||
30 | ······innerFunction) | ||
31 | ····Create·a·ComposedGridFunction·that·composes·grid-functions·with·another | ||
32 | 24 | template<class·T·> | |
25 | auto Dune::Functions::subEntityDOFs·(const·T·&) | ||
26 | ····Create·SubEntityDOFs·object.·More... | ||
27 | |||
28 | template<class·LocalView·> | ||
29 | auto Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·std::size_t | ||
30 | ······subEntityIndex,·std::size_t·subEntityCodim) | ||
31 | ····Create·bound·SubEntityDOFs·object.·More... | ||
32 | |||
33 | template<class·LocalView·,·class·Intersection·> | ||
34 | auto Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·const | ||
35 | ······Intersection·&intersection) | ||
36 | ····Create·bound·SubEntityDOFs·object.·More... | ||
33 | 37 | ||
34 | =============================================================================== | 38 | =============================================================================== |
35 | ·····Generated·by [doxygen]·1.9.4 | 39 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·subentitydofs.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 199 lines modified | Offset 58, 152 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">subentitydofs.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00089.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00089.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<vector></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<tuple></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> |
80 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class | 88 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View></div> |
93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a018 | 89 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01803.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01803.html">SubEntityDOFs</a></div> |
94 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> | 90 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
91 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GridView::dimension;</div> | ||
95 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>InnerFunctions·=·std::tuple<IF...>;</div> | ||
96 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span>InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef(std::declval<const·IF&>())))...>;</div> | ||
97 | <div·class="line"><a·id="l0004 | 92 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
98 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> | ||
99 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i,·InnerFunctions>>>;</div> | ||
100 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
101 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span>OuterFunction·=·OF;</div> | ||
102 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
103 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> |
104 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
105 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·<span·class="keyword">typename</span>·InnerFunction<0>::EntitySet;</div> | ||
106 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
107 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
108 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01851.html#ad9612763841397749ff243b3f6f16177">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#ad9612763841397749ff243b3f6f16177">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
109 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01851.html#a62ac2c12e6920194583994cdec60283f">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a62ac2c12e6920194583994cdec60283f">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
110 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
111 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01851.html#ad7e7b03a9451ddecdc34db9c424ac38a">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#ad7e7b03a9451ddecdc34db9c424ac38a">Range</a>·=·<span·class="keyword">decltype</span>(std::declval<OF>()(std::declval<IF>()(std::declval<Domain>())...));</div> | ||
112 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
113 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">private</span>:</div> | ||
114 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
115 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">using·</span>Traits·=·Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a01851.html#ad7e7b03a9451ddecdc34db9c424ac38a">Range</a>(<a·class="code·hl_typedef"·href="a01851.html#ad9612763841397749ff243b3f6f16177">Domain</a>),·<a·class="code·hl_typedef"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>,·<a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a>,·16>;</div> | ||
116 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
117 | <div·class="line"><a·id="l0006 | 95 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView></div> |
96 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">···64</a></span>··<a·class="code·hl_class"·href="a01803.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</div> | ||
118 | <div·class="line"><a·id="l0006 | 97 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> |
98 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity</span></div> | ||
119 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">public</span>:</div> | ||
120 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····LocalFunction(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01851.html">ComposedGridFunction</a>&·globalFunction)·:</div> | ||
121 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······globalFunction_(globalFunction),</div> | ||
122 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······innerLocalFunctions_(globalFunction.<a·class="code·hl_function"·href="a01851.html#ab6fa74b32c63bb86bb048f3e67ead39d">innerLocalFunctions</a>())</div> | ||
123 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····containedDOFs_.clear();</div> |
100 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····dofIsContained_.assign(localView.size(),·<span·class="keyword">false</span>);</div> | ||
124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
125 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>&·element)</div> | ||
126 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{</div> | ||
127 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······std::apply([&](<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
128 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··········(innerFunction.bind(element),...);</div> | ||
129 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······},·innerLocalFunctions_);</div> | ||
130 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> | ||
131 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
132 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">auto</span>·re·=·Dune::referenceElement<double,dim>(localView.element().type());</div> |
103 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | ||
104 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](<span·class="keyword">auto</span>&&·node,·<span·class="keyword">auto</span>&&·<span·class="comment">/*treePath*/</span>)·{</div> | ||
105 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······const·auto&·localCoefficients·=·node.finiteElement().localCoefficients();</div> | ||
106 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······std::size_t·localSize·=·localCoefficients.size();</div> | ||
107 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······for(std::size_t·i=0;·i<localSize;·++i)</div> | ||
133 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······{</div> |
134 | <div·class="line"><a·id="l000 | 109 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········auto·localKey·=·localCoefficients.localKey(i);</div> |
110 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim()).contains(localKey.subEntity()))</div> | ||
135 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········{</div> |
112 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··········containedDOFs_.push_back(node.localIndex(i));</div> | ||
113 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········dofIsContained_[node.localIndex(i)]·=·true;</div> | ||
114 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········}</div> | ||
115 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······}</div> | ||
116 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····});</div> | ||
117 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
118 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··}</div> | ||
119 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
120 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView,·<span·class="keyword">class</span>·Intersection></div> | ||
121 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01803.html#a263bb19c72865bbad450b3c21ba6ad23">··104</a></span>··<a·class="code·hl_class"·href="a01803.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a01803.html#a263bb19c72865bbad450b3c21ba6ad23">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·<span·class="keyword">const</span>·Intersection&·intersection)</div> | ||
136 | <div·class="line"><a·id="l0010 | 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">··106</span>····<span·class="keywordflow">return</span>·bind(localView,·intersection.indexInInside(),·1);</div> | ||
137 | <div·class="line"><a·id="l0010 | 124 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> |
138 | <div·class="line"><a·id="l0010 | 125 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> |
139 | <div·class="line"><a·id="l001 | 126 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01803.html#a1cdf6bb0ea464ebf9df5ac067a218fd9">··110</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01803.html#a1cdf6bb0ea464ebf9df5ac067a218fd9">begin</a>()<span·class="keyword">·const</span></div> |
140 | <div·class="line"><a·id="l001 | 127 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="keyword">··</span>{</div> |
141 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······<span·class="keywordflow">return</span>·std::apply([](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&...·innerFunction)·{</div> | ||
142 | <div·class="line"><a·id="l001 | 128 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">return</span>·containedDOFs_.cbegin();</div> |
143 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······},·innerLocalFunctions_);</div> | ||
Max diff block lines reached; 19355/57418 bytes (33.71%) of diff not shown. |
Offset 4, 244 lines modified | Offset 4, 177 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | subentitydofs.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<vector> | ||
16 | ·7 | ||
15 | ·6#include·<type_traits> | ||
16 | ·7#include·<tuple> | ||
17 | ·8 | ||
18 | · | 17 | ·8#include·<dune/geometry/referenceelements.hh> |
19 | · | 18 | ·9#include·<dune/typetree/traversal.hh> |
19 | ·10 | ||
20 | ·11 | 20 | ·11 |
21 | ·12#include·<dune/functions/common/defaultderivativetraits.hh> | ||
22 | ·13#include·<dune/functions/common/differentiablefunction.hh> | ||
23 | ·1 | 21 | ·12 |
22 | ·13namespace·Dune·{ | ||
23 | ·14namespace·Functions·{ | ||
24 | ·15 | 24 | ·15 |
25 | ·16 | 25 | ·16 |
26 | ·17 | ||
27 | ·40template<class·GridView> | ||
28 | 41class·SubEntityDOFs | ||
26 | ·17namespace·Dune·{ | ||
27 | ·18namespace·Functions·{ | ||
28 | ·19 | ||
29 | ·20 | ||
30 | ·21 | ||
31 | ·40template<class·OF,·class...·IF> | ||
32 | 41class·ComposedGridFunction | ||
33 | ·42{ | 29 | ·42{ |
30 | ·43·static·const·int·dim·=·GridView::dimension; | ||
31 | ·44 | ||
34 | ·43·using·InnerFunctions·=·std::tuple<IF...>; | ||
35 | ·44·using·InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef | ||
36 | (std::declval<const·IF&>())))...>; | ||
37 | ·45 | ||
38 | ·46·template<std::size_t·i> | ||
39 | ·47·using·InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i, | ||
40 | InnerFunctions>>>; | ||
41 | ·48 | ||
42 | ·49·using·OuterFunction·=·OF; | ||
43 | ·50 | ||
44 | · | 32 | ·45public: |
33 | ·46 | ||
34 | ·63·template<class·LocalView> | ||
35 | 64·SubEntityDOFs&·bind(const·LocalView&·localView,·std::size_t·subEntityIndex, | ||
36 | std::size_t·subEntityCodim) | ||
45 | ·52 | ||
46 | 53·using·EntitySet·=·typename·InnerFunction<0>::EntitySet; | ||
47 | 54·using·Element·=·typename·EntitySet::Element; | ||
48 | ·55 | ||
49 | 56·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
50 | 57·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
51 | ·58 | ||
52 | 59·using·Range·=·decltype(std::declval<OF>()(std::declval<IF>()(std:: | ||
53 | declval<Domain>())...)); | ||
54 | ·60 | ||
55 | ·61private: | ||
56 | ·62 | ||
57 | ·63·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
58 | DefaultDerivativeTraits,·16>; | ||
59 | ·64 | ||
60 | ·65·class·LocalFunction | ||
61 | ·6 | 37 | ·65·{ |
38 | ·66·//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity | ||
39 | ·67·containedDOFs_.clear(); | ||
40 | ·68·dofIsContained_.assign(localView.size(),·false); | ||
41 | ·69 | ||
42 | ·70·auto·re·=·Dune::referenceElement<double,dim>(localView.element().type()); | ||
62 | ·67·public: | ||
63 | ·74·LocalFunction(const·ComposedGridFunction&·globalFunction)·: | ||
64 | ·75·globalFunction_(globalFunction), | ||
65 | ·76·innerLocalFunctions_(globalFunction.innerLocalFunctions()) | ||
66 | ·77·{} | ||
67 | ·78 | ||
68 | ·88·void·bind(const·Element&·element) | ||
69 | ·89·{ | ||
70 | ·90·std::apply([&](auto&...·innerFunction)·{ | ||
71 | ·91·(innerFunction.bind(element),...); | ||
72 | ·92·},·innerLocalFunctions_); | ||
73 | ·93·} | ||
74 | ·94 | ||
75 | ·96·void·unbind() | ||
76 | ·97·{ | ||
77 | ·98·std::apply([&](auto&...·innerFunction)·{ | ||
78 | ·99·(innerFunction.unbind(),...); | ||
79 | ·100·},·innerLocalFunctions_); | ||
80 | ·101·} | ||
81 | ·102 | ||
82 | ·105·bool·bound()·const | ||
83 | ·106·{ | ||
84 | ·107·return·std::apply([](const·auto&...·innerFunction)·{ | ||
85 | ·108·return·(innerFunction.bound()·&&·...); | ||
86 | ·109·},·innerLocalFunctions_); | ||
87 | ·110·} | ||
88 | ·111 | ||
89 | ·121·Range·operator()(const·LocalDomain&·x)·const | ||
90 | ·122·{ | ||
91 | ·123·return·std::apply([&](const·auto&...·innerFunction)·{ | ||
92 | ·124·return·globalFunction_.outerFunction_(innerFunction(x)...); | ||
93 | ·125·},·innerLocalFunctions_); | ||
94 | ·126·} | ||
95 | ·127 | ||
96 | ·137·const·Element&·localContext()·const | ||
97 | ·138·{ | ||
98 | ·139·return·std::get<0>(innerLocalFunctions_).localContext(); | ||
99 | ·140·} | ||
100 | ·141 | ||
101 | ·143·friend·typename·Traits::LocalFunctionTraits::DerivativeInterface | ||
102 | derivative(const·LocalFunction&·t) | ||
103 | ·144·{ | ||
104 | ·145·DUNE_THROW(NotImplemented,"not·implemented"); | ||
105 | ·146·} | ||
Max diff block lines reached; 5881/12533 bytes (46.92%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·basistags.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 56 lines modified | Offset 58, 85 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">basistags.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
76 | <code>#include·<optional></code><br·/> | ||
77 | <code>#include·<dune/common/ | 76 | <code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/signature.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00008_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
84 | </div> | 77 | </div> |
85 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
88 | Classes</h2></td></tr> | 81 | Classes</h2></td></tr> |
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01411.html">Dune::Functions::Concept::IndexMergingStrategy</a></td></tr> |
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01415.html">Dune::Functions::BasisFactory::IndexMergingStrategy</a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Base·class·for·index·merging·strategies·to·simplify·detection.··<a·href="a01415.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01419.html">Dune::Functions::BasisFactory::FlatLexicographic</a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·without·blocking.··<a·href="a01419.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01423.html">Dune::Functions::BasisFactory::FlatInterleaved</a></td></tr> | ||
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·without·blocking.··<a·href="a01423.html#details">More...</a><br·/></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01427.html">Dune::Functions::BasisFactory::BlockedLexicographic</a></td></tr> | ||
94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<a·href="a01427.html#details">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01431.html">Dune::Functions::BasisFactory::BlockedInterleaved</a></td></tr> | ||
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<a·href="a01431.html#details">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
93 | <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> |
94 | Namespaces</h2></td></tr> | 101 | Namespaces</h2></td></tr> |
95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 102 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 104 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a00220"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html">Dune::Functions::Concept</a></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
101 | Functions</h2></td></tr> | 114 | Functions</h2></td></tr> |
115 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
116 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">Dune::Functions::Concept::isIndexMergingStrategy</a>·()</td></tr> | ||
102 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> | ||
103 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplItemLeft"·align="right"·valign="top">AnalyticGridViewFunction<·typename·std::invoke_result<·F,·typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate·>::type(typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate),·GridView,·typename·std::decay<·F·>::type·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">Dune::Functions::makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
104 | <tr·class="memdesc:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01843.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<a·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator: | 117 | <tr·class="separator:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
119 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#a4c80c069c722824168167f5ac1bc3474">Dune::Functions::Concept::isIndexMergingStrategy</a>·(T·&&t)</td></tr> | ||
120 | <tr·class="separator:a4c80c069c722824168167f5ac1bc3474"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | <tr·class="memitem:ad515867ac194016a6f9e4463d1c67a24"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html#ad515867ac194016a6f9e4463d1c67a24">Dune::Functions::BasisFactory::registerIndexMergingStrategy</a>·(IndexMergingStrategy)</td></tr> | ||
122 | <tr·class="separator:ad515867ac194016a6f9e4463d1c67a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
123 | <tr·class="memitem:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·FlatLexicographic </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga611fb3c6cb312fb95e83dd1a62da13bc">Dune::Functions::BasisFactory::flatLexicographic</a>·()</td></tr> | ||
124 | <tr·class="memdesc:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·without·blocking.··<a·href="a00214.html#ga611fb3c6cb312fb95e83dd1a62da13bc">More...</a><br·/></td></tr> | ||
125 | <tr·class="separator:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | <tr·class="memitem:ga67995074ba44e2e28647170584f54bec"><td·class="memItemLeft"·align="right"·valign="top">constexpr·FlatInterleaved </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga67995074ba44e2e28647170584f54bec">Dune::Functions::BasisFactory::flatInterleaved</a>·()</td></tr> | ||
127 | <tr·class="memdesc:ga67995074ba44e2e28647170584f54bec"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·without·blocking.··<a·href="a00214.html#ga67995074ba44e2e28647170584f54bec">More...</a><br·/></td></tr> | ||
128 | <tr·class="separator:ga67995074ba44e2e28647170584f54bec"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
129 | <tr·class="memitem:gadd59442e0e62464ee27af6f2741b4494"><td·class="memItemLeft"·align="right"·valign="top">constexpr·BlockedLexicographic </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#gadd59442e0e62464ee27af6f2741b4494">Dune::Functions::BasisFactory::blockedLexicographic</a>·()</td></tr> | ||
130 | <tr·class="memdesc:gadd59442e0e62464ee27af6f2741b4494"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<a·href="a00214.html#gadd59442e0e62464ee27af6f2741b4494">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:gadd59442e0e62464ee27af6f2741b4494"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
132 | <tr·class="memitem:ga649b67336300e9f05e38b5479ca21a24"><td·class="memItemLeft"·align="right"·valign="top">constexpr·BlockedInterleaved </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga649b67336300e9f05e38b5479ca21a24">Dune::Functions::BasisFactory::blockedInterleaved</a>·()</td></tr> | ||
133 | <tr·class="memdesc:ga649b67336300e9f05e38b5479ca21a24"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<a·href="a00214.html#ga649b67336300e9f05e38b5479ca21a24">More...</a><br·/></td></tr> | ||
134 | <tr·class="separator:ga649b67336300e9f05e38b5479ca21a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | </table> | 135 | </table> |
107 | </div><!--·contents·--> | 136 | </div><!--·contents·--> |
108 | <!--·start·footer·part·--> | 137 | <!--·start·footer·part·--> |
109 | <hr·class="footer"/><address·class="footer"><small> | 138 | <hr·class="footer"/><address·class="footer"><small> |
110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 139 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
111 | </small></address> | 140 | </small></address> |
112 | </body> | 141 | </body> |
Offset 4, 46 lines modified | Offset 4, 83 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
9 | 9 | basistags.hh·File·Reference | |
10 | #include·<type_traits> | 10 | #include·<type_traits> |
11 | #include·<optional> | ||
12 | #include·<dune/common/ | 11 | #include·<dune/common/concept.hh> |
13 | #include·<dune/functions/common/signature.hh> | ||
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
16 | #include·<dune/functions/common/differentiablefunction.hh> | ||
17 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
18 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
19 | Go_to_the_source_code_of_this_file. | 12 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | 13 | ·Classes |
21 | class· Dune::Functions::AnalyticGridViewFunction<_Range(Domain),_GV,_F, | ||
22 | ········DerivativeTraits_> | ||
23 | 14 | struct· Dune::Functions::Concept::IndexMergingStrategy | |
15 | |||
16 | struct· Dune::Functions::BasisFactory::IndexMergingStrategy | ||
17 | ·······Base·class·for·index·merging·strategies·to·simplify·detection.·More... | ||
18 | |||
19 | struct· Dune::Functions::BasisFactory::FlatLexicographic | ||
20 | ·······Lexicographic·merging·of·direct·children·without·blocking.·More... | ||
21 | |||
22 | struct· Dune::Functions::BasisFactory::FlatInterleaved | ||
23 | ·······Interleaved·merging·of·direct·children·without·blocking.·More... | ||
24 | |||
25 | struct· Dune::Functions::BasisFactory::BlockedLexicographic | ||
26 | ·······Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating | ||
27 | ·········one·block·per·direct·child).·More... | ||
28 | |||
29 | struct· Dune::Functions::BasisFactory::BlockedInterleaved | ||
30 | ·······Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating | ||
31 | ·········blocks·at·the·leaves·containing·one·leaf·per·child·each).·More... | ||
24 | 32 | ||
25 | ·Namespaces | 33 | ·Namespaces |
26 | namespace· Dune | 34 | namespace· Dune |
27 | 35 | ||
28 | namespace· Dune::Functions | 36 | namespace· Dune::Functions |
29 | 37 | ||
38 | namespace· Dune::Functions::Concept | ||
39 | |||
40 | namespace· Dune::Functions::BasisFactory | ||
41 | |||
42 | namespace· Dune::Functions::BasisBuilder | ||
43 | |||
30 | ·Functions | 44 | ·Functions |
31 | template<class·F·,·class·GridView·> | ||
32 | ···AnalyticGridViewFunction<·typename | ||
33 | ······std::invoke_result<·F,·typename | ||
34 | ······GridView::template·Codim<·0·>:: | ||
35 | ···Geometry::GlobalCoordinate·>::type | ||
36 | (typename·GridView::template·Codim<·0 | ||
37 | ······>::Geometry::GlobalCoordinate),·Dune::Functions:: | ||
38 | ·GridView,·typename·std::decay<·F·>::·makeAnalyticGridViewFunction·(F·&&f, | ||
39 | ······························type·> const·GridView·&gridView) | ||
40 | ····································Create·an·AnalyticGridViewFunction·from | ||
41 | 45 | template<typename·T·> | |
46 | ·········static·constexpr·bool Dune::Functions::Concept:: | ||
47 | ································isIndexMergingStrategy·() | ||
48 | |||
49 | template<typename·T·> | ||
50 | ·········static·constexpr·bool Dune::Functions::Concept:: | ||
51 | ································isIndexMergingStrategy·(T·&&t) | ||
52 | |||
53 | ··························void Dune::Functions::BasisFactory:: | ||
54 | ································registerIndexMergingStrategy | ||
55 | ································(IndexMergingStrategy) | ||
56 | |||
57 | ···constexpr·FlatLexicographic Dune::Functions::BasisFactory:: | ||
58 | ································flatLexicographic·() | ||
59 | ······························Creates·a·lexicographic·merging·of·direct | ||
60 | ································children·without·blocking.·More... | ||
61 | |||
62 | ·····constexpr·FlatInterleaved Dune::Functions::BasisFactory::flatInterleaved | ||
63 | ································() | ||
64 | ······························Creates·an·interleaved·merging·of·direct | ||
65 | ································children·without·blocking.·More... | ||
66 | |||
67 | constexpr·BlockedLexicographic Dune::Functions::BasisFactory:: | ||
68 | ································blockedLexicographic·() | ||
69 | ································Creates·a·lexicographic·merging·of·direct | ||
70 | ······························children·with·blocking·(i.e.·creating·one·block | ||
71 | ································per·direct·child).·More... | ||
72 | |||
73 | ··constexpr·BlockedInterleaved Dune::Functions::BasisFactory:: | ||
74 | ································blockedInterleaved·() | ||
75 | ································Creates·an·interleaved·merging·of·direct | ||
76 | ······························children·with·blocking·(i.e.·creating·blocks·at | ||
77 | ································the·leaves·containing·one·leaf·per·child·each). | ||
78 | ································More... | ||
42 | 79 | ||
43 | =============================================================================== | 80 | =============================================================================== |
44 | ·····Generated·by [doxygen]·1.9.4 | 81 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·basistags.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 239 lines modified | Offset 58, 126 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">basistags.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<o | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/signature.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00008.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
90 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span>Functions·{</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>··<span·class="keyword">namespace·</span>Concept·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno"><a·class="line"·href="a01411.html">···14</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01411.html">IndexMergingStrategy</a></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>····{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a01411.html#a8552823d8c75d18bca5f41f36cd7b2dd">···17</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01411.html#a8552823d8c75d18bca5f41f36cd7b2dd">require</a>(T&&·t)·->·<span·class="keyword">decltype</span>(</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>········<a·class="code·hl_function"·href="a00224.html#ad515867ac194016a6f9e4463d1c67a24">registerIndexMergingStrategy</a>(t)</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>······);</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····};</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword"> | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">···23</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>()</div> | ||
93 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····{</div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·FLocal,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword"> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>······<span·class="keywordflow">return</span>·models<Concept::IndexMergingStrategy,T>();</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····}</div> |
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·LocalDomain,·<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·F,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F,·DerivativeTraits></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">public</span>:</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">using·</span>Signature·=·Range(LocalDomain);</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">using·</span>RawSignature·=·<span·class="keyword">typename</span>·SignatureTraits<Signature>::RawSignature;</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(LocalDomain);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">using·</span>GridView·=·GV;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>EntitySet·=·GridViewEntitySet<GridView,·0>;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//··using·Geometry·=·typename·Element::Geometry;</span></div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>Geometry·=·<span·class="keyword">typename</span>·std::decay<typename·Element::Geometry>::type;</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·Use·the·indirection·via·derivativeIfImplemented·to·also·support</span></div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="comment">//·function·types·F·that·do·not·implement·derivative.·In·this·case</span></div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for</span></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·the·derivative·type</span></div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>;</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>GlobalRawDerivative·=·<span·class="keyword">decltype</span>(Imp::derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>()));</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature,·GridView,·GlobalRawDerivative,·DerivativeTraits>;</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FT,·disableCopyMove<LocalAnalyticGr<span·class="keywordtype">id</span>ViewFunction,·FT>·=·0></div> | ||
120 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··LocalAnalyticGridViewFunction(FT&&·f)·:</div> | ||
121 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····f_(std::forward<FT>(f))</div> | ||
122 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> | ||
123 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
124 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FT></div> | ||
125 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··LocalAnalyticGridViewFunction(FT&&·f,·<span·class="keyword">const</span>·Element&·element,·<span·class="keyword">const</span>·std::optional<Geometry>&·geometry)·:</div> | ||
126 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····f_(std::forward<FT>(f)),</div> | ||
127 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····element_(element),</div> | ||
128 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····geometry_(geometry)</div> | ||
129 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{}</div> | ||
130 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00220.html#a4c80c069c722824168167f5ac1bc3474">···29</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>(T&&·t)</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="keywordflow">return</span>·models<Concept::IndexMergingStrategy,std::decay_t<T>>();</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····}</div> | ||
131 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
132 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}·<span·class="comment">//·namespace·Concept</span></div> |
133 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····element_·=·element;</div> | ||
135 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····geometry_.emplace(element_.geometry());</div> | ||
136 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00224.html">···37</a></span><span·class="keyword">namespace·</span>BasisFactory·{</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01415.html">···44</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a>·{};</div> | ||
110 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
111 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a00224.html#ad515867ac194016a6f9e4463d1c67a24">···46</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00224.html#ad515867ac194016a6f9e4463d1c67a24">registerIndexMergingStrategy</a>(<a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a>);</div> | ||
137 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
138 | <div·class="line"><a·id="l0007 | 113 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01419.html">···78</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01419.html">FlatLexicographic</a></div> |
114 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a></div> | ||
139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div> | 115 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{};</div> |
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····geometry_.reset();</div> | ||
141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··}</div> | ||
142 | <div·class="line"><a·id="l0008 | 116 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
117 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01423.html">··112</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01423.html">FlatInterleaved</a></div> | ||
118 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a></div> | ||
143 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
Max diff block lines reached; 27815/63869 bytes (43.55%) of diff not shown. |
Offset 4, 326 lines modified | Offset 4, 150 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | basistags.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<type_traits> | 15 | ·6#include·<type_traits> |
16 | ·7#include·<o | 16 | ·7#include·<dune/common/concept.hh> |
17 | ·8 | 17 | ·8 |
18 | ·9#include·<dune/common/typeutilities.hh> | ||
19 | ·10 | ||
20 | ·11#include·<dune/functions/common/signature.hh> | ||
21 | ·12#include·<dune/functions/common/defaultderivativetraits.hh> | ||
22 | ·13#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
23 | ·14#include·<dune/functions/common/differentiablefunction.hh> | ||
24 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
25 | ·16#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
26 | ·17 | ||
27 | ·18 | ||
28 | · | 18 | ·9namespace·Dune·{ |
29 | · | 19 | ·10namespace·Functions·{ |
20 | ·11 | ||
21 | ·12·namespace·Concept·{ | ||
22 | ·13 | ||
23 | 14·struct·IndexMergingStrategy | ||
24 | ·15·{ | ||
25 | ·16·template<typename·T> | ||
26 | 17·auto·require(T&&·t)·->·decltype( | ||
27 | ·18·registerIndexMergingStrategy(t) | ||
28 | ·19·); | ||
29 | ·20·}; | ||
30 | ·21 | 30 | ·21 |
31 | ·22·template<typename·T> | ||
32 | 23·static·constexpr·bool·isIndexMergingStrategy() | ||
33 | ·24·{ | ||
34 | ·25·return·models<Concept::IndexMergingStrategy,T>(); | ||
31 | ·22namespace·Imp·{ | ||
32 | ·23 | ||
33 | ·24template<class·Signature,·class·GV,·class·FLocal,·template<class>·class | ||
34 | DerivativeTraits=DefaultDerivativeTraits> | ||
35 | ·25class·LocalAnalyticGridViewFunction; | ||
36 | ·26 | ||
37 | ·27template<class·Range,·class·LocalDomain,·class·GV,·class·F,·template<class> | ||
38 | class·DerivativeTraits> | ||
39 | ·28class·LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F, | ||
40 | DerivativeTraits> | ||
41 | ·29{ | ||
42 | ·30public: | ||
43 | ·31·using·Signature·=·Range(LocalDomain); | ||
44 | ·32·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
45 | ·33·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
46 | (LocalDomain); | ||
47 | ·34 | ||
48 | ·35·using·GridView·=·GV; | ||
49 | ·36·using·EntitySet·=·GridViewEntitySet<GridView,·0>; | ||
50 | ·37·using·Element·=·typename·EntitySet::Element; | ||
51 | ·38//·using·Geometry·=·typename·Element::Geometry; | ||
52 | ·39·using·Geometry·=·typename·std::decay<typename·Element::Geometry>::type; | ||
53 | ·40 | ||
54 | ·41·//·Use·the·indirection·via·derivativeIfImplemented·to·also·support | ||
55 | ·42·//·function·types·F·that·do·not·implement·derivative.·In·this·case | ||
56 | ·43·//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for | ||
57 | ·44·//·the·derivative·type | ||
58 | ·45·using·DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>; | ||
59 | ·46·using·GlobalRawDerivative·=·decltype(Imp:: | ||
60 | derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>())); | ||
61 | ·47·using·LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature, | ||
62 | GridView,·GlobalRawDerivative,·DerivativeTraits>; | ||
63 | ·48 | ||
64 | ·50·template<class·FT,·disableCopyMove<LocalAnalyticGridViewFunction,·FT>·=·0> | ||
65 | ·51·LocalAnalyticGridViewFunction(FT&&·f)·: | ||
66 | ·52·f_(std::forward<FT>(f)) | ||
67 | ·53·{} | ||
68 | ·54 | ||
69 | ·56·template<class·FT> | ||
70 | ·57·LocalAnalyticGridViewFunction(FT&&·f,·const·Element&·element,·const·std:: | ||
71 | optional<Geometry>&·geometry)·: | ||
72 | ·58·f_(std::forward<FT>(f)), | ||
73 | ·59·element_(element), | ||
74 | ·60·geometry_(geometry) | ||
75 | ·61·{} | ||
76 | ·62 | ||
77 | ·63 | ||
78 | ·72·void·bind(const·Element&·element) | ||
79 | ·73·{ | ||
80 | ·74·element_·=·element; | ||
81 | ·75·geometry_.emplace(element_.geometry()); | ||
82 | · | 35 | ·26·} |
83 | ·77 | ||
84 | · | 36 | ·27 |
37 | ·28·template<typename·T> | ||
38 | 29·static·constexpr·bool·isIndexMergingStrategy(T&&·t) | ||
85 | · | 39 | ·30·{ |
86 | · | 40 | ·31·return·models<Concept::IndexMergingStrategy,std::decay_t<T>>(); |
87 | · | 41 | ·32·} |
88 | ·83 | ||
89 | ·86·bool·bound()·const | ||
90 | ·87·{ | ||
91 | ·88·return·static_cast<bool>(geometry_); | ||
92 | ·89·} | ||
93 | ·90 | ||
94 | ·100·Range·operator()(const·LocalDomain&·x)·const | ||
95 | ·101·{ | ||
96 | ·102·assert(!!geometry_); | ||
97 | ·103·return·f_(geometry_->global(x)); | ||
98 | ·104·} | ||
99 | ·105 | ||
100 | ·107·const·Element&·localContext()·const | ||
101 | ·108·{ | ||
102 | ·109·assert(!!geometry_); | ||
103 | ·110·return·element_; | ||
104 | ·111·} | ||
105 | ·112 | ||
106 | ·121·friend·LocalDerivative·derivative(const·LocalAnalyticGridViewFunction&·t) | ||
107 | ·122·{ | ||
108 | ·123·return·LocalDerivative(Imp::derivativeIfImplemented<DerivativeDummy,·F> | ||
Max diff block lines reached; 9306/16082 bytes (57.87%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·flatvectorview.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 58 lines modified | Offset 58, 53 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 69 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 70 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">flatvectorview.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<array></code><br·/> |
76 | <code>#include·<dune/common/concept.hh></code><br·/> | 75 | <code>#include·<dune/common/concept.hh></code><br·/> |
76 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
77 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
77 | <code>#include·<<a·class="el"·href="a0 | 78 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code><br·/> | ||
80 | </div> | 79 | </div> |
81 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> | 80 | <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
84 | Classes</h2></td></tr> | ||
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01923.html">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01927.html">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·GridView.··<a·href="a01927.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table><table·class="memberdecls"> | ||
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
92 | Namespaces</h2></td></tr> | 83 | Namespaces</h2></td></tr> |
93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 84 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 86 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 88 | </table><table·class="memberdecls"> |
98 | <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="func-members"·name="func-members"></a> |
99 | Functions</h2></td></tr> | 90 | Functions</h2></td></tr> |
100 | <tr·class="memitem:ab31121faf1c753f425b7360cedeb9a6a"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·,·typename·std::enable_if<·models<·Imp::HasFreeLocalFunction,·F·>(),·int·>::type··=·0>·</td></tr> | ||
101 | <tr·class="memitem:ab31121faf1c753f425b7360cedeb9a6a"><td·class="memTemplItemLeft"·align="right"·valign="top">std::decay<·F·>::type </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ab31121faf1c753f425b7360cedeb9a6a">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
102 | <tr·class="mem | 91 | <tr·class="memitem:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> |
92 | <tr·class="memitem:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad98b265d97ebd619e7732df6a8d1f7da">Dune::Functions::flatVectorView</a>·(T·&t)</td></tr> | ||
93 | <tr·class="memdesc:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·flat·vector·view·of·passed·mutable·container.··<a·href="a00219.html#ad98b265d97ebd619e7732df6a8d1f7da">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:a | 94 | <tr·class="separator:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·,·typename·std::enable_if<·not(models<·Imp::HasFreeLocalFunction,·F·>()),·int·>::type··=·0>·</td></tr> | ||
105 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a34f2d140a1fed46862286f68d26c9975">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)·->·decltype(<a·class="el"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">makeAnalyticGridViewFunction</a>(std::forward<·F·>(f),·gridView))</td></tr> | ||
106 | <tr·class="mem | 95 | <tr·class="memitem:ac37c350bd2f6cb4fea793ac4f665c0fe"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> |
96 | <tr·class="memitem:ac37c350bd2f6cb4fea793ac4f665c0fe"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ac37c350bd2f6cb4fea793ac4f665c0fe">Dune::Functions::flatVectorView</a>·(const·T·&t)</td></tr> | ||
97 | <tr·class="memdesc:ac37c350bd2f6cb4fea793ac4f665c0fe"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·flat·vector·view·of·passed·const·container.··<a·href="a00219.html#ac37c350bd2f6cb4fea793ac4f665c0fe">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:ac37c350bd2f6cb4fea793ac4f665c0fe"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:a4fac6802f21000f59e52aade3cd47b08"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
100 | <tr·class="memitem:a4fac6802f21000f59e52aade3cd47b08"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a4fac6802f21000f59e52aade3cd47b08">Dune::Functions::flatVectorView</a>·(T·&&t)</td></tr> | ||
101 | <tr·class="memdesc:a4fac6802f21000f59e52aade3cd47b08"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·flat·vector·view·of·passed·container·temporary.··<a·href="a00219.html#a4fac6802f21000f59e52aade3cd47b08">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:a | 102 | <tr·class="separator:a4fac6802f21000f59e52aade3cd47b08"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table> | 103 | </table> |
109 | </div><!--·contents·--> | 104 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 105 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 106 | <hr·class="footer"/><address·class="footer"><small> |
112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
113 | </small></address> | 108 | </small></address> |
114 | </body> | 109 | </body> |
Offset 4, 49 lines modified | Offset 4, 37 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | 8 | Namespaces·|·Functions | |
9 | 9 | flatvectorview.hh·File·Reference | |
10 | #include·< | 10 | #include·<array> |
11 | #include·<dune/common/concept.hh> | 11 | #include·<dune/common/concept.hh> |
12 | #include·<dune/common/hybridutilities.hh> | ||
13 | #include·<dune/common/indices.hh> | ||
12 | #include·<dune/functions/ | 14 | #include·<dune/functions/functionspacebases/concepts.hh> |
13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
14 | #include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
15 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
16 | ·Classes | ||
17 | class· Dune::Functions::GridViewFunction<_Signature,_GridView, | ||
18 | ········DerivativeTraits,_bufferSize_> | ||
19 | |||
20 | class· Dune::Functions::GridViewFunction<_Range(Domain),_GV,_DerivativeTraits, | ||
21 | ········bufferSize_> | ||
22 | ······Wrapper·class·for·functions·defined·on·a·GridView.·More... | ||
23 | |||
24 | ·Namespaces | 16 | ·Namespaces |
25 | namespace· Dune | 17 | namespace· Dune |
26 | 18 | ||
27 | namespace· Dune::Functions | 19 | namespace· Dune::Functions |
28 | 20 | ||
29 | ·Functions | 21 | ·Functions |
22 | template<class·T·> | ||
23 | auto Dune::Functions::flatVectorView·(T·&t) | ||
24 | ····Create·flat·vector·view·of·passed·mutable·container.·More... | ||
30 | template<class·F·,·class·GridView·,·typename·std::enable_if<·models<·Imp:: | ||
31 | HasFreeLocalFunction,·F·>(),·int·>::type·=·0> | ||
32 | std::decay<·F·>::type Dune::Functions::makeGridViewFunction·(F·&&f,·const | ||
33 | ·······················GridView·&gridView) | ||
34 | ·····················Construct·a·function·modeling·GridViewFunction·from | ||
35 | ·······················function·and·grid·view.·More... | ||
36 | 25 | ||
26 | template<class·T·> | ||
27 | auto Dune::Functions::flatVectorView·(const·T·&t) | ||
28 | ····Create·flat·vector·view·of·passed·const·container.·More... | ||
29 | |||
30 | template<class·T·> | ||
31 | auto Dune::Functions::flatVectorView·(T·&&t) | ||
32 | ····Create·flat·vector·view·of·passed·container·temporary.·More... | ||
37 | template<class·F·,·class·GridView·,·typename·std::enable_if<·not(models<·Imp:: | ||
38 | HasFreeLocalFunction,·F·>()),·int·>::type·=·0> | ||
39 | ·················auto Dune::Functions::makeGridViewFunction·(F·&&f,·const | ||
40 | ·······················GridView·&gridView)·->·decltype | ||
41 | ·······················(makeAnalyticGridViewFunction(std::forward<·F·>(f), | ||
42 | ·······················gridView)) | ||
43 | ·····················Construct·a·function·modeling·GridViewFunction·from | ||
44 | ·······················function·and·grid·view.·More... | ||
45 | 33 | ||
46 | =============================================================================== | 34 | =============================================================================== |
47 | ·····Generated·by [doxygen]·1.9.4 | 35 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·flatvectorview.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 95 lines modified | Offset 58, 213 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">flatvectorview.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATVECTORVIEW_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATVECTORVIEW_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<array></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
88 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01923.html">···21</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01923.html">GridViewFunction</a></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span> | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">struct·</span>FlatVectorBackend</div> |
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> |
96 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·GV,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
97 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01927.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01923.html">GridViewFunction</a><Range(Domain),·GV,·DerivativeTraits,·bufferSize>·:</div> | ||
98 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,·<span·class="keyword">class·</span>Index,</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">typename</span>·std::enable_if<·models<Concept::HasIndexAccess,·VV,·Index>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">static</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·getEntry(VV&&·v,·<span·class="keyword">const</span>·Index&·i)</div> | ||
99 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div> |
100 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01895.html">Base</a>·=·<a·class="code·hl_class"·href="a01895.html">GridFunction</a><Range(Domain),·<a·class="code·hl_class"·href="a01919.html">GridViewEntitySet<GV,·0></a>,·DerivativeTraits,·bufferSize>;</div> | ||
101 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keywordflow">return</span>·v[i];</div> |
102 | <div·class="line"><a·id="l000 | 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="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,·<span·class="keyword">class·</span>Index,</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">typename</span>·std::enable_if<·not·models<Concept::HasIndexAccess,·VV,·Index>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">static</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·getEntry(VV&&·v,·<span·class="keyword">const</span>·Index&)</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·std::forward<VV>(v);</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">typename</span>·std::enable_if<·models<Concept::HasSizeMethod,·VV>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">static</span>·<span·class="keyword">auto</span>·size(VV&&·v)</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keywordflow">return</span>·Dune::Hybrid::size(v);</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··}</div> | ||
103 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
104 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword"> | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,</div> |
105 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>};</div> | ||
106 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">typename</span>·std::enable_if<·not·models<Concept::HasSizeMethod,·VV>(),·<span·class="keywordtype">int</span>>::type·=·0></div> |
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">static</span>·<span·class="keyword">auto</span>·size(VV&&)</div> | ||
107 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> |
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keywordflow">return</span>·Dune::index_constant<1>{};</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>};</div> | ||
108 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
109 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> | ||
110 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">typename</span>·std::enable_if<</div> | ||
111 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····models<·Imp::HasFreeLocalFunction,·F>()·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">typename</span>·std::decay<F>::type</div> | ||
113 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n,·<span·class="keywordtype">int</span>·m></div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">struct·</span>FlatVectorBackend<typename·<a·class="code·hl_namespace"·href="a00218.html">Dune</a>::FieldMatrix<K,·n,·m>·></div> | ||
114 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> |
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·VV,·<span·class="keyword">class</span>·Index></div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">static</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·getEntry(VV&&·v,·<span·class="keyword">const</span>·Index&·i)</div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> | ||
115 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">return</span>·v[i/m][i%m];</div> |
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·VV></div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">static</span>·<span·class="keyword">auto</span>·size(VV&&·v)</div> | ||
116 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> |
117 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | 142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">return</span>·Dune::index_constant<n*m>{};</div> |
118 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> |
119 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span> | 144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>};</div> |
145 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
146 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
147 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·std::<span·class="keywordtype">size_t</span>·n></div> | ||
149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">struct·</span>FlatVectorBackend<·std::array<K,·n>·></div> | ||
150 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>{</div> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·VV,·<span·class="keyword">class</span>·Index></div> | ||
153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">static</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·getEntry(VV&&·v,·<span·class="keyword">const</span>·Index&·i)</div> | ||
Max diff block lines reached; 16517/41963 bytes (39.36%) of diff not shown. |
Offset 4, 109 lines modified | Offset 4, 213 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | flatvectorview.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATVECTORVIEW_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATVECTORVIEW_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6 | ||
15 | · | 16 | ·7#include·<array> |
16 | · | 17 | ·8 |
17 | · | 18 | ·9#include·<dune/common/concept.hh> |
18 | · | 19 | ·10#include·<dune/common/hybridutilities.hh> |
20 | ·11#include·<dune/common/indices.hh> | ||
21 | ·12 | ||
19 | ·1 | 22 | ·13#include·<dune/functions/functionspacebases/concepts.hh> |
20 | ·11#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
21 | ·12#include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
22 | ·13 | ||
23 | ·14 | 23 | ·14 |
24 | ·15namespace·Dune·{ | ||
25 | ·1 | 24 | ·15 |
25 | ·16 | ||
26 | ·17 | 26 | ·17 |
27 | ·18namespace·Dune·{ | ||
28 | ·19namespace·Functions·{ | ||
29 | ·20namespace·Impl·{ | ||
30 | ·21 | ||
31 | ·22 | ||
32 | ·23template<class·V> | ||
33 | ·24struct·FlatVectorBackend | ||
27 | ·18 | ||
28 | ·19 | ||
29 | ·20template<class·Signature,·class·GridView,·template<class>·class | ||
30 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
31 | 21class·GridViewFunction | ||
32 | ·22{}; | ||
33 | ·23 | ||
34 | ·24 | ||
35 | ·25 | 34 | ·25{ |
36 | ·40template<class·Range,·class·Domain,·class·GV,·template<class>·class | ||
37 | DerivativeTraits,·size_t·bufferSize> | ||
38 | 41class·GridViewFunction<Range(Domain),·GV,·DerivativeTraits,·bufferSize>·: | ||
39 | ·42·public·GridFunction<Range(Domain),·GridViewEntitySet<GV,·0>, | ||
40 | DerivativeTraits,·bufferSize> | ||
41 | ·43{ | ||
42 | ·44·using·Base·=·GridFunction<Range(Domain),·GridViewEntitySet<GV,_0>, | ||
43 | DerivativeTraits,·bufferSize>; | ||
44 | ·45public: | ||
45 | 35 | ·26 | |
36 | ·27·template<class·VV,·class·Index, | ||
37 | ·28·typename·std::enable_if<·models<Concept::HasIndexAccess,·VV,·Index>(), | ||
38 | int>::type·=·0> | ||
39 | ·29·static·decltype(auto)·getEntry(VV&&·v,·const·Index&·i) | ||
40 | ·30·{ | ||
41 | ·31·return·v[i]; | ||
42 | ·32·} | ||
43 | ·33 | ||
44 | ·34·template<class·VV,·class·Index, | ||
45 | ·35·typename·std::enable_if<·not·models<Concept::HasIndexAccess,·VV,·Index>(), | ||
46 | int>::type·=·0> | ||
47 | ·36·static·decltype(auto)·getEntry(VV&&·v,·const·Index&) | ||
48 | ·37·{ | ||
49 | ·38·return·std::forward<VV>(v); | ||
50 | ·39·} | ||
51 | ·40 | ||
52 | ·41·template<class·VV, | ||
53 | ·42·typename·std::enable_if<·models<Concept::HasSizeMethod,·VV>(),·int>::type·= | ||
54 | 0> | ||
55 | ·43·static·auto·size(VV&&·v) | ||
56 | ·44·{ | ||
57 | ·45·return·Dune::Hybrid::size(v); | ||
58 | ·46·} | ||
46 | ·47 | 59 | ·47 |
47 | ·48· | 60 | ·48·template<class·VV, |
61 | ·49·typename·std::enable_if<·not·models<Concept::HasSizeMethod,·VV>(),·int>:: | ||
62 | type·=·0> | ||
63 | ·50·static·auto·size(VV&&) | ||
64 | ·51·{ | ||
65 | ·52·return·Dune::index_constant<1>{}; | ||
66 | ·53·} | ||
48 | · | 67 | ·54}; |
49 | ·50 | ||
50 | ·51 | ||
51 | ·5 | 68 | ·55 |
69 | ·56 | ||
70 | ·57 | ||
71 | ·58 | ||
72 | ·59template<class·K,·int·n,·int·m> | ||
73 | ·60struct·FlatVectorBackend<typename·Dune::FieldMatrix<K,·n,·m>·> | ||
74 | ·61{ | ||
75 | ·62 | ||
52 | ·6 | 76 | ·63·template<class·VV,·class·Index> |
53 | ·65·typename·std::enable_if< | ||
54 | ·66·models<·Imp::HasFreeLocalFunction,·F>()·,·int>::type·=·0> | ||
55 | ·67typename·std::decay<F>::type | ||
56 | 68·makeGridViewFunction(F&&·f,·const·GridView&·gridView) | ||
57 | ·69{ | ||
58 | ·70·return·std::forward<F>(f); | ||
59 | ·71} | ||
60 | · | 77 | ·64·static·decltype(auto)·getEntry(VV&&·v,·const·Index&·i) |
78 | ·65·{ | ||
79 | ·66·return·v[i/m][i%m]; | ||
80 | ·67·} | ||
81 | ·68 | ||
82 | ·69·template<class·VV> | ||
83 | ·70·static·auto·size(VV&&·v) | ||
84 | ·71·{ | ||
85 | ·72·return·Dune::index_constant<n*m>{}; | ||
61 | ·73 | 86 | ·73·} |
62 | ·74 | 87 | ·74}; |
63 | ·90template<class·F,·class·GridView, | ||
64 | ·91·typename·std::enable_if< | ||
65 | ·92·not(models<·Imp::HasFreeLocalFunction,·F>())·,·int>::type·=·0> | ||
66 | 93auto·makeGridViewFunction(F&&·f,·const·GridView&·gridView) | ||
67 | · | 88 | ·75 |
89 | ·76 | ||
90 | ·77 | ||
Max diff block lines reached; 3408/7819 bytes (43.59%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·brezzidouglasmarinibasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 50 lines modified | Offset 58, 71 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">brezzidouglasmarinibasis.hh·File·Reference</div></div> |
72 | </div><!--header--> | 74 | </div><!--header--> |
73 | <div·class="contents"> | 75 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<array></code><br·/> |
75 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
78 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
79 | <code>#include·<dune/localfunctions/common/virtualinterface.hh></code><br·/> | ||
80 | <code>#include·<dune/localfunctions/common/virtualwrappers.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></code><br·/> | ||
84 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></code><br·/> | ||
85 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></code><br·/> | ||
76 | <code>#include·<<a·class="el"·href="a00 | 86 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/localfunction.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00 | 87 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
81 | <code>#include·<<a·class="el"·href="a001 | 88 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
82 | <code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></code><br·/> | ||
83 | </div> | 89 | </div> |
84 | <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p> | 90 | <p><a·href="a00098_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">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·></a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·></a></td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·Grid.··<a·href="a01903.html#details">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 98 | </table><table·class="memberdecls"> |
94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
95 | Namespaces</h2></td></tr> | 100 | Namespaces</h2></td></tr> |
96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 101 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 103 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | </table><table·class="memberdecls"> | ||
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
109 | Typedefs</h2></td></tr> | ||
110 | <tr·class="memitem:a05987d1b6480619710c578ad80a243e5"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
111 | <tr·class="memitem:a05987d1b6480619710c578ad80a243e5"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a05987d1b6480619710c578ad80a243e5">Dune::Functions::BrezziDouglasMariniBasis</a>·=·DefaultGlobalBasis<·BrezziDouglasMariniPreBasis<·GV,·k·>·></td></tr> | ||
112 | <tr·class="memdesc:a05987d1b6480619710c578ad80a243e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and·cube·grids.··<a·href="a00219.html#a05987d1b6480619710c578ad80a243e5">More...</a><br·/></td></tr> | ||
113 | <tr·class="separator:a05987d1b6480619710c578ad80a243e5"><td·class="memSeparator"·colspan="2"> </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:ga72847f418332ba3d5444a7f153776610"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
118 | <tr·class="memitem:ga72847f418332ba3d5444a7f153776610"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga72847f418332ba3d5444a7f153776610">Dune::Functions::BasisFactory::brezziDouglasMarini</a>·()</td></tr> | ||
119 | <tr·class="memdesc:ga72847f418332ba3d5444a7f153776610"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Brezzi-Douglas-Marini·pre-basis.··<a·href="a00213.html#ga72847f418332ba3d5444a7f153776610">More...</a><br·/></td></tr> | ||
120 | <tr·class="separator:ga72847f418332ba3d5444a7f153776610"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | </table> | 121 | </table> |
101 | </div><!--·contents·--> | 122 | </div><!--·contents·--> |
102 | <!--·start·footer·part·--> | 123 | <!--·start·footer·part·--> |
103 | <hr·class="footer"/><address·class="footer"><small> | 124 | <hr·class="footer"/><address·class="footer"><small> |
104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 125 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
105 | </small></address> | 126 | </small></address> |
106 | </body> | 127 | </body> |
Offset 4, 36 lines modified | Offset 4, 57 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | Classes·|·Namespaces | ||
9 | gridfunction.hh·File·Reference | ||
10 | 7 | ····*·functionspacebases | |
8 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
9 | brezzidouglasmarinibasis.hh·File·Reference | ||
10 | #include·<array> | ||
11 | #include·<dune/common/ | 11 | #include·<dune/common/exceptions.hh> |
12 | #include·<dune/geometry/referenceelements.hh> | ||
13 | #include·<dune/localfunctions/common/virtualinterface.hh> | ||
12 | #include·<dune/functions/common/t | 14 | #include·<dune/localfunctions/common/virtualwrappers.hh> |
13 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
14 | #include·<dune/functions/common/differentiablefunction.hh> | ||
15 | #include·<dune/functions/ | 15 | #include·<dune/localfunctions/brezzidouglasmarini/ |
16 | brezzidouglasmarini1cube2d.hh> | ||
17 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
18 | brezzidouglasmarini1cube3d.hh> | ||
19 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
20 | brezzidouglasmarini1simplex2d.hh> | ||
21 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
22 | brezzidouglasmarini2cube2d.hh> | ||
23 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
24 | brezzidouglasmarini2simplex2d.hh> | ||
25 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
16 | #include·<dune/functions/ | 26 | #include·<dune/functions/functionspacebases/nodes.hh> |
27 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
17 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
18 | #include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
19 | Go_to_the_source_code_of_this_file. | 28 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | 29 | ·Classes |
30 | class· Dune::Functions::BrezziDouglasMariniPreBasis<_GV,_k_> | ||
21 | class· Dune::Functions::GridFunction<_Signature,_EntitySet,_DerivativeTraits, | ||
22 | ········bufferSize_> | ||
23 | 31 | ||
32 | class· Dune::Functions::BrezziDouglasMariniNode<_GV,_k_> | ||
24 | class· Dune::Functions::GridFunction<_Range(Domain),_ES,_DerivativeTraits, | ||
25 | ········bufferSize_> | ||
26 | ······Wrapper·class·for·functions·defined·on·a·Grid.·More... | ||
27 | 33 | ||
28 | ·Namespaces | 34 | ·Namespaces |
29 | namespace· Dune | 35 | namespace· Dune |
30 | 36 | ||
31 | namespace· Dune::Functions | 37 | namespace· Dune::Functions |
32 | 38 | ||
39 | namespace· Dune::Functions::BasisFactory | ||
40 | |||
41 | ·Typedefs | ||
42 | template<typename·GV·,·int·k> | ||
43 | using Dune::Functions::BrezziDouglasMariniBasis·=·DefaultGlobalBasis< | ||
44 | ·······BrezziDouglasMariniPreBasis<·GV,·k·>·> | ||
45 | ·····Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and | ||
46 | ·······cube·grids.·More... | ||
47 | |||
48 | ·Functions | ||
49 | template<std::size_t·k> | ||
50 | auto Dune::Functions::BasisFactory::brezziDouglasMarini·() | ||
51 | ····Create·a·pre-basis·factory·that·can·create·a·Brezzi-Douglas-Marini·pre- | ||
52 | ······basis.·More... | ||
53 | |||
33 | =============================================================================== | 54 | =============================================================================== |
34 | ·····Generated·by [doxygen]·1.9.4 | 55 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·brezzidouglasmarinibasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 165 lines modified | Offset 58, 393 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">brezzidouglasmarinibasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | ||
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/localfunctions/common/virtualinterface.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/localfunctions/common/virtualwrappers.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00062.html">dune/functions/common/localfunction.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00026.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00104.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00083.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
91 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00155.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
93 | <div·class="line"><a·id="l0002 | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
94 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/*</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class=" | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo</div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
101 | <div·class="line"><a·id="l0003 | 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="keyword">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span> | 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> | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo<2,D,R,1></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··{</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>;</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·8;</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··};</div> | ||
104 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Imp</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·ES,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
110 | <div·class="line"><a·id="l0004 | 112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">struct·</span>BDMSimplexLocalInfo<2,D,R,2></div> |
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> | 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> |
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">protected</span>:</div> | ||
114 | <div·class="line"><a·id="l0004 | 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>;</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·8;</div> | ||
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div> |
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
116 | <div·class="line"><a·id="l0004 | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo</div> |
117 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>EntitySet·=·ES;</div> | ||
118 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div> |
119 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> |
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··};</div> | ||
120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
121 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo<2,D,R,1></div> | ||
122 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div> |
123 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>;</div> |
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> | ||
124 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··};</div> |
125 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">using·</span>LocalSignature·=·<span·class="keyword">typename</span>·Base::Range(<span·class="keyword">typename</span>·EntitySet::LocalCoordinate);</div> | ||
126 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo<2,D,R,2></div> | ||
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Cube2DLocalFiniteElement<D,R>;</div> | ||
127 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> |
128 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01931.html">LocalDerivativeTraits</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01931.html">Dune::Functions::LocalDerivativeTraits<EntitySet,·DerivativeTraits>::template</a>·Traits<R>;</div> | ||
129 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div> |
130 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">using·</span>LocalFunctionTraits·=·<span·class="keyword">typename</span>·Dune::Functions::Imp::LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize>;</div> | ||
131 | <div·class="line"><a·id="l0006 | 137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
132 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo<3,D,R,1></div> | ||
133 | <div·class="line"><a·id="l0007 | 140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··{</div> |
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube3DLocalFiniteElement<D,R>;</div> | ||
134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">using·</span>Concept·=·GridFunctionWrapperInterface<S,·DerivativeInterface,·LocalFunctionInterface,·ES>;</div> | ||
135 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
Max diff block lines reached; 73425/98870 bytes (74.26%) of diff not shown. |
Offset 4, 199 lines modified | Offset 4, 512 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | brezzidouglasmarinibasis.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BREZZIDOUGLASMARINIBASIS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<array> | ||
15 | ·6#include·<type_traits> | ||
16 | ·7 | ||
17 | · | 16 | ·7#include·<dune/common/exceptions.hh> |
17 | ·8#include·<dune/geometry/referenceelements.hh> | ||
18 | ·9 | 18 | ·9 |
19 | ·10#include·<dune/functions/common/t | 19 | ·10#include·<dune/localfunctions/common/virtualinterface.hh> |
20 | ·11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
21 | ·12#include·<dune/functions/common/differentiablefunction.hh> | ||
22 | ·13#include·<dune/functions/common/localfunction.hh> | ||
23 | ·14#include·<dune/functions/common/functionconcepts.hh> | ||
24 | ·15#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
25 | ·16#include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
26 | ·1 | 20 | ·11#include·<dune/localfunctions/common/virtualwrappers.hh> |
21 | ·12 | ||
22 | ·13#include·<dune/localfunctions/brezzidouglasmarini/ | ||
23 | brezzidouglasmarini1cube2d.hh> | ||
24 | ·14#include·<dune/localfunctions/brezzidouglasmarini/ | ||
25 | brezzidouglasmarini1cube3d.hh> | ||
26 | ·15#include·<dune/localfunctions/brezzidouglasmarini/ | ||
27 | brezzidouglasmarini1simplex2d.hh> | ||
28 | ·16#include·<dune/localfunctions/brezzidouglasmarini/ | ||
29 | brezzidouglasmarini2cube2d.hh> | ||
30 | ·17#include·<dune/localfunctions/brezzidouglasmarini/ | ||
31 | brezzidouglasmarini2simplex2d.hh> | ||
27 | ·18 | 32 | ·18 |
28 | ·19 | ||
29 | ·20namespace·Dune·{ | ||
30 | · | 33 | ·19#include·<dune/functions/functionspacebases/ |
34 | globalvaluedlocalfiniteelement.hh> | ||
35 | ·20#include·<dune/functions/functionspacebases/nodes.hh> | ||
36 | ·21#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
31 | ·22 | 37 | ·22 |
32 | ·23 | ||
33 | ·2 | 38 | ·23namespace·Dune·{ |
39 | ·24namespace·Functions·{ | ||
34 | ·25 | 40 | ·25 |
35 | ·26·*·Default·implementation·is·empty | ||
36 | ·27·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
37 | ·28·*·describing·a·function·signature·as·Range(Domain). | ||
38 | ·29·*/ | ||
39 | ·30template<class·Signature,·class·EntitySet,·template<class>·class | ||
40 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
41 | 41 | ·26namespace·Impl·{ | |
42 | ·27 | ||
43 | ·28·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
44 | ·29·struct·BDMSimplexLocalInfo | ||
45 | ·30·{ | ||
46 | ·31·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
47 | not·implemented,·sorry!"); | ||
42 | ·32 | 48 | ·32·}; |
43 | ·33 | 49 | ·33 |
44 | ·34 | ||
45 | ·35 | ||
46 | ·36namespace·Imp | ||
47 | ·37{ | ||
48 | ·38 | ||
49 | ·40·template<class·S,·class·ES,·template<class>·class·DerivativeTraits,·size_t | ||
50 | bufferSize> | ||
51 | ·41·struct·GridFunctionTraits·: | ||
52 | · | 50 | ·34·template<typename·D,·typename·R> |
51 | ·35·struct·BDMSimplexLocalInfo<2,D,R,1> | ||
52 | ·36·{ | ||
53 | ·37·using·FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>; | ||
54 | ·38·static·const·std::size_t·Variants·=·8; | ||
55 | ·39·}; | ||
56 | ·40 | ||
57 | ·41·template<typename·D,·typename·R> | ||
58 | ·42·struct·BDMSimplexLocalInfo<2,D,R,2> | ||
53 | ·43·{ | 59 | ·43·{ |
54 | ·44·protected: | ||
55 | ·45·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
56 | ·46 | ||
57 | ·47·public: | ||
58 | ·4 | 60 | ·44·using·FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>; |
61 | ·45·static·const·std::size_t·Variants·=·8; | ||
62 | ·46·}; | ||
63 | ·47 | ||
64 | ·48·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
65 | ·49·struct·BDMCubeLocalInfo | ||
59 | ·50 | 66 | ·50·{ |
60 | ·5 | 67 | ·51·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is |
68 | not·implemented,·sorry!"); | ||
69 | ·52·}; | ||
61 | ·53 | 70 | ·53 |
62 | ·5 | 71 | ·54·template<typename·D,·typename·R> |
72 | ·55·struct·BDMCubeLocalInfo<2,D,R,1> | ||
63 | ·56 | 73 | ·56·{ |
74 | ·57·using·FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>; | ||
75 | ·58·static·const·std::size_t·Variants·=·16; | ||
64 | ·58·using·DerivativeInterface·=·GridFunction<DerivativeSignature,_ES, | ||
65 | DerivativeTraits,_bufferSize>; | ||
66 | ·59 | ||
67 | ·61·using·LocalSignature·=·typename·Base::Range(typename·EntitySet:: | ||
68 | LocalCoordinate); | ||
69 | ·62 | ||
70 | ·64·template<class·R> | ||
71 | ·65·using·LocalDerivativeTraits·=·typename·Dune::Functions:: | ||
72 | LocalDerivativeTraits<EntitySet,_DerivativeTraits>::template·Traits<R>; | ||
73 | ·66 | ||
74 | ·68·using·LocalFunctionTraits·=·typename·Dune::Functions::Imp:: | ||
75 | LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits, | ||
76 | bufferSize>; | ||
77 | ·69 | ||
78 | ·71·using·LocalFunctionInterface·=·LocalFunction<LocalSignature,_Element, | ||
79 | LocalDerivativeTraits,_bufferSize>; | ||
80 | ·72 | ||
81 | ·74·using·Concept·=·GridFunctionWrapperInterface<S,·DerivativeInterface, | ||
82 | LocalFunctionInterface,·ES>; | ||
83 | ·75 | ||
Max diff block lines reached; 17419/23080 bytes (75.47%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacelocalview.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 73 lines modified | Offset 58, 43 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
71 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">subspacelocalview.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
76 | <code>#include·<optional></code><br·/> | ||
77 | <code>#include·<dune/common/ | 75 | <code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<dune/typetree/ | 76 | <code>#include·<dune/typetree/childextraction.hh></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00185_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00080_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a0287 | 77 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
85 | </div> | 78 | </div> |
86 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> | 79 | <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
89 | Classes</h2></td></tr> | 82 | Classes</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·></a></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::Data</a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01867.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase</a></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a018 | 83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01811.html">Dune::Functions::SubspaceLocalView<·RLV,·PP·></a></td></tr> |
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 84 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a01811.html#details">More...</a><br·/></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction</a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01871.html">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·></a></td></tr> | ||
102 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·of·a·<code><a·class="el"·href="a01875.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a></code>··<a·href="a01871.html#details">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01883.html">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction</a></td></tr> | ||
105 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">local·function·evaluating·the·derivative·in·reference·coordinates··<a·href="a01883.html#details">More...</a><br·/></td></tr> | ||
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | </table><table·class="memberdecls"> | 86 | </table><table·class="memberdecls"> |
108 | <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> |
109 | Namespaces</h2></td></tr> | 88 | Namespaces</h2></td></tr> |
110 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::ImplDoc</a></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memTemplParams"·colspan="2">template<typename·R·,·typename·B·,·typename·V·>·</td></tr> | ||
120 | <tr·class="memitem:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga9f1a8d6ac1558adad6150feb9b4e3168">Dune::Functions::makeDiscreteGlobalBasisFunction</a>·(B·&&basis,·V·&&vector)</td></tr> | ||
121 | <tr·class="memdesc:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·<a·class="el"·href="a01875.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a>.··<a·href="a00209.html#ga9f1a8d6ac1558adad6150feb9b4e3168">More...</a><br·/></td></tr> | ||
122 | <tr·class="separator:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
123 | </table> | 93 | </table> |
124 | </div><!--·contents·--> | 94 | </div><!--·contents·--> |
125 | <!--·start·footer·part·--> | 95 | <!--·start·footer·part·--> |
126 | <hr·class="footer"/><address·class="footer"><small> | 96 | <hr·class="footer"/><address·class="footer"><small> |
127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
128 | </small></address> | 98 | </small></address> |
129 | </body> | 99 | </body> |
Offset 4, 61 lines modified | Offset 4, 27 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
9 | subspacelocalview.hh·File·Reference | ||
10 | #include·<tuple> | ||
9 | discreteglobalbasisfunction.hh·File·Reference | ||
10 | #include·<memory> | ||
11 | #include·<optional> | ||
12 | #include·<dune/common/ | 11 | #include·<dune/common/concept.hh> |
13 | #include·<dune/typetree/ | 12 | #include·<dune/typetree/childextraction.hh> |
14 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
15 | #include·<dune/functions/functionspacebases/ | 13 | #include·<dune/functions/functionspacebases/concepts.hh> |
16 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
17 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
18 | #include·<dune/functions/backends/concepts.hh> | ||
19 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 14 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | 15 | ·Classes |
16 | class· Dune::Functions::SubspaceLocalView<_RLV,_PP_> | ||
17 | ······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... | ||
22 | ·class· Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
23 | ·········> | ||
24 | |||
25 | struct· Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
26 | ·········>::Data | ||
27 | |||
28 | ·class· Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
29 | ·········>::LocalFunctionBase | ||
30 | |||
31 | ·class· Dune::Functions::DiscreteGlobalBasisFunction<_B,_V,_NTRE,_R_> | ||
32 | ·······A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector. | ||
33 | ·········More... | ||
34 | |||
35 | ·class· Dune::Functions::DiscreteGlobalBasisFunction<_B,_V,_NTRE,_R_>:: | ||
36 | ·········LocalFunction | ||
37 | |||
38 | ·class· Dune::Functions::DiscreteGlobalBasisFunctionDerivative<_DGBF_> | ||
39 | ·······Derivative·of·a·DiscreteGlobalBasisFunction·More... | ||
40 | |||
41 | ·class· Dune::Functions::DiscreteGlobalBasisFunctionDerivative<_DGBF_>:: | ||
42 | ·········LocalFunction | ||
43 | ·······local·function·evaluating·the·derivative·in·reference·coordinates | ||
44 | ·········More... | ||
45 | 18 | ||
46 | ·Namespaces | 19 | ·Namespaces |
47 | namespace· Dune | 20 | namespace· Dune |
48 | 21 | ||
49 | namespace· Dune::Functions | 22 | namespace· Dune::Functions |
50 | 23 | ||
51 | namespace· Dune::Functions::ImplDoc | ||
52 | |||
53 | ·Functions | ||
54 | template<typename·R·,·typename·B·,·typename·V·> | ||
55 | auto Dune::Functions::makeDiscreteGlobalBasisFunction·(B·&&basis,·V·&&vector) | ||
56 | ····Generate·a·DiscreteGlobalBasisFunction.·More... | ||
57 | |||
58 | =============================================================================== | 24 | =============================================================================== |
59 | ·····Generated·by [doxygen]·1.9.4 | 25 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacelocalview.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 597 lines modified | Offset 58, 167 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">subspacelocalview.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00101.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00101.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<tuple></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/ | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/ | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/childextraction.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00185.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00140.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00080.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00098.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
88 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
92 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
93 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
94 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·PP></div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a00219.html#a17589fdc18b015644525c7ad037e6441">SubspaceBasis</a>;</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·B,·<span·class="keyword">typename</span>·V,·<span·class="keyword">typename</span>·NTRE></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01859.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01859.html">DiscreteGlobalBasisFunctionBase</a></div> | ||
98 | <div·class="line"><a·id="l0002 | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RLV,·<span·class="keyword">class</span>·PP></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01811.html">···29</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01811.html">SubspaceLocalView</a></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> | ||
99 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">using·</span>PrefixPath·=·PP;</div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01859.html#a3692f2d61e9901fcc190337eb0c8d2c3">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a3692f2d61e9901fcc190337eb0c8d2c3">Basis</a>·=·B;</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01859.html#a4f1c5b75cd112f7524b65de9e68c6f4c">···31</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a4f1c5b75cd112f7524b65de9e68c6f4c">Vector</a>·=·V;</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span> | 102 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">public</span>:</div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//·we·have·to·use·AutonomousValue<T>·instead·of·std::decay_t<T></span></div> | ||
105 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa1f3b0a89f5d186299ed0a5329562815">···35</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 105 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
106 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01811.html#a3a627e895c213316cb666677fb9176de">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01807.html">GlobalBasis</a>·=·<a·class="code·hl_class"·href="a01807.html">SubspaceBasis<typename·RootLocalView::GlobalBasis,·PrefixPath></a>;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01859.html#a94980a3da72955394fdf377b328aa6cd">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a94980a3da72955394fdf377b328aa6cd">GridView</a>·=·<span·class="keyword">typename</span>·Basis::GridView;</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01859.html#aa0f3fc49504b54be8b78cb443b447747">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01919.html">EntitySet</a>·=·<a·class="code·hl_class"·href="a01919.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01859.html#a3a7684473e5977409b31ad9954d60b17">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a3a7684473e5977409b31ad9954d60b17">Tree</a>·=·<span·class="keyword">typename</span>·Basis::LocalView::Tree;</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01859.html#a919c73d3602d7770ab2aa6ec9beaa2df">···40</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a919c73d3602d7770ab2aa6ec9beaa2df">NodeToRangeEntry</a>·=·NTRE;</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01859.html#ac531ebbef4d77df5dd685f2f26024f95">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#ac531ebbef4d77df5dd685f2f26024f95">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
113 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
108 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa050bf0c521425f496729c3947a61bae">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa050bf0c521425f496729c3947a61bae">GridView</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01807.html#a6e7dd708494382dad7cc288ce6cfe6b8">GlobalBasis::GridView</a>;</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01859.html#a778a8d51295ab8988578c8ec5c80f15a">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a778a8d51295ab8988578c8ec5c80f15a">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01859.html#a7669d95a17a5a94621074923290978b7">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a7669d95a17a5a94621074923290978b7">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
116 | <div·class="line"><a·id="l0004 | 109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
110 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
117 | <div·class="line"><a·id="l0004 | 111 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·=·std::size_t;</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01811.html#ae4f87d4a8978c25f211132aa6001290c">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#ae4f87d4a8978c25f211132aa6001290c">RootTree</a>·=·<span·class="keyword">typename</span>·RootLocalView::Tree;</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·This·collects·all·data·that·is·shared·by·all·related</span></div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//·global·and·local·functions.·This·way·we·don't·need·to</span></div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·keep·track·of·it·individually.</span></div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01863.html">···52</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01863.html">Data</a></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"><a·class="line"·href="a01863.html#a869d1890dea002afea9673d30bf7a6f9">···54</a></span>····<a·class="code·hl_class"·href="a01919.html">EntitySet</a>·<a·class="code·hl_variable"·href="a01863.html#a869d1890dea002afea9673d30bf7a6f9">entitySet</a>;</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa8af2b92d6781bed52269bfaf15a03d7">···55</a></span>····std::shared_ptr<const·Basis>·<a·class="code·hl_variable"·href="a01863.html#aa8af2b92d6781bed52269bfaf15a03d7">basis</a>;</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01863.html#ab0ba9b881560f475ebfbc8245e898f06">···56</a></span>····std::shared_ptr<const·Vector>·<a·class="code·hl_variable"·href="a01863.html#ab0ba9b881560f475ebfbc8245e898f06">coefficients</a>;</div> | ||
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01863.html#a8806af774b27a785e8a4eb0d58df560c">···57</a></span>····std::shared_ptr<const·NodeToRangeEntry>·<a·class="code·hl_variable"·href="a01863.html#a8806af774b27a785e8a4eb0d58df560c">nodeToRangeEntry</a>;</div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··};</div> | ||
129 | <div·class="line"><a·id="l0005 | 115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
116 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01811.html#a04b95239bc90b94a1332233663446cd2">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#a04b95239bc90b94a1332233663446cd2">Tree</a>·=·<span·class="keyword">typename</span>·TypeTree::ChildForTreePath<RootTree,·PrefixPath>;</div> | ||
130 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
131 | <div·class="line"><a·id="l000 | 118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01811.html#a332b6754582b1108ef353b1b78ae01a3">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#a332b6754582b1108ef353b1b78ae01a3">MultiIndex<[·...·truncated·by·diffoscope;·len:·70,·SHA:·9d21c14c2c44f24fd2b94093a382c77202b1adc540004bfac19e63250dccb08a·...·]</div> |
119 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
120 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa0d1d0d89f2dd443da6da8d77f6a344f">···59</a></span>··<a·class="code·hl_function"·href="a01811.html#aa0d1d0d89f2dd443da6da8d77f6a344f">SubspaceLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01807.html">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>,·<span·class="keyword">const</span>·PrefixPath&·<span·class="comment">/*prefixPath*/</span>)·:</div> | ||
121 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<a·class="code·hl_variable"·href="a01811.html#a2fb2643d53fb7511f2eb6ddff751043c">globalBasis_</a>(&<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>),</div> | ||
122 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>(<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>.rootBasis().localView())</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div> | 123 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div> |
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">using·</span>LocalView·=·<span·class="keyword">typename</span>·Basis::LocalView;</div> | ||
134 | <div·class="line"><a·id="l0006 | 124 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//····static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type·passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept.");</span></div> |
125 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 126 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01811.html#a8d67dd96c63054ab2caccf7c50975838">···71</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01811.html#a8d67dd96c63054ab2caccf7c50975838">bind</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>&·e)</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>:</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01867.html#aed06cdee2f1095692d99f2b70b9e08cf">···67</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01867.html#aed06cdee2f1095692d99f2b70b9e08cf">Domain</a>·=·<a·class="code·hl_typedef"·href="a01859.html#a778a8d51295ab8988578c8ec5c80f15a">LocalDomain</a>;</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01867.html#a8d6caba81e31526ba3a7d66b1ab299a3">···68</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01867.html#a8d6caba81e31526ba3a7d66b1ab299a3">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
139 | <div·class="line"><a·id="l000 | 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>····<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.bind(e);</div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">protected</span>:</div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01867.html#afabe7cb22621b6a62e3b2f58b2ce9a96">···71</a></span>····<a·class="code·hl_function"·href="a01867.html#afabe7cb22621b6a62e3b2f58b2ce9a96">LocalFunctionBase</a>(<span·class="keyword">const</span>·std::shared_ptr<const·Data>&·data)</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·<a·class="code·hl_variable"·href="a01867.html#ac19ebafe7e6f57872bf25b9c91718487">data_</a>(data)</div> | ||
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······,·<a·class="code·hl_variable"·href="a01867.html#ac95fafaea79e1434ea5d9a8092e5945b">localView_</a>(<a·class="code·hl_variable"·href="a01867.html#ac19ebafe7e6f57872bf25b9c91718487">data_</a>-><a·class="code·hl_function"·href="a01859.html#a99bd572882384ae95a30297f0797d769">basis</a>->localView())</div> | ||
144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·· | 130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> |
Max diff block lines reached; 41276/159019 bytes (25.96%) of diff not shown. |
Offset 4, 843 lines modified | Offset 4, 229 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | subspacelocalview.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACELOCALVIEW_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6 | 15 | ·6 |
16 | ·7#include·< | 16 | ·7#include·<tuple> |
17 | ·8 | 17 | ·8 |
18 | ·9#include·<dune/common/ | 18 | ·9#include·<dune/common/concept.hh> |
19 | ·10 | 19 | ·10 |
20 | ·11#include·<dune/typetree/ | 20 | ·11#include·<dune/typetree/childextraction.hh> |
21 | ·12 | 21 | ·12 |
22 | ·13#include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
23 | ·1 | 22 | ·13#include·<dune/functions/functionspacebases/concepts.hh> |
24 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
25 | ·16#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
26 | ·17#include·<dune/functions/backends/concepts.hh> | ||
27 | ·1 | 23 | ·14 |
24 | ·15 | ||
25 | ·16 | ||
26 | ·17namespace·Dune·{ | ||
27 | ·18namespace·Functions·{ | ||
28 | ·19 | 28 | ·19 |
29 | ·20namespace·Dune·{ | ||
30 | ·21namespace·Functions·{ | ||
31 | ·22 | ||
32 | ·23 | ||
33 | 29 | ·20 | |
30 | ·21 | ||
31 | ·22template<class·RB,·class·PP> | ||
32 | ·23class·SubspaceBasis; | ||
33 | ·24 | ||
34 | ·25 | 34 | ·25 |
35 | ·26 | ||
36 | ·28template<class·RLV,·class·PP> | ||
37 | 29class·SubspaceLocalView | ||
38 | ·30{ | ||
39 | ·31·using·PrefixPath·=·PP; | ||
35 | ·26template<typename·B,·typename·V,·typename·NTRE> | ||
36 | 27class·DiscreteGlobalBasisFunctionBase | ||
37 | ·28{ | ||
38 | ·29public: | ||
39 | 30·using·Basis·=·B; | ||
40 | 31·using·Vector·=·V; | ||
41 | ·32 | 40 | ·32 |
41 | ·33public: | ||
42 | ·34 | ||
43 | 35·using·RootLocalView·=·RLV; | ||
42 | ·33·//·In·order·to·make·the·cache·work·for·proxy-references | ||
43 | ·34·//·we·have·to·use·AutonomousValue<T>·instead·of·std::decay_t<T> | ||
44 | 35·using·Coefficient·=·Dune::AutonomousValue<decltype(std::declval<Vector>() | ||
45 | [std::declval<typename·Basis::MultiIndex>()])>; | ||
46 | ·36 | 44 | ·36 |
45 | 38·using·GlobalBasis·=·SubspaceBasis<typename_RootLocalView::GlobalBasis, | ||
46 | PrefixPath>; | ||
47 | ·39 | ||
47 | 48 | 41·using·GridView·=·typename·GlobalBasis::GridView; | |
49 | ·42 | ||
50 | 44·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
51 | ·45 | ||
52 | 47·using·size_type·=·std::size_t; | ||
48 | 38·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
49 | 39·using·Tree·=·typename·Basis::LocalView::Tree; | ||
50 | 40·using·NodeToRangeEntry·=·NTRE; | ||
51 | ·41 | ||
52 | 42·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
53 | ·43 | ||
54 | 44·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
55 | 45·using·Element·=·typename·EntitySet::Element; | ||
56 | ·46 | ||
57 | ·47protected: | ||
58 | ·48 | 53 | ·48 |
54 | 50·using·RootTree·=·typename·RootLocalView::Tree; | ||
55 | ·51 | ||
56 | 53·using·Tree·=·typename·TypeTree::ChildForTreePath<RootTree,·PrefixPath>; | ||
57 | ·54 | ||
58 | 56·using·MultiIndex·=·typename·RootLocalView::MultiIndex; | ||
59 | ·57 | ||
60 | 59·SubspaceLocalView(const·GlobalBasis&·globalBasis,·const·PrefixPath&·/ | ||
61 | *prefixPath*/)·: | ||
62 | ·60·globalBasis_(&globalBasis), | ||
63 | ·61·rootLocalView_(globalBasis.rootBasis().localView()) | ||
59 | ·49·//·This·collects·all·data·that·is·shared·by·all·related | ||
60 | ·50·//·global·and·local·functions.·This·way·we·don't·need·to | ||
61 | ·51·//·keep·track·of·it·individually. | ||
62 | 52·struct·Data | ||
63 | ·53·{ | ||
64 | 54·EntitySet·entitySet; | ||
65 | 55·std::shared_ptr<const·Basis>·basis; | ||
66 | 56·std::shared_ptr<const·Vector>·coefficients; | ||
67 | 57·std::shared_ptr<const·NodeToRangeEntry>·nodeToRangeEntry; | ||
68 | ·58·}; | ||
69 | ·59 | ||
70 | ·60public: | ||
71 | 61·class·LocalFunctionBase | ||
72 | ·62·{ | 64 | ·62·{ |
73 | ·63·using·LocalView·=·typename·Basis::LocalView; | ||
74 | ·6 | 65 | ·63//·static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type |
66 | passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept."); | ||
67 | ·64·} | ||
75 | ·65 | 68 | ·65 |
76 | ·66·public: | ||
77 | 67·using·Domain·=·LocalDomain; | ||
78 | 68·using·Element·=·typename·EntitySet::Element; | ||
79 | ·69 | ||
80 | ·70·protected: | ||
81 | 71·LocalFunctionBase(const·std::shared_ptr<const·Data>&·data) | ||
82 | ·72·:·data_(data) | ||
83 | ·73·,·localView_(data_->basis->localView()) | ||
84 | ·74·{ | ||
85 | ·75·localDoFs_.reserve(localView_.maxSize()); | ||
86 | ·76·} | ||
87 | ·77 | ||
88 | 84·LocalFunctionBase(const·LocalFunctionBase&·other) | ||
89 | ·85·:·data_(other.data_) | ||
Max diff block lines reached; 31996/38483 bytes (83.14%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacebasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 44 lines modified | Offset 58, 61 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">subspacebasis.hh·File·Reference</div></div> |
72 | </div><!--header--> | 73 | </div><!--header--> |
73 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
76 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
77 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
74 | < | 78 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
75 | </div> | 81 | </div> |
76 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> | 82 | <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p> |
77 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
78 | <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> |
79 | Classes</h2></td></tr> | 85 | Classes</h2></td></tr> |
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01807.html">Dune::Functions::SubspaceBasis<·RB,·TP·></a></td></tr> | ||
80 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01931.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·></a></td></tr> | ||
81 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·traits·for·local·functions.··<a·href="a01931.html#details">More...</a><br·/></td></tr> | ||
82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01935.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·></a></td></tr> | ||
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)></a></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | </table><table·class="memberdecls"> | 88 | </table><table·class="memberdecls"> |
88 | <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> |
89 | Namespaces</h2></td></tr> | 90 | Namespaces</h2></td></tr> |
90 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | ||
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
97 | Functions</h2></td></tr> | ||
98 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"><td·class="memTemplParams"·colspan="2">template<class·RB·,·class·TP·>·</td></tr> | ||
99 | <tr·class="memitem:a17589fdc18b015644525c7ad037e6441"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a17589fdc18b015644525c7ad037e6441">Dune::Functions::SubspaceBasis</a>·(const·RB·&,·const·TP)·->·SubspaceBasis<·RB,·TP·></td></tr> | ||
100 | <tr·class="separator:a17589fdc18b015644525c7ad037e6441"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplParams"·colspan="2">template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·>·</td></tr> | ||
102 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ae3d703ee72289b3936eb24255fc52694">Dune::Functions::SubspaceBasis</a>·(const·SubspaceBasis<·RootRootBasis,·InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std::decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP,·OuterTP·>·></td></tr> | ||
103 | <tr·class="separator:ae3d703ee72289b3936eb24255fc52694"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
105 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a9effbb98da0e9104a60979fa734c1220">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath)</td></tr> | ||
106 | <tr·class="memdesc:a9effbb98da0e9104a60979fa734c1220"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01807.html">SubspaceBasis</a>·from·a·root·basis·and·a·prefixPath.··<a·href="a00219.html#a9effbb98da0e9104a60979fa734c1220">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:a9effbb98da0e9104a60979fa734c1220"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
109 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#abb8781cf3fb98ca29446be66bcf65ac4">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·PrefixTreeIndices·&...·prefixTreeIndices)</td></tr> | ||
110 | <tr·class="separator:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | </table> | 111 | </table> |
95 | </div><!--·contents·--> | 112 | </div><!--·contents·--> |
96 | <!--·start·footer·part·--> | 113 | <!--·start·footer·part·--> |
97 | <hr·class="footer"/><address·class="footer"><small> | 114 | <hr·class="footer"/><address·class="footer"><small> |
98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 115 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
99 | </small></address> | 116 | </small></address> |
100 | </body> | 117 | </body> |
Offset 4, 30 lines modified | Offset 4, 48 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·functionspacebases |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
9 | 9 | subspacebasis.hh·File·Reference | |
10 | #include·<dune/common/reservedvector.hh> | ||
11 | #include·<dune/common/typeutilities.hh> | ||
12 | #include·<dune/common/concept.hh> | ||
10 | #include·<dune/functions/common/ | 13 | #include·<dune/functions/common/type_traits.hh> |
14 | #include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
15 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
11 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
12 | ·Classes | 17 | ·Classes |
18 | class· Dune::Functions::SubspaceBasis<_RB,_TP_> | ||
13 | struct· Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits_> | ||
14 | ·······Derivative·traits·for·local·functions.·More... | ||
15 | |||
16 | struct· Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
17 | ·········>::Traits<_Signature_> | ||
18 | |||
19 | struct· Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
20 | ·········>::Traits<_R(LocalDomain)> | ||
21 | 19 | ||
22 | ·Namespaces | 20 | ·Namespaces |
23 | namespace· Dune | 21 | namespace· Dune |
24 | 22 | ||
25 | namespace· Dune::Functions | 23 | namespace· Dune::Functions |
26 | 24 | ||
25 | ·Functions | ||
26 | template<class·RB·,·class·TP·> | ||
27 | ···· Dune::Functions::SubspaceBasis·(const·RB·&,·const·TP)·->·SubspaceBasis< | ||
28 | ······RB,·TP·> | ||
29 | |||
30 | template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·> | ||
31 | ···· Dune::Functions::SubspaceBasis·(const·SubspaceBasis<·RootRootBasis, | ||
32 | ······InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std:: | ||
33 | ······decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP, | ||
34 | ······OuterTP·>·> | ||
35 | |||
36 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
37 | auto Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
38 | ······TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath) | ||
39 | ····Create·SubspaceBasis·from·a·root·basis·and·a·prefixPath.·More... | ||
40 | |||
41 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
42 | auto Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
43 | ······PrefixTreeIndices·&...·prefixTreeIndices) | ||
44 | |||
27 | =============================================================================== | 45 | =============================================================================== |
28 | ·····Generated·by [doxygen]·1.9.4 | 46 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·subspacebasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 66 lines modified | Offset 58, 188 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">subspacebasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00104.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00104.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00101.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
85 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·Inner,·<span·class="keyword">class</span>...·Outer></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">auto</span>·joinTreePaths(<span·class="keyword">const</span>·TypeTree::HybridTreePath<Inner...>&·inner,·<span·class="keyword">const</span>·TypeTree::HybridTreePath<Outer...>·outer)</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··{</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keywordflow">return</span>·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat(inner._data,·outer._data));</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··}</div> | ||
86 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span> | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
87 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01931.html#a2dc0b1d49311457bb686a04972f8aee4">···29</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01931.html#a2dc0b1d49311457bb686a04972f8aee4">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
88 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">using·</span>JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std::declval<InnerTP>(),·std::declval<OuterTP>()))>;</div> | ||
89 | <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> |
90 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·Signature></div> | ||
91 | <div·class="line"><a·id="l0003 | 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> | ||
92 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>· | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
93 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01935.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">···35</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01071.html">InvalidRange</a>·<a·class="code·hl_typedef"·href="a01935.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a>;</div> | ||
94 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··};</div> | ||
95 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
96 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·TP></div> |
97 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01807.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01807.html">SubspaceBasis</a></div> |
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> | ||
98 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>· | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
99 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB;</div> |
100 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>· | 112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
101 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span> | 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01807.html#a00d424aa40e6c051f610a308317cc57e">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·<span·class="keyword">typename</sp[·...·truncated·by·diffoscope;·len:·24,·SHA:·bc11038a5e0a303887ff01b59032c3d33ce45e11fe645f7401eccda01f5ea5dd·...·];</div> |
102 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01807.html#a5dcb19c46539c51ce32a6fdc55738387">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>·=·TP;</div> | ||
103 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
104 | <div·class="line"><a·id="l0004 | 117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01807.html#a6e7dd708494382dad7cc288ce6cfe6b8">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>[·...·truncated·by·diffoscope;·len:·61,·SHA:·da9ef73531ab7d724d86da4fdd3c70f07aae3fd296097db377dd468a638630cd·...·]</div> |
105 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
106 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01807.html#acb8fddcafde83205b67e57926c84ace5">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#acb8fddcafde83205b67e57926c84ace5">MultiIndex<[·...·truncated·by·diffoscope;·len:·66,·SHA:·f1a686db698d15a14fe3c3bf19ee9f6cacf4bf288440008bb9173214ea080213·...·]</div> |
120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
121 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·=·std::size_t;</div> | ||
122 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
123 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01807.html#a616eaadc3d1d8706041ab1b0d03510bc">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01811.html">LocalView</a>·=·<a·class="code·hl_class"·href="a01811.html">SubspaceLocalView<RootLocalView,·PrefixPath></a>;</div> | ||
124 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01807.html#a330b42b7087eca7afb92ec40eba36440">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a330b42b7087eca7afb92ec40eba36440">SizePrefix</a>·=·<span·class="keyword">typename</span>·RootBasis::SizePrefix;</div> | ||
126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
128 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01807.html#aee8689dac160442b891bc738c55c1087">···62</a></span>··<a·class="code·hl_function"·href="a01807.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>&·<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>&·<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
129 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>(&<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>),</div> | ||
130 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_variable"·href="a01807.html#ab3509a847b8dfb33032f14ca666c13bb">prefixPath_</a>(<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)</div> | ||
131 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{}</div> | ||
132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
133 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RootRootBasis,·<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> | ||
134 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01807.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">···73</a></span>··<a·class="code·hl_function"·href="a01807.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01807.html">SubspaceBasis<RootRootBasis,·InnerTP></a>&·<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·OuterTP&·<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
135 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_class"·href="a01807.html">SubspaceBasis</a>(<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>(),·Impl::joinTreePaths(<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>(),·<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>))</div> | ||
136 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</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>·</div> | ||
139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01807.html#a8ce8499d3a9117e5138f1ba231a80fcf">···80</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>&·<a·class="code·hl_function"·href="a01807.html#a8ce8499d3a9117e5138f1ba231a80fcf">gridView</a>()<span·class="keyword">·const</span></div> | ||
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">··</span>{</div> | ||
141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->gridView();</div> | ||
142 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div> | ||
143 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
144 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01807.html#acbfda46d0971e6f82b7649e195663702">···88</a></span>··<a·class="code·hl_typedef"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·<a·class="code·hl_function"·href="a01807.html#acbfda46d0971e6f82b7649e195663702">dimension</a>()<span·class="keyword">·const</span></div> | ||
145 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">··</span>{</div> | ||
146 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->dimension();</div> | ||
147 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> | ||
148 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | ||
149 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01807.html#abe1c4a616c0acdf861fbbc5f52046645">···94</a></span>··<a·class="code·hl_typedef"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·<a·class="code·hl_function"·href="a01807.html#abe1c4a616c0acdf861fbbc5f52046645">size</a>()<span·class="keyword">·const</span></div> | ||
150 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">··</span>{</div> | ||
151 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->size();</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="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01807.html#a658452a597522c630fab82679da0a167">··100</a></span>··<a·class="code·hl_typedef"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·<a·class="code·hl_function"·href="a01807.html#a658452a597522c630fab82679da0a167">size</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#a330b42b7087eca7afb92ec40eba36440">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
155 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">··</span>{</div> | ||
156 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->size(prefix);</div> | ||
157 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div> | ||
158 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
159 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a01807.html#a14c47ee1637a33fa73dbac78dd93b4e6">··108</a></span>··<a·class="code·hl_class"·href="a01811.html">LocalView</a>·<a·class="code·hl_function"·href="a01807.html#a14c47ee1637a33fa73dbac78dd93b4e6">localView</a>()<span·class="keyword">·const</span></div> | ||
160 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="keyword">··</span>{</div> | ||
161 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01807.html#a616eaadc3d1d8706041ab1b0d03510bc">LocalView</a>(*<span·class="keyword">this</span>,·<a·class="code·hl_variable"·href="a01807.html#ab3509a847b8dfb33032f14ca666c13bb">prefixPath_</a>);</div> | ||
Max diff block lines reached; 10898/45936 bytes (23.72%) of diff not shown. |
Offset 4, 73 lines modified | Offset 4, 247 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·gridfunctions | ||
8 | 7 | ····*·functionspacebases | |
8 | subspacebasis.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBSPACEBASIS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6 | ||
16 | ·7#include·<dune/functions/common/defaultderivativetraits.hh> | ||
17 | · | 15 | ·6#include·<dune/common/reservedvector.hh> |
16 | ·7#include·<dune/common/typeutilities.hh> | ||
17 | ·8#include·<dune/common/concept.hh> | ||
18 | ·9 | 18 | ·9 |
19 | ·10namespace·Dune·{ | ||
20 | ·11namespace·Functions·{ | ||
21 | ·1 | 19 | ·10#include·<dune/functions/common/type_traits.hh> |
20 | ·11#include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
21 | ·12#include·<dune/functions/functionspacebases/concepts.hh> | ||
22 | ·13 | 22 | ·13 |
23 | ·26template<class·EntitySet,·template<class>·class | ||
24 | DerivativeTraits=DefaultDerivativeTraits> | ||
25 | 23 | ·14 | |
24 | ·15 | ||
25 | ·16namespace·Dune·{ | ||
26 | ·17namespace·Functions·{ | ||
27 | ·18 | ||
28 | ·19 | ||
29 | ·20 | ||
30 | ·21namespace·Impl·{ | ||
31 | ·22 | ||
32 | ·23·template<class...·Inner,·class...·Outer> | ||
33 | ·24·auto·joinTreePaths(const·TypeTree::HybridTreePath<Inner...>&·inner,·const | ||
34 | TypeTree::HybridTreePath<Outer...>·outer) | ||
35 | ·25·{ | ||
36 | ·26·return·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat | ||
37 | (inner._data,·outer._data)); | ||
38 | ·27·} | ||
26 | ·28 | 39 | ·28 |
27 | 29·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
28 | 40 | ·29·template<class·InnerTP,·class·OuterTP> | |
41 | ·30·using·JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std:: | ||
42 | declval<InnerTP>(),·std::declval<OuterTP>()))>; | ||
29 | ·31 | 43 | ·31 |
30 | ·32·template<class·Signature> | ||
31 | 44 | ·32} | |
45 | ·33 | ||
32 | ·34 | 46 | ·34 |
33 | 35·typedef·InvalidRange·Range; | ||
34 | ·36·}; | ||
35 | ·37 | ||
36 | ·38·template<class·R> | ||
37 | 47 | ·35 | |
48 | ·36template<class·RB,·class·TP> | ||
49 | 37class·SubspaceBasis | ||
50 | ·38{ | ||
51 | ·39public: | ||
38 | ·40 | 52 | ·40 |
39 | 41·using·Range·=·typename·DerivativeTraits<R(Domain)>::Range; | ||
40 | ·42·}; | ||
41 | · | 53 | 41·using·RootBasis·=·RB; |
54 | ·42 | ||
55 | 43·using·RootLocalView·=·typename·RootBasis::LocalView; | ||
42 | ·44 | 56 | ·44 |
43 | · | 57 | 45·using·PrefixPath·=·TP; |
58 | ·46 | ||
59 | 48·using·GridView·=·typename·RootBasis::GridView; | ||
60 | ·49 | ||
61 | 51·using·MultiIndex·=·typename·RootBasis::MultiIndex; | ||
62 | ·52 | ||
63 | 53·using·size_type·=·std::size_t; | ||
64 | ·54 | ||
65 | 56·using·LocalView·=·SubspaceLocalView<RootLocalView,_PrefixPath>; | ||
66 | ·57 | ||
67 | 58·using·SizePrefix·=·typename·RootBasis::SizePrefix; | ||
68 | ·59 | ||
69 | ·60 | ||
70 | 62·SubspaceBasis(const·RootBasis&·rootBasis,·const·PrefixPath&·prefixPath)·: | ||
71 | ·63·rootBasis_(&rootBasis), | ||
72 | ·64·prefixPath_(prefixPath) | ||
73 | ·65·{} | ||
74 | ·66 | ||
75 | ·72·template<class·RootRootBasis,·class·InnerTP,·class·OuterTP> | ||
76 | 73·SubspaceBasis(const·SubspaceBasis<RootRootBasis,_InnerTP>&·rootBasis,·const | ||
77 | OuterTP&·prefixPath)·: | ||
78 | ·74·SubspaceBasis(rootBasis.rootBasis(),·Impl::joinTreePaths | ||
79 | (rootBasis.prefixPath(),·prefixPath)) | ||
80 | ·75·{} | ||
81 | ·76 | ||
82 | ·77 | ||
83 | 80·const·GridView&·gridView()·const | ||
84 | ·81·{ | ||
85 | ·82·return·rootBasis_->gridView(); | ||
86 | ·83·} | ||
87 | ·84 | ||
88 | 88·size_type·dimension()·const | ||
89 | ·89·{ | ||
90 | ·90·return·rootBasis_->dimension(); | ||
91 | ·91·} | ||
92 | ·92 | ||
93 | 94·size_type·size()·const | ||
94 | ·95·{ | ||
95 | ·96·return·rootBasis_->size(); | ||
96 | ·97·} | ||
97 | ·98 | ||
98 | 100·size_type·size(const·SizePrefix&·prefix)·const | ||
99 | ·101·{ | ||
100 | ·102·return·rootBasis_->size(prefix); | ||
101 | ·103·} | ||
102 | ·104 | ||
103 | 108·LocalView·localView()·const | ||
104 | ·109·{ | ||
105 | ·110·return·LocalView(*this,·prefixPath_); | ||
106 | ·111·} | ||
107 | ·112 | ||
108 | 113·const·RootBasis&·rootBasis()·const | ||
109 | ·114·{ | ||
110 | ·115·return·*rootBasis_; | ||
Max diff block lines reached; 4294/9430 bytes (45.54%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·periodicbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 66, 58 lines modified | Offset 66, 50 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">periodicbasis.hh·File·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·<t | 76 | <div·class="textblock"><code>#include·<utility></code><br·/> |
77 | <code>#include·<type_traits></code><br·/> | ||
77 | <code>#include·< | 78 | <code>#include·<limits></code><br·/> |
78 | <code>#include·< | 79 | <code>#include·<set></code><br·/> |
79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
80 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
81 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
82 | <code>#include·<dune/common/tupleutility.hh></code><br·/> | ||
83 | <code>#include·< | 80 | <code>#include·<vector></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> | ||
85 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
86 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
87 | <code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
88 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
89 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 81 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
90 | <code>#include·<<a·class="el"·href="a001 | 82 | <code>#include·<<a·class="el"·href="a00137_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code><br·/> |
91 | </div> | 83 | </div> |
92 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p> |
93 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
94 | <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> |
95 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01723.html">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet</a></td></tr> |
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Container·storing·identified·indices·for·a·periodic·basis.··<a·href="a01723.html#details">More...</a><br·/></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
101 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
102 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 98 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a0022 | 100 | <tr·class="memitem:a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 102 | </table><table·class="memberdecls"> |
111 | <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> |
112 | Functions</h2></td></tr> | 104 | Functions</h2></td></tr> |
113 | <tr·class="memitem:ga0ee62f9744ec8ba58fdfc4c68df34449"><td·class="memTemplParams"·colspan="2">template<typename...·Args,·std::enable_if_t<·Concept::isIndexMergingStrategy<·typename·LastType<·Args...·>::type·>(),·int·>··=·0>·</td></tr> | ||
114 | <tr·class="memitem:ga0ee62f9744ec8ba58fdfc4c68df34449"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga0ee62f9744ec8ba58fdfc4c68df34449">Dune::Functions::BasisFactory::composite</a>·(Args·&&...·args)</td></tr> | ||
115 | <tr·class="mem | 105 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisIndicator·,·class·PIS·>·</td></tr> |
106 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga797d4c1dfcfe6b0a98de9284c4f6b5e3">Dune::Functions::BasisFactory::Experimental::periodic</a>·(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet)</td></tr> | ||
107 | <tr·class="memdesc:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·periodic·pre-basis.··<a·href="a00213.html#ga797d4c1dfcfe6b0a98de9284c4f6b5e3">More...</a><br·/></td></tr> | ||
116 | <tr·class="separator:ga | 108 | <tr·class="separator:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | </table> | 109 | </table> |
118 | </div><!--·contents·--> | 110 | </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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
122 | </small></address> | 114 | </small></address> |
123 | </body> | 115 | </body> |
Offset 6, 46 lines modified | Offset 6, 38 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·functionspacebases | 9 | ····*·functionspacebases |
10 | Classes·|·Namespaces·|·Functions | 10 | Classes·|·Namespaces·|·Functions |
11 | 11 | periodicbasis.hh·File·Reference | |
12 | #include·<tuple> | ||
13 | #include·<utility> | 12 | #include·<utility> |
13 | #include·<type_traits> | ||
14 | #include·<limits> | ||
15 | #include·<set> | ||
16 | #include·<vector> | ||
14 | #include·<dune/common/std/apply.hh> | ||
15 | #include·<dune/common/hybridutilities.hh> | ||
16 | #include·<dune/common/reservedvector.hh> | ||
17 | #include·<dune/common/typeutilities.hh> | ||
18 | #include·<dune/common/tupleutility.hh> | ||
19 | #include·<dune/common/tuplevector.hh> | ||
20 | #include·<dune/functions/common/staticforloop.hh> | ||
21 | #include·<dune/functions/common/type_traits.hh> | ||
22 | #include·<dune/functions/common/utility.hh> | ||
23 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
24 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
25 | #include·<dune/functions/functionspacebases/concepts.hh> | 17 | #include·<dune/functions/functionspacebases/concepts.hh> |
26 | #include·<dune/functions/functionspacebases/ | 18 | #include·<dune/functions/functionspacebases/transformedindexbasis.hh> |
27 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
28 | ·Classes | 20 | ·Classes |
29 | class· Dune::Functions::CompositePreBasis<_IMS,_SPB_> | ||
30 | | 21 | class· Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet |
22 | ······Container·storing·identified·indices·for·a·periodic·basis.·More... | ||
31 | 23 | ||
32 | ·Namespaces | 24 | ·Namespaces |
33 | namespace· Dune | 25 | namespace· Dune |
34 | 26 | ||
35 | namespace· Dune::Functions | 27 | namespace· Dune::Functions |
36 | 28 | ||
37 | namespace· Dune::Functions::BasisFactory | 29 | namespace· Dune::Functions::BasisFactory |
38 | 30 | ||
39 | namespace· Dune::Functions::Basis | 31 | namespace· Dune::Functions::BasisFactory::Experimental |
40 | 32 | ||
41 | ·Functions | 33 | ·Functions |
42 | template<typename...·Args,·std::enable_if_t<·Concept::isIndexMergingStrategy< | ||
43 | typename·LastType<·Args...·>::type·>(),·int·>·=·0> | ||
44 | auto Dune::Functions::BasisFactory::composite·(Args·&&...·args) | ||
45 | 34 | template<class·RawPreBasisIndicator·,·class·PIS·> | |
35 | auto Dune::Functions::BasisFactory::Experimental::periodic | ||
36 | ······(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet) | ||
37 | ····Create·a·pre-basis·factory·that·can·create·a·periodic·pre-basis.·More... | ||
46 | 38 | ||
47 | =============================================================================== | 39 | =============================================================================== |
48 | ·····Generated·by [doxygen]·1.9.4 | 40 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·periodicbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 422 lines modified | Offset 62, 203 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">periodicbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00107.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00107.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<tuple></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<utility></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<limits></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·< | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<set></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/tupleutility.hh></span></div> | ||
85 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<vector></span></div> |
86 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/functions/common/staticforloop.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
90 | <div·class="line"><a·id="l000 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00137.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></span></div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
94 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>BasisFactory·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are</span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·not·completely·sure·yet·whether·we·like·it.··We·reserve·the·right·to</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·modify·it·without·advance·warning.··Use·at·your·own·risk!</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00227.html">···24</a></span><span·class="keyword">namespace·</span>Experimental·{</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
98 | <div·class="line"><a·id="l0002 | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
97 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01723.html">···35</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01723.html">PeriodicIndexSet</a></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·This·is·the·reusable·part·of·the·composite·bases.·It·contains</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//···CompositePreBasis</span></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//</span></div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·*****************************************************************************</span></div> | ||
108 | <div·class="line"><a·id="l0003 | 98 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> |
99 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>;</div> | ||
100 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">public</span>:</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 101 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
110 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span><<span·class="keyword">class·</span>IMS,·<span·class="keyword">class</span>...·SPB></div> | ||
111 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01723.html#a97911b25f2c1cf61ab48a667ae448b7e">···47</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01723.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIn[·...·truncated·by·diffoscope;·len:·41,·SHA:·e25a88cdb18a0649f8800b4c33d925e68d28b9888810da1aa9f2d5179ea73448·...·]</div> |
103 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div> | ||
104 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keywordflow">if</span>·(a>b)</div> | ||
105 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······std::swap(a,b);</div> | ||
106 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keywordflow">if</span>·(a==b)</div> | ||
107 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keywordflow">return</span>;</div> | ||
108 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····indexPairSet_.insert(std::make_pair(a,b));</div> | ||
112 | <div·class="line"><a·id="l0005 | 109 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> |
113 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·isBlocked·=·std::is_same_v<IMS,BasisFactory::BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>;</div> | ||
114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
115 | <div·class="line"><a·id="l0005 | 110 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
116 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01723.html#ace4a53d881dc7e6add6b0fd05a394738">···56</a></span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·<a·class="code·hl_function"·href="a01723.html#ace4a53[·...·truncated·by·diffoscope;·len:·81,·SHA:·675d485b52f65934beb6683a8f953c2589fe0ee401a973430f0c69529e27d7ff·...·]</div> |
112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">··</span>{</div> | ||
113 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keywordflow">return</span>·indexPairSet_;</div> | ||
117 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div> |
115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
118 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">private</span>:</div> |
119 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"> | 117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··IndexPairSet·indexPairSet_;</div> |
120 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>};</div> |
121 | <div·class="line"><a·id="l0006 | 119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
122 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
123 | <div·class="line"><a·id="l0006 | 122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">namespace·</span>Impl·{</div> |
124 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
125 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//·An·index·transformation·for·a·TransformedIndexPreBasis</span></div> |
125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//·implementing·periodic·functions·by·merging·indices.</span></div> | ||
126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//·Currently·only·flat·indices·are·supported.</span></div> | ||
127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">class·</span>PeriodicIndexingTransformation</div> | ||
126 | <div·class="line"><a·id="l0007 | 128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>{</div> |
127 | <div·class="line"><a·id="l0007 | 129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> |
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01503.html#aa0689626cbb089b66e5932b4a4ed6a6e">···74</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·<a·class="code·hl_variable"·href="a01503.html#aa0689626cbb089b66e5932b4a4ed6a6e">children</a>·=·<span·class="keyword">sizeof</span>...(SPB);</div> | ||
129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 130 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"> | 131 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·minIndexSize·=·1;</div> |
132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·maxIndexSize·=·1;</div> | ||
131 | <div·class="line"><a·id="l0007 | 133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
134 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RawPreBasis,·<span·class="keyword">class</span>·IndexPairSet></div> | ||
135 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··PeriodicIndexingTransformation(<span·class="keyword">const</span>·RawPreBasis&·rawPreBasis,·<span·class="keyword">const</span>·IndexPairSet&·indexPairSet)</div> | ||
132 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</span>:</div> | ||
133 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
134 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01503.html#a38b6a4eb5dc345ee88c046d107c9b811">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01719.html">Node</a>·=·<a·class="code·hl_class"·href="a01719.html">CompositeBasisNode</a><<span·class="keyword">typename</span>·SPB::Node...>;</div> | ||
135 | <div·class="line"><a·id="l0008 | 136 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div> |
136 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01503.html#affd187f58c7f8a750b11ab48abc3d94e">···83</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01503.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01503.html#affd187f58c7f8a750b11ab48abc3d94e">maxMultiIndexSize</a>·=·std::max({SPB::maxMultiIndexSize...})·+·isBlocked;</div> | ||
137 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01503.html#aee4f8b5f159f44d9a0fc61c60c615c19">···84</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01503.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01503.html#aee4f8b5f159f44d9a0fc61c60c615c19">minMultiIndexSize</a>·=·std::min({SPB::minMultiIndexSize...})·+·isBlocked;</div> | ||
138 | <div·class="line"><a·id="l0008 | 137 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">static_assert</span>(RawPreBasis::maxMultiIndexSize==1,·<span·class="stringliteral">"PeriodicIndexingTransformation·is·only·implemented·for·flat·multi-indices"</span>[·...·truncated·by·diffoscope;·len:·1,·SHA:·ba5ec51d07a4ac0e951608704431d59a02b21a4e951acc10505a8dc407c501ee·...·];</div> |
138 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····std::size_t·invalid·=·{std::numeric_limits<std::size_t>::max()};</div> | ||
139 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····mappedIdx_.resize(rawPreBasis.size(),·invalid);</div> | ||
140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····numIndices_·=·0;</div> | ||
Max diff block lines reached; 62175/107095 bytes (58.06%) of diff not shown. |
Offset 5, 541 lines modified | Offset 5, 227 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | periodicbasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<tuple> | ||
17 | · | 16 | ·6#include·<utility> |
17 | ·7#include·<type_traits> | ||
18 | ·8#include·<limits> | ||
19 | ·9#include·<set> | ||
20 | ·10#include·<vector> | ||
21 | ·11 | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/std/apply.hh> | ||
20 | ·10#include·<dune/common/hybridutilities.hh> | ||
21 | ·11#include·<dune/common/reservedvector.hh> | ||
22 | ·12#include·<dune/common/typeutilities.hh> | ||
23 | ·13#include·<dune/common/hybridutilities.hh> | ||
24 | ·14#include·<dune/common/tupleutility.hh> | ||
25 | ·15#include·<dune/common/tuplevector.hh> | ||
26 | ·16 | ||
27 | ·17#include·<dune/functions/common/staticforloop.hh> | ||
28 | ·18#include·<dune/functions/common/type_traits.hh> | ||
29 | ·19#include·<dune/functions/common/utility.hh> | ||
30 | ·20#include·<dune/functions/functionspacebases/basistags.hh> | ||
31 | ·21#include·<dune/functions/functionspacebases/nodes.hh> | ||
32 | · | 22 | ·12#include·<dune/functions/functionspacebases/concepts.hh> |
33 | · | 23 | ·13#include·<dune/functions/functionspacebases/transformedindexbasis.hh> |
34 | · | 24 | ·14 |
25 | ·15 | ||
26 | ·16namespace·Dune::Functions·{ | ||
27 | ·17 | ||
28 | ·18namespace·BasisFactory·{ | ||
29 | ·19 | ||
30 | ·20//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are | ||
31 | ·21//·not·completely·sure·yet·whether·we·like·it.·We·reserve·the·right·to | ||
32 | ·22//·modify·it·without·advance·warning.·Use·at·your·own·risk! | ||
33 | ·23 | ||
34 | 24namespace·Experimental·{ | ||
35 | ·25 | 35 | ·25 |
36 | ·26 | ||
37 | 35class·PeriodicIndexSet | ||
38 | ·36{ | ||
39 | ·37·using·IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>; | ||
40 | ·38public: | ||
36 | ·26namespace·Dune·{ | ||
37 | ·27namespace·Functions·{ | ||
38 | ·28 | ||
39 | ·29/ | ||
40 | /·***************************************************************************** | ||
41 | ·30//·This·is·the·reusable·part·of·the·composite·bases.·It·contains | ||
42 | ·31// | ||
43 | ·32//·CompositePreBasis | ||
44 | ·33// | ||
45 | ·34//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
46 | shared | ||
47 | ·35//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
48 | view | ||
49 | ·36//·and·can·be·used·without·a·global·basis. | ||
50 | ·37/ | ||
51 | /·***************************************************************************** | ||
52 | ·38 | ||
53 | ·39 | 41 | ·39 |
54 | ·51template<class·IMS,·class...·SPB> | ||
55 | 52class·CompositePreBasis | ||
56 | ·53{ | ||
57 | ·54·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
58 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
59 | ·55public: | ||
60 | ·56 | ||
61 | 42 | 47·void·unifyIndexPair(std::size_t·a,·std::size_t·b) | |
43 | ·48·{ | ||
44 | ·49·if·(a>b) | ||
45 | ·50·std::swap(a,b); | ||
46 | ·51·if·(a==b) | ||
47 | ·52·return; | ||
48 | ·53·indexPairSet_.insert(std::make_pair(a,b)); | ||
49 | ·54·} | ||
50 | ·55 | ||
51 | 56·const·auto&·indexPairSet()·const | ||
52 | ·57·{ | ||
53 | ·58·return·indexPairSet_; | ||
62 | ·59 | 54 | ·59·} |
63 | ·61·template<std::size_t·i> | ||
64 | 55 | ·60 | |
56 | ·61private: | ||
57 | ·62·IndexPairSet·indexPairSet_; | ||
65 | ·63 | 58 | ·63}; |
66 | 59 | ·64 | |
60 | ·65 | ||
67 | ·66 | 61 | ·66 |
68 | 68·using·size_type·=·std::size_t; | ||
69 | ·69 | ||
70 | 71·using·IndexMergingStrategy·=·IMS; | ||
71 | ·72 | ||
72 | ·73protected: | ||
73 | 62 | ·67namespace·Impl·{ | |
63 | ·68 | ||
64 | ·69//·An·index·transformation·for·a·TransformedIndexPreBasis | ||
65 | ·70//·implementing·periodic·functions·by·merging·indices. | ||
66 | ·71//·Currently·only·flat·indices·are·supported. | ||
67 | ·72class·PeriodicIndexingTransformation | ||
68 | ·73{ | ||
69 | ·74public: | ||
74 | ·75 | 70 | ·75 |
75 | 76·using·ChildIndices·=·std::make_index_sequence<children>; | ||
76 | ·77 | ||
77 | ·78public: | ||
78 | ·79 | ||
79 | 81·using·Node·=·CompositeBasisNode<typename·SPB::Node...>; | ||
80 | ·82 | ||
81 | 83·static·constexpr·size_type·maxMultiIndexSize·=·std::max({SPB:: | ||
82 | maxMultiIndexSize...})·+·isBlocked; | ||
83 | 84·static·constexpr·size_type·minMultiIndexSize·=·std::min({SPB:: | ||
84 | minMultiIndexSize...})·+·isBlocked; | ||
85 | 85·static·constexpr·size_type·multiIndexBufferSize·=·std::max({SPB:: | ||
86 | multiIndexBufferSize...})·+·isBlocked; | ||
87 | ·86 | ||
Max diff block lines reached; 15947/24913 bytes (64.01%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·sizeinfo.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 66, 57 lines modified | Offset 66, 39 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">sizeinfo.hh·File·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<array></code><br·/> |
77 | <code>#include·<memory></code><br·/> | ||
78 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
79 | <code>#include·<dune/typetree/leafnode.hh></code><br·/> | ||
80 | <code>#include·<dune/typetree/powernode.hh></code><br·/> | ||
81 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
82 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
83 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
84 | </div> | 77 | </div> |
85 | <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
88 | Classes</h2></td></tr> | 81 | Classes</h2></td></tr> |
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01707.html">Dune::Functions::BasisNodeMixin</a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a017 | 82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01799.html">Dune::Functions::SizeInfo<·B·></a></td></tr> |
83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·class·encapsulating·size·information.··<a·href="a01799.html#details">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01715.html">Dune::Functions::PowerBasisNode<·T,·n·></a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01719.html">Dune::Functions::CompositeBasisNode<·T·></a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 85 | </table><table·class="memberdecls"> |
98 | <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> |
99 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
100 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
106 | Functions</h2></td></tr> | 94 | Functions</h2></td></tr> |
95 | <tr·class="memitem:abd7e25a89325dbe2232b17308dae45f2"><td·class="memTemplParams"·colspan="2">template<class·Basis·>·</td></tr> | ||
96 | <tr·class="memitem:abd7e25a89325dbe2232b17308dae45f2"><td·class="memTemplItemLeft"·align="right"·valign="top">SizeInfo<·Basis·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#abd7e25a89325dbe2232b17308dae45f2">Dune::Functions::sizeInfo</a>·(const·Basis·&basis)</td></tr> | ||
107 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
108 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a475e15e64943b3461f2f87a7805a3c8e">Dune::Functions::clearSize</a>·(Tree·&tree,·std::size_t·offset)</td></tr> | ||
109 | <tr·class="separator:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplParams"·colspan="2">template<typename·Tree·,·typename·Entity·>·</td></tr> | ||
111 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a4dc892a209e0f55bc65eadaf2c808454">Dune::Functions::bindTree</a>·(Tree·&tree,·const·Entity·&entity,·std::size_t·offset=0)</td></tr> | ||
112 | <tr·class="separator:a | 97 | <tr·class="separator:abd7e25a89325dbe2232b17308dae45f2"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
114 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a5e19b913a34ad68144f4fd873c51b977">Dune::Functions::initializeTree</a>·(Tree·&tree,·std::size_t·treeIndexOffset=0)</td></tr> | ||
115 | <tr·class="separator:a5e19b913a34ad68144f4fd873c51b977"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | </table> | 98 | </table> |
117 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
118 | <!--·start·footer·part·--> | 100 | <!--·start·footer·part·--> |
119 | <hr·class="footer"/><address·class="footer"><small> | 101 | <hr·class="footer"/><address·class="footer"><small> |
120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 103 | </small></address> |
122 | </body> | 104 | </body> |
Offset 6, 46 lines modified | Offset 6, 26 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·functionspacebases | 9 | ····*·functionspacebases |
10 | Classes·|·Namespaces·|·Functions | 10 | Classes·|·Namespaces·|·Functions |
11 | 11 | sizeinfo.hh·File·Reference | |
12 | #include·<cassert> | ||
13 | #include·< | 12 | #include·<array> |
14 | #include·<dune/common/indices.hh> | ||
15 | #include·<dune/typetree/leafnode.hh> | ||
16 | #include·<dune/typetree/powernode.hh> | ||
17 | #include·<dune/typetree/compositenode.hh> | ||
18 | #include·<dune/typetree/traversal.hh> | ||
19 | #include·<dune/typetree/visitor.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | 14 | ·Classes |
15 | class· Dune::Functions::SizeInfo<_B_> | ||
16 | ······A·class·encapsulating·size·information.·More... | ||
22 | class· Dune::Functions::BasisNodeMixin | ||
23 | |||
24 | class· Dune::Functions::LeafBasisNode | ||
25 | |||
26 | class· Dune::Functions::PowerBasisNode<_T,_n_> | ||
27 | |||
28 | class· Dune::Functions::CompositeBasisNode<_T_> | ||
29 | 17 | ||
30 | ·Namespaces | 18 | ·Namespaces |
31 | namespace· Dune | 19 | namespace· Dune |
32 | 20 | ||
33 | namespace· Dune::Functions | 21 | namespace· Dune::Functions |
34 | 22 | ||
35 | ·Functions | 23 | ·Functions |
24 | template<class·Basis·> | ||
25 | SizeInfo<·Basis·> Dune::Functions::sizeInfo·(const·Basis·&basis) | ||
36 | template<typename·Tree·> | ||
37 | void Dune::Functions::clearSize·(Tree·&tree,·std::size_t·offset) | ||
38 | |||
39 | template<typename·Tree·,·typename·Entity·> | ||
40 | void Dune::Functions::bindTree·(Tree·&tree,·const·Entity·&entity,·std::size_t | ||
41 | ······offset=0) | ||
42 | |||
43 | template<typename·Tree·> | ||
44 | void Dune::Functions::initializeTree·(Tree·&tree,·std::size_t | ||
45 | ······treeIndexOffset=0) | ||
46 | 26 | ||
47 | =============================================================================== | 27 | =============================================================================== |
48 | ·····Generated·by [doxygen]·1.9.4 | 28 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·sizeinfo.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 314 lines modified | Offset 62, 84 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">sizeinfo.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00110.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00110.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<memory></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class=" | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span>Functions·{</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/leafnode.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/typetree/powernode.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> | ||
86 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> | ||
84 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01799.html">···24</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01799.html">SizeInfo</a></div> | ||
85 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
86 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">public</span>:</div> | ||
87 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">···27</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B;</div> | ||
88 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">···28</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·<span·class="keyword">typename</span>·Basis::size_type;</div> | ||
89 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">···29</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>·=·<span·class="keyword">typename</span>·Basis::SizePrefix;</div> | ||
90 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
91 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01799.html#ac3e18dc3b17c52eafe2e803562d72c5b">···34</a></span>····<a·class="code·hl_function"·href="a01799.html#ac3e18dc3b17c52eafe2e803562d72c5b">SizeInfo</a>(<span·class="keyword">const</s[·...·truncated·by·diffoscope;·len:·108,·SHA:·1392eede53602f39816c37c155ec27784a777dbfa5ab9ca2b34df141fe85f504·...·]</div> |
92 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>(&basis)</div> | ||
92 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····{}</div> |
93 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
95 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01799.html#a9c71fa33343b928c5b93e2c8dcb9595f">···41</a></span>····<a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·<a·class="code·hl_function"·href="a01799.html#a9c71fa33343b928c5b93e2c8dcb9595f">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
94 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">····</span>{</div> |
97 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>->size(prefix);</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath·treePath)</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········{</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··········leaf(node,treePath);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··········node.setSize(0);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········}</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath·treePath)</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>········{</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··········node.setOffset(offset_);</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········}</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········ClearSizeVisitor(std::size_t·offset)</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········:·offset_(offset)</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>···· | 98 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····}</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 99 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
100 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01799.html#a4f2343f16899076f68aa9dbeef992d80">···52</a></span>····<a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·<a·class="code·hl_function"·href="a01799.html#a4f2343f16899076f68aa9dbeef992d80">size</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keyword">const</span>·std::size_t·offset_;</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······};</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·Entity></div> | ||
122 | <div·class="line"><a·id="l0005 | 101 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div> |
102 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>->size(prefix);</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>···· | 103 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div> |
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 104 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
105 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01799.html#a7a6245f9d3517156801ffdb27c2c879e">···57</a></span>····<span·class="keyword">operator</span>·<a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·()<span·class="keyword">·const</span></div> | ||
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath)</div> | ||
129 | <div·class="line"><a·id="l0005 | 106 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">····</span>{</div> |
130 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>->dimension();</div> |
131 | <div·class="line"><a·id="l0006 | 108 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div> |
132 | <div·class="line"><a·id="l0006 | 109 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
134 | <div·class="line"><a·id="l0006 | 110 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">protected</span>:</div> |
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········{</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········node.setSize(offset_·-·node.offset());</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········}</div> | ||
138 | <div·class="line"><a·id="l0006 | 111 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
112 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">···64</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>*·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>;</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath)</div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········{</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··········node.setOffset(offset_);</div> | ||
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········node.bind(entity_);</div> | ||
144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··········offset_·+=·node.size();</div> | ||
145 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>};</div> |
146 | <div·class="line"><a·id="l000 | 114 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
147 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········BindVisitor(<span·class="keyword">const</span>·Entity&·entity,·std::size_t·offset·=·0)</div> | ||
148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········:·entity_(entity)</div> | ||
149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········,·offset_(offset)</div> | ||
150 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········{}</div> | ||
151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
152 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keyword">const</span>·Entity&·entity_;</div> | ||
153 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········std::size_t·offset_;</div> | ||
154 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
155 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······};</div> | ||
156 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
Max diff block lines reached; 10837/62373 bytes (17.37%) of diff not shown. |
Offset 5, 354 lines modified | Offset 5, 101 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | sizeinfo.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SIZEINFO_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·< | 16 | ·6#include·<array> |
17 | ·7#include·<memory> | ||
18 | ·8 | ||
19 | · | 17 | ·7 |
18 | ·8namespace·Dune·{ | ||
19 | ·9namespace·Functions·{ | ||
20 | ·10 | 20 | ·10 |
21 | ·11 | ||
22 | ·12 | ||
23 | ·23template<class·B> | ||
24 | 24class·SizeInfo | ||
25 | ·25{ | ||
26 | ·26public: | ||
27 | 27·using·Basis·=·B; | ||
28 | 28·using·size_type·=·typename·Basis::size_type; | ||
29 | 29·using·SizePrefix·=·typename·Basis::SizePrefix; | ||
30 | ·30 | ||
31 | 34·SizeInfo(const·Basis&·basis)·: | ||
32 | ·35·basis_(&basis) | ||
33 | ·36·{} | ||
34 | ·37 | ||
35 | 41·size_type·operator()(const·SizePrefix&·prefix)·const | ||
21 | ·11#include·<dune/typetree/leafnode.hh> | ||
22 | ·12#include·<dune/typetree/powernode.hh> | ||
23 | ·13#include·<dune/typetree/compositenode.hh> | ||
24 | ·14#include·<dune/typetree/traversal.hh> | ||
25 | ·15#include·<dune/typetree/visitor.hh> | ||
26 | ·16 | ||
27 | ·17namespace·Dune·{ | ||
28 | ·18·namespace·Functions·{ | ||
29 | ·19 | ||
30 | ·20 | ||
31 | ·21·namespace·Impl·{ | ||
32 | ·22 | ||
33 | ·23 | ||
34 | ·24·struct·ClearSizeVisitor | ||
35 | ·25·:·public·TypeTree::TreeVisitor | ||
36 | ·26·,·public·TypeTree::DynamicTraversal | ||
37 | · | 36 | ·42·{ |
37 | ·43·return·basis_->size(prefix); | ||
38 | ·28 | ||
39 | ·29·template<typename·Node,·typename·TreePath> | ||
40 | ·30·void·pre(Node&·node,·TreePath·treePath) | ||
41 | ·31·{ | ||
42 | ·32·leaf(node,treePath); | ||
43 | ·33·node.setSize(0); | ||
44 | ·34·} | ||
45 | ·35 | ||
46 | ·36·template<typename·Node,·typename·TreePath> | ||
47 | ·37·void·leaf(Node&·node,·TreePath·treePath) | ||
48 | ·38·{ | ||
49 | ·39·node.setOffset(offset_); | ||
50 | ·40·} | ||
51 | ·41 | ||
52 | ·42·ClearSizeVisitor(std::size_t·offset) | ||
53 | ·43·:·offset_(offset) | ||
54 | ·44· | 38 | ·44·} |
55 | ·45 | 39 | ·45 |
40 | 52·size_type·size(const·SizePrefix&·prefix)·const | ||
56 | ·46·const·std::size_t·offset_; | ||
57 | ·47 | ||
58 | ·48·}; | ||
59 | ·49 | ||
60 | ·50 | ||
61 | ·51·template<typename·Entity> | ||
62 | ·52·struct·BindVisitor | ||
63 | ·53·:·public·TypeTree::TreeVisitor | ||
64 | ·54·,·public·TypeTree::DynamicTraversal | ||
65 | ·5 | 41 | ·53·{ |
42 | ·54·return·basis_->size(prefix); | ||
43 | ·55·} | ||
66 | ·56 | 44 | ·56 |
45 | 57·operator·size_type·()·const | ||
67 | ·57·template<typename·Node,·typename·TreePath> | ||
68 | ·58·void·pre(Node&·node,·TreePath) | ||
69 | ·5 | 46 | ·58·{ |
70 | · | 47 | ·59·return·basis_->dimension(); |
71 | ·6 | 48 | ·60·} |
49 | ·61 | ||
72 | ·62 | ||
73 | ·63·template<typename·Node,·typename·TreePath> | ||
74 | ·64·void·post(Node&·node,·TreePath) | ||
75 | ·65·{ | ||
76 | ·66·node.setSize(offset_·-·node.offset()); | ||
77 | ·67·} | ||
78 | ·68 | ||
79 | ·69·template<typename·Node,·typename·TreePath> | ||
80 | ·70·void·leaf(Node&·node,·TreePath) | ||
81 | ·71·{ | ||
82 | ·72·node.setOffset(offset_); | ||
83 | ·73·node.bind(entity_); | ||
84 | ·74·offset_·+=·node.size(); | ||
85 | ·75·} | ||
86 | ·76 | ||
87 | ·77·BindVisitor(const·Entity&·entity,·std::size_t·offset·=·0) | ||
88 | ·78·:·entity_(entity) | ||
89 | ·79·,·offset_(offset) | ||
90 | ·80·{} | ||
91 | ·81 | ||
92 | ·82·const·Entity&·entity_; | ||
93 | ·83·std::size_t·offset_; | ||
94 | ·84 | ||
95 | ·85·}; | ||
96 | ·86 | ||
97 | ·87 | ||
98 | ·88·struct·InitializeTreeVisitor·: | ||
99 | ·89·public·TypeTree::TreeVisitor, | ||
100 | ·90·public·TypeTree::DynamicTraversal | ||
101 | ·91·{ | ||
102 | ·92·template<typename·Node,·typename·TreePath> | ||
103 | ·93·void·pre(Node&·node,·TreePath) | ||
104 | ·94·{ | ||
105 | ·95·node.setTreeIndex(treeIndex_); | ||
Max diff block lines reached; 3714/10843 bytes (34.25%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·rannacherturekbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 37 lines modified | Offset 63, 61 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>· | 72 | <a·href="#typedef-members">Typedefs</a>·| |
73 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">rannacherturekbasis.hh·File·Reference</div></div> |
73 | </div><!--header--> | 75 | </div><!--header--> |
74 | <div·class="contents"> | 76 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 77 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
78 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> | ||
79 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
80 | <code>#include·<dune/localfunctions/rannacherturek.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/crouzeixraviart.hh></code><br·/> | ||
76 | <code>#include·<<a·class="el"·href="a00 | 82 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
83 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
77 | </div> | 84 | </div> |
78 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
88 | Classes</h2></td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01743.html">Dune::Functions::RannacherTurekPreBasis<·GV·></a></td></tr> | ||
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·a·Rannacher-Turek·basis.··<a·href="a01743.html#details">More...</a><br·/></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01739.html">Dune::Functions::RannacherTurekNode<·GV·></a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | </table><table·class="memberdecls"> | ||
80 | <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> |
81 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
82 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
86 | </table><table·class="memberdecls"> | 103 | </table><table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
88 | Typedefs</h2></td></tr> | 105 | Typedefs</h2></td></tr> |
106 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
107 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga3ad2af46f38ffff87851eb5734df272d">Dune::Functions::RannacherTurekBasis</a>·=·DefaultGlobalBasis<·RannacherTurekPreBasis<·GV·>·></td></tr> | ||
108 | <tr·class="memdesc:ga3ad2af46f38ffff87851eb5734df272d"><td·class="mdescLeft"> </td><td·class="mdescRight">Rannacher-Turek·basis.··<a·href="a00213.html#ga3ad2af46f38ffff87851eb5734df272d">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
112 | Functions</h2></td></tr> | ||
89 | <tr·class="memitem:ga6 | 113 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplParams"·colspan="2">template<class·Dummy··=·void>·</td></tr> |
90 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga6b523ca86bfec2581ea9c173a722f8f3">Dune::Functions::FlatMultiIndex</a>·=·StaticMultiIndex<·size_type,·1·></td></tr> | ||
91 | <tr·class="mem | 114 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga366449c1a41fc29ff55fed0c1485f60b">Dune::Functions::BasisFactory:[·...·truncated·by·diffoscope;·len:·22,·SHA:·71f77aee08aa1d1ddfa805d6355247304a117f0898666927186f379a11622d71·...·]</td></tr> |
115 | <tr·class="memdesc:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Rannacher-Turek·pre-basis.··<a·href="a00213.html#ga366449c1a41fc29ff55fed0c1485f60b">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:ga6 | 116 | <tr·class="separator:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table> | 117 | </table> |
94 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
95 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
96 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
98 | </small></address> | 122 | </small></address> |
99 | </body> | 123 | </body> |
Offset 5, 25 lines modified | Offset 5, 45 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Namespaces·|·Typedefs | ||
10 | flatmultiindex.hh·File·Reference | ||
11 | #include·<array> | ||
12 | 9 | Classes·|·Namespaces·|·Typedefs·|·Functions | |
10 | rannacherturekbasis.hh·File·Reference | ||
11 | #include·<dune/common/exceptions.hh> | ||
12 | #include·<dune/grid/common/capabilities.hh> | ||
13 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
14 | #include·<dune/localfunctions/rannacherturek.hh> | ||
15 | #include·<dune/localfunctions/crouzeixraviart.hh> | ||
16 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
19 | ·Classes | ||
20 | class· Dune::Functions::RannacherTurekPreBasis<_GV_> | ||
21 | ······Pre-basis·for·a·Rannacher-Turek·basis.·More... | ||
22 | |||
23 | class· Dune::Functions::RannacherTurekNode<_GV_> | ||
24 | |||
14 | ·Namespaces | 25 | ·Namespaces |
15 | namespace· Dune | 26 | namespace· Dune |
16 | 27 | ||
17 | namespace· Dune::Functions | 28 | namespace· Dune::Functions |
18 | 29 | ||
30 | namespace· Dune::Functions::BasisFactory | ||
31 | |||
19 | ·Typedefs | 32 | ·Typedefs |
20 | template<class·size_type·> | ||
21 | using Dune::Functions::FlatMultiIndex·=·StaticMultiIndex<·size_type,·1·> | ||
22 | 33 | template<typename·GV·> | |
34 | using Dune::Functions::RannacherTurekBasis·=·DefaultGlobalBasis< | ||
35 | ·······RannacherTurekPreBasis<·GV·>·> | ||
36 | ·····Rannacher-Turek·basis.·More... | ||
37 | |||
38 | ·Functions | ||
39 | template<class·Dummy·=·void> | ||
40 | auto Dune::Functions::BasisFactory::rannacherTurek·() | ||
41 | ····Create·a·pre-basis·factory·that·can·create·a·Rannacher-Turek·pre-basis. | ||
42 | ······More... | ||
23 | 43 | ||
24 | =============================================================================== | 44 | =============================================================================== |
25 | ·····Generated·by [doxygen]·1.9.4 | 45 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·rannacherturekbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 43 lines modified | Offset 62, 251 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">rannacherturekbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00113.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00113.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·< | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class=" | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class=" | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/localfunctions/rannacherturek.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/localfunctions/crouzeixraviart.hh></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
85 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
86 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
87 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·*****************************************************************************</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//···RannacherTurekPreBasis</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//···RannacherTurekNode</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><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·*****************************************************************************</span></div> | ||
88 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">class·</span>RannacherTurekNode;</div> | ||
89 | <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> |
90 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span> | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> |
91 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">class·</span>RannacherTurekPreBasis;</div> |
92 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
109 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01743.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01743.html">RannacherTurekPreBasis</a></div> | ||
110 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> | ||
111 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
112 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
113 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
114 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>·=·GV;</div> | ||
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·=·std::size_t;</div> | ||
118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01743.html#a8baece8242d5dd2a48373b3a881b4d1e">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01739.html">Node</a>·=·<a·class="code·hl_class"·href="a01739.html">RannacherTurekNode<GV></a>;</div> | ||
120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01743.html#a1fb0d4aecaa56bf627e26d3aa10db05f">···66</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_variable"·href="a01743.html#a1fb0d4aecaa56bf627e26d3aa10db05f">maxMultiIndexSize</a>·=·1;</div> | ||
122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01743.html#a2207314a85448f44a5b4ec1b8cfa959b">···67</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_variable"·href="a01743.html#a2207314a85448f44a5b4ec1b8cfa959b">minMultiIndexSize</a>·=·1;</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01743.html#a07cae145cee28936ff386f5c19f43d2b">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_variable"·href="a01743.html#a07cae145cee28936ff386f5c19f43d2b">multiIndexBufferSize</a>·=·1;</div> | ||
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01743.html#a84b73fe9692fdf3c6b10889d79c950eb">···71</a></span>··<a·class="code·hl_function"·href="a01743.html#a84b73fe9692fdf3c6b10889d79c950eb">RannacherTurekPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)·:</div> | ||
126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<a·class="code·hl_variable"·href="a01743.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>(gv)</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div> | ||
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·type·:·gv.indexSet().types(0))</div> | ||
129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">if</span>·(!type.isSimplex()·&&·!type.isCube())</div> | ||
130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Rannacher-Turek·or·Crouzeix-Raviart·elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."</span>);</div> | ||
131 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··}</div> | ||
132 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
133 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01743.html#a0ed55e98e0c70dc52075cc48f1371256">···80</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01743.html#a0ed55e98e0c70dc52075cc48f1371256">initializeIndices</a>()</div> | ||
134 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{}</div> | ||
135 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
136 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01743.html#a960b8283558fb35d91bd74d52e4cedf5">···84</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·<a·class="code·hl_function"·href="a01743.html#a960b8283558fb35d91bd74d52e4cedf5">gridView</a>()<span·class="keyword">·const</span></div> | ||
137 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">··</span>{</div> | ||
138 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01743.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>;</div> | ||
139 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> | ||
140 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | ||
141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a01743.html#a3f70bfaa27f3b798c6580cf54d4d5d3e">···90</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01743.html#a3f70bfaa27f3b798c6580cf54d4d5d3e">update</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)</div> | ||
142 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··{</div> | ||
143 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_variable"·href="a01743.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>·=·gv;</div> | ||
144 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> | ||
145 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
146 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01743.html#a3e7a4c632321e1a5052bfbb39325c436">···98</a></span>··<a·class="code·hl_class"·href="a01739.html">Node</a>·<a·class="code·hl_function"·href="a01743.html#a3e7a4c632321e1a5052bfbb39325c436">makeNode</a>()<span·class="keyword">·const</span></div> | ||
147 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">··</span>{</div> | ||
148 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01739.html">Node</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>·</div> | ||
151 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01743.html#a8cf6720c8ed670f281421f8aa2bfb357">··104</a></span>··<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_function"·href="a01743.html#a8cf6720c8ed670f281421f8aa2bfb357">size</a>()<span·class="keyword">·const</span></div> | ||
152 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="keyword">··</span>{</div> | ||
153 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">return</span>·(<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>)(<a·class="code·hl_variable"·href="a01743.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>.size(1));</div> | ||
154 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> | ||
155 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
156 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·SizePrefix></div> | ||
157 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a01743.html#a239f02b11282a9345e57e725e1de1a85">··111</a></span>··<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_function"·href="a01743.html#a239f02b11282a9345e57e725e1de1a85">size</a>(<span·class="keyword">const</span>·SizePrefix·prefix)<span·class="keyword">·const</span></div> | ||
158 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="keyword">··</span>{</div> | ||
159 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····assert(prefix.size()·==·0·||·prefix.size()·==·1);</div> | ||
160 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">return</span>·(prefix.size()·==·0)·?·<a·class="code·hl_function"·href="a01743.html#a8cf6720c8ed670f281421f8aa2bfb357">size</a>()·:·0;</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>·</div> | ||
163 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a01743.html#a7d1d523f4994837ef4d8630b5307d740">··118</a></span>··<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_function"·href="a01743.html#a7d1d523f4994837ef4d8630b5307d740">dimension</a>()<span·class="keyword">·const</span></div> | ||
164 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="keyword">··</span>{</div> | ||
165 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01743.html#a8cf6720c8ed670f281421f8aa2bfb357">size</a>();</div> | ||
166 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··}</div> | ||
167 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> | ||
168 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a01743.html#ab8a64c7e222db3908f784433f5d75d5a">··124</a></span>··<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_function"·href="a01743.html#ab8a64c7e222db3908f784433f5d75d5a">maxNodeSize</a>()<span·class="keyword">·const</span></div> | ||
169 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="keyword">··</span>{</div> | ||
170 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····<span·class="keywordflow">return</span>·2*GV::dimension;</div> | ||
Max diff block lines reached; 11809/53326 bytes (22.14%) of diff not shown. |
Offset 5, 41 lines modified | Offset 5, 340 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | rannacherturekbasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·< | 16 | ·6#include·<dune/common/exceptions.hh> |
17 | ·7 | 17 | ·7 |
18 | ·8#include·<dune/ | 18 | ·8#include·<dune/grid/common/capabilities.hh> |
19 | ·9 | 19 | ·9 |
20 | ·10namespace·Dune·{ | ||
21 | ·11namespace·Functions·{ | ||
22 | ·1 | 20 | ·10#include·<dune/localfunctions/common/localfiniteelementvariant.hh> |
21 | ·11#include·<dune/localfunctions/rannacherturek.hh> | ||
22 | ·12#include·<dune/localfunctions/crouzeixraviart.hh> | ||
23 | ·13 | 23 | ·13 |
24 | ·14 | ||
25 | ·30template<class·size_type> | ||
26 | 31using·FlatMultiIndex·=·StaticMultiIndex<size_type,_1>; | ||
27 | ·32 | ||
28 | · | 24 | ·14#include·<dune/functions/functionspacebases/nodes.hh> |
25 | ·15#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
26 | ·16 | ||
27 | ·17 | ||
28 | ·18namespace·Dune·{ | ||
29 | ·19namespace·Functions·{ | ||
30 | ·20 | ||
31 | ·21/ | ||
32 | /·***************************************************************************** | ||
33 | ·22//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
34 | ·23// | ||
35 | ·24//·RannacherTurekPreBasis | ||
36 | ·25//·RannacherTurekNode | ||
37 | ·26// | ||
38 | ·27//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
39 | shared | ||
40 | ·28//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
41 | view | ||
42 | ·29//·and·can·be·used·without·a·global·basis. | ||
43 | ·30/ | ||
44 | /·***************************************************************************** | ||
45 | ·31 | ||
46 | ·32template<typename·GV> | ||
47 | ·33class·RannacherTurekNode; | ||
29 | ·34 | 48 | ·34 |
30 | ·35}·//·end·namespace·Functions | ||
31 | ·3 | 49 | ·35template<typename·GV> |
50 | ·36class·RannacherTurekPreBasis; | ||
32 | ·37 | 51 | ·37 |
52 | ·50template<typename·GV> | ||
53 | 51class·RannacherTurekPreBasis | ||
54 | ·52{ | ||
55 | ·53·static·const·int·dim·=·GV::dimension; | ||
56 | ·54 | ||
57 | ·55public: | ||
58 | ·56 | ||
59 | 58·using·GridView·=·GV; | ||
60 | ·59 | ||
61 | 61·using·size_type·=·std::size_t; | ||
62 | ·62 | ||
63 | 64·using·Node·=·RannacherTurekNode<GV>; | ||
64 | ·65 | ||
65 | 66·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
66 | 67·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
67 | 68·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
68 | ·69 | ||
69 | 71·RannacherTurekPreBasis(const·GridView&·gv)·: | ||
70 | ·72·gridView_(gv) | ||
71 | ·73·{ | ||
72 | ·74·for(auto·type·:·gv.indexSet().types(0)) | ||
73 | ·75·if·(!type.isSimplex()·&&·!type.isCube()) | ||
74 | ·76·DUNE_THROW(Dune::NotImplemented,·"Rannacher-Turek·or·Crouzeix-Raviart | ||
75 | elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."); | ||
76 | ·77·} | ||
77 | ·78 | ||
78 | 80·void·initializeIndices() | ||
79 | ·81·{} | ||
80 | ·82 | ||
81 | 84·const·GridView&·gridView()·const | ||
82 | ·85·{ | ||
83 | ·86·return·gridView_; | ||
84 | ·87·} | ||
85 | ·88 | ||
86 | 90·void·update·(const·GridView&·gv) | ||
87 | ·91·{ | ||
88 | ·92·gridView_·=·gv; | ||
89 | ·93·} | ||
90 | ·94 | ||
91 | 98·Node·makeNode()·const | ||
92 | ·99·{ | ||
93 | ·100·return·Node{}; | ||
94 | ·101·} | ||
95 | ·102 | ||
96 | 104·size_type·size()·const | ||
97 | ·105·{ | ||
98 | ·106·return·(size_type)(gridView_.size(1)); | ||
99 | ·107·} | ||
100 | ·108 | ||
101 | ·110·template<class·SizePrefix> | ||
102 | 111·size_type·size(const·SizePrefix·prefix)·const | ||
103 | ·112·{ | ||
104 | ·113·assert(prefix.size()·==·0·||·prefix.size()·==·1); | ||
105 | ·114·return·(prefix.size()·==·0)·?·size()·:·0; | ||
106 | ·115·} | ||
107 | ·116 | ||
108 | 118·size_type·dimension()·const | ||
109 | ·119·{ | ||
110 | ·120·return·size(); | ||
111 | ·121·} | ||
112 | ·122 | ||
113 | 124·size_type·maxNodeSize()·const | ||
114 | ·125·{ | ||
115 | ·126·return·2*GV::dimension; | ||
116 | ·127·} | ||
117 | ·128 | ||
118 | ·129·template<typename·It> | ||
119 | 130·It·indices(const·Node&·node,·It·it)·const | ||
120 | ·131·{ | ||
121 | ·132·for·(size_type·i·=·0,·end·=·node.size()·;·i·<·end·;·++i,·++it) | ||
Max diff block lines reached; 4771/11428 bytes (41.75%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·nodes.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 37 lines modified | Offset 63, 60 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">nodes.hh·File·Reference</div></div> |
73 | </div><!--header--> | 74 | </div><!--header--> |
74 | <div·class="contents"> | 75 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<cassert></code><br·/> |
76 | <code>#include·< | 77 | <code>#include·<memory></code><br·/> |
78 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
79 | <code>#include·<dune/typetree/leafnode.hh></code><br·/> | ||
80 | <code>#include·<dune/typetree/powernode.hh></code><br·/> | ||
81 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
82 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
83 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
77 | </div> | 84 | </div> |
78 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
88 | Classes</h2></td></tr> | ||
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01707.html">Dune::Functions::BasisNodeMixin</a></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01711.html">Dune::Functions::LeafBasisNode</a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01715.html">Dune::Functions::PowerBasisNode<·T,·n·></a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01719.html">Dune::Functions::CompositeBasisNode<·T·></a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | </table><table·class="memberdecls"> | ||
80 | <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> |
81 | Namespaces</h2></td></tr> | 99 | Namespaces</h2></td></tr> |
82 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 100 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 102 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
87 | <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> |
88 | Functions</h2></td></tr> | 106 | Functions</h2></td></tr> |
107 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
108 | <tr·class="memitem:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a475e15e64943b3461f2f87a7805a3c8e">Dune::Functions::clearSize</a>·(Tree·&tree,·std::size_t·offset)</td></tr> | ||
89 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>()(0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename·Basis::GridView::Intersection·>()),·0)··=·0>·</td></tr> | ||
90 | <tr·class="memitem:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">Dune::Functions::forEachBoundaryDOF</a>·(const·Basis·&basis,·F·&&f)</td></tr> | ||
91 | <tr·class="memdesc:gaa60b94e3da01aa62a555f6955a7f09e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Loop·over·all·DOFs·on·the·boundary.··<a·href="a00214.html#gaa60b94e3da01aa62a555f6955a7f09e5">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator: | 109 | <tr·class="separator:a475e15e64943b3461f2f87a7805a3c8e"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplParams"·colspan="2">template<typename·Tree·,·typename·Entity·>·</td></tr> | ||
111 | <tr·class="memitem:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a4dc892a209e0f55bc65eadaf2c808454">Dune::Functions::bindTree</a>·(Tree·&tree,·const·Entity·&entity,·std::size_t·offset=0)</td></tr> | ||
112 | <tr·class="separator:a4dc892a209e0f55bc65eadaf2c808454"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplParams"·colspan="2">template<typename·Tree·>·</td></tr> | ||
114 | <tr·class="memitem:a5e19b913a34ad68144f4fd873c51b977"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a5e19b913a34ad68144f4fd873c51b977">Dune::Functions::initializeTree</a>·(Tree·&tree,·std::size_t·treeIndexOffset=0)</td></tr> | ||
115 | <tr·class="separator:a5e19b913a34ad68144f4fd873c51b977"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | </table> | 116 | </table> |
94 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
95 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
96 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
98 | </small></address> | 121 | </small></address> |
99 | </body> | 122 | </body> |
Offset 5, 27 lines modified | Offset 5, 47 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Namespaces·|·Functions | 9 | Classes·|·Namespaces·|·Functions |
10 | 10 | nodes.hh·File·Reference | |
11 | #include·<utility> | ||
12 | #include·< | 11 | #include·<cassert> |
12 | #include·<memory> | ||
13 | #include·<dune/common/indices.hh> | ||
14 | #include·<dune/typetree/leafnode.hh> | ||
15 | #include·<dune/typetree/powernode.hh> | ||
16 | #include·<dune/typetree/compositenode.hh> | ||
17 | #include·<dune/typetree/traversal.hh> | ||
18 | #include·<dune/typetree/visitor.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | ||
21 | class· Dune::Functions::BasisNodeMixin | ||
22 | |||
23 | class· Dune::Functions::LeafBasisNode | ||
24 | |||
25 | class· Dune::Functions::PowerBasisNode<_T,_n_> | ||
26 | |||
27 | class· Dune::Functions::CompositeBasisNode<_T_> | ||
28 | |||
14 | ·Namespaces | 29 | ·Namespaces |
15 | namespace· Dune | 30 | namespace· Dune |
16 | 31 | ||
17 | namespace· Dune::Functions | 32 | namespace· Dune::Functions |
18 | 33 | ||
19 | ·Functions | 34 | ·Functions |
20 | template<class·Basis·,·class·F·,·decltype(std::declval<·std::decay_t<·F·>·>() | ||
21 | (0,·std::declval<·typename·Basis::LocalView·>(),·std::declval<·typename | ||
22 | Basis::GridView::Intersection·>()),·0)·=·0> | ||
23 | void Dune::Functions::forEachBoundaryDOF·(const·Basis·&basis,·F·&&f) | ||
24 | 35 | template<typename·Tree·> | |
36 | void Dune::Functions::clearSize·(Tree·&tree,·std::size_t·offset) | ||
37 | |||
38 | template<typename·Tree·,·typename·Entity·> | ||
39 | void Dune::Functions::bindTree·(Tree·&tree,·const·Entity·&entity,·std::size_t | ||
40 | ······offset=0) | ||
41 | |||
42 | template<typename·Tree·> | ||
43 | void Dune::Functions::initializeTree·(Tree·&tree,·std::size_t | ||
44 | ······treeIndexOffset=0) | ||
25 | 45 | ||
26 | =============================================================================== | 46 | =============================================================================== |
27 | ·····Generated·by [doxygen]·1.9.4 | 47 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·nodes.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 99 lines modified | Offset 62, 314 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">nodes.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00116.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00116.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cassert></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<memory></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
79 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/leafnode.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/typetree/powernode.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
80 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
81 | <div·class="line"><a·id="l0001 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">namespace·</span>Functions·{</div> |
82 | <div·class="line"><a·id="l0001 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">namespace·</span>Impl·{</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
83 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>······<span·class="keyword">struct·</span>ClearSizeVisitor</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath·treePath)</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········{</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··········leaf(node,treePath);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··········node.setSize(0);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········}</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath·treePath)</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>········{</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··········node.setOffset(offset_);</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········}</div> | ||
84 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
85 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> | ||
86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0></div> | ||
87 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>········ClearSizeVisitor(std::size_t·offset)</div> |
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········:·offset_(offset)</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········{}</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keyword">const</span>·std::size_t·offset_;</div> | ||
88 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
89 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
90 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
91 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> | ||
92 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> | ||
93 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
94 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······};</div> |
95 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······localView.bind(element);</div> | ||
96 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> | ||
97 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">if</span>·(intersection.boundary())</div> | ||
98 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·localIndex:·seDOFs.bind(localView,intersection))</div> | ||
99 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>············f(localIndex,·localView,·intersection);</div> | ||
100 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>· | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
101 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span> | 120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·Entity></div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">struct·</span>BindVisitor</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······{</div> | ||
102 | <div·class="line"><a·id="l0005 | 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keywordtype">void</span>·pre(Node&·node,·TreePath)</div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········{</div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········node.setOffset(offset_);</div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········}</div> | ||
103 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordtype">void</span>·post(Node&·node,·TreePath)</div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········{</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··········node.setSize(offset_·-·node.offset());</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········}</div> | ||
104 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
105 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">template</span><<span·class="keyword">class·</span>Basis,·<span·class="keyword">class·</span>F,</div> | ||
106 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">decltype</span>(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis::LocalView>()),0)·=·0></div> | ||
107 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> |
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keywordtype">void</span>·leaf(Node&·node,·TreePath)</div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········{</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··········node.setOffset(offset_);</div> | ||
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··········node.bind(entity_);</div> | ||
144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··········offset_·+=·node.size();</div> | ||
145 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········}</div> | ||
108 | <div·class="line"><a·id="l0007 | 146 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
147 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········BindVisitor(<span·class="keyword">const</span>·Entity&·entity,·std::size_t·offset·=·0)</div> | ||
148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········:·entity_(entity)</div> | ||
149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········,·offset_(offset)</div> | ||
109 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">auto</span>·localView·=·basis.localView();</div> | ||
110 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">auto</span>·seDOFs·=·<a·class="code·hl_function"·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">subEntityDOFs</a>(basis);</div> | ||
111 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·gridView·=·basis.gridView();</div> | ||
112 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·element·:·elements(gridView))</div> | ||
113 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordflow">if</span>·(element.hasBoundaryIntersections())</div> | ||
114 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div> | 150 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········{}</div> |
115 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>· | 151 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
116 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·intersection:·intersections(gridView,·element))</div> | ||
Max diff block lines reached; 33344/62923 bytes (52.99%) of diff not shown. |
Offset 5, 104 lines modified | Offset 5, 354 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | nodes.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NODES_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<utility> | ||
17 | ·7 | ||
18 | ·8#include·<dune/functions/functionspacebases/subentitydofs.hh> | ||
19 | · | 16 | ·6#include·<cassert> |
17 | ·7#include·<memory> | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/indices.hh> | ||
20 | ·10 | ||
21 | ·11#include·<dune/typetree/leafnode.hh> | ||
22 | ·12#include·<dune/typetree/powernode.hh> | ||
23 | ·13#include·<dune/typetree/compositenode.hh> | ||
24 | ·14#include·<dune/typetree/traversal.hh> | ||
25 | ·15#include·<dune/typetree/visitor.hh> | ||
26 | ·16 | ||
20 | ·1 | 27 | ·17namespace·Dune·{ |
21 | ·1 | 28 | ·18·namespace·Functions·{ |
29 | ·19 | ||
30 | ·20 | ||
31 | ·21·namespace·Impl·{ | ||
32 | ·22 | ||
33 | ·23 | ||
34 | ·24·struct·ClearSizeVisitor | ||
35 | ·25·:·public·TypeTree::TreeVisitor | ||
36 | ·26·,·public·TypeTree::DynamicTraversal | ||
37 | ·27·{ | ||
38 | ·28 | ||
39 | ·29·template<typename·Node,·typename·TreePath> | ||
40 | ·30·void·pre(Node&·node,·TreePath·treePath) | ||
22 | ·12 | ||
23 | ·13 | ||
24 | ·14 | ||
25 | ·34template<class·Basis,·class·F, | ||
26 | ·35·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
27 | LocalView>(),std::declval<typename·Basis::GridView::Intersection>()),·0)·=·0> | ||
28 | 36void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
29 | ·37{ | ||
30 | ·38·auto·localView·=·basis.localView(); | ||
31 | ·39·auto·seDOFs·=·subEntityDOFs(basis); | ||
32 | ·40·const·auto&·gridView·=·basis.gridView(); | ||
33 | ·41·for(auto&&·element·:·elements(gridView)) | ||
34 | ·42·if·(element.hasBoundaryIntersections()) | ||
35 | · | 41 | ·31·{ |
42 | ·32·leaf(node,treePath); | ||
43 | ·33·node.setSize(0); | ||
36 | ·44·localView.bind(element); | ||
37 | ·45·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
38 | ·46·if·(intersection.boundary()) | ||
39 | ·47·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
40 | ·48·f(localIndex,·localView,·intersection); | ||
41 | · | 44 | ·34·} |
45 | ·35 | ||
46 | ·36·template<typename·Node,·typename·TreePath> | ||
47 | ·37·void·leaf(Node&·node,·TreePath·treePath) | ||
48 | ·38·{ | ||
49 | ·39·node.setOffset(offset_); | ||
50 | ·40·} | ||
51 | ·41 | ||
52 | ·42·ClearSizeVisitor(std::size_t·offset) | ||
53 | ·43·:·offset_(offset) | ||
54 | ·44·{} | ||
55 | ·45 | ||
56 | ·46·const·std::size_t·offset_; | ||
57 | ·47 | ||
58 | ·48·}; | ||
59 | ·49 | ||
42 | ·50 | 60 | ·50 |
43 | ·51 | ||
44 | ·52 | ||
45 | ·53 | ||
46 | ·71template<class·Basis,·class·F, | ||
47 | ·72·decltype(std::declval<std::decay_t<F>>()(0,·std::declval<typename·Basis:: | ||
48 | LocalView>()),0)·=·0> | ||
49 | ·73void·forEachBoundaryDOF(const·Basis&·basis,·F&&·f) | ||
50 | ·74{ | ||
51 | ·75·auto·localView·=·basis.localView(); | ||
52 | ·76·auto·seDOFs·=·subEntityDOFs(basis); | ||
53 | ·77·const·auto&·gridView·=·basis.gridView(); | ||
54 | ·78·for(auto&&·element·:·elements(gridView)) | ||
55 | · | 61 | ·51·template<typename·Entity> |
62 | ·52·struct·BindVisitor | ||
63 | ·53·:·public·TypeTree::TreeVisitor | ||
64 | ·54·,·public·TypeTree::DynamicTraversal | ||
65 | ·55·{ | ||
66 | ·56 | ||
67 | ·57·template<typename·Node,·typename·TreePath> | ||
68 | ·58·void·pre(Node&·node,·TreePath) | ||
69 | ·59·{ | ||
70 | ·60·node.setOffset(offset_); | ||
71 | ·61·} | ||
72 | ·62 | ||
73 | ·63·template<typename·Node,·typename·TreePath> | ||
74 | ·64·void·post(Node&·node,·TreePath) | ||
75 | ·65·{ | ||
76 | ·66·node.setSize(offset_·-·node.offset()); | ||
77 | ·67·} | ||
78 | ·68 | ||
79 | ·69·template<typename·Node,·typename·TreePath> | ||
80 | ·70·void·leaf(Node&·node,·TreePath) | ||
81 | ·71·{ | ||
82 | ·72·node.setOffset(offset_); | ||
83 | ·73·node.bind(entity_); | ||
84 | ·74·offset_·+=·node.size(); | ||
85 | ·75·} | ||
86 | ·76 | ||
87 | ·77·BindVisitor(const·Entity&·entity,·std::size_t·offset·=·0) | ||
88 | ·78·:·entity_(entity) | ||
89 | ·79·,·offset_(offset) | ||
56 | ·80·{ | 90 | ·80·{} |
57 | ·81·localView.bind(element); | ||
58 | ·82·for(const·auto&·intersection:·intersections(gridView,·element)) | ||
59 | ·83·if·(intersection.boundary()) | ||
60 | ·84·for(auto·localIndex:·seDOFs.bind(localView,intersection)) | ||
61 | ·8 | 91 | ·81 |
Max diff block lines reached; 6177/11573 bytes (53.37%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·lagrangebasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 67, 55 lines modified | Offset 67, 61 lines modified | ||
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | 72 | <a·href="#typedef-members">Typedefs</a>·| |
73 | <a·href="#func-members">Functions</a>··</div> | 73 | <a·href="#func-members">Functions</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">lagrangebasis.hh·File·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·<type_traits></code><br·/> | ||
77 | < | 78 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
78 | <code>#include·<dune/localfunctions/ | 79 | <code>#include·<dune/localfunctions/lagrange.hh></code><br·/> |
80 | <code>#include·<dune/localfunctions/lagrange/equidistantpoints.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/lagrange/pqkfactory.hh></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a0011 | 82 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
80 | <code>#include·<<a·class="el"·href="a001 | 83 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
81 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
82 | </div> | 84 | </div> |
83 | <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00119_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="nested-classes"·name="nested-classes"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
86 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a016 | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01671.html">Dune::Functions::LagrangePreBasis<·GV,·k,·R·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a· | 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.··<a·href="a01671.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a016 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01667.html">Dune::Functions::LagrangeNode<·GV,·k,·R·></a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table><table·class="memberdecls"> | 94 | </table><table·class="memberdecls"> |
93 | <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> |
94 | Namespaces</h2></td></tr> | 96 | Namespaces</h2></td></tr> |
95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 97 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 99 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 101 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | </table><table·class="memberdecls"> | 103 | </table><table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
103 | Typedefs</h2></td></tr> | 105 | Typedefs</h2></td></tr> |
104 | <tr·class="memitem:ga | 106 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k·=·-1,·typename·R··=·double>·</td></tr> |
105 | <tr·class="memitem:ga | 107 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga566d155fed1f25513c4d927769722fcc">Dune::Functions::LagrangeBasis</a>·=[·...·truncated·by·diffoscope;·len:·24,·SHA:·bbf62ce6f3e4f9f9056d49233e0dd829076a515df4e11ac109a7fffa1258222a·...·]LagrangePreBasis<·GV,·k,·R·>·></td></tr> |
106 | <tr·class="memdesc:ga | 108 | <tr·class="memdesc:ga566d155fed1f25513c4d927769722fcc"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space.··<a·href="a00213.html#ga566d155fed1f25513c4d927769722fcc">More...</a><br·/></td></tr> |
107 | <tr·class="separator:ga | 109 | <tr·class="separator:ga566d155fed1f25513c4d927769722fcc"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
109 | <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> |
110 | Functions</h2></td></tr> | 112 | Functions</h2></td></tr> |
111 | <tr·class="memitem:ga | 113 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·typename·R··=·double>·</td></tr> |
112 | <tr·class="memitem:ga | 114 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga5106c08bf6dd8eaca7d06075d581d760">Dune::Functions::BasisFactory::lagrange</a>·()</td></tr> |
113 | <tr·class="memdesc:ga | 115 | <tr·class="memdesc:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis.··<a·href="a00213.html#ga5106c08bf6dd8eaca7d06075d581d760">More...</a><br·/></td></tr> |
114 | <tr·class="separator:ga | 116 | <tr·class="separator:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplParams"·colspan="2">template<typename·R··=·double>·</td></tr> | ||
118 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">Dune::Functions::BasisFactory::lagrange</a>·(int·order)</td></tr> | ||
119 | <tr·class="memdesc:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a·run-time·order.··<a·href="a00213.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">More...</a><br·/></td></tr> | ||
120 | <tr·class="separator:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | </table> | 121 | </table> |
116 | </div><!--·contents·--> | 122 | </div><!--·contents·--> |
117 | <!--·start·footer·part·--> | 123 | <!--·start·footer·part·--> |
118 | <hr·class="footer"/><address·class="footer"><small> | 124 | <hr·class="footer"/><address·class="footer"><small> |
119 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 125 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
120 | </small></address> | 126 | </small></address> |
121 | </body> | 127 | </body> |
Offset 6, 42 lines modified | Offset 6, 49 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·functionspacebases | 9 | ····*·functionspacebases |
10 | Classes·|·Namespaces·|·Typedefs·|·Functions | 10 | Classes·|·Namespaces·|·Typedefs·|·Functions |
11 | 11 | lagrangebasis.hh·File·Reference | |
12 | #include·<type_traits> | ||
12 | #include·<dune/common/exceptions.hh> | 13 | #include·<dune/common/exceptions.hh> |
13 | #include·<dune/localfunctions/ | 14 | #include·<dune/localfunctions/lagrange.hh> |
15 | #include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
16 | #include·<dune/localfunctions/lagrange/pqkfactory.hh> | ||
14 | #include·<dune/functions/functionspacebases/nodes.hh> | 17 | #include·<dune/functions/functionspacebases/nodes.hh> |
15 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 18 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
16 | #include·<dune/grid/common/mcmgmapper.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 20 | ·Classes |
19 | class· Dune::Functions:: | 21 | class· Dune::Functions::LagrangePreBasis<_GV,_k,_R_> |
20 | ······A·pre-basis·for·a· | 22 | ······A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·More... |
21 | 23 | ||
22 | class· Dune::Functions:: | 24 | class· Dune::Functions::LagrangeNode<_GV,_k,_R_> |
23 | 25 | ||
24 | ·Namespaces | 26 | ·Namespaces |
25 | namespace· Dune | 27 | namespace· Dune |
26 | 28 | ||
27 | namespace· Dune::Functions | 29 | namespace· Dune::Functions |
28 | 30 | ||
29 | namespace· Dune::Functions::BasisFactory | 31 | namespace· Dune::Functions::BasisFactory |
30 | 32 | ||
31 | ·Typedefs | 33 | ·Typedefs |
32 | template<typename·GV·,·int·k,·typename·R·=·double> | 34 | template<typename·GV·,·int·k·=·-1,·typename·R·=·double> |
33 | using Dune::Functions:: | 35 | using Dune::Functions::LagrangeBasis·=·DefaultGlobalBasis<·LagrangePreBasis< |
34 | ······· | 36 | ·······GV,·k,·R·>·> |
35 | ····· | 37 | ·····Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space. |
38 | ·······More... | ||
36 | 39 | ||
37 | ·Functions | 40 | ·Functions |
38 | template<std::size_t·k,·typename·R·=·double> | 41 | template<std::size_t·k,·typename·R·=·double> |
39 | auto Dune::Functions::BasisFactory:: | 42 | auto Dune::Functions::BasisFactory::lagrange·() |
43 | ····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis.·More... | ||
44 | |||
45 | template<typename·R·=·double> | ||
46 | auto Dune::Functions::BasisFactory::lagrange·(int·order) | ||
40 | ····Create·a·pre-basis·factory·that·can·create·a· | 47 | ····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a |
41 | ······ | 48 | ······run-time·order.·More... |
42 | 49 | ||
43 | =============================================================================== | 50 | =============================================================================== |
44 | ·····Generated·by [doxygen]·1.9.4 | 51 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·lagrangebasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 263 lines modified | Offset 62, 546 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">lagrangebasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·< | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/equidistantpoints.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/ | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/pqkfactory.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
84 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>····<span·class="comment">//·*****************************************************************************</span></div> | ||
87 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="comment">//·--·only·order·k=2·is·implemented·up·to·now·--</span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····<span·class="comment">//·--·currently·only·supports·simplex·grids·--</span></div> | ||
91 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····<span·class="comment">//·This·is·the·reusable·part·of·the·HierarchicalLagrangeBasis.·It·contains</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="comment">//</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="comment">//··HierarchicalLagrangePreBasis</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="comment">//··HierarchicalLagrangeNode</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>····<span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·can·be</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·used·without·a·global·basis.</span></div> | ||
100 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·*****************************************************************************</span></div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//···LagrangePreBasis</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//···LagrangeNode</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> | ||
101 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
102 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> |
103 | <div·class="line"><a·id="l0003 | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">class·</span>LagrangeNode;</div> |
104 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
105 | <div·class="line"><a·id="l0003 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> |
106 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">class·</span>LagrangePreBasis;</div> |
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
108 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R></div> | ||
109 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01623.html">···48</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01623.html">HierarchicalLagrangePreBasis</a></div> | ||
110 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> | ||
111 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
112 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
113 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">public</span>:</div> | ||
114 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
115 | <div·class="line"><a·id="l0005 | 109 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R></div> |
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01671.html">···54</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01671.html">LagrangePreBasis</a></div> | ||
111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div> | ||
112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
113 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·useDynamicOrder·=·(k<0);</div> | ||
116 | <div·class="line"><a·id="l0005 | 114 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
117 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">···58</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·=·std::size_t;</div> | ||
118 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 115 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> |
119 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01623.html#a7ca4c90a4d74ea37014bd3038b3315be">···61</a></span>······<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01619.html">Node</a>·=·<a·class="code·hl_class"·href="a01619.html">HierarchicalLagrangeNode<GV,·k,·R></a>;</div> | ||
120 | <div·class="line"><a·id="l0006 | 116 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
121 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01623.html#ab05fa83b28393a642a783886d3cfb389">···63</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·<a·class="code·hl_variable"·href="a01623.html#ab05fa83b28393a642a783886d3cfb389">maxMultiIndexSize</a>·=·1;</div> | ||
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01623.html#af0c5d0c1e855de8dc56b81360b617c0c">···64</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·<a·class="code·hl_variable"·href="a01623.html#af0c5d0c1e855de8dc56b81360b617c0c">minMultiIndexSize</a>·=·1;</div> | ||
123 | <div·class="line"><a·id="l0006 | 117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01671.html#aaa2add570edd22047fd5cfba570dd982">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01671.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>[·...·truncated·by·diffoscope;·len:·5,·SHA:·080f2e59c284e764c2969a955bb33a403376fcc3442252fe6df4474891925c86·...·];</div> |
118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·=·std::size_t;</div> | ||
124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 120 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
125 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01671.html#a2762f1eade252d79b05070788f18012d">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01667.html">Node</a>·=·<a·class="code·hl_class"·href="a0166[·...·truncated·by·diffoscope;·len:·41,·SHA:·c9d43271d9e4cd5ab9d8ab8440b0ecd243c93824fb317523bdac1d178d7ee8a4·...·]</div> |
126 | <div·class="line"><a·id="l000 | 122 | <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"><a·class="line"·href="a01671.html#a04abff1d4b5ac732d83019938a019d2a">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·<a·class="code·hl_variable"·href="a01671.html#a04abff1d4b5ac732d83019938a019d2a">maxMultiIndexSize</a>·=·1;</div> | ||
124 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01671.html#af4e167602b8bc1cdccf0baea69572f60">···71</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·<a·class="code·hl_variable"·href="a01671.html#af4e167602b8bc1cdccf0baea69572f60">minMultiIndexSize</a>·=·1;</div> | ||
125 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01671.html#aa07a2111fb2151f10c128f6ebf746d81">···72</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·<a·class="code·hl_variable"·href="a01671.html#aa07a2111fb2151f10c128f6ebf746d81">multiIndexBufferSize</a>·=·1;</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
128 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01623.html#ac79e037186412bb4d77c8ca2bc6ad494">···75</a></span>······<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01623.html#ac79e037186412bb4d77c8ca2bc6ad494">initializeIndices</a>()</div> | ||
129 | <div·class="line"><a·id="l0007 | 127 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01671.html#a982937b8e5348046761303330fc35d18">···75</a></span>··<a·class="code·hl_function"·href="a01671.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>(<span·class="keyword">con[·...·truncated·by·diffoscope;·len:·111,·SHA:·ada7ae132af3b688b7af201fea959c9d2323f3ee7831c9dc6d7c111980e69ce8·...·]</div> |
128 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··:·<a·class="code·hl_class"·href="a01671.html">LagrangePreBasis</a>(gv,·std::numeric_limits<unsigned·int>::max())</div> | ||
130 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 129 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··{}</div> |
131 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01623.html#ab5bd91f85b9195d37879732f0ceeba7e">···79</a></span>······<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">GridView</a>&·<a·class="code·hl_function"·href="a01623.html#ab5bd91f85b9195d37879732f0ceeba7e">gridView</a>()<span·class="keyword">·const</span></div> | ||
132 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
133 | <div·class="line"><a·id="l0008 | 131 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01671.html#a791cbc108e89b7effc1c668b800667bb">···80</a></span>··<a·class="code·hl_function"·href="a01671.html#a791cbc108e89b7effc1c668b800667bb">LagrangePreBasis</a>(<span·class="keyword">con[·...·truncated·by·diffoscope;·len:·284,·SHA:·fc9a35a2752f0c9cef470fd7438d805bee7e14a7f93d1ba1a0bfdcafb6c1ab36·...·]</div> |
132 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a01671.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>(gv),·<a·class="code·hl_variable"·href="a01671.html#abefe712249711f9caee5f9b4ace8fb2a">order_</a>(<a·class="code·hl_function"·href="a01671.html#abbd87ea8be342b39e287babfec846db4">order</a>)</div> | ||
134 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·· | 133 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div> |
134 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">if</span>·(!useDynamicOrder·&&·<a·class="code·hl_function"·href="a01671.html#abbd87ea8be342b39e287babfec846db4">order</a>!=std::numeric_limits<unsigned·int>::max())</div> | ||
135 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······DUNE_THROW(RangeError,·<span·class="stringliteral">"Template·argument·k·has·to·be·-1·when·supplying·a·run-time·order!"</span>);</div> | ||
135 | <div·class="line"><a·id="l0008 | 136 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
136 | <div·class="line"><a·id="l0008 | 137 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i<=dim;·i++)</div> |
137 | <div·class="line"><a·id="l0008 | 138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····{</div> |
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<a·class="code·hl_variable"·href="a01671.html#abfa5632c391ed7160d081c63ab154377">dofsPerCube_</a>[i]·=·<a·class="code·hl_function"·href="a01671.html#a015986cee132f7ebd91ad8f3845a84be">computeDofsPerCube</a>(i);</div> | ||
140 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<a·class="code·hl_variable"·href="a01671.html#a39dcb5d78ac1216c75a75660e2d61849">dofsPerSimplex_</a>[i]·=·<a·class="code·hl_function"·href="a01671.html#a01edf36372c30d045823bb5a330526e6">computeDofsPerSimplex</a>(i);</div> | ||
138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_variable"·href="a01623.html#abfbdf2bbe11f73edd46b001048d09fba">gridView_</a>·=·gv;</div> | ||
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<a·class="code·hl_variable"·href="a01623.html#a7700943c6d6759638af3e5fcb7a63ce4">mcmgMapper_</a>.update(gv);</div> | ||
140 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······}</div> | ||
141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | 141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> |
142 | <div·class="line"><a·id="l0009 | 142 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01671.html#ade4d334b8ac70f9c18fc15a9eba04815">dofsPerPrism_</a>·=·<a·class="code·hl_function"·href="a01671.html#a0c0e8ce0766d2a59986cb5daebe86132">computeDofsPerPr[·...·truncated·by·diffoscope;·len:·10,·SHA:·68fb16e5aba3aa64455b438aea1cd0a38af679e288ec9ce13539b20622354304·...·]</div> |
143 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_variable"·href="a01671.html#a9212ce0f83e8642244e10d3cd3d596c6">dofsPerPyramid_</a>·=·<a·class="code·hl_function"·href="a01671.html#a76f8c4b5aa9e574556edd79f0b2812f1">computeDofsPerPyramid</a>();</div> | ||
Max diff block lines reached; 136523/168950 bytes (80.81%) of diff not shown. |
Offset 5, 354 lines modified | Offset 5, 743 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | lagrangebasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<type_traits> | ||
16 | · | 17 | ·7#include·<dune/common/exceptions.hh> |
17 | ·7#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
18 | ·8 | 18 | ·8 |
19 | ·9#include·<dune/functions/functionspacebases/nodes.hh> | ||
20 | ·10#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
21 | · | 19 | ·9#include·<dune/localfunctions/lagrange.hh> |
20 | ·10#include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
21 | ·11#include·<dune/localfunctions/lagrange/pqkfactory.hh> | ||
22 | ·12 | 22 | ·12 |
23 | ·13namespace·Dune·{ | ||
24 | ·1 | 23 | ·13#include·<dune/functions/functionspacebases/nodes.hh> |
24 | ·14#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
25 | ·15 | 25 | ·15 |
26 | ·16 | 26 | ·16 |
27 | ·17namespace·Dune·{ | ||
28 | ·18namespace·Functions·{ | ||
29 | ·19 | ||
30 | ·20/ | ||
27 | /·***************************************************************************** | 31 | /·***************************************************************************** |
28 | ·17·//·Implementation·for·Hierarchical·Lagrange·Basis | ||
29 | ·18·// | ||
30 | ·19·//·--·only·order·k=2·is·implemented·up·to·now·-- | ||
31 | ·20·//·--·currently·only·supports·simplex·grids·-- | ||
32 | ·21·// | ||
33 | ·2 | 32 | ·21//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains |
34 | ·23·// | ||
35 | ·24·//·HierarchicalLagrangePreBasis | ||
36 | ·25·//·HierarchicalLagrangeNode | ||
37 | ·2 | 33 | ·22// |
34 | ·23//·LagrangePreBasis | ||
35 | ·24//·LagrangeNode | ||
36 | ·25// | ||
38 | ·2 | 37 | ·26//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible |
39 | shared | 38 | shared |
40 | ·2 | 39 | ·27//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local |
40 | view | ||
41 | ·2 | 41 | ·28//·and·can·be·used·without·a·global·basis. |
42 | · | 42 | ·29/ |
43 | /·***************************************************************************** | 43 | /·***************************************************************************** |
44 | ·3 | 44 | ·30 |
45 | ·3 | 45 | ·31template<typename·GV,·int·k,·typename·R=double> |
46 | ·33·class·HierarchicalLagrangeNode; | ||
47 | ·3 | 46 | ·32class·LagrangeNode; |
47 | ·33 | ||
48 | ·3 | 48 | ·34template<typename·GV,·int·k,·typename·R=double> |
49 | ·3 | 49 | ·35class·LagrangePreBasis; |
50 | ·36 | ||
50 | ·37 | 51 | ·37 |
52 | ·38 | ||
51 | · | 53 | ·53template<typename·GV,·int·k,·typename·R> |
52 | 54 | 54class·LagrangePreBasis | |
53 | · | 55 | ·55{ |
54 | ·5 | 56 | ·56·static·const·int·dim·=·GV::dimension; |
55 | ·5 | 57 | ·57·static·const·bool·useDynamicOrder·=·(k<0); |
58 | ·58 | ||
56 | ·5 | 59 | ·59public: |
57 | · | 60 | ·60 |
58 | 61 | 62·using·GridView·=·GV; | |
59 | · | 62 | ·63 |
60 | 63 | 65·using·size_type·=·std::size_t; | |
61 | ·59 | ||
62 | 61·using·Node·=·HierarchicalLagrangeNode<GV,_k,_R>; | ||
63 | ·62 | ||
64 | 63·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
65 | 64·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
66 | 65·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
67 | ·66 | 64 | ·66 |
68 | 71·HierarchicalLagrangePreBasis(const·GridView&·gv)·:·gridView_(gv)·, | ||
69 | mcmgMapper_(gv,p2Layout()) | ||
70 | · | 65 | 68·using·Node·=·LagrangeNode<GV,_k,_R>; |
66 | ·69 | ||
67 | 70·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
68 | 71·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
69 | 72·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
71 | ·73 | 70 | ·73 |
71 | 75·LagrangePreBasis(const·GridView&·gv) | ||
72 | ·76·:·LagrangePreBasis(gv,·std::numeric_limits<unsigned·int>::max()) | ||
73 | ·77·{} | ||
74 | ·78 | ||
75 | 80·LagrangePreBasis(const·GridView&·gv,·unsigned·int·order)·: | ||
76 | ·81·gridView_(gv),·order_(order) | ||
77 | ·82·{ | ||
78 | ·83·if·(!useDynamicOrder·&&·order!=std::numeric_limits<unsigned·int>::max()) | ||
79 | ·84·DUNE_THROW(RangeError,·"Template·argument·k·has·to·be·-1·when·supplying·a | ||
80 | run-time·order!"); | ||
81 | ·85 | ||
82 | ·86·for·(int·i=0;·i<=dim;·i++) | ||
83 | ·87·{ | ||
84 | ·88·dofsPerCube_[i]·=·computeDofsPerCube(i); | ||
85 | ·89·dofsPerSimplex_[i]·=·computeDofsPerSimplex(i); | ||
86 | ·90·} | ||
87 | ·91·dofsPerPrism_·=·computeDofsPerPrism(); | ||
88 | ·92·dofsPerPyramid_·=·computeDofsPerPyramid(); | ||
89 | ·93·} | ||
90 | ·94 | ||
72 | 91 | 96·void·initializeIndices() | |
73 | ·76·{} | ||
74 | ·77 | ||
75 | 79·const·GridView&·gridView()·const | ||
76 | ·80·{ | ||
77 | ·81·return·gridView_; | ||
78 | ·82·} | ||
79 | ·83 | ||
80 | 85·void·update·(const·GridView&·gv) | ||
81 | ·86·{ | ||
82 | ·87·gridView_·=·gv; | ||
83 | ·88·mcmgMapper_.update(gv); | ||
84 | ·89·} | ||
85 | ·90 | ||
86 | 94·Node·makeNode()·const | ||
87 | ·9 | 92 | ·97·{ |
88 | ·96·return·Node{}; | ||
Max diff block lines reached; 28801/33914 bytes (84.92%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·flatmultiindex.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 38 lines modified | Offset 63, 37 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
71 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">flatmultiindex.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<array></code><br·/> |
76 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
77 | <code>#include·<dune/typetree/childextraction.hh></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a0 | 76 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/multiindex.hh</a>></code><br·/> |
79 | </div> | 77 | </div> |
80 | <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
83 | Classes</h2></td></tr> | ||
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01811.html">Dune::Functions::SubspaceLocalView<·RLV,·PP·></a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a01811.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | </table><table·class="memberdecls"> | ||
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
89 | Namespaces</h2></td></tr> | 81 | Namespaces</h2></td></tr> |
90 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 82 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 84 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | </table><table·class="memberdecls"> | ||
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
88 | Typedefs</h2></td></tr> | ||
89 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplParams"·colspan="2">template<class·size_type·>·</td></tr> | ||
90 | <tr·class="memitem:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga6b523ca86bfec2581ea9c173a722f8f3">Dune::Functions::FlatMultiIndex</a>·=·StaticMultiIndex<·size_type,·1·></td></tr> | ||
91 | <tr·class="memdesc:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="mdescLeft"> </td><td·class="mdescRight">A·multi-index·class·with·only·one·level.··<a·href="a00214.html#ga6b523ca86bfec2581ea9c173a722f8f3">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:ga6b523ca86bfec2581ea9c173a722f8f3"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | </table> | 93 | </table> |
95 | </div><!--·contents·--> | 94 | </div><!--·contents·--> |
96 | <!--·start·footer·part·--> | 95 | <!--·start·footer·part·--> |
97 | <hr·class="footer"/><address·class="footer"><small> | 96 | <hr·class="footer"/><address·class="footer"><small> |
98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
99 | </small></address> | 98 | </small></address> |
100 | </body> | 99 | </body> |
Offset 5, 26 lines modified | Offset 5, 25 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Namespaces·|·Typedefs | ||
10 | flatmultiindex.hh·File·Reference | ||
11 | #include·<array> | ||
12 | #include·<dune/functions/common/multiindex.hh> | ||
9 | Classes·|·Namespaces | ||
10 | subspacelocalview.hh·File·Reference | ||
11 | #include·<tuple> | ||
12 | #include·<dune/common/concept.hh> | ||
13 | #include·<dune/typetree/childextraction.hh> | ||
14 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
15 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
16 | ·Classes | ||
17 | class· Dune::Functions::SubspaceLocalView<_RLV,_PP_> | ||
18 | ······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... | ||
19 | |||
20 | ·Namespaces | 14 | ·Namespaces |
21 | namespace· Dune | 15 | namespace· Dune |
22 | 16 | ||
23 | namespace· Dune::Functions | 17 | namespace· Dune::Functions |
24 | 18 | ||
19 | ·Typedefs | ||
20 | template<class·size_type·> | ||
21 | using Dune::Functions::FlatMultiIndex·=·StaticMultiIndex<·size_type,·1·> | ||
22 | ·····A·multi-index·class·with·only·one·level.·More... | ||
23 | |||
25 | =============================================================================== | 24 | =============================================================================== |
26 | ·····Generated·by [doxygen]·1.9.4 | 25 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·flatmultiindex.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 163 lines modified | Offset 62, 43 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">flatmultiindex.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/multiindex.hh</a>></span></div> |
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
79 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/childextraction.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·<span·class="keywordtype">size_t</span>ype></div> | ||
86 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a00214.html#ga6b523ca86bfec2581ea9c173a722f8f3">···31</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01267.html">FlatMultiIndex</a>·=·<a·class="code·hl_class"·href="a01267.html">StaticMultiIndex<size_type,·1></a>;</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·PP></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">class·</span><a·class="code·hl_function"·href="a00219.html#a17589fdc18b015644525c7ad037e6441">SubspaceBasis</a>;</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RLV,·<span·class="keyword">class</span>·PP></div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01811.html">···29</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01811.html">SubspaceLocalView</a></div> | ||
99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div> | ||
100 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">using·</span>PrefixPath·=·PP;</div> | ||
101 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 87 | <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> | 88 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
103 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 89 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
104 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"> | 90 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>}·<span·class="comment">//·end·namespace·Functions</span></div> |
91 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>}·<span·class="comment">//·end·namespace·Dune</span></div> | ||
105 | <div·class="line"><a·id="l0003 | 92 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
106 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01811.html#a3a627e895c213316cb666677fb9176de">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01807.html">GlobalBasis</a>·=·<a·class="code·hl_class"·href="a01807.html">SubspaceBasis<typename·RootLocalView::GlobalBasis,·PrefixPath></a>;</div> | ||
107 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
108 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa050bf0c521425f496729c3947a61bae">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa050bf0c521425f496729c3947a61bae">GridView</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01807.html#a6e7dd708494382dad7cc288ce6cfe6b8">GlobalBasis::GridView</a>;</div> | ||
109 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
110 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
111 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
112 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">···47</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·=·std::size_t;</div> | ||
113 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01811.html#ae4f87d4a8978c25f211132aa6001290c">···50</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#ae4f87d4a8978c25f211132aa6001290c">RootTree</a>·=·<span·class="keyword">typename</span>·RootLocalView::Tree;</div> | ||
115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
116 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01811.html#a04b95239bc90b94a1332233663446cd2">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#a04b95239bc90b94a1332233663446cd2">Tree</a>·=·<span·class="keyword">typename</span>·TypeTree::ChildForTreePath<RootTree,·PrefixPath>;</div> | ||
117 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
118 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01811.html#a332b6754582b1108ef353b1b78ae01a3">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01811.html#a332b6754582b1108ef353b1b78ae01a3">MultiIndex</a>·=·<span·class="keyword">typename</span>·RootLocalView::MultiIndex;</div> | ||
119 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
120 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01811.html#aa0d1d0d89f2dd443da6da8d77f6a344f">···59</a></span>··<a·class="code·hl_function"·href="a01811.html#aa0d1d0d89f2dd443da6da8d77f6a344f">SubspaceLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01807.html">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>,·<span·class="keyword">const</span>·PrefixPath&·<span·class="comment">/*prefixPath*/</span>)·:</div> | ||
121 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<a·class="code·hl_variable"·href="a01811.html#a2fb2643d53fb7511f2eb6ddff751043c">globalBasis_</a>(&<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>),</div> | ||
122 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>(<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>.rootBasis().localView())</div> | ||
123 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div> | ||
124 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//····static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type·passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept.");</span></div> | ||
125 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> | ||
126 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
127 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01811.html#a8d67dd96c63054ab2caccf7c50975838">···71</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01811.html#a8d67dd96c63054ab2caccf7c50975838">bind</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>&·e)</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>····<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.bind(e);</div> | ||
130 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | ||
131 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
132 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01811.html#a2d7c1e74433fb663cbed0c2ab6fc7198">···80</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01811.html#aa8331a332fffea09e3bddd41d3d0530b">Element</a>&·<a·class="code·hl_function"·href="a01811.html#a2d7c1e74433fb663cbed0c2ab6fc7198">element</a>()<span·class="keyword">·const</span></div> | ||
133 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">··</span>{</div> | ||
134 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.element();</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>·</div> | ||
137 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01811.html#a210cb18bf65e34f621e0bffd6cb19384">···89</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01811.html#a210cb18bf65e34f621e0bffd6cb19384">unbind</a>()</div> | ||
138 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div> | ||
139 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.unbind();</div> | ||
140 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··}</div> | ||
141 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
142 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01811.html#a31341266e49615ffc56949f471bb61a8">···96</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01811.html#a31341266e49615ffc56949f471bb61a8">bound</a>()<span·class="keyword">·const</span></div> | ||
143 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">··</span>{</div> | ||
144 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.bound();</div> | ||
145 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div> | ||
146 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
147 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01811.html#acd8c1a7b0ab5a820590b96e441524c06">··105</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01811.html#a04b95239bc90b94a1332233663446cd2">Tree</a>&·<a·class="code·hl_function"·href="a01811.html#acd8c1a7b0ab5a820590b96e441524c06">tree</a>()<span·class="keyword">·const</span></div> | ||
148 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="keyword">··</span>{</div> | ||
149 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keywordflow">return</span>·TypeTree::child(<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.tree(),·<a·class="code·hl_variable"·href="a01811.html#a2fb2643d53fb7511f2eb6ddff751043c">globalBasis_</a>-><a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>());</div> | ||
150 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··}</div> | ||
151 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
152 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01811.html#a3bd132c98fd23a67c253c9475540ac90">··112</a></span>··<a·class="code·hl_typedef"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·<a·class="code·hl_function"·href="a01811.html#a3bd132c98fd23a67c253c9475540ac90">size</a>()<span·class="keyword">·const</span></div> | ||
153 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="keyword">··</span>{</div> | ||
154 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.size();</div> | ||
155 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··}</div> | ||
156 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> | ||
157 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a01811.html#ac553ded1a00894bfb703f41a86f8ce06">··123</a></span>··<a·class="code·hl_typedef"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·<a·class="code·hl_function"·href="a01811.html#ac553ded1a00894bfb703f41a86f8ce06">maxSize</a>()<span·class="keyword">·const</span></div> | ||
158 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="keyword">··</span>{</div> | ||
159 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.maxSize();</div> | ||
160 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··}</div> | ||
161 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> | ||
162 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01811.html#adb5c1fb9c9e3eb19ebb3333e4401f9aa">··129</a></span>··<a·class="code·hl_typedef"·href="a01811.html#a332b6754582b1108ef353b1b78ae01a3">MultiIndex</a>·<a·class="code·hl_function"·href="a01811.html#adb5c1fb9c9e3eb19ebb3333e4401f9aa">index</a>(<a·class="code·hl_typedef"·href="a01811.html#aa53cfe0f5da6f163c89cfe7efd03977d">size_type</a>·i)<span·class="keyword">·const</span></div> | ||
163 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="keyword">··</span>{</div> | ||
164 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01811.html#a6db2abe3c910a2aad3a91f732e34c95a">rootLocalView_</a>.index(i);</div> | ||
165 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··}</div> | ||
166 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> | ||
167 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno"><a·class="line"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">··136</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01807.html">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01811.html#ab86e2da3d257ff25f989a0b51dd7fa95">globalBasis</a>()<span·class="keyword">·const</span></div> | ||
Max diff block lines reached; 10130/36299 bytes (27.91%) of diff not shown. |
Offset 5, 228 lines modified | Offset 5, 41 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | flatmultiindex.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_FLATMULTIINDEX_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<tuple> | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/concept.hh> | ||
20 | ·10 | ||
21 | · | 16 | ·6#include·<array> |
17 | ·7 | ||
18 | ·8#include·<dune/functions/common/multiindex.hh> | ||
19 | ·9 | ||
20 | ·10namespace·Dune·{ | ||
21 | ·11namespace·Functions·{ | ||
22 | ·12 | 22 | ·12 |
23 | ·13 | 23 | ·13 |
24 | ·14 | 24 | ·14 |
25 | ·30template<class·size_type> | ||
26 | 31using·FlatMultiIndex·=·StaticMultiIndex<size_type,_1>; | ||
25 | ·15 | ||
26 | ·16 | ||
27 | ·17namespace·Dune·{ | ||
28 | ·18namespace·Functions·{ | ||
29 | ·19 | ||
30 | ·20 | ||
31 | ·21 | ||
32 | ·22template<class·RB,·class·PP> | ||
33 | ·23class·SubspaceBasis; | ||
34 | ·24 | ||
35 | ·25 | ||
36 | ·26 | ||
37 | ·28template<class·RLV,·class·PP> | ||
38 | 29class·SubspaceLocalView | ||
39 | ·30{ | ||
40 | ·31·using·PrefixPath·=·PP; | ||
41 | ·32 | 27 | ·32 |
42 | ·33 | 28 | ·33 |
43 | ·34 | 29 | ·34 |
44 | 35·using·RootLocalView·=·RLV; | ||
45 | ·36 | ||
46 | 38·using·GlobalBasis·=·SubspaceBasis<typename_RootLocalView::GlobalBasis, | ||
47 | PrefixPath>; | ||
48 | ·39 | ||
49 | 41·using·GridView·=·typename·GlobalBasis::GridView; | ||
50 | ·42 | ||
51 | 44·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
52 | ·45 | ||
53 | 47·using·size_type·=·std::size_t; | ||
54 | ·48 | ||
55 | 50·using·RootTree·=·typename·RootLocalView::Tree; | ||
56 | ·51 | ||
57 | 53·using·Tree·=·typename·TypeTree::ChildForTreePath<RootTree,·PrefixPath>; | ||
58 | ·54 | ||
59 | 56·using·MultiIndex·=·typename·RootLocalView::MultiIndex; | ||
60 | ·57 | ||
61 | 59·SubspaceLocalView(const·GlobalBasis&·globalBasis,·const·PrefixPath&·/ | ||
62 | *prefixPath*/)·: | ||
63 | ·60·globalBasis_(&globalBasis), | ||
64 | ·61·rootLocalView_(globalBasis.rootBasis().localView()) | ||
65 | ·62·{ | ||
66 | ·63//·static_assert(models<Concept::BasisTree<GridView>,·Tree>(),·"Tree·type | ||
67 | passed·to·SubspaceLocalView·does·not·model·the·BasisNode·concept."); | ||
68 | ·64·} | ||
69 | ·65 | ||
70 | 71·void·bind(const·Element&·e) | ||
71 | ·72·{ | ||
72 | ·73·rootLocalView_.bind(e); | ||
73 | ·74·} | ||
74 | ·75 | ||
75 | 80·const·Element&·element()·const | ||
76 | ·81·{ | ||
77 | ·82·return·rootLocalView_.element(); | ||
78 | ·83·} | ||
79 | ·84 | ||
80 | 89·void·unbind() | ||
81 | ·90·{ | ||
82 | ·91·rootLocalView_.unbind(); | ||
83 | ·92·} | ||
84 | ·93 | ||
85 | 96·bool·bound()·const | ||
86 | ·97·{ | ||
87 | ·98·return·rootLocalView_.bound(); | ||
88 | ·99·} | ||
89 | ·100 | ||
90 | 105·const·Tree&·tree()·const | ||
91 | ·106·{ | ||
92 | ·107·return·TypeTree::child(rootLocalView_.tree(),·globalBasis_->prefixPath()); | ||
93 | ·108·} | ||
94 | ·109 | ||
95 | 112·size_type·size()·const | ||
96 | ·113·{ | ||
97 | ·114·return·rootLocalView_.size(); | ||
98 | ·115·} | ||
99 | ·116 | ||
100 | 123·size_type·maxSize()·const | ||
101 | ·124·{ | ||
102 | ·125·return·rootLocalView_.maxSize(); | ||
103 | ·126·} | ||
104 | ·127 | ||
105 | 129·MultiIndex·index(size_type·i)·const | ||
106 | ·130·{ | ||
107 | ·131·return·rootLocalView_.index(i); | ||
108 | ·132·} | ||
109 | ·133 | ||
110 | 136·const·GlobalBasis&·globalBasis()·const | ||
111 | ·137·{ | ||
112 | ·138·return·*globalBasis_; | ||
113 | ·139·} | ||
114 | ·140 | ||
115 | 141·const·RootLocalView&·rootLocalView()·const | ||
116 | ·142·{ | ||
117 | ·143·return·rootLocalView_; | ||
118 | ·144·} | ||
119 | ·145 | ||
120 | ·146protected: | ||
121 | 147·const·GlobalBasis*·globalBasis_; | ||
Max diff block lines reached; 4083/7495 bytes (54.48%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·compositebasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 61 lines modified | Offset 65, 59 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
73 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">compositebasis.hh·File·Reference</div></div> |
75 | </div><!--header--> | 74 | </div><!--header--> |
76 | <div·class="contents"> | 75 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
77 | <code>#include·<utility></code><br·/> | ||
78 | <code>#include·<dune/common/std/apply.hh></code><br·/> | ||
79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
78 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | 80 | <code>#include·<dune/common/reservedvector.hh></code><br·/> |
79 | <code>#include·<dune/common/i | 81 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
82 | <code>#include·<dune/common/tupleutility.hh></code><br·/> | ||
80 | <code>#include·<dune/ | 83 | <code>#include·<dune/common/tuplevector.hh></code><br·/> |
81 | <code>#include·<dune/ | 84 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> |
85 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
86 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
87 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a0011 | 88 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
83 | <code>#include·<<a·class="el"·href="a0 | 89 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a001 | 90 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
85 | </div> | 91 | </div> |
86 | <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
88 | <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> |
89 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01503.html">Dune::Functions::CompositePreBasis<·IMS,·SPB·></a></td></tr> |
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·composite·bases.··<a·href="a01503.html#details">More...</a><br·/></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01815.html">Dune::Functions::TaylorHoodVelocityTree<·GV·></a></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01819.html">Dune::Functions::TaylorHoodBasisTree<·GV·></a></td></tr> | ||
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
98 | <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> |
99 | Namespaces</h2></td></tr> | 101 | Namespaces</h2></td></tr> |
100 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 102 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 104 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 106 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
106 | </table><table·class="memberdecls"> | ||
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
108 | Typedefs</h2></td></tr> | ||
109 | <tr·class="memitem:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
110 | <tr·class="memitem:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga2ddcf1f3f5bddd7f49ab4d81472aa69a">Dune::Functions::TaylorHoodBasis</a>·=·DefaultGlobalBasis<·TaylorHoodPreBasis<·GV·>·></td></tr> | ||
111 | <tr·class="memdesc:ga2ddcf1f3f5bddd7f49ab4d81472aa69a"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element·space.··<a·href="a00213.html#ga2ddcf1f3f5bddd7f49ab4d81472aa69a">More...</a><br·/></td></tr> | ||
112 | <tr·class="separator: | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
114 | <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> |
115 | Functions</h2></td></tr> | 112 | Functions</h2></td></tr> |
116 | <tr·class="memitem:ga2384fc6a8ee2005fb29adb7221609ce3"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga2384fc6a8ee2005fb29adb7221609ce3">Dune::Functions::BasisFactory::taylorHood</a>·()</td></tr> | ||
117 | <tr·class="mem | 113 | <tr·class="memitem:ga0ee62f9744ec8ba58fdfc4c68df34449"><td·class="memTemplParams"·colspan="2">template<typename...·Args,·std::enable_if_t<·Concept::isIndexMergingStrategy<·typename·LastType<·Args...·>::type·>(),·int·>··=·0>·</td></tr> |
114 | <tr·class="memitem:ga0ee62f9744ec8ba58fdfc4c68df34449"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga0ee62f9744ec8ba58fdfc4c68df34449">Dune::Functions::BasisFactory::composite</a>·(Args·&&...·args)</td></tr> | ||
115 | <tr·class="memdesc:ga0ee62f9744ec8ba58fdfc4c68df34449"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01503.html"·title="A·pre-basis·for·composite·bases.">CompositePreBasis</a>.··<a·href="a00213.html#ga0ee62f9744ec8ba58fdfc4c68df34449">More...</a><br·/></td></tr> | ||
118 | <tr·class="separator:ga | 116 | <tr·class="separator:ga0ee62f9744ec8ba58fdfc4c68df34449"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 117 | </table> |
120 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
121 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
122 | <hr·class="footer"/><address·class="footer"><small> | 120 | <hr·class="footer"/><address·class="footer"><small> |
123 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 121 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
124 | </small></address> | 122 | </small></address> |
125 | </body> | 123 | </body> |
Offset 5, 48 lines modified | Offset 5, 47 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|· | 9 | Classes·|·Namespaces·|·Functions |
10 | 10 | compositebasis.hh·File·Reference | |
11 | #include·<tuple> | ||
12 | #include·<utility> | ||
11 | #include·<dune/common/ | 13 | #include·<dune/common/std/apply.hh> |
14 | #include·<dune/common/hybridutilities.hh> | ||
12 | #include·<dune/common/reservedvector.hh> | 15 | #include·<dune/common/reservedvector.hh> |
13 | #include·<dune/common/i | 16 | #include·<dune/common/typeutilities.hh> |
14 | #include·<dune/typetree/powernode.hh> | ||
15 | #include·<dune/ | 17 | #include·<dune/common/tupleutility.hh> |
18 | #include·<dune/common/tuplevector.hh> | ||
19 | #include·<dune/functions/common/staticforloop.hh> | ||
20 | #include·<dune/functions/common/type_traits.hh> | ||
21 | #include·<dune/functions/common/utility.hh> | ||
22 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
16 | #include·<dune/functions/functionspacebases/nodes.hh> | 23 | #include·<dune/functions/functionspacebases/nodes.hh> |
17 | #include·<dune/functions/functionspacebases/ | 24 | #include·<dune/functions/functionspacebases/concepts.hh> |
18 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 25 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
19 | Go_to_the_source_code_of_this_file. | 26 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | 27 | ·Classes |
21 | class· Dune::Functions:: | 28 | class· Dune::Functions::CompositePreBasis<_IMS,_SPB_> |
29 | ······A·pre-basis·for·composite·bases.·More... | ||
22 | ······Pre-basis·for·lowest·order·Taylor-Hood·basis.·More... | ||
23 | |||
24 | class· Dune::Functions::TaylorHoodVelocityTree<_GV_> | ||
25 | |||
26 | class· Dune::Functions::TaylorHoodBasisTree<_GV_> | ||
27 | 30 | ||
28 | ·Namespaces | 31 | ·Namespaces |
29 | namespace· Dune | 32 | namespace· Dune |
30 | 33 | ||
31 | namespace· Dune::Functions | 34 | namespace· Dune::Functions |
32 | 35 | ||
33 | namespace· Dune::Functions::BasisFactory | 36 | namespace· Dune::Functions::BasisFactory |
34 | 37 | ||
38 | namespace· Dune::Functions::BasisBuilder | ||
35 | ·Typedefs | ||
36 | template<typename·GV·> | ||
37 | using Dune::Functions::TaylorHoodBasis·=·DefaultGlobalBasis< | ||
38 | ·······TaylorHoodPreBasis<·GV·>·> | ||
39 | ·····Nodal·basis·for·a·lowest·order·Taylor-Hood·Lagrangean·finite·element | ||
40 | ·······space.·More... | ||
41 | 39 | ||
42 | ·Functions | 40 | ·Functions |
43 | auto Dune::Functions::BasisFactory::taylorHood·() | ||
44 | ····Create·a·pre-basis·factory·that·can·create·a·Taylor-Hood·pre-basis. | ||
45 | ··· | 41 | template<typename...·Args,·std::enable_if_t<·Concept::isIndexMergingStrategy< |
42 | typename·LastType<·Args...·>::type·>(),·int·>·=·0> | ||
43 | auto Dune::Functions::BasisFactory::composite·(Args·&&...·args) | ||
44 | ····Create·a·factory·builder·that·can·build·a·CompositePreBasis.·More... | ||
46 | 45 | ||
47 | =============================================================================== | 46 | =============================================================================== |
48 | ·····Generated·by [doxygen]·1.9.4 | 47 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·compositebasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 352 lines modified | Offset 62, 423 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">compositebasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00125.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="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> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<tuple></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> |
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/std/apply.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/ | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/ | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/common/tupleutility.hh></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/common/tuplevector.hh></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/staticforloop.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/utility.hh</a>></span></div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00134.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
88 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
89 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Functions·{</div> |
90 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> |
93 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·This·is·the·reusable·part·of·the·composite·bases.·It·contains</span></div> |
94 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//</span></div> |
95 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//···CompositePreBasis</span></div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//···TaylorHoodBasisTree</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//···TaylorHoodVelocityTree</span></div> | ||
98 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//</span></div> |
99 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> |
100 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> |
101 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> |
102 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//·*****************************************************************************</span></div> |
103 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">class·</span>TaylorHoodVelocityTree;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">class·</span>TaylorHoodBasisTree;</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
110 | <div·class="line"><a·id="l0005 | 110 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span><<span·class="keyword">class·</span>IMS,·<span·class="keyword">class</span>...·SPB></div> |
111 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01503.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01503.html">CompositePreBasis</a></div> |
112 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>{</div> | ||
113 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·isBlocked·=·std::is_same_v<IMS,BasisFactory::BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>;</div> | ||
114 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">public</span>:</div> | ||
112 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
116 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01503.html#aa3fbd381a090703bb2f0ea3bde8a3031">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases</a>·=·std::tuple<SPB...>;</div> | ||
117 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
113 | <div·class="line"><a·id="l0006 | 118 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> |
119 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01503.html#ab02c441bc5d90d3b584df84e606582a7">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#ab02c441bc5d90d3b584df84e606582a7">SubPreBasis</a>·=·std::tuple_element_t<i,·SubPreBases>;</div> | ||
114 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 120 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
115 | <div·class="line"><a·id="l0006 | 121 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01503.html#aa04cac815e90325c4ec524e0dc7b22ee">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#aa04cac815e90325c4ec524e0dc7b22ee">GridView</a>[·...·truncated·by·diffoscope;·len:·93,·SHA:·b7fc3a58d48f736b9f05ee05f728794c99b74fb944de9b81b634ebf381474227·...·];</div> |
116 | <div·class="line"><a·id="l0006 | 122 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
117 | <div·class="line"><a·id="l0006 | 123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01503.html#a3193f75ae98cc4643fb767d9fe7c95b9">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a[·...·truncated·by·diffoscope;·len:·16,·SHA:·159ad609af5d2a5e880b28e56d791a712aabbab60d7161efc0f326cb73f8797a·...·]</div> |
118 | <div·class="line"><a·id="l0006 | 124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
119 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01503.html#a13b5ee8d5de52affa35662093b32de00">···71</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#a13b5ee8d5de52affa35662093b32de00">IndexMergin[·...·truncated·by·diffoscope;·len:·19,·SHA:·3f8902a3e8ef7118d27b1822dbfde98a5d24ea57bd490ce94aa085e99cd4a886·...·];</div> |
120 | <div·class="line"><a·id="l0007 | 126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
121 | <div·class="line"><a·id="l0007 | 127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">protected</span>:</div> |
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01503.html#aa0689626cbb089b66e5932b4a4ed6a6e">···74</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·<a·class="code·hl_variable"·href="a01503.html#aa0689626cbb089b66e5932b4a4ed6a6e">children</a>·=·<span·class="keyword">sizeof</span>...(SPB);</div> | ||
122 | <div·class="line"><a·id="l0007 | 129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
123 | <div·class="line"><a·id="l0007 | 130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01503.html#ac2d58cfa5b4b07bdfbec63a296c9a5d6">···76</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01503.html#ac2d58cfa5b4b07bdfbec63a296c9a5d6">ChildIndices[·...·truncated·by·diffoscope;·len:·47,·SHA:·a79553646cf9e70bba84245fe5357ab4fc691c6d506ff093197292bd2758b4b8·...·];</div> |
124 | <div·class="line"><a·id="l0007 | 131 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
125 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01823.html#aa392e5ef9f61616b5761fe47dec36471">···77</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01823.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01823.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>·=·useHybridIndices·?·3·:·2;</div> | ||
126 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01823.html#a2ab779870149b404f47be6e5550257ea">···78</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01823.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01823.html#a2ab779870149b404f47be6e5550257ea">minMultiIndexSize</a>·=·2;</div> | ||
127 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01823.html#ac232b435a11882f871f15bb1dc9b70aa">···79</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01823.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·<a·class="code·hl_variable"·href="a01823.html#ac232b435a11882f871f15bb1dc9b70aa">multiIndexBufferSize</a>·=·<a·class="code·hl_variable"·href="a01823.html#aa392e5ef9f61616b5761fe47dec36471">maxMultiIndexSize</a>;</div> | ||
128 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
129 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">public</span>:</div> |
133 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
134 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01503.html#a38b6a4eb5dc345ee88c046d107c9b811">···81</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01719.html">Node</a>·=·<a·class="code·hl_class"·href="a01719.html">CompositeBasisNode</a><<span·class="keyword">typename</span>·SPB::Node...>;</div> | ||
130 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 135 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
131 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01671.html">PQ1PreBasis</a>·=·<a·class="code·hl_class"·href="a01671.html">LagrangePreBasis<GV,1></a>;</div> | ||
132 | <div·class="line"><a·id="l0008 | 136 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01503.html#affd187f58c7f8a750b11ab48abc3d94e">···83</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01503.html#a3193f7[·...·truncated·by·diffoscope;·len:·196,·SHA:·47b097f7da67ac1e1e5ec20c627b68910b40e9308e60250a5b8152f6f3b14f8c·...·];</div> |
137 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01503.html#aee4f8b5f159f44d9a0fc61c60c615c19">···84</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01503.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01503.html#aee4f8b5f159f44d9a0fc61c60c615c19">minMultiIndexSize</a>·=·std::min({SPB::minMultiIndexSize...})·+·isBlocked;</div> | ||
138 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01503.html#ad57d4c09c40d5a87d3e899a2c2df0f35">···85</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01503.html#a3193f75ae98cc4643fb767d9fe7c95b9">size_type</a>·<a·class="code·hl_variable"·href="a01503.html#ad57d4c09c40d5a87d3e899a2c2df0f35">multiIndexBufferSize</a>·=·std::max({SPB::multiIndexBufferSize...})·+·isBlocked;</div> | ||
133 | <div·class="line"><a·id="l0008 | 139 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
134 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·SFArgs,</div> |
141 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····disableCopyMove<<a·class="code·hl_function"·href="a01503.html#a4530439b525f32c80febe548adb3f628">CompositePreBasis</a>,·SFArgs...>·=·0,</div> | ||
142 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a><std::tuple<SPB...>,·SFArgs...>·=·0></div> | ||
143 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01503.html#a4530439b525f32c80febe548adb3f628">···95</a></span>··<a·class="code·hl_function"·href="a01503.html#a4530439b525f32c80febe548adb3f628">CompositePreBasis</a>(SFArgs&&...·sfArgs)·:</div> | ||
144 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····subPreBases_(std::forward<SFArgs>(sfArgs)...)</div> | ||
135 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
136 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01823.html#a12fa8eb410a271861631e77ada59b3ba">···89</a></span>··<a·class="code·hl_function"·href="a01823.html#a12fa8eb410a271861631e77ada59b3ba">TaylorHoodPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01823.html#a4fbd3d92587a03f3871066968035f194">GridView</a>&·gv)·:</div> | ||
137 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<a·class="code·hl_variable"·href="a01823.html#a4ba12b2015f3761ec28e95b3a120cffb">gridView_</a>(gv),</div> | ||
138 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01823.html#a9d26725c5f9e2f84e0b504c3bffcfe42">pq1PreBasis_</a>(gv),</div> | ||
139 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_variable"·href="a01823.html#a86ed45c92fecf521019dcc18d90dc4d3">pq2PreBasis_</a>(gv)</div> | ||
140 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{}</div> | ||
141 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
142 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01823.html#ae9dddae8c0e1f977aee5acbcaef8cca7">···96</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01823.html#ae9dddae8c0e1f977aee5acbcaef8cca7">initializeIndices</a>()</div> | ||
143 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> | 145 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> |
144 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<a·class="code·hl_variable"·href="a01823.html#a9d26725c5f9e2f84e0b504c3bffcfe42">pq1PreBasis_</a>.<a·class="code·hl_function"·href="a01671.html#a7318cbabd5f57d0b6cbab1b2dc41fff8">initializeIndices</a>();</div> | ||
145 | <div·class="line"><a·id="l0009 | 146 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····Hybrid::forEach(subPreBases_,·[&](<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·<a·class="code·hl_function"·href="a01503.html#a2b525fdcdc6faa0551084c2c147dc92a">subPr[·...·truncated·by·diffoscope;·len:·12,·SHA:·77e069f4f4083ae675561588a3a9ab9946e17c3939b1bf6cee8e793403d48b87·...·]</div> |
Max diff block lines reached; 106159/141595 bytes (74.97%) of diff not shown. |
Offset 5, 438 lines modified | Offset 5, 541 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | compositebasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_COMPOSITEBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·< | 16 | ·6#include·<tuple> |
17 | ·7#include·<utility> | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/std/apply.hh> | ||
20 | ·10#include·<dune/common/hybridutilities.hh> | ||
17 | · | 21 | ·11#include·<dune/common/reservedvector.hh> |
22 | ·12#include·<dune/common/typeutilities.hh> | ||
18 | · | 23 | ·13#include·<dune/common/hybridutilities.hh> |
19 | ·9 | ||
20 | ·10#include·<dune/typetree/powernode.hh> | ||
21 | ·11#include·<dune/typetree/compositenode.hh> | ||
22 | ·1 | 24 | ·14#include·<dune/common/tupleutility.hh> |
25 | ·15#include·<dune/common/tuplevector.hh> | ||
26 | ·16 | ||
27 | ·17#include·<dune/functions/common/staticforloop.hh> | ||
28 | ·18#include·<dune/functions/common/type_traits.hh> | ||
29 | ·19#include·<dune/functions/common/utility.hh> | ||
30 | ·20#include·<dune/functions/functionspacebases/basistags.hh> | ||
23 | · | 31 | ·21#include·<dune/functions/functionspacebases/nodes.hh> |
24 | ·14 | ||
25 | · | 32 | ·22#include·<dune/functions/functionspacebases/concepts.hh> |
26 | · | 33 | ·23#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
27 | · | 34 | ·24 |
35 | ·25 | ||
28 | · | 36 | ·26namespace·Dune·{ |
29 | · | 37 | ·27namespace·Functions·{ |
38 | ·28 | ||
30 | ·20 | ||
31 | ·21 | ||
32 | ·2 | 39 | ·29/ |
33 | /·***************************************************************************** | 40 | /·***************************************************************************** |
34 | · | 41 | ·30//·This·is·the·reusable·part·of·the·composite·bases.·It·contains |
42 | ·31// | ||
43 | ·32//·CompositePreBasis | ||
44 | ·33// | ||
35 | ·24// | ||
36 | ·25//·TaylorHoodPreBasis | ||
37 | ·26//·TaylorHoodBasisTree | ||
38 | ·27//·TaylorHoodVelocityTree | ||
39 | ·28// | ||
40 | · | 45 | ·34//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible |
41 | shared | 46 | shared |
42 | ·3 | 47 | ·35//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local |
43 | view | 48 | view |
44 | ·3 | 49 | ·36//·and·can·be·used·without·a·global·basis. |
45 | ·3 | 50 | ·37/ |
46 | /·***************************************************************************** | 51 | /·***************************************************************************** |
52 | ·38 | ||
47 | ·33 | ||
48 | ·34template<typename·GV> | ||
49 | ·35class·TaylorHoodVelocityTree; | ||
50 | ·36 | ||
51 | ·37template<typename·GV> | ||
52 | ·38class·TaylorHoodBasisTree; | ||
53 | ·39 | 53 | ·39 |
54 | ·59template<typename·GV,·bool·HI=false> | ||
55 | 60class·TaylorHoodPreBasis | ||
56 | ·61{ | ||
57 | · | 54 | ·51template<class·IMS,·class...·SPB> |
55 | 52class·CompositePreBasis | ||
56 | ·53{ | ||
57 | ·54·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
58 | BlockedLexicographic>·or·std::is_same_v<IMS,BasisFactory::BlockedInterleaved>; | ||
59 | ·55public: | ||
60 | ·56 | ||
61 | 58·using·SubPreBases·=·std::tuple<SPB...>; | ||
62 | ·59 | ||
63 | ·61·template<std::size_t·i> | ||
64 | 62·using·SubPreBasis·=·std::tuple_element_t<i,·SubPreBases>; | ||
58 | ·63 | 65 | ·63 |
66 | 65·using·GridView·=·typename·std::tuple_element_t<0,·SubPreBases>::GridView; | ||
67 | ·66 | ||
59 | ·64·static·const·int·dim·=·GV::dimension; | ||
60 | ·65 | ||
61 | ·66public: | ||
62 | ·67 | ||
63 | 69·using·GridView·=·GV; | ||
64 | ·70 | ||
65 | 68 | 68·using·size_type·=·std::size_t; | |
66 | ·73 | ||
67 | 75·using·Node·=·TaylorHoodBasisTree<GV>; | ||
68 | ·76 | ||
69 | 77·static·constexpr·size_type·maxMultiIndexSize·=·useHybridIndices·?·3·:·2; | ||
70 | 78·static·constexpr·size_type·minMultiIndexSize·=·2; | ||
71 | 79·static·constexpr·size_type·multiIndexBufferSize·=·maxMultiIndexSize; | ||
72 | ·80 | ||
73 | · | 69 | ·69 |
70 | 71·using·IndexMergingStrategy·=·IMS; | ||
71 | ·72 | ||
72 | ·73protected: | ||
73 | 74·static·const·std::size_t·children·=·sizeof...(SPB); | ||
74 | ·75 | ||
75 | 76·using·ChildIndices·=·std::make_index_sequence<children>; | ||
76 | ·77 | ||
77 | ·78public: | ||
78 | ·79 | ||
79 | 81·using·Node·=·CompositeBasisNode<typename·SPB::Node...>; | ||
74 | ·82 | 80 | ·82 |
75 | ·83·using·PQ1PreBasis·=·LagrangePreBasis<GV,1>; | ||
76 | ·84·using·PQ2PreBasis·=·LagrangePreBasis<GV,2>; | ||
77 | ·85 | ||
78 | ·86public: | ||
79 | ·87 | ||
80 | 89·TaylorHoodPreBasis(const·GridView&·gv)·: | ||
81 | ·90·gridView_(gv), | ||
82 | ·91·pq1PreBasis_(gv), | ||
83 | ·92·pq2PreBasis_(gv) | ||
84 | ·93·{} | ||
85 | ·94 | ||
86 | 81 | 83·static·constexpr·size_type·maxMultiIndexSize·=·std::max({SPB:: | |
82 | maxMultiIndexSize...})·+·isBlocked; | ||
83 | 84·static·constexpr·size_type·minMultiIndexSize·=·std::min({SPB:: | ||
84 | minMultiIndexSize...})·+·isBlocked; | ||
Max diff block lines reached; 25398/30393 bytes (83.57%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicallagrangebasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 65, 58 lines modified | Offset 65, 57 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>··</div> | 73 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">hierarchicallagrangebasis.hh·File·Reference</div></div> |
74 | </div><!--header--> | 75 | </div><!--header--> |
75 | <div·class="contents"> | 76 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·<c | 77 | <div·class="textblock"><code>#include·<dune/common/exceptions.hh></code><br·/> |
78 | <code>#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></code><br·/> | ||
77 | <code>#include·<type_traits></code><br·/> | ||
78 | <code>#include·<utility></code><br·/> | ||
79 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
80 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
81 | <code>#include·<dune/common/concept.hh></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00 | 79 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
83 | <code>#include·<<a·class="el"·href="a001 | 80 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
84 | <code>#include·< | 81 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> |
85 | </div> | 82 | </div> |
86 | <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
89 | Classes</h2></td></tr> | 86 | Classes</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01623.html">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·k,·R·></a></td></tr> |
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·for·a·hierarchical·basis.··<a·href="a01623.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01619.html">Dune::Functions::HierarchicalLagrangeNode<·GV,·k,·R·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
94 | <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> |
95 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 99 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | < | 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:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k,·typename·R··=·double>·</td></tr> | ||
105 | <tr·class="memitem:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gab0bae3d4d425eb9a32bd97c797af7350">Dune::Functions::HierarchicalLagrangeBasis</a>·=·DefaultGlobalBasis<·HierarchicalLagrangePreBasis<·GV,·k,·R·>·></td></tr> | ||
106 | <tr·class="memdesc:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space.··<a·href="a00213.html#gab0bae3d4d425eb9a32bd97c797af7350">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:gab0bae3d4d425eb9a32bd97c797af7350"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
106 | Functions</h2></td></tr> | 110 | Functions</h2></td></tr> |
111 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·typename·R··=·double>·</td></tr> | ||
112 | <tr·class="memitem:gae1668779c06b647fd909294cbedf28cf"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gae1668779c06b647fd909294cbedf28cf">Dune::Functions::BasisFactory::hierarchicalLagrange</a>·()</td></tr> | ||
113 | <tr·class="memdesc:gae1668779c06b647fd909294cbedf28cf"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·HierarchicalLagrange·pre-basis.··<a·href="a00213.html#gae1668779c06b647fd909294cbedf28cf">More...</a><br·/></td></tr> | ||
107 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"><td·class="memTemplParams"·colspan="2">template<class·PreBasis·>·</td></tr> | ||
108 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a060058e4e3c070530978192cb7c99d39">Dune::Functions::DefaultGlobalBasis</a>·(PreBasis·&&)·->·DefaultGlobalBasis<·std::decay_t<·PreBasis·>·></td></tr> | ||
109 | <tr·class="separator:a060058e4e3c070530978192cb7c99d39"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
111 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a57d2c8b66fd384768b94af95e4ce5d78">Dune::Functions::DefaultGlobalBasis</a>·(const·GridView·&gv,·PreBasisFactory·&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·></td></tr> | ||
112 | <tr·class="separator:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
114 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00224.html#a1f0dc55c03c3a9862c76456d5574abe2">Dune::Functions::BasisFactory::makeBasis</a>·(const·GridView·&gridView,·PreBasisFactory·&&preBasisFactory)</td></tr> | ||
115 | <tr·class="separator:a1 | 114 | <tr·class="separator:gae1668779c06b647fd909294cbedf28cf"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table> | 115 | </table> |
117 | </div><!--·contents·--> | 116 | </div><!--·contents·--> |
118 | <!--·start·footer·part·--> | 117 | <!--·start·footer·part·--> |
119 | <hr·class="footer"/><address·class="footer"><small> | 118 | <hr·class="footer"/><address·class="footer"><small> |
120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 119 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 120 | </small></address> |
122 | </body> | 121 | </body> |
Offset 5, 48 lines modified | Offset 5, 43 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|·Functions | 9 | Classes·|·Namespaces·|·Typedefs·|·Functions |
10 | hierarchicallagrangebasis.hh·File·Reference | ||
10 | defaultglobalbasis.hh·File·Reference | ||
11 | #include·<cstddef> | ||
12 | #include·<type_traits> | ||
13 | #include·<utility> | ||
14 | #include·<dune/common/reservedvector.hh> | ||
15 | #include·<dune/common/typeutilities.hh> | ||
16 | #include·<dune/common/ | 11 | #include·<dune/common/exceptions.hh> |
12 | #include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
17 | #include·<dune/functions/common/type_traits.hh> | ||
18 | #include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
19 | #include·<dune/functions/functionspacebases/ | 13 | #include·<dune/functions/functionspacebases/nodes.hh> |
14 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
15 | #include·<dune/grid/common/mcmgmapper.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | 17 | ·Classes |
22 | class· Dune::Functions::DefaultGlobalBasis<_PB_> | ||
23 | 18 | class· Dune::Functions::HierarchicalLagrangePreBasis<_GV,_k,_R_> | |
19 | ······A·pre-basis·for·a·hierarchical·basis.·More... | ||
20 | |||
21 | class· Dune::Functions::HierarchicalLagrangeNode<_GV,_k,_R_> | ||
24 | 22 | ||
25 | ·Namespaces | 23 | ·Namespaces |
26 | namespace· Dune | 24 | namespace· Dune |
27 | 25 | ||
28 | namespace· Dune::Functions | 26 | namespace· Dune::Functions |
29 | 27 | ||
30 | namespace· Dune::Functions::BasisFactory | 28 | namespace· Dune::Functions::BasisFactory |
31 | 29 | ||
32 | 30 | ·Typedefs | |
31 | template<typename·GV·,·int·k,·typename·R·=·double> | ||
32 | using Dune::Functions::HierarchicalLagrangeBasis·=·DefaultGlobalBasis< | ||
33 | ·······HierarchicalLagrangePreBasis<·GV,·k,·R·>·> | ||
34 | ·····Basis·of·a·scalar·Hierarchical·Lagrange·finite·element·space.·More... | ||
33 | 35 | ||
34 | ·Functions | 36 | ·Functions |
37 | template<std::size_t·k,·typename·R·=·double> | ||
38 | auto Dune::Functions::BasisFactory::hierarchicalLagrange·() | ||
39 | ····Create·a·pre-basis·factory·that·can·create·a·HierarchicalLagrange·pre- | ||
40 | ······basis.·More... | ||
35 | template<class·PreBasis·> | ||
36 | ···· Dune::Functions::DefaultGlobalBasis·(PreBasis·&&)·->·DefaultGlobalBasis< | ||
37 | ······std::decay_t<·PreBasis·>·> | ||
38 | |||
39 | template<class·GridView·,·class·PreBasisFactory·> | ||
40 | ···· Dune::Functions::DefaultGlobalBasis·(const·GridView·&gv,·PreBasisFactory | ||
41 | ······&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·> | ||
42 | |||
43 | template<class·GridView·,·class·PreBasisFactory·> | ||
44 | auto Dune::Functions::BasisFactory::makeBasis·(const·GridView·&gridView, | ||
45 | ······PreBasisFactory·&&preBasisFactory) | ||
46 | 41 | ||
47 | =============================================================================== | 42 | =============================================================================== |
48 | ·····Generated·by [doxygen]·1.9.4 | 43 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicallagrangebasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 203 lines modified | Offset 62, 265 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">hierarchicallagrangebasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<c | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<t | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
80 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/ | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00131.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l000 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
91 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">namespace·</span>Functions·{</div> |
92 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>····<span·class="comment">//·*****************************************************************************</span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="comment">//·Implementation·for·Hierarchical·Lagrange·Basis</span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="comment">//</span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="comment">//·--·only·order·k=2·is·implemented·up·to·now·--</span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····<span·class="comment">//·--·currently·only·supports·simplex·grids·--</span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="comment">//</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····<span·class="comment">//·This·is·the·reusable·part·of·the·HierarchicalLagrangeBasis.·It·contains</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="comment">//</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="comment">//··HierarchicalLagrangePreBasis</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="comment">//··HierarchicalLagrangeNode</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>····<span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·can·be</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·used·without·a·global·basis.</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="comment">//·*****************************************************************************</span></div> | ||
93 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">class·</span>HierarchicalLagrangeNode;</div> | ||
94 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">class·</span>HierarchicalLagrangePreBasis;</div> | ||
95 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PB></div> | ||
96 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01555.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01555.html">DefaultGlobalBasis</a></div> | ||
97 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> | ||
98 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
99 | <div·class="line"><a·id="l0004 | 108 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R></div> |
109 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01623.html">···48</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01623.html">HierarchicalLagrangePreBasis</a></div> | ||
100 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 110 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div> |
101 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> |
102 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
103 | <div·class="line"><a·id="l0005 | 113 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">public</span>:</div> |
104 | <div·class="line"><a·id="l0005 | 114 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
105 | <div·class="line"><a·id="l0005 | 115 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">···55</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">GridView[·...·truncated·by·diffoscope;·len:·9,·SHA:·78bb9f1e136e241a2fcf1e9b993e92ca8389029a64abf680465b1bf92bee6a69·...·];</div> |
106 | <div·class="line"><a·id="l0005 | 116 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
107 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">···58</a></span>······<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·=·std::size_t;</div> |
118 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
119 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01623.html#a7ca4c90a4d74ea37014bd3038b3315be">···61</a></span>······<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01619.html">Node</a>·=·<a·class="code·hl_class"·href="a01619.html">HierarchicalLagrangeNode<GV,·k,·R></a>;</div> | ||
108 | <div·class="line"><a·id="l0006 | 120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
109 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01 | 121 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01623.html#ab05fa83b28393a642a783886d3cfb389">···63</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·<a·class="code·hl_var[·...·truncated·by·diffoscope;·len:·85,·SHA:·58a75dca4aaa6a76c13dadab220e7518ce38513845097404ad3827b7e0c98352·...·];</div> |
122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01623.html#af0c5d0c1e855de8dc56b81360b617c0c">···64</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·<a·class="code·hl_variable"·href="a01623.html#af0c5d0c1e855de8dc56b81360b617c0c">minMultiIndexSize</a>·=·1;</div> | ||
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01623.html#a5d4d6c9d4b3e41e2dca6a5b250bd942e">···65</a></span>······<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·<a·class="code·hl_variable"·href="a01623.html#a5d4d6c9d4b3e41e2dca6a5b250bd942e">multiIndexBufferSize</a>·=·1;</div> | ||
110 | <div·class="line"><a·id="l0006 | 124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
111 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01623.html#a97079ff1b8a023dadf424efe80ff38af">···71</a></span>······<a·class="code·hl_function"·href="a01623.html#a97079ff1b8a023dadf424efe80ff38af">HierarchicalLagrangePreBasis</a>(<span·cl[·...·truncated·by·diffoscope;·len:·343,·SHA:·0ce126e423709602548623b1736ed80d326d20ff455e50190841ea511e6e7f95·...·]</div> |
126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{}</div> | ||
112 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
113 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01623.html#ac79e037186412bb4d77c8ca2bc6ad494">···75</a></span>······<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01623.html#ac79e037186412bb4d77c8ca2bc6ad494">ini[·...·truncated·by·diffoscope;·len:·20,·SHA:·3418fb2ce6e8093ecb7df2a9692ea1a0267157d21f8d22fbab2ebf4b5284ae3f·...·]</div> |
129 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······{}</div> | ||
114 | <div·class="line"><a·id="l0007 | 130 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
131 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01623.html#ab5bd91f85b9195d37879732f0ceeba7e">···79</a></span>······<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">GridView</a>&·<a·class="code·hl_function"·href="a01623.html#ab5bd91f85b9195d37879732f0ceeba7e">gridView</a>()<span·class="keyword">·const</span></div> | ||
115 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">······</span>{</div> |
133 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01623.html#abfbdf2bbe11f73edd46b001048d09fba">gridView_</a>;</div> | ||
134 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······}</div> | ||
116 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····disableCopyMove<<a·class="code·hl_function"·href="a01555.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>,·T...>·=·0,</div> | ||
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>,·T...>·=·0></div> | ||
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01555.html#ac8c43e23bffc9116702a479f1c1d01f4">···82</a></span>··<a·class="code·hl_function"·href="a01555.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>(T&&...·t)·:</div> | ||
119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<a·class="code·hl_variable"·href="a01555.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(std::forward<T>(t)...),</div> | ||
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_variable"·href="a01555.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
121 | <div·class="line"><a·id="l0008 | 135 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
136 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01623.html#a741666d871c080d4cdb5097bd7286d26">···85</a></span>······<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01623.html#a741666d871c080d4cdb5097bd7286d26">update</a>·(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">GridView</a>&·gv)</div> | ||
122 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
123 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_variable"·href="a01555.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
124 | <div·class="line"><a·id="l0008 | 137 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······{</div> |
138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_variable"·href="a01623.html#abfbdf2bbe11f73edd46b001048d09fba">gridView_</a>·=·gv;</div> | ||
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<a·class="code·hl_variable"·href="a01623.html#a7700943c6d6759638af3e5fcb7a63ce4">mcmgMapper_</a>.update(gv);</div> | ||
125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 140 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······}</div> |
141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
142 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01623.html#a23698bafe0dfb6a28abd932345714465">···94</a></span>······<a·class="code·hl_class"·href="a01619.html">Node</a>·<a·class="code·hl_function"·href="a01623.html#a23698bafe0dfb6a28abd932345714465">makeNode</a>()<span·class="keyword">·const</span></div> | ||
126 | <div·class="line"><a·id="l0009 | 143 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">······</span>{</div> |
127 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····std::enable_if_t<Dune::IsCallable<PreBasisFactory(<a·class="code·hl_typedef"·href="a01555.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>),·<a·class="code·hl_typedef"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>::value,·<span·class="keywordtype">int</span>>·=·0></div> | ||
128 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01555.html#aca0a06166bf28fbc1f22dbcb7ca98812">···98</a></span>··<a·class="code·hl_function"·href="a01555.html#aca0a06166bf28fbc1f22dbcb7ca98812">DefaultGlobalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01555.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>&·<a·class="code·hl_function"·href="a01555.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>,·PreBasisFactory&&·factory)·:</div> | ||
129 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_variable"·href="a01555.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(factory(<a·class="code·hl_function"·href="a01555.html#a34897e5d2dd92bf5f34d61e47a9eff66">gridView</a>)),</div> | ||
130 | <div·class="line"><a·id="l00 | 144 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01619.html">Node</a>{};</div> |
145 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······}</div> | ||
146 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | ||
147 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01623.html#ac351887f1be4aa2af48c45f77e9bb4d3">··100</a></span>······<a·class="code·hl_typedef"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·<a·class="code·hl_function"·href="a01623.html#ac351887f1be4aa2af48c45f77e9bb4d3">size</a>()<span·class="keyword">·const</span></div> | ||
148 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">······</span>{</div> | ||
149 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01623.html#a7700943c6d6759638af3e5fcb7a63ce4">mcmgMapper_</a>.size();</div> | ||
131 | <div·class="line"><a·id="l0010 | 150 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······}</div> |
Max diff block lines reached; 53004/93033 bytes (56.97%) of diff not shown. |
Offset 5, 283 lines modified | Offset 5, 355 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | hierarchicallagrangebasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICALLAGRANGEBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<cstddef> | ||
17 | ·7#include·<type_traits> | ||
18 | ·8#include·<utility> | ||
19 | ·9 | ||
20 | ·10#include·<dune/common/reservedvector.hh> | ||
21 | ·11#include·<dune/common/typeutilities.hh> | ||
22 | · | 16 | ·6#include·<dune/common/exceptions.hh> |
17 | ·7#include·<dune/localfunctions/hierarchical/hierarchicalp2.hh> | ||
18 | ·8 | ||
23 | ·13 | ||
24 | ·14#include·<dune/functions/common/type_traits.hh> | ||
25 | ·15#include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
26 | · | 19 | ·9#include·<dune/functions/functionspacebases/nodes.hh> |
27 | ·17 | ||
28 | ·18 | ||
29 | ·1 | 20 | ·10#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
21 | ·11#include·<dune/grid/common/mcmgmapper.hh> | ||
22 | ·12 | ||
30 | · | 23 | ·13namespace·Dune·{ |
31 | · | 24 | ·14·namespace·Functions·{ |
32 | ·22 | ||
33 | ·23 | ||
34 | ·24 | ||
35 | ·44template<class·PB> | ||
36 | 45class·DefaultGlobalBasis | ||
37 | ·46{ | ||
38 | · | 25 | ·15 |
26 | ·16·/ | ||
27 | /·***************************************************************************** | ||
28 | ·17·//·Implementation·for·Hierarchical·Lagrange·Basis | ||
29 | ·18·// | ||
30 | ·19·//·--·only·order·k=2·is·implemented·up·to·now·-- | ||
31 | ·20·//·--·currently·only·supports·simplex·grids·-- | ||
32 | ·21·// | ||
33 | ·22·//·This·is·the·reusable·part·of·the·HierarchicalLagrangeBasis.·It·contains | ||
34 | ·23·// | ||
35 | ·24·//·HierarchicalLagrangePreBasis | ||
36 | ·25·//·HierarchicalLagrangeNode | ||
37 | ·26·// | ||
38 | ·27·//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
39 | shared | ||
40 | ·28·//·state.·These·components·do·_not_·depend·on·the·global·basis·and·can·be | ||
41 | ·29·//·used·without·a·global·basis. | ||
42 | ·30·/ | ||
43 | /·***************************************************************************** | ||
44 | ·31 | ||
45 | ·32·template<typename·GV,·int·k,·typename·R=double> | ||
46 | ·33·class·HierarchicalLagrangeNode; | ||
47 | ·34 | ||
48 | ·35·template<typename·GV,·int·k,·typename·R=double> | ||
49 | ·36·class·HierarchicalLagrangePreBasis; | ||
50 | ·37 | ||
51 | ·47·template<typename·GV,·int·k,·typename·R> | ||
52 | 48·class·HierarchicalLagrangePreBasis | ||
53 | ·49·{ | ||
54 | ·50·static·const·int·dim·=·GV::dimension; | ||
55 | ·51 | ||
39 | · | 56 | ·52·public: |
57 | ·53 | ||
58 | 55·using·GridView·=·GV; | ||
59 | ·56 | ||
40 | ·49 | ||
41 | 51·using·PreBasis·=·PB; | ||
42 | ·52 | ||
43 | 54·using·PrefixPath·=·TypeTree::HybridTreePath<>; | ||
44 | ·55 | ||
45 | 57·using·GridView·=·typename·PreBasis::GridView; | ||
46 | ·58 | ||
47 | 60 | 58·using·size_type·=·std::size_t; | |
48 | ·61 | ||
49 | 63·using·LocalView·=·DefaultLocalView<DefaultGlobalBasis<PreBasis>>; | ||
50 | ·64 | ||
51 | 66·using·MultiIndex·=·typename·LocalView::MultiIndex; | ||
52 | ·67 | ||
53 | 69·using·SizePrefix·=·Dune::ReservedVector<std::size_t,·PreBasis:: | ||
54 | multiIndexBufferSize>; | ||
55 | ·70 | ||
56 | ·79·template<class...·T, | ||
57 | ·80·disableCopyMove<DefaultGlobalBasis,·T...>·=·0, | ||
58 | ·81·enableIfConstructible<PreBasis,·T...>·=·0> | ||
59 | 82·DefaultGlobalBasis(T&&...·t)·: | ||
60 | ·83·preBasis_(std::forward<T>(t)...), | ||
61 | · | 61 | ·59 |
62 | 61·using·Node·=·HierarchicalLagrangeNode<GV,_k,_R>; | ||
63 | ·62 | ||
64 | 63·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
65 | 64·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
66 | 65·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
67 | ·66 | ||
68 | 71·HierarchicalLagrangePreBasis(const·GridView&·gv)·:·gridView_(gv)·, | ||
69 | mcmgMapper_(gv,p2Layout()) | ||
70 | ·72·{} | ||
71 | ·73 | ||
72 | 75·void·initializeIndices() | ||
73 | ·76·{} | ||
74 | ·77 | ||
75 | 79·const·GridView&·gridView()·const | ||
62 | ·8 | 76 | ·80·{ |
77 | ·81·return·gridView_; | ||
63 | ·86·static_assert(models<Concept::PreBasis<GridView>,·PreBasis>(),·"Type·passed | ||
64 | to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."); | ||
65 | ·87·preBasis_.initializeIndices(); | ||
66 | ·8 | 78 | ·82·} |
79 | ·83 | ||
80 | 85·void·update·(const·GridView&·gv) | ||
81 | ·86·{ | ||
82 | ·87·gridView_·=·gv; | ||
83 | ·88·mcmgMapper_.update(gv); | ||
67 | ·89 | 84 | ·89·} |
68 | ·96·template<class·PreBasisFactory, | ||
69 | ·97·std::enable_if_t<Dune::IsCallable<PreBasisFactory(GridView),·PreBasis>:: | ||
70 | value,·int>·=·0> | ||
71 | 98·DefaultGlobalBasis(const·GridView&·gridView,·PreBasisFactory&&·factory)·: | ||
Max diff block lines reached; 15401/19784 bytes (77.85%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicvectorwrapper.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 64, 41 lines modified | Offset 64, 53 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">hierarchicvectorwrapper.hh·File·Reference</div></div> |
73 | </div><!--header--> | 74 | </div><!--header--> |
74 | <div·class="contents"> | 75 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<tuple></code><br·/> | ||
76 | <code>#include·<optional></code><br·/> | ||
77 | <code>#include·<dune/common/concept.hh></code><br·/> | 76 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | 77 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> |
79 | <code>#include·<dune/common/ | 78 | <code>#include·<dune/common/indices.hh></code><br·/> |
80 | <code>#include·<<a·class="el"·href="a0003 | 79 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> |
81 | <code>#include·<<a·class="el"·href="a000 | 80 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
81 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 82 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
83 | </div> | 83 | </div> |
84 | <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
87 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01647.html">Dune::Functions::HierarchicVectorWrapper<·V,·CO·></a></td></tr> |
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·wrapper·providing·multiindex·access·to·vector·entries.··<a·href="a01647.html#details">More...</a><br·/></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
92 | <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> |
93 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
94 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | </table><table·class="memberdecls"> | ||
99 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
100 | Functions</h2></td></tr> | ||
101 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
102 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplItemLeft"·align="right"·valign="top">HierarchicVectorWrapper<·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#aa74497c764d8ce0b365abae3637dadc8">Dune::Functions::hierarchicVector</a>·(V·&v)</td></tr> | ||
103 | <tr·class="separator:aa74497c764d8ce0b365abae3637dadc8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·models<·Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type··=·0>·</td></tr> | ||
105 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"><td·class="memTemplItemLeft"·align="right"·valign="top">V·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a5c705706be679d2a462e38b08274ad33">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
106 | <tr·class="separator:a5c705706be679d2a462e38b08274ad33"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·not·models<·Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type··=·0>·</td></tr> | ||
108 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"><td·class="memTemplItemLeft"·align="right"·valign="top">HierarchicVectorWrapper<·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ae48bf799daaf0751086b47457350675e">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
109 | <tr·class="separator:ae48bf799daaf0751086b47457350675e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | </table> | 110 | </table> |
99 | </div><!--·contents·--> | 111 | </div><!--·contents·--> |
100 | <!--·start·footer·part·--> | 112 | <!--·start·footer·part·--> |
101 | <hr·class="footer"/><address·class="footer"><small> | 113 | <hr·class="footer"/><address·class="footer"><small> |
102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
103 | </small></address> | 115 | </small></address> |
104 | </body> | 116 | </body> |
Offset 5, 30 lines modified | Offset 5, 43 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces | 9 | Classes·|·Namespaces·|·Functions |
10 | hierarchicvectorwrapper.hh·File·Reference | ||
10 | defaultlocalview.hh·File·Reference | ||
11 | #include·<tuple> | ||
12 | #include·<optional> | ||
13 | #include·<dune/common/concept.hh> | 11 | #include·<dune/common/concept.hh> |
14 | #include·<dune/common/hybridutilities.hh> | 12 | #include·<dune/common/hybridutilities.hh> |
15 | #include·<dune/common/ | 13 | #include·<dune/common/indices.hh> |
16 | #include·<dune/functions/common/ | 14 | #include·<dune/functions/common/indexaccess.hh> |
17 | #include·<dune/functions/common/ | 15 | #include·<dune/functions/common/utility.hh> |
16 | #include·<dune/functions/common/type_traits.hh> | ||
18 | #include·<dune/functions/functionspacebases/concepts.hh> | 17 | #include·<dune/functions/functionspacebases/concepts.hh> |
19 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
20 | ·Classes | 19 | ·Classes |
21 | class· Dune::Functions::DefaultLocalView<_GB_> | ||
22 | 20 | class· Dune::Functions::HierarchicVectorWrapper<_V,_CO_> | |
21 | ······A·wrapper·providing·multiindex·access·to·vector·entries.·More... | ||
23 | 22 | ||
24 | ·Namespaces | 23 | ·Namespaces |
25 | namespace· Dune | 24 | namespace· Dune |
26 | 25 | ||
27 | namespace· Dune::Functions | 26 | namespace· Dune::Functions |
28 | 27 | ||
28 | ·Functions | ||
29 | template<class·V·> | ||
30 | HierarchicVectorWrapper<·V·> Dune::Functions::hierarchicVector·(V·&v) | ||
31 | |||
32 | template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·models< | ||
33 | Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type·=·0> | ||
34 | ·························V·& Dune::Functions:: | ||
35 | ······························makeHierarchicVectorForMultiIndex·(V·&v) | ||
36 | |||
37 | template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·not·models< | ||
38 | Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type·=·0> | ||
39 | HierarchicVectorWrapper<·V·> Dune::Functions:: | ||
40 | ······························makeHierarchicVectorForMultiIndex·(V·&v) | ||
41 | |||
29 | =============================================================================== | 42 | =============================================================================== |
30 | ·····Generated·by [doxygen]·1.9.4 | 43 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicvectorwrapper.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 189 lines modified | Offset 62, 275 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">hierarchicvectorwrapper.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00131.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00131.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<o | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/overflowarray.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/functions/common/indexaccess.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/utility.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
87 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span> | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span> | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Imp·{</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
94 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="comment">//·Construct·default·coefficient·type·from·vector·and·multiindex·type</span></div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="comment">//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="comment">//·vector·type·itself·is·returned.</span></div> | ||
95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>· | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·MultiIndex></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"> | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">struct·</span>CoefficientType</div> |
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E,·std::<span·class="keywordtype">size_t</span>·size></div> | ||
98 | <div·class="line"><a·id="l000 | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper</div> |
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····{</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">using·</span>E0·=·<span·class="keyword">decltype</span>(std::declval<E>()[Dune::Indices::_0]);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<E0,·size-1>::type;</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····};</div> | ||
99 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
100 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E></div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper<E,·0></div> | ||
101 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{</div> |
102 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">using·</span>type·=·E;</div> |
103 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····};</div> |
104 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01559.html#a5ff210d62e5d3e52189808a8881f1911">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#a5ff210d62e5d3e52189808a8881f1911">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
105 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
106 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01559.html#ab1f301991c77e4923149d845044001bf">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#ab1f301991c77e4923149d845044001bf">size_type</a>·=·std::size_t;</div> | ||
107 | <div·class="line"><a·id="l0004 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
108 | <div·class="line"><a·id="l0004 | 112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span><<span·class="keyword">class·</span>MI,</div> |
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">typename</span>·std::enable_if<HasStaticSize<MI>::value,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·getStaticSizeOrZero()</div> | ||
109 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div> |
110 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword | 116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">return</span>·StaticSize<MI>::value;</div> |
111 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 117 | <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"><a·class="line"·href="a01559.html#a0fcc00c7b8afe993e08c9fbf9bb9efff">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#a0fcc00c7b8afe993e08c9fbf9bb9efff">PreBasis</a>·=·<span·class="keyword">typename</span>·GlobalBasis::PreBasis;</div> | ||
113 | <div·class="line"><a·id="l0004 | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
114 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//·Type·used·to·store·the·multi·indices·of·the·basis·vectors.</span></div> | ||
115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·In·contrast·to·MultiIndex·this·always·has·dynamic·size.</span></div> | ||
116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex</span></div> | ||
117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01559.html#acc3dcfbb6962f1023cc1113b07b76102">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#acc3dcfbb6962f1023cc1113b07b76102">MultiIndexStorage</a>·=</div> | ||
118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
119 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a01275.html">OverflowArray</a><<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,·PreBasis::multiIndexBufferSize>,</div> | ||
120 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">template</span><<span·class="keyword">class·</span>MI,</div> |
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">typename</span>·std::enable_if<not·HasStaticSize<MI>::value,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·getStaticSizeOrZero()</div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····{</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keywordflow">return</span>·0;</div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<V,·getStaticSizeOrZero<MultiIndex>()>::type;</div> | ||
121 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 127 | <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> | 128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
123 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 129 | <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"><a·class="line"·href="a01559.html#acffe4cd37e8a7720e1a3eced31570c5a">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#acffe4cd37e8a7720e1a3eced31570c5a">MultiIndex</a>·=</div> | ||
125 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
126 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,</div> | ||
127 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="comment">//·This·tag·class·is·used·as·Coefficient·template·parameter</span></div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="comment">//·for·HierarchicVectorWrapper·if·the·coefficient·type·should</span></div> | ||
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·be·deduced.</span></div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">struct·</span>DeducedCoefficientTag·{};</div> | ||
128 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}·<span·class="comment">//·namespace·Imp</span></div> | ||
129 | <div·class="line"><a·id="l0006 | 137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
130 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01559.html#ae47ddda96d907628497ded87d44f38d0">···68</a></span>··<a·class="code·hl_function"·href="a01559.html#ae47ddda96d907628497ded87d44f38d0">DefaultLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01559.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01559.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>)·:</div> | ||
131 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<a·class="code·hl_variable"·href="a01559.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>(&<a·class="code·hl_function"·href="a01559.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>),</div> | ||
132 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_variable"·href="a01559.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>(<a·class="code·hl_variable"·href="a01559.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>->preBasis().makeNode())</div> | ||
133 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> | ||
134 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">static_assert</span>(models<Concept::BasisTree<GridView>,·<a·class="code·hl_typedef"·href="a01559.html#adeb4377aeb75298c38c5516719ab5e09">Tree</a>>(),·<span·class="stringliteral">"Tree·type·passed·to·DefaultLocalView·does·not·model·the·BasisNode·concept."</span>);</div> | ||
135 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<a·class="code·hl_function"·href="a00219.html#a5e19b913a34ad68144f4fd873c51b977">initializeTree</a>(<a·class="code·hl_variable"·href="a01559.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>);</div> | ||
136 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | ||
137 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
138 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01559.html#a89ec09c03236189c4bd9d41cae713cae">···81</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01559.html#a89ec09c03236189c4bd9d41cae713cae">bind</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01559.html#a5ff210d62e5d3e52189808a8881f1911">Element</a>&·e)</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>····<a·class="code·hl_variable"·href="a01559.html#a47292fa1338b995ad8ab511f4fc66fe5">element_</a>·=·e;</div> | ||
141 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_function"·href="a00219.html#a4dc892a209e0f55bc65eadaf2c808454">bindTree</a>(<a·class="code·hl_variable"·href="a01559.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>,·*<a·class="code·hl_variable"·href="a01559.html#a47292fa1338b995ad8ab511f4fc66fe5">element_</a>);</div> | ||
142 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_variable"·href="a01559.html#ad3e344f7adb2d81622de39ae3c80468e">indices_</a>.resize(<a·class="code·hl_function"·href="a01559.html#a943c5bd1c1b92e5a9ff93286ec0ed341">size</a>());</div> | ||
143 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<a·class="code·hl_variable"·href="a01559.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>->preBasis().indices(<a·class="code·hl_variable"·href="a01559.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>,·<a·class="code·hl_variable"·href="a01559.html#ad3e344f7adb2d81622de39ae3c80468e">indices_</a>.begin());</div> | ||
144 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> | ||
Max diff block lines reached; 51616/83196 bytes (62.04%) of diff not shown. |
Offset 5, 271 lines modified | Offset 5, 328 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | hierarchicvectorwrapper.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<tuple> | ||
18 | · | 16 | ·6#include·<dune/common/concept.hh> |
17 | ·7#include·<dune/common/hybridutilities.hh> | ||
18 | ·8#include·<dune/common/indices.hh> | ||
19 | ·9 | 19 | ·9 |
20 | ·10#include·<dune/common/concept.hh> | ||
21 | ·11#include·<dune/common/hybridutilities.hh> | ||
22 | ·12#include·<dune/common/reservedvector.hh> | ||
23 | ·13 | ||
24 | ·1 | 20 | ·10#include·<dune/functions/common/indexaccess.hh> |
25 | ·1 | 21 | ·11#include·<dune/functions/common/utility.hh> |
22 | ·12#include·<dune/functions/common/type_traits.hh> | ||
26 | ·1 | 23 | ·13#include·<dune/functions/functionspacebases/concepts.hh> |
27 | ·1 | 24 | ·14 |
25 | ·15 | ||
26 | ·16namespace·Dune·{ | ||
27 | ·17namespace·Functions·{ | ||
28 | ·18 | 28 | ·18 |
29 | ·19 | 29 | ·19 |
30 | ·20 | ||
30 | ·2 | 31 | ·21namespace·Imp·{ |
31 | ·21namespace·Functions·{ | ||
32 | ·22 | 32 | ·22 |
33 | ·23 | ||
34 | ·24 | ||
35 | ·26template<class·GB> | ||
36 | 2 | 33 | ·23·//·Construct·default·coefficient·type·from·vector·and·multiindex·type |
34 | ·24·//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the | ||
35 | ·25·//·vector·type·itself·is·returned. | ||
36 | ·26·template<class·V,·class·MultiIndex> | ||
37 | ·27·struct·CoefficientType | ||
37 | ·28{ | 38 | ·28·{ |
38 | ·29public: | ||
39 | ·30 | ||
40 | 32·using·GlobalBasis·=·GB; | ||
41 | ·33 | ||
42 | 35·using·GridView·=·typename·GlobalBasis::GridView; | ||
43 | ·36 | ||
44 | 38·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
45 | ·39 | ||
46 | 41·using·size_type·=·std::size_t; | ||
47 | ·42 | ||
48 | 39 | ·29·template<class·E,·std::size_t·size> | |
40 | ·30·struct·DefaultCoefficientTypeHelper | ||
41 | ·31·{ | ||
42 | ·32·using·E0·=·decltype(std::declval<E>()[Dune::Indices::_0]); | ||
43 | ·33·using·type·=·typename·DefaultCoefficientTypeHelper<E0,·size-1>::type; | ||
44 | ·34·}; | ||
45 | ·35 | ||
46 | ·36·template<class·E> | ||
47 | ·37·struct·DefaultCoefficientTypeHelper<E,·0> | ||
48 | ·38·{ | ||
49 | ·39·using·type·=·E; | ||
50 | ·40·}; | ||
51 | ·41 | ||
52 | ·42·template<class·MI, | ||
53 | ·43·typename·std::enable_if<HasStaticSize<MI>::value,·int>::type·=·0> | ||
54 | ·44·static·constexpr·std::size_t·getStaticSizeOrZero() | ||
49 | ·45 | 55 | ·45·{ |
50 | ·46 | 56 | ·46·return·StaticSize<MI>::value; |
51 | ·47 | 57 | ·47·} |
58 | ·48 | ||
59 | ·49·template<class·MI, | ||
60 | ·50·typename·std::enable_if<not·HasStaticSize<MI>::value,·int>::type·=·0> | ||
61 | ·51·static·constexpr·std::size_t·getStaticSizeOrZero() | ||
62 | ·52·{ | ||
63 | ·53·return·0; | ||
64 | ·54·} | ||
65 | ·55 | ||
66 | ·56·using·type·=·typename·DefaultCoefficientTypeHelper<V, | ||
67 | getStaticSizeOrZero<MultiIndex>()>::type; | ||
68 | ·57·}; | ||
69 | ·58 | ||
52 | 48·using·PreBasis·=·typename·GlobalBasis::PreBasis; | ||
53 | ·49 | ||
54 | ·50·//·Type·used·to·store·the·multi·indices·of·the·basis·vectors. | ||
55 | ·51·//·In·contrast·to·MultiIndex·this·always·has·dynamic·size. | ||
56 | ·52·//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex | ||
57 | 53·using·MultiIndexStorage·= | ||
58 | ·54·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
59 | maxMultiIndexSize), | ||
60 | ·55·OverflowArray<StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
61 | PreBasis::multiIndexBufferSize>, | ||
62 | ·56·Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>; | ||
63 | ·57 | ||
64 | ·58public: | ||
65 | ·59 | 70 | ·59 |
66 | 61·using·MultiIndex·= | ||
67 | ·62·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
68 | maxMultiIndexSize), | ||
69 | ·63·StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
70 | ·6 | 71 | ·60 |
72 | ·61·//·This·tag·class·is·used·as·Coefficient·template·parameter | ||
73 | ·62·//·for·HierarchicVectorWrapper·if·the·coefficient·type·should | ||
74 | ·63·//·be·deduced. | ||
75 | ·64·struct·DeducedCoefficientTag·{}; | ||
71 | ·65 | 76 | ·65 |
77 | ·66}·//·namespace·Imp | ||
78 | ·67 | ||
79 | ·68 | ||
80 | ·69 | ||
81 | ·90template<class·V,·class·CO=Imp::DeducedCoefficientTag> | ||
82 | 91class·HierarchicVectorWrapper | ||
83 | ·92{ | ||
84 | ·93·template<class·MultiIndex> | ||
85 | ·94·using·Coefficient·=·typename·std::conditional<·std::is_same<Imp:: | ||
86 | DeducedCoefficientTag,CO>::value·and·HasStaticSize<MultiIndex>::value, | ||
87 | ·95·typename·Imp::CoefficientType<V,·MultiIndex>::type, | ||
88 | ·96·CO | ||
89 | ·97·>::type; | ||
90 | ·98 | ||
72 | ·66 | ||
Max diff block lines reached; 12647/18359 bytes (68.89%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicnodetorangemap.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 64, 64 lines modified | Offset 64, 38 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
73 | <a·href="#func-members">Functions</a>··</div> | ||
74 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">hierarchicnodetorangemap.hh·File·Reference</div></div> |
75 | </div><!--header--> | 73 | </div><!--header--> |
76 | <div·class="contents"> | 74 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<utility></code><br·/> |
76 | <code>#include·<type_traits></code><br·/> | ||
78 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/concept.hh></code><br·/> |
79 | <code>#include·<dune/localfunctions/lagrange.hh></code><br·/> | ||
80 | <code>#include·<dune/localfunctions/lagrange/equidistantpoints.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/lagrange/pqkfactory.hh></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a0 | 78 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
83 | <code>#include·<<a·class="el"·href="a00 | 79 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> |
84 | </div> | 80 | </div> |
85 | <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p> |
86 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
88 | Classes</h2></td></tr> | 84 | Classes</h2></td></tr> |
89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01627.html">Dune::Functions::HierarchicNodeToRangeMap</a></td></tr> |
90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·p | 86 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·the·nested·tree·indices.··<a·href="a01627.html#details">More...</a><br·/></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01667.html">Dune::Functions::LagrangeNode<·GV,·k,·R·></a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | </table><table·class="memberdecls"> | 88 | </table><table·class="memberdecls"> |
95 | <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> |
96 | Namespaces</h2></td></tr> | 90 | Namespaces</h2></td></tr> |
97 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table><table·class="memberdecls"> | ||
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
105 | Typedefs</h2></td></tr> | ||
106 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k·=·-1,·typename·R··=·double>·</td></tr> | ||
107 | <tr·class="memitem:ga566d155fed1f25513c4d927769722fcc"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga566d155fed1f25513c4d927769722fcc">Dune::Functions::LagrangeBasis</a>·=·DefaultGlobalBasis<·LagrangePreBasis<·GV,·k,·R·>·></td></tr> | ||
108 | <tr·class="memdesc:ga566d155fed1f25513c4d927769722fcc"><td·class="mdescLeft"> </td><td·class="mdescRight">Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space.··<a·href="a00213.html#ga566d155fed1f25513c4d927769722fcc">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:ga566d155fed1f25513c4d927769722fcc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
112 | Functions</h2></td></tr> | ||
113 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·typename·R··=·double>·</td></tr> | ||
114 | <tr·class="memitem:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga5106c08bf6dd8eaca7d06075d581d760">Dune::Functions::BasisFactory::lagrange</a>·()</td></tr> | ||
115 | <tr·class="memdesc:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis.··<a·href="a00213.html#ga5106c08bf6dd8eaca7d06075d581d760">More...</a><br·/></td></tr> | ||
116 | <tr·class="separator:ga5106c08bf6dd8eaca7d06075d581d760"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
117 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplParams"·colspan="2">template<typename·R··=·double>·</td></tr> | ||
118 | <tr·class="memitem:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">Dune::Functions::BasisFactory::lagrange</a>·(int·order)</td></tr> | ||
119 | <tr·class="memdesc:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a·run-time·order.··<a·href="a00213.html#ga177b4e1b21990d7fc9350ac0caeb3c6c">More...</a><br·/></td></tr> | ||
120 | <tr·class="separator:ga177b4e1b21990d7fc9350ac0caeb3c6c"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | </table> | 95 | </table> |
122 | </div><!--·contents·--> | 96 | </div><!--·contents·--> |
123 | <!--·start·footer·part·--> | 97 | <!--·start·footer·part·--> |
124 | <hr·class="footer"/><address·class="footer"><small> | 98 | <hr·class="footer"/><address·class="footer"><small> |
125 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 99 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
126 | </small></address> | 100 | </small></address> |
127 | </body> | 101 | </body> |
Offset 5, 50 lines modified | Offset 5, 27 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
10 | 9 | Classes·|·Namespaces | |
10 | hierarchicnodetorangemap.hh·File·Reference | ||
11 | #include·<utility> | ||
11 | #include·<type_traits> | 12 | #include·<type_traits> |
12 | #include·<dune/common/ | 13 | #include·<dune/common/concept.hh> |
13 | #include·<dune/localfunctions/lagrange.hh> | ||
14 | #include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
15 | #include·<dune/localfunctions/lagrange/pqkfactory.hh> | ||
16 | #include·<dune/functions/functionspacebases/ | 14 | #include·<dune/functions/functionspacebases/concepts.hh> |
17 | #include·<dune/functions/ | 15 | #include·<dune/functions/common/indexaccess.hh> |
18 | Go_to_the_source_code_of_this_file. | 16 | Go_to_the_source_code_of_this_file. |
19 | ·Classes | 17 | ·Classes |
18 | struct· Dune::Functions::HierarchicNodeToRangeMap | ||
19 | ·······A·simple·node·to·range·map·using·the·nested·tree·indices.·More... | ||
20 | class· Dune::Functions::LagrangePreBasis<_GV,_k,_R_> | ||
21 | ······A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·More... | ||
22 | |||
23 | class· Dune::Functions::LagrangeNode<_GV,_k,_R_> | ||
24 | 20 | ||
25 | ·Namespaces | 21 | ·Namespaces |
26 | namespace· Dune | 22 | namespace· Dune |
27 | 23 | ||
28 | namespace· Dune::Functions | 24 | namespace· Dune::Functions |
29 | 25 | ||
30 | namespace· Dune::Functions::BasisFactory | ||
31 | |||
32 | ·Typedefs | ||
33 | template<typename·GV·,·int·k·=·-1,·typename·R·=·double> | ||
34 | using Dune::Functions::LagrangeBasis·=·DefaultGlobalBasis<·LagrangePreBasis< | ||
35 | ·······GV,·k,·R·>·> | ||
36 | ·····Nodal·basis·of·a·scalar·k-th-order·Lagrangean·finite·element·space. | ||
37 | ·······More... | ||
38 | |||
39 | ·Functions | ||
40 | template<std::size_t·k,·typename·R·=·double> | ||
41 | auto Dune::Functions::BasisFactory::lagrange·() | ||
42 | ····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis.·More... | ||
43 | |||
44 | template<typename·R·=·double> | ||
45 | auto Dune::Functions::BasisFactory::lagrange·(int·order) | ||
46 | ····Create·a·pre-basis·factory·that·can·create·a·Lagrange·pre-basis·with·a | ||
47 | ······run-time·order.·More... | ||
48 | |||
49 | =============================================================================== | 26 | =============================================================================== |
50 | ·····Generated·by [doxygen]·1.9.4 | 27 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·hierarchicnodetorangemap.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 548 lines modified | Offset 62, 67 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">hierarchicnodetorangemap.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00134.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00134.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
79 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/equidistantpoints.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/localfunctions/lagrange/pqkfactory.hh></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
83 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> |
84 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/functions/common/indexaccess.hh</a>></span></div> |
85 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l0001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01627.html">···29</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01627.html">HierarchicNodeToRangeMap</a></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·*****************************************************************************</span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//···LagrangePreBasis</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//···LagrangeNode</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·*****************************************************************************</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span> | 91 | <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="keyword">template</span><<span·class="keyword"> | 92 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> |
93 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····std::enable_if_t<·models<Concept::HasIndexAccess,·Range,·Dune::index_constant<0>>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
94 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01627.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">···33</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01627.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">operator()</a>(<span·class="keyword">const</span>·Node&,·<span·class="keyword">const</span>·TreePath&·treePath,·Range&&·y)<span·class="keyword">·const</span></div> | ||
102 | <div·class="line"><a·id="l0003 | 95 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">··</span>{</div> |
96 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00215.html#ga4cc6af2842348271c242c048e0411637">resolveStaticMultiIndex</a>(y,·treePath);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R=<span·class="keywordtype">double</span>></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">class·</span>LagrangePreBasis;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 97 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··}</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | 98 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
99 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
100 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····std::enable_if_t<not·models<Concept::HasIndexAccess,·Range,·Dune::index_constant<0>>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
101 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01627.html#a7122457e9d3aad7c63a2184012f26566">···40</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01627.html#a7122457e9d3aad7c63a2184012f26566">operator()</a>(<span·class="keyword">const</span>·Node&,·<span·class="keyword">const</span>·TreePath&,·Range&&·y)<span·class="keyword">·const</span></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k,·<span·class="keyword">typename</span>·R></div> | ||
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01671.html">···54</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01671.html">LagrangePreBasis</a></div> | ||
111 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>{</div> | ||
112 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
113 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·useDynamicOrder·=·(k<0);</div> | ||
114 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
115 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> | ||
116 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01671.html#aaa2add570edd22047fd5cfba570dd982">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01671.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>·=·GV;</div> | ||
118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·=·std::size_t;</div> | ||
120 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01671.html#a2762f1eade252d79b05070788f18012d">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01667.html">Node</a>·=·<a·class="code·hl_class"·href="a01667.html">LagrangeNode<GV,·k,·R></a>;</div> | ||
122 | <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"><a·class="line"·href="a01671.html#a04abff1d4b5ac732d83019938a019d2a">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·<a·class="code·hl_variable"·href="a01671.html#a04abff1d4b5ac732d83019938a019d2a">maxMultiIndexSize</a>·=·1;</div> | ||
124 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01671.html#af4e167602b8bc1cdccf0baea69572f60">···71</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·<a·class="code·hl_variable"·href="a01671.html#af4e167602b8bc1cdccf0baea69572f60">minMultiIndexSize</a>·=·1;</div> | ||
125 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01671.html#aa07a2111fb2151f10c128f6ebf746d81">···72</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>·<a·class="code·hl_variable"·href="a01671.html#aa07a2111fb2151f10c128f6ebf746d81">multiIndexBufferSize</a>·=·1;</div> | ||
126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
127 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01671.html#a982937b8e5348046761303330fc35d18">···75</a></span>··<a·class="code·hl_function"·href="a01671.html#a982937b8e5348046761303330fc35d18">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01671.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv)</div> | ||
128 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··:·<a·class="code·hl_class"·href="a01671.html">LagrangePreBasis</a>(gv,·std::numeric_limits<unsigned·int>::max())</div> | ||
129 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··{}</div> | ||
130 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | ||
131 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01671.html#a791cbc108e89b7effc1c668b800667bb">···80</a></span>··<a·class="code·hl_function"·href="a01671.html#a791cbc108e89b7effc1c668b800667bb">LagrangePreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01671.html#aaa2add570edd22047fd5cfba570dd982">GridView</a>&·gv,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01671.html#abbd87ea8be342b39e287babfec846db4">order</a>)·:</div> | ||
132 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a01671.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>(gv),·<a·class="code·hl_variable"·href="a01671.html#abefe712249711f9caee5f9b4ace8fb2a">order_</a>(<a·class="code·hl_function"·href="a01671.html#abbd87ea8be342b39e287babfec846db4">order</a>)</div> | ||
133 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div> | ||
134 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">if</span>·(!useDynamicOrder·&&·<a·class="code·hl_function"·href="a01671.html#abbd87ea8be342b39e287babfec846db4">order</a>!=std::numeric_limits<unsigned·int>::max())</div> | ||
135 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······DUNE_THROW(RangeError,·<span·class="stringliteral">"Template·argument·k·has·to·be·-1·when·supplying·a·run-time·order!"</span>);</div> | ||
136 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | ||
137 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i<=dim;·i++)</div> | ||
138 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····{</div> | ||
139 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<a·class="code·hl_variable"·href="a01671.html#abfa5632c391ed7160d081c63ab154377">dofsPerCube_</a>[i]·=·<a·class="code·hl_function"·href="a01671.html#a015986cee132f7ebd91ad8f3845a84be">computeDofsPerCube</a>(i);</div> | ||
140 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<a·class="code·hl_variable"·href="a01671.html#a39dcb5d78ac1216c75a75660e2d61849">dofsPerSimplex_</a>[i]·=·<a·class="code·hl_function"·href="a01671.html#a01edf36372c30d045823bb5a330526e6">computeDofsPerSimplex</a>(i);</div> | ||
141 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> | ||
142 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<a·class="code·hl_variable"·href="a01671.html#ade4d334b8ac70f9c18fc15a9eba04815">dofsPerPrism_</a>·=·<a·class="code·hl_function"·href="a01671.html#a0c0e8ce0766d2a59986cb5daebe86132">computeDofsPerPrism</a>();</div> | ||
143 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_variable"·href="a01671.html#a9212ce0f83e8642244e10d3cd3d596c6">dofsPerPyramid_</a>·=·<a·class="code·hl_function"·href="a01671.html#a76f8c4b5aa9e574556edd79f0b2812f1">computeDofsPerPyramid</a>();</div> | ||
144 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> | ||
145 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | ||
146 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01671.html#a7318cbabd5f57d0b6cbab1b2dc41fff8">···96</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01671.html#a7318cbabd5f57d0b6cbab1b2dc41fff8">initializeIndices</a>()</div> | ||
147 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div> | ||
148 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<a·class="code·hl_variable"·href="a01671.html#a5664ce9110b445d622298dc5263f33b2">vertexOffset_</a>········=·0;</div> | ||
149 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_variable"·href="a01671.html#a24780ed75bb6c40381f730e267f133f8">edgeOffset_</a>············=·<a·class="code·hl_variable"·href="a01671.html#a5664ce9110b445d622298dc5263f33b2">vertexOffset_</a>··········+·<a·class="code·hl_function"·href="a01671.html#ae51ebb4186d0677f3599176d23a42172">dofsPerCube</a>(0)·*·((<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>)<a·class="code·hl_variable"·href="a01671.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>.size(dim));</div> | ||
150 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | ||
151 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">if</span>·(dim>=2)</div> | ||
152 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····{</div> | ||
153 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<a·class="code·hl_variable"·href="a01671.html#ae6c85768fc1d8aa23f94a2708d8d3ee6">triangleOffset_</a>······=·<a·class="code·hl_variable"·href="a01671.html#a24780ed75bb6c40381f730e267f133f8">edgeOffset_</a>············+·<a·class="code·hl_function"·href="a01671.html#ae51ebb4186d0677f3599176d23a42172">dofsPerCube</a>(1)·*·((<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>)·<a·class="code·hl_variable"·href="a01671.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>.size(dim-1));</div> | ||
154 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | ||
155 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······<a·class="code·hl_variable"·href="a01671.html#aaa4552a25872774f6f07f4dd8336be69">quadrilateralOffset_</a>·=·<a·class="code·hl_variable"·href="a01671.html#ae6c85768fc1d8aa23f94a2708d8d3ee6">triangleOffset_</a>········+·<a·class="code·hl_function"·href="a01671.html#a5a34336b9868148ddade4d6b5fd044cf">dofsPerSimplex</a>(2)·*·((<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>)<a·class="code·hl_variable"·href="a01671.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>.size(Dune::GeometryTypes::triangle));</div> | ||
156 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····}</div> | ||
157 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
158 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">if</span>·(dim==3)·{</div> | ||
159 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······<a·class="code·hl_variable"·href="a01671.html#a6c7ee6cdf1c33779542802c064878f9d">tetrahedronOffset_</a>···=·<a·class="code·hl_variable"·href="a01671.html#aaa4552a25872774f6f07f4dd8336be69">quadrilateralOffset_</a>·+·<a·class="code·hl_function"·href="a01671.html#ae51ebb4186d0677f3599176d23a42172">dofsPerCube</a>(2)·*·((<a·class="code·hl_typedef"·href="a01671.html#a62ff21d04ec74a6f369d6ba2cab1155a">size_type</a>)<a·class="code·hl_variable"·href="a01671.html#ab8b9e944762fe3f68430e41d24fb540b">gridView_</a>.size(Dune::GeometryTypes::quadrilateral));</div> | ||
160 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | ||
Max diff block lines reached; 21834/127323 bytes (17.15%) of diff not shown. |
Offset 5, 744 lines modified | Offset 5, 77 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | hierarchicnodetorangemap.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | ·7#include·<utility> | ||
16 | · | 18 | ·8#include·<type_traits> |
19 | ·9 | ||
17 | · | 20 | ·10#include·<dune/common/concept.hh> |
21 | ·11 | ||
18 | ·8 | ||
19 | ·9#include·<dune/localfunctions/lagrange.hh> | ||
20 | ·10#include·<dune/localfunctions/lagrange/equidistantpoints.hh> | ||
21 | ·11#include·<dune/localfunctions/lagrange/pqkfactory.hh> | ||
22 | ·12 | ||
23 | ·1 | 22 | ·12#include·<dune/functions/functionspacebases/concepts.hh> |
23 | ·13#include·<dune/functions/common/indexaccess.hh> | ||
24 | ·14 | ||
24 | ·14#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
25 | ·15 | ||
26 | ·16 | ||
27 | ·1 | 25 | ·15namespace·Dune·{ |
28 | ·1 | 26 | ·16namespace·Functions·{ |
27 | ·17 | ||
28 | ·18 | ||
29 | ·19 | 29 | ·19 |
30 | 29struct·HierarchicNodeToRangeMap | ||
30 | ·20/ | ||
31 | /·***************************************************************************** | ||
32 | ·21//·This·is·the·reusable·part·of·the·LagrangeBasis.·It·contains | ||
33 | ·22// | ||
34 | ·23//·LagrangePreBasis | ||
35 | ·24//·LagrangeNode | ||
36 | ·25// | ||
37 | ·26//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
38 | shared | ||
39 | ·27//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
40 | view | ||
41 | ·28//·and·can·be·used·without·a·global·basis. | ||
42 | ·29/ | ||
43 | /·***************************************************************************** | ||
44 | ·30 | 31 | ·30{ |
45 | ·31template<typename·GV,·int·k,·typename·R=double> | ||
46 | ·32class·LagrangeNode; | ||
47 | ·33 | ||
48 | ·34template<typename·GV,·int·k,·typename·R=double> | ||
49 | ·3 | 32 | ·31·template<class·Node,·class·TreePath,·class·Range, |
33 | ·32·std::enable_if_t<·models<Concept::HasIndexAccess,·Range,·Dune:: | ||
34 | index_constant<0>>(),·int>·=·0> | ||
35 | 33·decltype(auto)·operator()(const·Node&,·const·TreePath&·treePath,·Range&&·y) | ||
36 | const | ||
37 | ·34·{ | ||
38 | ·35·return·resolveStaticMultiIndex(y,·treePath); | ||
50 | ·36 | 39 | ·36·} |
51 | ·37 | 40 | ·37 |
41 | ·38·template<class·Node,·class·TreePath,·class·Range, | ||
42 | ·39·std::enable_if_t<not·models<Concept::HasIndexAccess,·Range,·Dune:: | ||
43 | index_constant<0>>(),·int>·=·0> | ||
44 | 40·decltype(auto)·operator()(const·Node&,·const·TreePath&,·Range&&·y)·const | ||
52 | ·38 | ||
53 | ·53template<typename·GV,·int·k,·typename·R> | ||
54 | 54class·LagrangePreBasis | ||
55 | ·55{ | ||
56 | ·56·static·const·int·dim·=·GV::dimension; | ||
57 | ·57·static·const·bool·useDynamicOrder·=·(k<0); | ||
58 | ·58 | ||
59 | ·59public: | ||
60 | ·60 | ||
61 | 62·using·GridView·=·GV; | ||
62 | ·63 | ||
63 | 65·using·size_type·=·std::size_t; | ||
64 | ·66 | ||
65 | 68·using·Node·=·LagrangeNode<GV,_k,_R>; | ||
66 | ·69 | ||
67 | 70·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
68 | 71·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
69 | 72·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
70 | ·73 | ||
71 | 75·LagrangePreBasis(const·GridView&·gv) | ||
72 | ·76·:·LagrangePreBasis(gv,·std::numeric_limits<unsigned·int>::max()) | ||
73 | ·77·{} | ||
74 | ·78 | ||
75 | 80·LagrangePreBasis(const·GridView&·gv,·unsigned·int·order)·: | ||
76 | ·81·gridView_(gv),·order_(order) | ||
77 | ·82·{ | ||
78 | ·83·if·(!useDynamicOrder·&&·order!=std::numeric_limits<unsigned·int>::max()) | ||
79 | ·84·DUNE_THROW(RangeError,·"Template·argument·k·has·to·be·-1·when·supplying·a | ||
80 | run-time·order!"); | ||
81 | ·85 | ||
82 | ·86·for·(int·i=0;·i<=dim;·i++) | ||
83 | ·87·{ | ||
84 | ·88·dofsPerCube_[i]·=·computeDofsPerCube(i); | ||
85 | ·89·dofsPerSimplex_[i]·=·computeDofsPerSimplex(i); | ||
86 | ·90·} | ||
87 | ·91·dofsPerPrism_·=·computeDofsPerPrism(); | ||
88 | ·92·dofsPerPyramid_·=·computeDofsPerPyramid(); | ||
89 | ·93·} | ||
90 | ·94 | ||
91 | 96·void·initializeIndices() | ||
92 | ·97·{ | ||
93 | ·98·vertexOffset_·=·0; | ||
94 | ·99·edgeOffset_·=·vertexOffset_·+·dofsPerCube(0)·*·((size_type)gridView_.size | ||
95 | (dim)); | ||
96 | ·100 | ||
97 | ·101·if·(dim>=2) | ||
98 | ·102·{ | ||
99 | ·103·triangleOffset_·=·edgeOffset_·+·dofsPerCube(1)·*·((size_type) | ||
100 | gridView_.size(dim-1)); | ||
101 | ·104 | ||
102 | ·105·quadrilateralOffset_·=·triangleOffset_·+·dofsPerSimplex(2)·*·( | ||
103 | (size_type)gridView_.size(Dune::GeometryTypes::triangle)); | ||
104 | ·106·} | ||
105 | ·107 | ||
106 | ·108·if·(dim==3)·{ | ||
107 | ·109·tetrahedronOffset_·=·quadrilateralOffset_·+·dofsPerCube(2)·*·( | ||
108 | (size_type)gridView_.size(Dune::GeometryTypes::quadrilateral)); | ||
109 | ·110 | ||
Max diff block lines reached; 8474/26054 bytes (32.52%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·s | 8 | <title>dune-functions:·transformedindexbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 66, 39 lines modified | Offset 66, 70 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title">s | 73 | ··<div·class="headertitle"><div·class="title">transformedindexbasis.hh·File·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
77 | <code>#include·<utility></code><br·/> | ||
78 | <code>#include·<dune/common/std/apply.hh></code><br·/> | ||
79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
80 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
81 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
82 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
83 | <code>#include·<dune/typetree/utility.hh></code><br·/> | ||
84 | <code>#include·<<a·class="el"·href="a00050_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> | ||
85 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
86 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
87 | <code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
88 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
89 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
90 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
77 | </div> | 91 | </div> |
78 | <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p> | 92 | <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 93 | <table·class="memberdecls"> |
80 | <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> |
81 | Classes</h2></td></tr> | 95 | Classes</h2></td></tr> |
82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01827.html">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·></a></td></tr> |
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·pre-basis·transforming·multi-indices.··<a·href="a01827.html#details">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01831.html">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·minIS,·maxIS·></a></td></tr> | ||
83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A· | 100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<a·href="a01831.html#details">More...</a><br·/></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | </table><table·class="memberdecls"> | 102 | </table><table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 105 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 107 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00229"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00229.html">Dune::Functions::Experimental</a></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | <tr·class="memitem:a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | </table><table·class="memberdecls"> | 115 | </table><table·class="memberdecls"> |
93 | <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="func-members"·name="func-members"></a> |
94 | Functions</h2></td></tr> | 117 | Functions</h2></td></tr> |
95 | <tr·class="memitem:a | 118 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplParams"·colspan="2">template<class·RPB·,·class·T·>·</td></tr> |
96 | <tr·class="memitem:a | 119 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00229.html#a97702eea52e7ff7d9e66226034aee386">Dune::Functions::Experimental::Transformed[·...·truncated·by·diffoscope;·len:·139,·SHA:·01ad6fb103733dbdbdabc014672303357a90e511a819182bffbe1c26016a60c4·...·]</td></tr> |
120 | <tr·class="separator:a97702eea52e7ff7d9e66226034aee386"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisFactory·,·class·Transformation·>·</td></tr> | ||
122 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#a6b531a5d076e13881c59b75e505e808e">Dune::Functions::BasisFactory::Experimental::transformIndices</a>·(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation)</td></tr> | ||
123 | <tr·class="memdesc:a6b531a5d076e13881c59b75e505e808e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·TransformedIndexPreBasisFactory.··<a·href="a00227.html#a6b531a5d076e13881c59b75e505e808e">More...</a><br·/></td></tr> | ||
97 | <tr·class="separator:ab | 124 | <tr·class="separator:a6b531a5d076e13881c59b75e505e808e"><td·class="memSeparator"·colspan="2"> </td></tr> |
125 | <tr·class="memitem:af76509ea5d22293cf990c33c3306992f"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
126 | <tr·class="memitem:af76509ea5d22293cf990c33c3306992f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#af76509ea5d22293cf990c33c3306992f">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTransformation,·SizeImplementation·&&sizeImplementation,·Dune::index_constant<·minIndexSize·>,·Dune::index_constant<·maxIndexSize·>)</td></tr> | ||
127 | <tr·class="memdesc:af76509ea5d22293cf990c33c3306992f"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<a·href="a00227.html#af76509ea5d22293cf990c33c3306992f">More...</a><br·/></td></tr> | ||
128 | <tr·class="separator:af76509ea5d22293cf990c33c3306992f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | </table> | 129 | </table> |
99 | </div><!--·contents·--> | 130 | </div><!--·contents·--> |
100 | <!--·start·footer·part·--> | 131 | <!--·start·footer·part·--> |
101 | <hr·class="footer"/><address·class="footer"><small> | 132 | <hr·class="footer"/><address·class="footer"><small> |
102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 133 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
103 | </small></address> | 134 | </small></address> |
104 | </body> | 135 | </body> |
Offset 6, 26 lines modified | Offset 6, 65 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·functionspacebases | 9 | ····*·functionspacebases |
10 | Classes·|·Namespaces·|·Functions | 10 | Classes·|·Namespaces·|·Functions |
11 | sizeinfo.hh·File·Reference | ||
12 | 11 | transformedindexbasis.hh·File·Reference | |
12 | #include·<tuple> | ||
13 | #include·<utility> | ||
14 | #include·<dune/common/std/apply.hh> | ||
15 | #include·<dune/common/hybridutilities.hh> | ||
16 | #include·<dune/common/reservedvector.hh> | ||
17 | #include·<dune/common/typeutilities.hh> | ||
18 | #include·<dune/typetree/compositenode.hh> | ||
19 | #include·<dune/typetree/utility.hh> | ||
20 | #include·<dune/functions/common/staticforloop.hh> | ||
21 | #include·<dune/functions/common/type_traits.hh> | ||
22 | #include·<dune/functions/common/utility.hh> | ||
23 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
24 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
25 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
26 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 27 | Go_to_the_source_code_of_this_file. |
14 | ·Classes | 28 | ·Classes |
15 | class· Dune::Functions::SizeInfo<_B_> | ||
16 | 29 | class· Dune::Functions::Experimental::TransformedIndexPreBasis<_RPB,_T_> | |
30 | ······A·pre-basis·transforming·multi-indices.·More... | ||
31 | |||
32 | class· Dune::Functions::BasisFactory::Experimental:: | ||
33 | ········GenericIndexingTransformation<_IndexTransformation,_SizeImplementation, | ||
34 | ········minIS,_maxIS_> | ||
35 | ······A·generic·implementation·of·a·transformation.·More... | ||
17 | 36 | ||
18 | ·Namespaces | 37 | ·Namespaces |
19 | namespace· Dune | 38 | namespace· Dune |
20 | 39 | ||
21 | namespace· Dune::Functions | 40 | namespace· Dune::Functions |
22 | 41 | ||
42 | namespace· Dune::Functions::Experimental | ||
43 | |||
44 | namespace· Dune::Functions::BasisFactory | ||
45 | |||
46 | namespace· Dune::Functions::BasisFactory::Experimental | ||
47 | |||
23 | ·Functions | 48 | ·Functions |
24 | template<class·Bas | 49 | template<class·RPB·,·class·T·> |
25 | 50 | ···· Dune::Functions::Experimental::TransformedIndexPreBasis·(RPB·&&,·T·&&)·- | |
51 | ······>·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·> | ||
52 | |||
53 | template<class·RawPreBasisFactory·,·class·Transformation·> | ||
54 | auto Dune::Functions::BasisFactory::Experimental::transformIndices | ||
55 | ······(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation) | ||
56 | ····Create·a·TransformedIndexPreBasisFactory.·More... | ||
57 | |||
58 | template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_t | ||
59 | minIndexSize,·std::size_t·maxIndexSize> | ||
60 | auto Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
61 | ······(IndexTransformation·&&indexTransformation,·SizeImplementation | ||
62 | ······&&sizeImplementation,·Dune::index_constant<·minIndexSize·>,·Dune:: | ||
63 | ······index_constant<·maxIndexSize·>) | ||
64 | ····A·generic·implementation·of·a·transformation.·More... | ||
26 | 65 | ||
27 | =============================================================================== | 66 | =============================================================================== |
28 | ·····Generated·by [doxygen]·1.9.4 | 67 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·s | 8 | <title>dune-functions:·transformedindexbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 84 lines modified | Offset 62, 275 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title">s | 68 | ··<div·class="headertitle"><div·class="title">transformedindexbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00137.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00137.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<tuple></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class=" | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/std/apply.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
80 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/typetree/utility.hh></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | ||
83 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> | ||
84 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00050.html">dune/functions/common/staticforloop.hh</a>></span></div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/utility.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00092.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l0002 | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00229.html">···29</a></span><span·class="keyword">namespace·</span>Experimental·{</div> | ||
87 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">···27</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B;</div> | ||
88 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">···28</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·<span·class="keyword">typename</span>·Basis::size_type;</div> | ||
89 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">···29</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>·=·<span·class="keyword">typename</span>·Basis::SizePrefix;</div> | ||
90 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·*****************************************************************************</span></div> | ||
91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01799.html#ac3e18dc3b17c52eafe2e803562d72c5b">···34</a></span>····<a·class="code·hl_function"·href="a01799.html#ac3e18dc3b17c52eafe2e803562d72c5b">SizeInfo</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>&·basis)·:</div> | ||
92 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>(&basis)</div> | ||
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····{}</div> | ||
94 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
104 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RPB,·<span·class="keyword">class</span>·T></div> | ||
105 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01827.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01827.html">TransformedIndexPreBasis</a></div> | ||
95 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01799.html#a9c71fa33343b928c5b93e2c8dcb9595f">···41</a></span>····<a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·<a·class="code·hl_function"·href="a01799.html#a9c71fa33343b928c5b93e2c8dcb9595f">operator()</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
96 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">····</span>{</div> | ||
97 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>->size(prefix);</div> | ||
98 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> |
107 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">using·</span>Transformation·=·T;</div> | ||
99 | <div·class="line"><a·id="l000 | 108 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
109 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01827.html">This</a>·=·<a·class="code·hl_class"·href="a01827.html">TransformedIndexPreBasis<RPB,·T></a>;</div> | ||
100 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01799.html#a4f2343f16899076f68aa9dbeef992d80">···52</a></span>····<a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·<a·class="code·hl_function"·href="a01799.html#a4f2343f16899076f68aa9dbeef992d80">size</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#a36c68248ee3be872cf53a7c8915773f2">SizePrefix</a>&·prefix)<span·class="keyword">·const</span></div> | ||
101 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div> | ||
102 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>->size(prefix);</div> | ||
103 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div> | ||
104 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 110 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
105 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01799.html#a7a6245f9d3517156801ffdb27c2c879e">···57</a></span>····<span·class="keyword">operator</span>·<a·class="code·hl_typedef"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·()<span·class="keyword">·const</span></div> | ||
106 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> |
107 | <div·class="line"><a·id="l0005 | 112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01827.html#a64aa0bf3453d3f749622b7ea521715ae">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB;</div> | ||
108 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>· | 114 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·<span·class="keyword">typename</span>·RawPreBasis::GridView;</div> | ||
109 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
110 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">protected</span>:</div> | ||
111 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
117 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·=·std::size_t;</div> | ||
112 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">···64</a></span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>*·<a·class="code·hl_variable"·href="a01799.html#add41e7177edce69126ff66367bfef2fc">basis_</a>;</div> | ||
113 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>};</div> | ||
114 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 118 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
119 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01827.html#a3eec8056dfb98fa13397be1f6c3c5f61">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a3eec8056dfb98fa13397be1f6c3c5f61">Node</a>·=·<span·class="keyword">typename</span>·RawPreBasis::Node;</div> | ||
115 | <div·class="line"><a·id="l0006 | 120 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
121 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01827.html#a474968659bf3b30d623d6baceaceafac">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01827.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>·=·Transformation::maxIndexSize;</div> | ||
122 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01827.html#ae4b2655926fabb0a127584a701446958">···71</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01827.html#ae4b2655926fabb0a127584a701446958">minMultiIndexSize</a>·=·Transformation::minIndexSize;</div> | ||
123 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01827.html#aa46fd3cb45543bee69dfd60429254ba4">···72</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01827.html#aa46fd3cb45543bee69dfd60429254ba4">multiIndexBufferSize</a>·=·std::max(RawPreBasis::multiIndexBufferSize,·<a·class="code·hl_variable"·href="a01827.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>);</div> | ||
116 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Basis></div> | ||
117 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00219.html#abd7e25a89325dbe2232b17308dae45f2">···69</a></span><a·class="code·hl_class"·href="a01799.html">SizeInfo<Basis></a>·<a·class="code·hl_function"·href="a00219.html#abd7e25a89325dbe2232b17308dae45f2">sizeInfo</a>(<span·class="keyword">const</span>·Basis&·basis)</div> | ||
118 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>{</div> | ||
119 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01799.html">SizeInfo<Basis></a>(basis);</div> | ||
120 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>}</div> | ||
121 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 124 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
125 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RPB_R,·<span·class="keyword">class</span>·T_R></div> | ||
126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01827.html#a415716e3d0436f2e9c44992ee79f6133">···80</a></span>··<a·class="code·hl_function"·href="a01827.html#a415716e3d0436f2e9c44992ee79f6133">TransformedIndexPreBasis</a>(RPB_R&&·<a·class="code·hl_function"·href="a01827.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>,·T_R&&·transformation)·:</div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>(std::forward<RPB_R>(<a·class="code·hl_function"·href="a01827.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>)),</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<a·class="code·hl_variable"·href="a01827.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>(std::forward<T_R>(transformation))</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> | ||
122 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
131 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01827.html#a1392b84bf237ce8c8be2b2ec7b9869f2">···86</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01827.html#a1392b84bf237ce8c8be2b2ec7b9869f2">initializeIndices</a>()</div> | ||
132 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div> | ||
133 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.initializeIndices();</div> | ||
134 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> | ||
135 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
136 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01827.html#a594c7901fbeee33aed41098733345691">···92</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>&·<a·class="code·hl_function"·href="a01827.html#a594c7901fbeee33aed41098733345691">gridView</a>()<span·class="keyword">·const</span></div> | ||
137 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">··</span>{</div> | ||
138 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.gridView();</div> | ||
139 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··}</div> | ||
140 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
141 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01827.html#a573a82c3462477edff6bdcfab358894e">···98</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01827.html#a573a82c3462477edff6bdcfab358894e">update</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>&·gv)</div> | ||
142 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div> | ||
143 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.update(gv);</div> | ||
144 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··}</div> | ||
145 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | ||
Max diff block lines reached; 16942/68268 bytes (24.82%) of diff not shown. |
Offset 5, 101 lines modified | Offset 5, 372 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | s | 9 | transformedindexbasis.hh |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·< | 16 | ·6#include·<tuple> |
17 | ·7#include·<utility> | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/std/apply.hh> | ||
20 | ·10#include·<dune/common/hybridutilities.hh> | ||
21 | ·11#include·<dune/common/reservedvector.hh> | ||
22 | ·12#include·<dune/common/typeutilities.hh> | ||
23 | ·13#include·<dune/common/hybridutilities.hh> | ||
24 | ·14 | ||
25 | ·15#include·<dune/typetree/compositenode.hh> | ||
26 | ·16#include·<dune/typetree/utility.hh> | ||
17 | ·7 | 27 | ·17 |
28 | ·18#include·<dune/functions/common/staticforloop.hh> | ||
29 | ·19#include·<dune/functions/common/type_traits.hh> | ||
30 | ·20#include·<dune/functions/common/utility.hh> | ||
31 | ·21#include·<dune/functions/functionspacebases/basistags.hh> | ||
32 | ·22#include·<dune/functions/functionspacebases/nodes.hh> | ||
33 | ·23#include·<dune/functions/functionspacebases/concepts.hh> | ||
34 | ·24#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
35 | ·25 | ||
36 | ·26 | ||
18 | · | 37 | ·27namespace·Dune·{ |
19 | · | 38 | ·28namespace·Functions·{ |
39 | 29namespace·Experimental·{ | ||
20 | ·10 | ||
21 | ·11 | ||
22 | ·12 | ||
23 | ·23template<class·B> | ||
24 | 24class·SizeInfo | ||
25 | ·25{ | ||
26 | ·26public: | ||
27 | 27·using·Basis·=·B; | ||
28 | 28·using·size_type·=·typename·Basis::size_type; | ||
29 | 29·using·SizePrefix·=·typename·Basis::SizePrefix; | ||
30 | ·30 | 40 | ·30 |
41 | ·31/ | ||
42 | /·***************************************************************************** | ||
43 | ·32/ | ||
44 | /·***************************************************************************** | ||
45 | ·33 | ||
46 | ·50template<class·RPB,·class·T> | ||
47 | 51class·TransformedIndexPreBasis | ||
48 | ·52{ | ||
49 | ·53·using·Transformation·=·T; | ||
50 | ·54 | ||
51 | ·55·using·This·=·TransformedIndexPreBasis<RPB,_T>; | ||
31 | 34·SizeInfo(const·Basis&·basis)·: | ||
32 | ·35·basis_(&basis) | ||
33 | ·36·{} | ||
34 | ·37 | ||
35 | 41·size_type·operator()(const·SizePrefix&·prefix)·const | ||
36 | ·42·{ | ||
37 | ·43·return·basis_->size(prefix); | ||
38 | ·44·} | ||
39 | ·45 | ||
40 | 52·size_type·size(const·SizePrefix&·prefix)·const | ||
41 | ·53·{ | ||
42 | ·54·return·basis_->size(prefix); | ||
43 | ·55·} | ||
44 | ·56 | 52 | ·56 |
45 | 57 | 53 | ·57public: |
46 | ·58 | 54 | ·58 |
47 | 55 | 59·using·RawPreBasis·=·RPB; | |
48 | ·60 | 56 | ·60 |
57 | 62·using·GridView·=·typename·RawPreBasis::GridView; | ||
49 | ·61 | ||
50 | ·62protected: | ||
51 | ·63 | 58 | ·63 |
59 | 65·using·size_type·=·std::size_t; | ||
52 | 64·const·Basis*·basis_; | ||
53 | ·65}; | ||
54 | ·66 | 60 | ·66 |
55 | ·67 | ||
56 | ·68template<class·Basis> | ||
57 | 69SizeInfo<Basis>·sizeInfo(const·Basis&·basis) | ||
58 | ·70{ | ||
59 | ·71·return·SizeInfo<Basis>(basis); | ||
60 | · | 61 | 68·using·Node·=·typename·RawPreBasis::Node; |
62 | ·69 | ||
63 | 70·static·constexpr·size_type·maxMultiIndexSize·=·Transformation::maxIndexSize; | ||
64 | 71·static·constexpr·size_type·minMultiIndexSize·=·Transformation::minIndexSize; | ||
65 | 72·static·constexpr·size_type·multiIndexBufferSize·=·std::max(RawPreBasis:: | ||
66 | multiIndexBufferSize,·maxMultiIndexSize); | ||
61 | ·73 | 67 | ·73 |
62 | ·7 | 68 | ·79·template<class·RPB_R,·class·T_R> |
69 | 80·TransformedIndexPreBasis(RPB_R&&·rawPreBasis,·T_R&&·transformation)·: | ||
70 | ·81·rawPreBasis_(std::forward<RPB_R>(rawPreBasis)), | ||
71 | ·82·transformation_(std::forward<T_R>(transformation)) | ||
72 | ·83·{} | ||
73 | ·84 | ||
74 | 86·void·initializeIndices() | ||
75 | ·87·{ | ||
76 | ·88·rawPreBasis_.initializeIndices(); | ||
77 | ·89·} | ||
78 | ·90 | ||
79 | 92·const·GridView&·gridView()·const | ||
80 | ·93·{ | ||
81 | ·94·return·rawPreBasis_.gridView(); | ||
82 | ·95·} | ||
83 | ·96 | ||
84 | 98·void·update(const·GridView&·gv) | ||
85 | ·99·{ | ||
86 | ·100·rawPreBasis_.update(gv); | ||
87 | ·101·} | ||
88 | ·102 | ||
89 | 113·Node·makeNode()·const | ||
90 | ·114·{ | ||
91 | ·115·return·rawPreBasis_.makeNode(); | ||
92 | ·116·} | ||
93 | ·117 | ||
94 | 119·size_type·size()·const | ||
95 | ·120·{ | ||
96 | ·121·return·size(Dune::ReservedVector<size_type,·multiIndexBufferSize>{}); | ||
Max diff block lines reached; 7283/15204 bytes (47.90%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·raviartthomasbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 48 lines modified | Offset 63, 70 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
71 | <a·href="#func-members">Functions</a>··</div> | 73 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">raviartthomasbasis.hh·File·Reference</div></div> |
73 | </div><!--header--> | 75 | </div><!--header--> |
74 | <div·class="contents"> | 76 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<array></code><br·/> | 77 | <div·class="textblock"><code>#include·<array></code><br·/> |
76 | <code>#include·<dune/common/ | 78 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
77 | <code>#include·<dune/common/ | 79 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> |
78 | <code>#include·<dune/common/ | 80 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> |
81 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/raviartthomas.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></code><br·/> | ||
84 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></code><br·/> | ||
85 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></code><br·/> | ||
86 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></code><br·/> | ||
87 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></code><br·/> | ||
88 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></code><br·/> | ||
89 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></code><br·/> | ||
90 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a0 | 92 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
93 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
80 | </div> | 94 | </div> |
81 | <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p> | 95 | <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p> |
82 | <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· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01795.html">Dune::Functions::RaviartThomasPreBasis<·GV,·k·></a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01791.html">Dune::Functions::RaviartThomasNode<·GV,·k·></a></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | </table><table·class="memberdecls"> | ||
83 | <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> |
84 | Namespaces</h2></td></tr> | 105 | Namespaces</h2></td></tr> |
85 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 106 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 108 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
116 | <tr·class="memitem:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a79a7c0c6e2a4ba12c82164fcbbae6c63">Dune::Functions::RaviartThomasBasis</a>·=·DefaultGlobalBasis<·RaviartThomasPreBasis<·GV,·k·>·></td></tr> | ||
117 | <tr·class="memdesc:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.··<a·href="a00219.html#a79a7c0c6e2a4ba12c82164fcbbae6c63">More...</a><br·/></td></tr> | ||
118 | <tr·class="separator:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
89 | </table><table·class="memberdecls"> | 119 | </table><table·class="memberdecls"> |
90 | <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> |
91 | Functions</h2></td></tr> | 121 | Functions</h2></td></tr> |
92 | <tr·class="memitem:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
93 | <tr·class="memitem:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad98b265d97ebd619e7732df6a8d1f7da">Dune::Functions::flatVectorView</a>·(T·&t)</td></tr> | ||
94 | <tr·class="memdesc:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·flat·vector·view·of·passed·mutable·container.··<a·href="a00219.html#ad98b265d97ebd619e7732df6a8d1f7da">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:ad98b265d97ebd619e7732df6a8d1f7da"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:ac | 122 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> |
97 | <tr·class="memitem:ac37c350bd2f6cb4fea793ac4f665c0fe"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ac37c350bd2f6cb4fea793ac4f665c0fe">Dune::Functions::flatVectorView</a>·(const·T·&t)</td></tr> | ||
98 | <tr·class="mem | 123 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gac7c656af99728aa385381f5d78ae0b98">Dune::Functions::BasisFactory:[·...·truncated·by·diffoscope;·len:·21,·SHA:·ebe7d56aad0f0b40bb9ecc6b48a96cfc1081b10c95ad174bbc577bac7afd9596·...·]</td></tr> |
124 | <tr·class="memdesc:gac7c656af99728aa385381f5d78ae0b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis.··<a·href="a00213.html#gac7c656af99728aa385381f5d78ae0b98">More...</a><br·/></td></tr> | ||
99 | <tr·class="separator:ac | 125 | <tr·class="separator:gac7c656af99728aa385381f5d78ae0b98"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a4fac6802f21000f59e52aade3cd47b08"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
101 | <tr·class="memitem:a4fac6802f21000f59e52aade3cd47b08"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a4fac6802f21000f59e52aade3cd47b08">Dune::Functions::flatVectorView</a>·(T·&&t)</td></tr> | ||
102 | <tr·class="memdesc:a4fac6802f21000f59e52aade3cd47b08"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·flat·vector·view·of·passed·container·temporary.··<a·href="a00219.html#a4fac6802f21000f59e52aade3cd47b08">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:a4fac6802f21000f59e52aade3cd47b08"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table> | 126 | </table> |
105 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
106 | <!--·start·footer·part·--> | 128 | <!--·start·footer·part·--> |
107 | <hr·class="footer"/><address·class="footer"><small> | 129 | <hr·class="footer"/><address·class="footer"><small> |
108 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
109 | </small></address> | 131 | </small></address> |
110 | </body> | 132 | </body> |
Offset 5, 36 lines modified | Offset 5, 54 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Namespaces·|·Functions | ||
10 | 9 | Classes·|·Namespaces·|·Typedefs·|·Functions | |
10 | raviartthomasbasis.hh·File·Reference | ||
11 | #include·<array> | 11 | #include·<array> |
12 | #include·<dune/common/ | 12 | #include·<dune/common/exceptions.hh> |
13 | #include·<dune/common/ | 13 | #include·<dune/grid/common/capabilities.hh> |
14 | #include·<dune/common/ | 14 | #include·<dune/grid/common/mcmgmapper.hh> |
15 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
16 | #include·<dune/localfunctions/raviartthomas.hh> | ||
17 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
18 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
19 | #include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
20 | #include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
21 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
22 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
23 | #include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
24 | #include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
25 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
15 | #include·<dune/functions/functionspacebases/ | 26 | #include·<dune/functions/functionspacebases/nodes.hh> |
27 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
16 | Go_to_the_source_code_of_this_file. | 28 | Go_to_the_source_code_of_this_file. |
29 | ·Classes | ||
30 | class· Dune::Functions::RaviartThomasPreBasis<_GV,_k_> | ||
31 | |||
32 | class· Dune::Functions::RaviartThomasNode<_GV,_k_> | ||
33 | |||
17 | ·Namespaces | 34 | ·Namespaces |
18 | namespace· Dune | 35 | namespace· Dune |
19 | 36 | ||
20 | namespace· Dune::Functions | 37 | namespace· Dune::Functions |
21 | 38 | ||
39 | namespace· Dune::Functions::BasisFactory | ||
40 | |||
41 | ·Typedefs | ||
42 | template<typename·GV·,·int·k> | ||
43 | using Dune::Functions::RaviartThomasBasis·=·DefaultGlobalBasis< | ||
44 | ·······RaviartThomasPreBasis<·GV,·k·>·> | ||
45 | ·····Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.·More... | ||
46 | |||
22 | ·Functions | 47 | ·Functions |
48 | template<std::size_t·k> | ||
49 | auto Dune::Functions::BasisFactory::raviartThomas·() | ||
50 | ····Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis. | ||
51 | ······More... | ||
23 | template<class·T·> | ||
24 | auto Dune::Functions::flatVectorView·(T·&t) | ||
25 | ····Create·flat·vector·view·of·passed·mutable·container.·More... | ||
26 | |||
27 | template<class·T·> | ||
28 | auto Dune::Functions::flatVectorView·(const·T·&t) | ||
29 | ····Create·flat·vector·view·of·passed·const·container.·More... | ||
30 | |||
31 | template<class·T·> | ||
32 | auto Dune::Functions::flatVectorView·(T·&&t) | ||
33 | ····Create·flat·vector·view·of·passed·container·temporary.·More... | ||
34 | 52 | ||
35 | =============================================================================== | 53 | =============================================================================== |
36 | ·····Generated·by [doxygen]·1.9.4 | 54 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·raviartthomasbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 209 lines modified | Offset 62, 445 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">raviartthomasbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00140.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00140.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
77 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/c | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
82 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·< | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas.hh></span></div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
91 | <div·class="line"><a·id="l000 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">struct·</span>FlatVectorBackend</div> | ||
95 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00155.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,·<span·class="keyword">class·</span>Index,</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">typename</span>·std::enable_if<·models<Concept::HasIndexAccess,·VV,·Index>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
99 | <div·class="line"><a·id="l0002 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</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>Impl·{</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo</div> | ||
100 | <div·class="line"><a·id="l0003 | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
101 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</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="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,·<span·class="keyword">class·</span>Index,</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">typename</span>·std::enable_if<·not·models<Concept::HasIndexAccess,·VV,·Index>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">static</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·getEntry(VV&&·v,·<span·class="keyword">const</span>·Index&)</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·· | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div> |
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
108 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,0></div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">using·</span>FiniteElement·=·RT02DLocalFiniteElement<D,R>;</div> | ||
109 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··};</div> |
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">typename</span>·std::enable_if<·models<Concept::HasSizeMethod,·VV>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">static</span>·<span·class="keyword">auto</span>·size(VV&&·v)</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>· | 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keywordflow">return</span>·Dune::Hybrid::size(v);</div> | ||
116 | <div·class="line"><a·id="l0004 | 115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,1></div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</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>····<span·class="keyword">using·</span>FiniteElement·=·RT12DLocalFiniteElement<D,R>;</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··};</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>VV,</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">typename</span>·std::enable_if<·not·models<Concept::HasSizeMethod,·VV>(),·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">static</span>·<span·class="keyword">auto</span>·size(VV&&)</div> | ||
121 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·· | 122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<3,D,R,0></div> |
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·· | 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> | 124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">using·</span>FiniteElement·=·RT03DLocalFiniteElement<D,R>;</div> |
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··};</div> |
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo</div> | ||
127 | <div·class="line"><a·id="l0005 | 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··{</div> |
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n,·<span·class="keywordtype">int</span>·m></div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">struct·</span>FlatVectorBackend<typename·<a·class="code·hl_namespace"·href="a00218.html">Dune</a>::FieldMatrix<K,·n,·m>·></div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>{</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··};</div> |
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
133 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> |
134 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,0></div> |
135 | <div·class="line"><a·id="l0006 | 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> |
136 | <div·class="line"><a·id="l0006 | 137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">using·</span>FiniteElement·=·RT0Cube2DLocalFiniteElement<D,R>;</div> |
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··};</div> |
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·VV></div> | ||
140 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
Max diff block lines reached; 85815/109245 bytes (78.55%) of diff not shown. |
Offset 5, 212 lines modified | Offset 5, 566 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | raviartthomasbasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RAVIARTTHOMASBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | ||
17 | · | 16 | ·6#include·<array> |
17 | ·7#include·<dune/common/exceptions.hh> | ||
18 | ·8 | 18 | ·8 |
19 | ·9#include·<dune/common/concept.hh> | ||
20 | · | 19 | ·9#include·<dune/grid/common/capabilities.hh> |
21 | ·1 | 20 | ·10#include·<dune/grid/common/mcmgmapper.hh> |
22 | ·12 | ||
23 | ·13#include·<dune/functions/functionspacebases/concepts.hh> | ||
24 | ·14 | ||
25 | ·15 | ||
26 | ·16 | ||
27 | ·17 | ||
28 | ·18namespace·Dune·{ | ||
29 | ·19namespace·Functions·{ | ||
30 | ·20namespace·Impl·{ | ||
31 | · | 21 | ·11 |
22 | ·12#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
23 | ·13#include·<dune/localfunctions/raviartthomas.hh> | ||
24 | ·14#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
25 | ·15#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
26 | ·16#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
27 | ·17#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
28 | ·18#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
29 | ·19#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
30 | ·20#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
31 | ·21#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
32 | ·22 | 32 | ·22 |
33 | ·23template<class·V> | ||
34 | ·24struct·FlatVectorBackend | ||
35 | ·2 | 33 | ·23#include·<dune/functions/functionspacebases/ |
34 | globalvaluedlocalfiniteelement.hh> | ||
35 | ·24#include·<dune/functions/functionspacebases/nodes.hh> | ||
36 | ·25#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
36 | ·26 | 37 | ·26 |
37 | ·27·template<class·VV,·class·Index, | ||
38 | ·28·typename·std::enable_if<·models<Concept::HasIndexAccess,·VV,·Index>(), | ||
39 | int>::type·=·0> | ||
40 | ·2 | 38 | ·27namespace·Dune·{ |
39 | ·28namespace·Functions·{ | ||
40 | ·29 | ||
41 | ·30namespace·Impl·{ | ||
42 | ·31 | ||
43 | ·32·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
44 | ·33·struct·RaviartThomasSimplexLocalInfo | ||
41 | ·3 | 45 | ·34·{ |
46 | ·35·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
47 | ·36·using·FiniteElement·=·void*; | ||
48 | ·37·}; | ||
49 | ·38 | ||
50 | ·39·template<typename·D,·typename·R> | ||
51 | ·40·struct·RaviartThomasSimplexLocalInfo<2,D,R,0> | ||
42 | ·31·return·v[i]; | ||
43 | ·32·} | ||
44 | ·33 | ||
45 | ·34·template<class·VV,·class·Index, | ||
46 | ·35·typename·std::enable_if<·not·models<Concept::HasIndexAccess,·VV,·Index>(), | ||
47 | int>::type·=·0> | ||
48 | ·36·static·decltype(auto)·getEntry(VV&&·v,·const·Index&) | ||
49 | ·37·{ | ||
50 | ·38·return·std::forward<VV>(v); | ||
51 | ·39·} | ||
52 | ·40 | ||
53 | ·41·template<class·VV, | ||
54 | ·42·typename·std::enable_if<·models<Concept::HasSizeMethod,·VV>(),·int>::type·= | ||
55 | 0> | ||
56 | ·43·static·auto·size(VV&&·v) | ||
57 | ·4 | 52 | ·41·{ |
58 | ·45·return·Dune::Hybrid::size(v); | ||
59 | ·4 | 53 | ·42·using·FiniteElement·=·RT02DLocalFiniteElement<D,R>; |
54 | ·43·}; | ||
55 | ·44 | ||
56 | ·45·template<typename·D,·typename·R> | ||
57 | ·46·struct·RaviartThomasSimplexLocalInfo<2,D,R,1> | ||
60 | ·47 | 58 | ·47·{ |
61 | ·48·template<class·VV, | ||
62 | ·49·typename·std::enable_if<·not·models<Concept::HasSizeMethod,·VV>(),·int>:: | ||
63 | type·=·0> | ||
64 | · | 59 | ·48·using·FiniteElement·=·RT12DLocalFiniteElement<D,R>; |
60 | ·49·}; | ||
61 | ·50 | ||
62 | ·51·template<typename·D,·typename·R> | ||
63 | ·52·struct·RaviartThomasSimplexLocalInfo<3,D,R,0> | ||
65 | ·5 | 64 | ·53·{ |
65 | ·54·using·FiniteElement·=·RT03DLocalFiniteElement<D,R>; | ||
66 | ·55·}; | ||
66 | ·52·return·Dune::index_constant<1>{}; | ||
67 | ·53·} | ||
68 | ·54}; | ||
69 | ·55 | ||
70 | ·56 | 67 | ·56 |
68 | ·57·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
69 | ·58·struct·RaviartThomasCubeLocalInfo | ||
71 | ·57 | ||
72 | ·58 | ||
73 | ·59template<class·K,·int·n,·int·m> | ||
74 | ·60struct·FlatVectorBackend<typename·Dune::FieldMatrix<K,·n,·m>·> | ||
75 | ·61{ | ||
76 | ·62 | ||
77 | ·63·template<class·VV,·class·Index> | ||
78 | ·64·static·decltype(auto)·getEntry(VV&&·v,·const·Index&·i) | ||
79 | · | 70 | ·59·{ |
80 | ·66·return·v[i/m][i%m]; | ||
81 | ·67·} | ||
82 | ·68 | ||
83 | ·69·template<class·VV> | ||
84 | · | 71 | ·60·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to |
72 | ·61·using·FiniteElement·=·void*; | ||
73 | ·62·}; | ||
74 | ·63 | ||
75 | ·64·template<typename·D,·typename·R> | ||
76 | ·65·struct·RaviartThomasCubeLocalInfo<2,D,R,0> | ||
77 | ·66·{ | ||
Max diff block lines reached; 18652/23272 bytes (80.15%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultlocalview.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 64, 61 lines modified | Offset 64, 41 lines modified | ||
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>· | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
73 | <a·href="#func-members">Functions</a>··</div> | ||
74 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">defaultlocalview.hh·File·Reference</div></div> |
75 | </div><!--header--> | 73 | </div><!--header--> |
76 | <div·class="contents"> | 74 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<tuple></code><br·/> |
76 | <code>#include·<optional></code><br·/> | ||
78 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/concept.hh></code><br·/> |
79 | <code>#include·<dune/ | 78 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> |
80 | <code>#include·<dune/ | 79 | <code>#include·<dune/common/reservedvector.hh></code><br·/> |
80 | <code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/common/overflowarray.hh</a>></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/nedelec.hh></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00 | 81 | <code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/multiindex.hh</a>></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
85 | <code>#include·<<a·class="el"·href="a0 | 82 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
86 | </div> | 83 | </div> |
87 | <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> |
88 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
89 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
90 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01559.html">Dune::Functions::DefaultLocalView<·GB·></a></td></tr> |
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">The·restriction·of·a·finite·element·basis·to·a·single·element.··<a·href="a01559.html#details">More...</a><br·/></td></tr> | ||
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
97 | Namespaces</h2></td></tr> | 93 | Namespaces</h2></td></tr> |
98 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 94 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 96 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
106 | Typedefs</h2></td></tr> | ||
107 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> | ||
108 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a744da0623cd512fc478d47bd2f7908eb">Dune::Functions::NedelecBasis</a>·=·DefaultGlobalBasis<·NedelecPreBasis<·GV,·Range,·kind,·order·>·></td></tr> | ||
109 | <tr·class="memdesc:a744da0623cd512fc478d47bd2f7908eb"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Nédélec·finite·element·space.··<a·href="a00219.html#a744da0623cd512fc478d47bd2f7908eb">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:a744da0623cd512fc478d47bd2f7908eb"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | </table><table·class="memberdecls"> | ||
112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
113 | Functions</h2></td></tr> | ||
114 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"><td·class="memTemplParams"·colspan="2">template<std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> | ||
115 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gafe0fe439067c288f197101b8686223e8">Dune::Functions::BasisFactory::nedelec</a>·()</td></tr> | ||
116 | <tr·class="memdesc:gafe0fe439067c288f197101b8686223e8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Nédélec·pre-basis.··<a·href="a00213.html#gafe0fe439067c288f197101b8686223e8">More...</a><br·/></td></tr> | ||
117 | <tr·class="separator:gafe0fe439067c288f197101b8686223e8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 98 | </table> |
119 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
120 | <!--·start·footer·part·--> | 100 | <!--·start·footer·part·--> |
121 | <hr·class="footer"/><address·class="footer"><small> | 101 | <hr·class="footer"/><address·class="footer"><small> |
122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
123 | </small></address> | 103 | </small></address> |
124 | </body> | 104 | </body> |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | us-ascii |
Offset 5, 46 lines modified | Offset 5, 30 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
10 | nedelecbasis.hh·File·Reference | ||
11 | 9 | Classes·|·Namespaces | |
10 | defaultlocalview.hh·File·Reference | ||
11 | #include·<tuple> | ||
12 | #include·<optional> | ||
12 | #include·<dune/common/ | 13 | #include·<dune/common/concept.hh> |
13 | #include·<dune/ | 14 | #include·<dune/common/hybridutilities.hh> |
15 | #include·<dune/common/reservedvector.hh> | ||
16 | #include·<dune/functions/common/overflowarray.hh> | ||
17 | #include·<dune/functions/common/multiindex.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
16 | #include·<dune/localfunctions/nedelec.hh> | ||
17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
18 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
19 | #include·<dune/functions/functionspacebases/ | 18 | #include·<dune/functions/functionspacebases/concepts.hh> |
20 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | 20 | ·Classes |
21 | class· Dune::Functions::DefaultLocalView<_GB_> | ||
22 | ······The·restriction·of·a·finite·element·basis·to·a·single·element.·More... | ||
22 | class· Dune::Functions::NedelecPreBasis<_GV,_Range,_kind,_order_> | ||
23 | |||
24 | class· Dune::Functions::NedelecNode<_GV,_Range,_kind,_order_> | ||
25 | 23 | ||
26 | ·Namespaces | 24 | ·Namespaces |
27 | namespace· Dune | 25 | namespace· Dune |
28 | 26 | ||
29 | namespace· Dune::Functions | 27 | namespace· Dune::Functions |
30 | 28 | ||
31 | namespace· Dune::Functions::BasisFactory | ||
32 | |||
33 | ·Typedefs | ||
34 | template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range·= | ||
35 | double> | ||
36 | using Dune::Functions::NedelecBasis·=·DefaultGlobalBasis<·NedelecPreBasis<·GV, | ||
37 | ·······Range,·kind,·order·>·> | ||
38 | ·····Basis·of·a·k-th-order·Nédélec·finite·element·space.·More... | ||
39 | |||
40 | ·Functions | ||
41 | template<std::size_t·kind,·std::size_t·order,·typename·Range·=·double> | ||
42 | auto Dune::Functions::BasisFactory::nedelec·() | ||
43 | ····Create·a·pre-basis·factory·that·can·create·a·Nédélec·pre-basis.·More... | ||
44 | |||
45 | =============================================================================== | 29 | =============================================================================== |
46 | ·····Generated·by [doxygen]·1.9.4 | 30 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultlocalview.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 381 lines modified | Offset 62, 190 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">defaultlocalview.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00143.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00143.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<tuple></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<optional></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/ | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00065.html">dune/functions/common/overflowarray.hh</a>></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00056.html">dune/functions/common/multiindex.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> | ||
91 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
92 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span> | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·order></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">class·</span>Nedelec1stKindLocalFiniteElementMap</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>D·=·<span·class="keyword">typename</span>·GV::ctype;</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·hasFixedElementType·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::v;</div> | ||
99 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">using·</span>CubeFiniteElement····=·Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>;</div> | ||
101 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GB></div> |
96 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01559.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01559.html">DefaultLocalView</a></div> | ||
97 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
98 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">public</span>:</div> | ||
102 | <div·class="line"><a·id="l0003 | 99 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
103 | <div·class="line"><a·id="l0003 | 100 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01559.html#a9523d45b214ee146d2135416d01aceda">···32</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis<[·...·truncated·by·diffoscope;·len:·9,·SHA:·e2831f55936820083d938a1d417851f4250e502f96c16b8ba5eb694f28c5d739·...·]</div> |
104 | <div·class="line"><a·id="l0003 | 101 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span> | 102 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01559.html#a29917f5ca32a2b2df56b1ae72c2a25ca">···35</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#a29917f5ca32a2b2df56b1ae72c2a25ca">GridView</a>·=·<span·class="keyword">typename</span>·G[·...·truncated·by·diffoscope;·len:·20,·SHA:·1618d2ef9247cfc1a838ee31b4ae108cb58b8a0877ed5775230159ff3ad5651b·...·];</div> |
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
104 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01559.html#a5ff210d62e5d3e52189808a8881f1911">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#a5ff210d62e5d3e52189808a8881f1911">Element</a>·=·<span·class="keyword">typename</span>·GridView::template·Codim<0>::Entity;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>··topologyId·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::topologyId;··<span·class="comment">//·meaningless·if·hasFixedElementType·is·false</span></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·GeometryType·type·=·GeometryType(topologyId,·GV::dimension);</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 105 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
106 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01559.html#ab1f301991c77e4923149d845044001bf">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#ab1f301991c77e4923149d845044001bf">size_type</a>·=·std::size_t;</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>FiniteElement·=·std::conditional_t<hasFixedElementType,</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···········································std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>,</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···········································LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>;</div> | ||
113 | <div·class="line"><a·id="l0004 | 107 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span> | 108 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01559.html#adeb4377aeb75298c38c5516719ab5e09">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#adeb4377aeb75298c38c5516719ab5e09">Tree</a>·=·<span·class="keyword">typename</span>·Globa[·...·truncated·by·diffoscope;·len:·23,·SHA:·250ed308b2974a21fcf4b6d108eea8cf90bdd3e7043c9f7109c777e0cf2cf9b6·...·]</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>· | 109 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
110 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">protected</span>:</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(order!=1)··<span·class="comment">//·I·am·not·sure·whether·the·formula·below·is·correct·for·all·orders.</span></div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········DUNE_THROW(NotImplemented,·<span·class="stringliteral">"Only·Nedelec·elements·of·order·1·are·implemented!"</span>);</div> | ||
118 | <div·class="line"><a·id="l0004 | 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"><a·class="line"·href="a01559.html#a0fcc00c7b8afe993e08c9fbf9bb9efff">···48</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#a0fcc00c7b8afe993e08c9fbf9bb9efff">PreBasis</a>·=·<span·class="keyword">typename</span>·GlobalBasis::PreBasis;</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">auto</span>·numEdges·=·referenceElement<D,dim>(type).size(dim-1);</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00213.html#ga0d8eb549af76bc2563ab189e63668ee5">power</a>(2,numEdges);</div> | ||
121 | <div·class="line"><a·id="l000 | 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="comment">//·Type·used·to·store·the·multi·indices·of·the·basis·vectors.</span></div> | ||
115 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·In·contrast·to·MultiIndex·this·always·has·dynamic·size.</span></div> | ||
116 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex</span></div> | ||
117 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01559.html#acc3dcfbb6962f1023cc1113b07b76102">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#acc3dcfbb6962f1023cc1113b07b76102">MultiIndexStorage</a>·=</div> | ||
118 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
119 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a01275.html">OverflowArray</a><<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,·PreBasis::multiIndexBufferSize>,</div> | ||
120 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>;</div> | ||
122 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····Nedelec1stKindLocalFiniteElementMap(<span·class="keyword">const</span>·GV&·gv)</div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······:·elementMapper_(gv,·mcmgElementLayout()),</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········orientation_(gv.size(0))</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> | ||
127 | <div·class="line"><a·id="l0005 | 122 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">public</span>:</div> |
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(hasFixedElementType)</div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>· | 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"><a·class="line"·href="a01559.html#acffe4cd37e8a7720e1a3eced31570c5a">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01559.html#acffe4cd37e8a7720e1a3eced31570c5a">MultiIndex</a>·=</div> | ||
125 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis::maxMultiIndexSize),</div> | ||
126 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<a·class="code·hl_class"·href="a01263.html">StaticMultiIndex<size_type,·PreBasis::maxMultiIndexSize></a>,</div> | ||
127 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>;</div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········variants_.resize(numVariants(type));</div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(type);·i++)</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········variants_[i]·=·FiniteElement(i);</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="keywordflow">else</span></div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>· | 128 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="comment">//·for·mixed·grids·add·offset·for·cubes</span></div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········variants_.resize(numVariants(GeometryTypes::simplex(dim))·+·numVariants(GeometryTypes::cube(dim)));</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::simplex(dim));·i++)</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········variants_[i]·=·SimplexFiniteElement(i);</div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::cube(dim));·i++)</div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··········variants_[i·+·numVariants(GeometryTypes::simplex(dim))]·=·CubeFiniteElement(i);</div> | ||
142 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
130 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01559.html#ae47ddda96d907628497ded87d44f38d0">···68</a></span>··<a·class="code·hl_function"·href="a01559.html#ae47ddda96d907628497ded87d44f38d0">DefaultLocalView</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01559.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>&·<a·class="code·hl_function"·href="a01559.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>)·:</div> | ||
131 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<a·class="code·hl_variable"·href="a01559.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>(&<a·class="code·hl_function"·href="a01559.html#afa30602e3769204e2cfe86f3ffc90817">globalBasis</a>),</div> | ||
132 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_variable"·href="a01559.html#aa139b45a7e58c7183d2c38ad71ef4bd3">tree_</a>(<a·class="code·hl_variable"·href="a01559.html#aeedcb16a681bc1d7721351bd7125a951">globalBasis_</a>->preBasis().makeNode())</div> | ||
Max diff block lines reached; 64626/109617 bytes (58.96%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | us-ascii |
Offset 5, 502 lines modified | Offset 5, 271 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | defaultlocalview.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTLOCALVIEW_HH |
15 | ·5 | 15 | ·5 |
16 | ·6 | 16 | ·6 |
17 | ·7#include·<tuple> | ||
18 | ·8#include·<optional> | ||
19 | ·9 | ||
17 | · | 20 | ·10#include·<dune/common/concept.hh> |
18 | ·8 | ||
19 | · | 21 | ·11#include·<dune/common/hybridutilities.hh> |
22 | ·12#include·<dune/common/reservedvector.hh> | ||
23 | ·13 | ||
24 | ·14#include·<dune/functions/common/overflowarray.hh> | ||
25 | ·15#include·<dune/functions/common/multiindex.hh> | ||
20 | ·10#include·<dune/grid/common/mcmgmapper.hh> | ||
21 | ·11 | ||
22 | ·12#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
23 | ·13#include·<dune/localfunctions/nedelec.hh> | ||
24 | ·14 | ||
25 | ·15#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
26 | ·16#include·<dune/functions/functionspacebases/ | ||
27 | globalvaluedlocalfiniteelement.hh> | ||
28 | ·1 | 26 | ·16#include·<dune/functions/functionspacebases/concepts.hh> |
27 | ·17 | ||
29 | ·18 | 28 | ·18 |
29 | ·19 | ||
30 | ·20namespace·Dune·{ | ||
30 | · | 31 | ·21namespace·Functions·{ |
32 | ·22 | ||
31 | ·20{ | ||
32 | ·21 | ||
33 | ·22namespace·Impl | ||
34 | ·23 | 33 | ·23 |
34 | ·24 | ||
35 | ·26template<class·GB> | ||
36 | 27class·DefaultLocalView | ||
37 | ·28{ | ||
35 | ·24·template<typename·GV,·int·dim,·typename·R,·std::size_t·order> | ||
36 | ·25·class·Nedelec1stKindLocalFiniteElementMap | ||
37 | ·26·{ | ||
38 | ·27·using·D·=·typename·GV::ctype; | ||
39 | ·28·constexpr·static·bool·hasFixedElementType·=·Capabilities:: | ||
40 | hasSingleGeometryType<typename·GV::Grid>::v; | ||
41 | ·29 | ||
42 | ·30·using·CubeFiniteElement·= | ||
43 | Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>; | ||
44 | ·31·using·SimplexFiniteElement·= | ||
45 | Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>; | ||
46 | ·32 | ||
47 | · | 38 | ·29public: |
48 | ·34 | ||
49 | ·35·using·T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim, | ||
50 | 39 | ·30 | |
40 | 32·using·GlobalBasis·=·GB; | ||
41 | ·33 | ||
42 | 35·using·GridView·=·typename·GlobalBasis::GridView; | ||
51 | ·36 | 43 | ·36 |
44 | 38·using·Element·=·typename·GridView::template·Codim<0>::Entity; | ||
52 | ·37·constexpr·static·unsigned·int·topologyId·=·Capabilities:: | ||
53 | hasSingleGeometryType<typename·GV::Grid>::topologyId;·//·meaningless·if | ||
54 | hasFixedElementType·is·false | ||
55 | ·38·constexpr·static·GeometryType·type·=·GeometryType(topologyId,·GV:: | ||
56 | dimension); | ||
57 | ·39 | 45 | ·39 |
46 | 41·using·size_type·=·std::size_t; | ||
47 | ·42 | ||
48 | 44·using·Tree·=·typename·GlobalBasis::PreBasis::Node; | ||
58 | ·40·using·FiniteElement·=·std::conditional_t<hasFixedElementType, | ||
59 | ·41·std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>, | ||
60 | ·42·LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>; | ||
61 | ·43 | ||
62 | ·44·static·std::size_t·numVariants(GeometryType·type) | ||
63 | ·45 | 49 | ·45 |
64 | ·46·if·(order!=1)·//·I·am·not·sure·whether·the·formula·below·is·correct·for·all | ||
65 | orders. | ||
66 | ·47·DUNE_THROW(NotImplemented,·"Only·Nedelec·elements·of·order·1·are | ||
67 | implemented!"); | ||
68 | ·48 | ||
69 | ·49·auto·numEdges·=·referenceElement<D,dim>(type).size(dim-1); | ||
70 | ·50·return·power(2,numEdges); | ||
71 | ·51·} | ||
72 | ·52 | ||
73 | ·53·Nedelec1stKindLocalFiniteElementMap(const·GV&·gv) | ||
74 | ·54·:·elementMapper_(gv,·mcmgElementLayout()), | ||
75 | ·55·orientation_(gv.size(0)) | ||
76 | ·56·{ | ||
77 | ·57·//·create·all·variants | ||
78 | · | 50 | ·46protected: |
51 | ·47 | ||
52 | 48·using·PreBasis·=·typename·GlobalBasis::PreBasis; | ||
53 | ·49 | ||
54 | ·50·//·Type·used·to·store·the·multi·indices·of·the·basis·vectors. | ||
55 | ·51·//·In·contrast·to·MultiIndex·this·always·has·dynamic·size. | ||
56 | ·52·//·It's·guaranteed,·that·you·can·always·cast·it·to·MultiIndex | ||
57 | 53·using·MultiIndexStorage·= | ||
58 | ·54·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
59 | maxMultiIndexSize), | ||
60 | ·55·OverflowArray<StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
61 | PreBasis::multiIndexBufferSize>, | ||
62 | ·56·Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>; | ||
63 | ·57 | ||
64 | ·58public: | ||
79 | ·59 | 65 | ·59 |
80 | ·60·variants_.resize(numVariants(type)); | ||
81 | ·61·for·(size_t·i·=·0;·i·<·numVariants(type);·i++) | ||
82 | ·62·variants_[i]·=·FiniteElement(i); | ||
83 | ·63·} | ||
84 | · | 66 | 61·using·MultiIndex·= |
67 | ·62·std::conditional_t<(PreBasis::minMultiIndexSize·==·PreBasis:: | ||
68 | maxMultiIndexSize), | ||
69 | ·63·StaticMultiIndex<size_type,_PreBasis::maxMultiIndexSize>, | ||
70 | ·64·Dune::ReservedVector<size_type,·PreBasis::multiIndexBufferSize>>; | ||
85 | ·65 | 71 | ·65 |
72 | ·66 | ||
73 | 68·DefaultLocalView(const·GlobalBasis&·globalBasis)·: | ||
74 | ·69·globalBasis_(&globalBasis), | ||
Max diff block lines reached; 17584/24328 bytes (72.28%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·lagrangedgbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 67, 62 lines modified | Offset 67, 56 lines modified | ||
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | 72 | <a·href="#typedef-members">Typedefs</a>·| |
73 | <a·href="#func-members">Functions</a>··</div> | 73 | <a·href="#func-members">Functions</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">lagrangedgbasis.hh·File·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·<array></code><br·/> | 77 | <div·class="textblock"><code>#include·<array></code><br·/> |
78 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 78 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
79 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
80 | <code>#include·<dune/localfunctions/common/virtualinterface.hh></code><br·/> | ||
81 | <code>#include·<dune/ | 79 | <code>#include·<dune/common/math.hh></code><br·/> |
82 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></code><br·/> | ||
84 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></code><br·/> | ||
85 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></code><br·/> | ||
86 | <code>#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></code><br·/> | ||
87 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
88 | <code>#include·<<a·class="el"·href="a0011 | 80 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
89 | <code>#include·<<a·class="el"·href="a001 | 81 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
82 | <code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code><br·/> | ||
90 | </div> | 83 | </div> |
91 | <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p> |
92 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
94 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01679.html">Dune::Functions::LagrangeDGPreBasis<·GV,·k·></a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
97 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01467.html">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·></a></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | </table><table·class="memberdecls"> | 90 | </table><table·class="memberdecls"> |
100 | <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> |
101 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
102 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 97 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 99 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | 100 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> |
110 | Typedefs</h2></td></tr> | 101 | Typedefs</h2></td></tr> |
111 | <tr·class="memitem:a | 102 | <tr·class="memitem:afa871daf79a93a0f0b19e6e480b41c95"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> |
103 | <tr·class="memitem:afa871daf79a93a0f0b19e6e480b41c95"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#afa871daf79a93a0f0b19e6e480b41c95">Dune::Functions::LagrangeDGNode</a>·=·LagrangeNode<·GV,·k·></td></tr> | ||
112 | <tr·class="memitem:a05987d1b6480619710c578ad80a243e5"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a05987d1b6480619710c578ad80a243e5">Dune::Functions::BrezziDouglasMariniBasis</a>·=·DefaultGlobalBasis<·BrezziDouglasMariniPreBasis<·GV,·k·>·></td></tr> | ||
113 | <tr·class="memdesc:a05987d1b6480619710c578ad80a243e5"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·BDM·finite·element·space·on·simplex·and·cube·grids.··<a·href="a00219.html#a05987d1b6480619710c578ad80a243e5">More...</a><br·/></td></tr> | ||
114 | <tr·class="separator:a | 104 | <tr·class="separator:afa871daf79a93a0f0b19e6e480b41c95"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:ga5de7b8547ff84158602bfb45a4358c67"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
106 | <tr·class="memitem:ga5de7b8547ff84158602bfb45a4358c67"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga5de7b8547ff84158602bfb45a4358c67">Dune::Functions::LagrangeDGBasis</a>·=·DefaultGlobalBasis<·LagrangeDGPreBasis<·GV,·k·>·></td></tr> | ||
107 | <tr·class="memdesc:ga5de7b8547ff84158602bfb45a4358c67"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·Lagrangean-DG·finite·element·space.··<a·href="a00213.html#ga5de7b8547ff84158602bfb45a4358c67">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:ga5de7b8547ff84158602bfb45a4358c67"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
116 | <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> |
117 | Functions</h2></td></tr> | 111 | Functions</h2></td></tr> |
118 | <tr·class="memitem:ga7 | 112 | <tr·class="memitem:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> |
119 | <tr·class="memitem:ga7 | 113 | <tr·class="memitem:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gae7dbc0c4e48b9cf3da63d6ef431b3481">Dune::Functions::BasisFactory::lagran[·...·truncated·by·diffoscope;·len:·4,·SHA:·2fcfa1669af756ca46fa2f0420ee05470031969cf4caad51f5ed5a0b895dbd78·...·]</a>·()</td></tr> |
120 | <tr·class="memdesc:ga7 | 114 | <tr·class="memdesc:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis.··<a·href="a00213.html#gae7dbc0c4e48b9cf3da63d6ef431b3481">More...</a><br·/></td></tr> |
121 | <tr·class="separator:ga7 | 115 | <tr·class="separator:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 116 | </table> |
123 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
124 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
125 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
126 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
127 | </small></address> | 121 | </small></address> |
128 | </body> | 122 | </body> |
Offset 6, 55 lines modified | Offset 6, 43 lines modified | ||
6 | dune-functions 2.9.0 | 6 | dune-functions 2.9.0 |
7 | ····*·dune | 7 | ····*·dune |
8 | ····*·functions | 8 | ····*·functions |
9 | ····*·functionspacebases | 9 | ····*·functionspacebases |
10 | Classes·|·Namespaces·|·Typedefs·|·Functions | 10 | Classes·|·Namespaces·|·Typedefs·|·Functions |
11 | 11 | lagrangedgbasis.hh·File·Reference | |
12 | #include·<array> | 12 | #include·<array> |
13 | #include·<dune/common/exceptions.hh> | 13 | #include·<dune/common/exceptions.hh> |
14 | #include·<dune/common/math.hh> | ||
14 | #include·<dune/geometry/referenceelements.hh> | ||
15 | #include·<dune/localfunctions/common/virtualinterface.hh> | ||
16 | #include·<dune/localfunctions/common/virtualwrappers.hh> | ||
17 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
18 | brezzidouglasmarini1cube2d.hh> | ||
19 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
20 | brezzidouglasmarini1cube3d.hh> | ||
21 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
22 | brezzidouglasmarini1simplex2d.hh> | ||
23 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
24 | brezzidouglasmarini2cube2d.hh> | ||
25 | #include·<dune/localfunctions/brezzidouglasmarini/ | ||
26 | brezzidouglasmarini2simplex2d.hh> | ||
27 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
28 | #include·<dune/functions/functionspacebases/nodes.hh> | 15 | #include·<dune/functions/functionspacebases/nodes.hh> |
29 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
17 | #include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
30 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
31 | ·Classes | 19 | ·Classes |
32 | class· Dune::Functions:: | 20 | class· Dune::Functions::LagrangeDGPreBasis<_GV,_k_> |
33 | |||
34 | class· Dune::Functions::BrezziDouglasMariniNode<_GV,_k_> | ||
35 | 21 | ||
36 | ·Namespaces | 22 | ·Namespaces |
37 | namespace· Dune | 23 | namespace· Dune |
38 | 24 | ||
39 | namespace· Dune::Functions | 25 | namespace· Dune::Functions |
40 | 26 | ||
41 | namespace· Dune::Functions::BasisFactory | 27 | namespace· Dune::Functions::BasisFactory |
42 | 28 | ||
43 | ·Typedefs | 29 | ·Typedefs |
44 | template<typename·GV·,·int·k> | 30 | template<typename·GV·,·int·k> |
31 | using Dune::Functions::LagrangeDGNode·=·LagrangeNode<·GV,·k·> | ||
32 | |||
33 | template<typename·GV·,·int·k> | ||
45 | using Dune::Functions:: | 34 | using Dune::Functions::LagrangeDGBasis·=·DefaultGlobalBasis< |
46 | ······· | 35 | ·······LagrangeDGPreBasis<·GV,·k·>·> |
47 | ·····Basis·of·a·scalar·k-th-order· | 36 | ·····Basis·of·a·scalar·k-th-order·Lagrangean-DG·finite·element·space.·More... |
48 | ·······cube·grids.·More... | ||
49 | 37 | ||
50 | ·Functions | 38 | ·Functions |
51 | template<std::size_t·k> | 39 | template<std::size_t·k> |
52 | auto Dune::Functions::BasisFactory:: | 40 | auto Dune::Functions::BasisFactory::lagrangeDG·() |
53 | ····Create·a·pre-basis·factory·that·can·create·a· | 41 | ····Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis. |
54 | ······ | 42 | ······More... |
55 | 43 | ||
56 | =============================================================================== | 44 | =============================================================================== |
57 | ·····Generated·by [doxygen]·1.9.4 | 45 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·lagrangedgbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 389 lines modified | Offset 62, 283 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">lagrangedgbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00146.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00146.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/ | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/localfunctions/common/virtualinterface.hh></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00119.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube2d.hh></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1cube3d.hh></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini1simplex2d.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2cube2d.hh></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini2simplex2d.hh></span></div> | ||
88 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l000 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
93 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
94 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
95 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
97 | <div·class="line"><a·id="l0002 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
98 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·*****************************************************************************</span></div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
99 | <div·class="line"><a·id="l0002 | 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">//···LagrangeDGPreBasis</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//···LagrangeDGNode</span></div> | ||
100 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//</span></div> |
101 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>· | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k></div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00219.html#afa871daf79a93a0f0b19e6e480b41c95">···34</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01667.html">LagrangeDGNode</a>·=·<a·class="code·hl_class"·href="a01667.html">LagrangeNode<GV,·k></a>;</div> | ||
103 | <div·class="line"><a·id="l0003 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
104 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k></div> |
105 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01679.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01679.html">LagrangeDGPreBasis</a></div> |
106 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>;</div> | ||
108 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> |
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··};</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
112 | <div·class="line"><a·id="l0004 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> |
113 | <div·class="line"><a·id="l0004 | 112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>;</div> | ||
115 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01679.html#a8af148321780535e5555938ac4590e3c">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01679.html#a8af148321780535e5555938ac4590e3c">GridView</a>[·...·truncated·by·diffoscope;·len:·5,·SHA:·080f2e59c284e764c2969a955bb33a403376fcc3442252fe6df4474891925c86·...·];</div> |
114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·=·std::size_t;</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>· | 115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 116 | <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>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">struct·</span>BDMCubeLocalInfo</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">static_assert</span>((AlwaysFalse<D>::value),<span·class="stringliteral">"The·requested·type·of·BDM·element·is·not·implemented,·sorry!"</span>);</div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··};</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
125 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="comment">//·Precompute·the·number·of·dofs·per·entity·type</span></div> |
118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01679.html#a99e23efcb7d3e14798f723ba9f033afe">···49</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#a99e23efcb7d3e14798f723ba9f033afe">dofsPerEdge</a>········=·k+1;</div> | ||
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01679.html#ab9209fa402834b5c9a35d9e987122dce">···50</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#ab9209fa402834b5c9a35d9e987122dce">dofsPerTriangle</a>····=·(k+1)*(k+2)/2;</div> | ||
120 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01679.html#aad680a5b4e4584e3f2d56396af361123">···51</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#aad680a5b4e4584e3f2d56396af361123">dofsPerQuad</a>········=·(k+1)*(k+1);</div> | ||
121 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01679.html#a755b7a249dd88abd62ce3be575320572">···52</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#a755b7a249dd88abd62ce3be575320572">dofsPerTetrahedron</a>·=·(k+1)*(k+2)*(k+3)/6;</div> | ||
122 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01679.html#afb53eceb4802d0e888664e0cbe33f843">···53</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#afb53eceb4802d0e888664e0cbe33f843">dofsPerPrism</a>·······=·(k+1)*(k+1)*(k+2)/2;</div> | ||
123 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01679.html#a64d5d4089862c52124131d75c156facf">···54</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#a64d5d4089862c52124131d75c156facf">dofsPerHexahedron</a>··=·(k+1)*(k+1)*(k+1);</div> | ||
124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01679.html#ac1406270c17daf802721fae3e90d350f">···55</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#ac1406270c17daf802721fae3e90d350f">dofsPerPyramid</a>·····=·(k+1)*(k+2)*(2*k+3)/6;</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>· | 125 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>;</div> | ||
128 | <div·class="line"><a·id="l0005 | 126 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
127 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01679.html#a1358396b2a7d352807195b7e2e855849">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01667.html">Node</a>·=·<a·class="code·hl_class"·href="a01667.html">LagrangeDGNode<GV,·k></a>;</div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>· | 128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
132 | <div·class="line"><a·id="l0006 | 129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01679.html#a4ceb8a4c31a5cf55d03f715717c95910">···60</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01679.html#aef9347[·...·truncated·by·diffoscope;·len:·148,·SHA:·01131ad35c5cc8a512a2780c26f1dbb8161f6ac0c1eefa9c83dee5d6f6508b33·...·];</div> |
130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01679.html#ae9cd5968c89433b07b3de6c28e89a368">···61</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·<a·class="code·hl_variable"·href="a01679.html#ae9cd5968c89433b07b3de6c28e89a368">minMultiIndexSize</a>·=·1;</div> | ||
131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01679.html#a20f969e87311ae7db719d06e7737d70e">···62</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·<a·class="code·hl_variable"·href="a01679.html#a20f969e87311ae7db719d06e7737d70e">multiIndexBufferSize</a>·=·1;</div> | ||
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>· | 132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01679.html#a6922ab8ade352184b13dca9d354b663e">···65</a></span>··<a·class="code·hl_function"·href="a01679.html#a6922ab8ade352184b13dca9d354b663e">LagrangeDGPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01679.html#a8af148321780535e5555938ac4590e3c">GridView</a>&·gv)·:</div> | ||
134 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<a·class="code·hl_variable"·href="a01679.html#ae96405a175e0d71369d209ba64c548e7">gridView_</a>(gv)</div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM2Cube2DLocalFiniteElement<D,R>;</div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·Variants·=·16;</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 135 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{}</div> |
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
139 | <div·class="line"><a·id="l0006 | 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>·</div> | ||
138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01679.html#a8b70bc6aa806e06c8062a69d4287af96">···70</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01679.html#a8b70bc6aa806e06c8062a69d4287af96">initializeIndices</a>()</div> | ||
140 | <div·class="line"><a·id="l0007 | 139 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> |
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">using·</span>FiniteElement·=·BDM1Cube3DLocalFiniteElement<D,R>;</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword | 140 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">switch</span>·(dim)</div> |
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·· | 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="keywordflow">case</span>·1:</div> | ||
Max diff block lines reached; 97687/128179 bytes (76.21%) of diff not shown. |
Offset 5, 511 lines modified | Offset 5, 376 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | lagrangedgbasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LAGRANGEDGBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<array> | 16 | ·6#include·<array> |
17 | ·7#include·<dune/common/exceptions.hh> | 17 | ·7#include·<dune/common/exceptions.hh> |
18 | ·8#include·<dune/ | 18 | ·8#include·<dune/common/math.hh> |
19 | ·9 | 19 | ·9 |
20 | ·10#include·<dune/localfunctions/common/virtualinterface.hh> | ||
21 | ·11#include·<dune/localfunctions/common/virtualwrappers.hh> | ||
22 | ·12 | ||
23 | ·13#include·<dune/localfunctions/brezzidouglasmarini/ | ||
24 | brezzidouglasmarini1cube2d.hh> | ||
25 | ·14#include·<dune/localfunctions/brezzidouglasmarini/ | ||
26 | brezzidouglasmarini1cube3d.hh> | ||
27 | ·15#include·<dune/localfunctions/brezzidouglasmarini/ | ||
28 | brezzidouglasmarini1simplex2d.hh> | ||
29 | ·16#include·<dune/localfunctions/brezzidouglasmarini/ | ||
30 | brezzidouglasmarini2cube2d.hh> | ||
31 | ·17#include·<dune/localfunctions/brezzidouglasmarini/ | ||
32 | brezzidouglasmarini2simplex2d.hh> | ||
33 | ·18 | ||
34 | ·19#include·<dune/functions/functionspacebases/ | ||
35 | globalvaluedlocalfiniteelement.hh> | ||
36 | · | 20 | ·10#include·<dune/functions/functionspacebases/nodes.hh> |
37 | · | 21 | ·11#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
38 | ·2 | 22 | ·12#include·<dune/functions/functionspacebases/lagrangebasis.hh> |
23 | ·13 | ||
24 | ·14 | ||
25 | ·15 | ||
26 | ·16 | ||
39 | · | 27 | ·17namespace·Dune·{ |
40 | · | 28 | ·18namespace·Functions·{ |
41 | ·25 | ||
42 | · | 29 | ·19 |
30 | ·20 | ||
31 | ·21 | ||
32 | ·22/ | ||
33 | /·***************************************************************************** | ||
34 | ·23//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
35 | ·24// | ||
36 | ·25//·LagrangeDGPreBasis | ||
37 | ·26//·LagrangeDGNode | ||
43 | ·27 | 38 | ·27// |
44 | ·28·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
45 | ·29·struct·BDMSimplexLocalInfo | ||
46 | ·30·{ | ||
47 | ·31·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
48 | not·implemented,·sorry!"); | ||
49 | ·32·}; | ||
50 | ·33 | ||
51 | ·34·template<typename·D,·typename·R> | ||
52 | ·35·struct·BDMSimplexLocalInfo<2,D,R,1> | ||
53 | ·36·{ | ||
54 | ·37·using·FiniteElement·=·BDM1Simplex2DLocalFiniteElement<D,R>; | ||
55 | ·38·static·const·std::size_t·Variants·=·8; | ||
56 | · | 39 | ·28//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible |
40 | shared | ||
41 | ·29//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
42 | view | ||
43 | ·30//·and·can·be·used·without·a·global·basis. | ||
44 | ·31/ | ||
45 | /·***************************************************************************** | ||
46 | ·32 | ||
47 | ·33template<typename·GV,·int·k> | ||
48 | 34using·LagrangeDGNode·=·LagrangeNode<GV,_k>; | ||
49 | ·35 | ||
50 | ·36template<typename·GV,·int·k> | ||
51 | 37class·LagrangeDGPreBasis | ||
52 | ·38{ | ||
53 | ·39·static·const·int·dim·=·GV::dimension; | ||
57 | ·40 | 54 | ·40 |
55 | ·41public: | ||
56 | ·42 | ||
57 | 44·using·GridView·=·GV; | ||
58 | 45·using·size_type·=·std::size_t; | ||
59 | ·46 | ||
58 | ·41·template<typename·D,·typename·R> | ||
59 | ·42·struct·BDMSimplexLocalInfo<2,D,R,2> | ||
60 | ·43·{ | ||
61 | ·44·using·FiniteElement·=·BDM2Simplex2DLocalFiniteElement<D,R>; | ||
62 | ·45·static·const·std::size_t·Variants·=·8; | ||
63 | ·46·}; | ||
64 | ·47 | 60 | ·47 |
61 | ·48·//·Precompute·the·number·of·dofs·per·entity·type | ||
62 | 49·const·static·int·dofsPerEdge·=·k+1; | ||
63 | 50·const·static·int·dofsPerTriangle·=·(k+1)*(k+2)/2; | ||
64 | 51·const·static·int·dofsPerQuad·=·(k+1)*(k+1); | ||
65 | 52·const·static·int·dofsPerTetrahedron·=·(k+1)*(k+2)*(k+3)/6; | ||
66 | 53·const·static·int·dofsPerPrism·=·(k+1)*(k+1)*(k+2)/2; | ||
67 | 54·const·static·int·dofsPerHexahedron·=·(k+1)*(k+1)*(k+1); | ||
68 | 55·const·static·int·dofsPerPyramid·=·(k+1)*(k+2)*(2*k+3)/6; | ||
65 | ·48·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
66 | ·49·struct·BDMCubeLocalInfo | ||
67 | ·50·{ | ||
68 | ·51·static_assert((AlwaysFalse<D>::value),"The·requested·type·of·BDM·element·is | ||
69 | not·implemented,·sorry!"); | ||
70 | ·52·}; | ||
71 | ·53 | ||
72 | ·54·template<typename·D,·typename·R> | ||
73 | ·55·struct·BDMCubeLocalInfo<2,D,R,1> | ||
74 | ·56 | 69 | ·56 |
75 | ·57·using·FiniteElement·=·BDM1Cube2DLocalFiniteElement<D,R>; | ||
76 | ·58·static·const·std::size_t·Variants·=·16; | ||
77 | ·59·}; | ||
78 | ·60 | ||
79 | ·61·template<typename·D,·typename·R> | ||
80 | · | 70 | ·57 |
71 | 58·using·Node·=·LagrangeDGNode<GV,_k>; | ||
72 | ·59 | ||
73 | 60·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
74 | 61·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
75 | 62·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
81 | ·63 | 76 | ·63 |
82 | ·64·using·FiniteElement·=·BDM2Cube2DLocalFiniteElement<D,R>; | ||
83 | ·65·static·const·std::size_t·Variants·=·16; | ||
84 | ·66·}; | ||
Max diff block lines reached; 22042/27795 bytes (79.30%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultglobalbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 68 lines modified | Offset 65, 58 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
73 | <a·href="#func-members">Functions</a>··</div> | 72 | <a·href="#func-members">Functions</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title"> | 73 | ··<div·class="headertitle"><div·class="title">defaultglobalbasis.hh·File·Reference</div></div> |
75 | </div><!--header--> | 74 | </div><!--header--> |
76 | <div·class="contents"> | 75 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·< | 76 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
77 | <code>#include·<type_traits></code><br·/> | ||
78 | <code>#include·<utility></code><br·/> | ||
79 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
80 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
78 | <code>#include·<dune/common/ | 81 | <code>#include·<dune/common/concept.hh></code><br·/> |
79 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> | ||
80 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/raviartthomas.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></code><br·/> | ||
84 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></code><br·/> | ||
85 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></code><br·/> | ||
86 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></code><br·/> | ||
87 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></code><br·/> | ||
88 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></code><br·/> | ||
89 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></code><br·/> | ||
90 | <code>#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></code><br·/> | ||
91 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
92 | <code>#include·<<a·class="el"·href="a00 | 82 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> |
93 | <code>#include·<<a·class="el"·href="a001 | 83 | <code>#include·<<a·class="el"·href="a00143_source.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
94 | </div> | 85 | </div> |
95 | <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p> |
96 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
97 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
98 | Classes</h2></td></tr> | 89 | Classes</h2></td></tr> |
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01795.html">Dune::Functions::RaviartThomasPreBasis<·GV,·k·></a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html">Dune::Functions::DefaultGlobalBasis<·PB·></a></td></tr> |
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Global·basis·for·given·pre-basis.··<a·href="a01555.html#details">More...</a><br·/></td></tr> | ||
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
104 | <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> |
105 | Namespaces</h2></td></tr> | 95 | Namespaces</h2></td></tr> |
106 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 100 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions::BasisBuilder</a></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:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
116 | <tr·class="memitem:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a79a7c0c6e2a4ba12c82164fcbbae6c63">Dune::Functions::RaviartThomasBasis</a>·=·DefaultGlobalBasis<·RaviartThomasPreBasis<·GV,·k·>·></td></tr> | ||
117 | <tr·class="memdesc:a79a7c0c6e2a4ba12c82164fcbbae6c63"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.··<a·href="a00219.html#a79a7c0c6e2a4ba12c82164fcbbae6c63">More...</a><br·/></td></tr> | ||
118 | <tr·class="separator: | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table><table·class="memberdecls"> | 104 | </table><table·class="memberdecls"> |
120 | <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> |
121 | Functions</h2></td></tr> | 106 | Functions</h2></td></tr> |
122 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
123 | <tr·class="memitem:gac7c656af99728aa385381f5d78ae0b98"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gac7c656af99728aa385381f5d78ae0b98">Dune::Functions::BasisFactory::raviartThomas</a>·()</td></tr> | ||
124 | <tr·class="mem | 107 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"><td·class="memTemplParams"·colspan="2">template<class·PreBasis·>·</td></tr> |
108 | <tr·class="memitem:a060058e4e3c070530978192cb7c99d39"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a060058e4e3c070530978192cb7c99d39">Dune::Functions::DefaultGlobalBasis</a>·(PreBasis·&&)·->·DefaultGlobalBasis<·std::decay_t<·PreBasis·>·></td></tr> | ||
109 | <tr·class="separator:a060058e4e3c070530978192cb7c99d39"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
111 | <tr·class="memitem:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a57d2c8b66fd384768b94af95e4ce5d78">Dune::Functions::DefaultGlobalBasis</a>·(const·GridView·&gv,·PreBasisFactory·&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·></td></tr> | ||
125 | <tr·class="separator: | 112 | <tr·class="separator:a57d2c8b66fd384768b94af95e4ce5d78"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplParams"·colspan="2">template<class·GridView·,·class·PreBasisFactory·>·</td></tr> | ||
114 | <tr·class="memitem:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00224.html#a1f0dc55c03c3a9862c76456d5574abe2">Dune::Functions::BasisFactory::makeBasis</a>·(const·GridView·&gridView,·PreBasisFactory·&&preBasisFactory)</td></tr> | ||
115 | <tr·class="separator:a1f0dc55c03c3a9862c76456d5574abe2"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table> | 116 | </table> |
127 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
128 | <!--·start·footer·part·--> | 118 | <!--·start·footer·part·--> |
129 | <hr·class="footer"/><address·class="footer"><small> | 119 | <hr·class="footer"/><address·class="footer"><small> |
130 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
131 | </small></address> | 121 | </small></address> |
132 | </body> | 122 | </body> |
Offset 5, 54 lines modified | Offset 5, 48 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|· | 9 | Classes·|·Namespaces·|·Functions |
10 | raviartthomasbasis.hh·File·Reference | ||
11 | 10 | defaultglobalbasis.hh·File·Reference | |
11 | #include·<cstddef> | ||
12 | #include·<type_traits> | ||
13 | #include·<utility> | ||
14 | #include·<dune/common/reservedvector.hh> | ||
15 | #include·<dune/common/typeutilities.hh> | ||
12 | #include·<dune/common/ | 16 | #include·<dune/common/concept.hh> |
17 | #include·<dune/functions/common/type_traits.hh> | ||
13 | #include·<dune/grid/common/capabilities.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
16 | #include·<dune/localfunctions/raviartthomas.hh> | ||
17 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
18 | #include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
19 | #include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
20 | #include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
21 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
22 | #include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
23 | #include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
24 | #include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
25 | #include·<dune/functions/functionspacebases/ | 18 | #include·<dune/functions/functionspacebases/defaultlocalview.hh> |
26 | #include·<dune/functions/functionspacebases/ | 19 | #include·<dune/functions/functionspacebases/concepts.hh> |
27 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
28 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
29 | ·Classes | 21 | ·Classes |
22 | class· Dune::Functions::DefaultGlobalBasis<_PB_> | ||
23 | ······Global·basis·for·given·pre-basis.·More... | ||
30 | class· Dune::Functions::RaviartThomasPreBasis<_GV,_k_> | ||
31 | |||
32 | class· Dune::Functions::RaviartThomasNode<_GV,_k_> | ||
33 | 24 | ||
34 | ·Namespaces | 25 | ·Namespaces |
35 | namespace· Dune | 26 | namespace· Dune |
36 | 27 | ||
37 | namespace· Dune::Functions | 28 | namespace· Dune::Functions |
38 | 29 | ||
39 | namespace· Dune::Functions::BasisFactory | 30 | namespace· Dune::Functions::BasisFactory |
40 | 31 | ||
32 | namespace· Dune::Functions::BasisBuilder | ||
41 | ·Typedefs | ||
42 | template<typename·GV·,·int·k> | ||
43 | using Dune::Functions::RaviartThomasBasis·=·DefaultGlobalBasis< | ||
44 | ·······RaviartThomasPreBasis<·GV,·k·>·> | ||
45 | ·····Basis·of·a·k-th-order·Raviart·Thomas·finite·element·space.·More... | ||
46 | 33 | ||
47 | ·Functions | 34 | ·Functions |
48 | template<std::size_t·k> | ||
49 | auto Dune::Functions::BasisFactory::raviartThomas·() | ||
50 | ····Create·a·pre-basis·factory·that·can·create·a·Raviart-Thomas·pre-basis. | ||
51 | 35 | template<class·PreBasis·> | |
36 | ···· Dune::Functions::DefaultGlobalBasis·(PreBasis·&&)·->·DefaultGlobalBasis< | ||
37 | ······std::decay_t<·PreBasis·>·> | ||
38 | |||
39 | template<class·GridView·,·class·PreBasisFactory·> | ||
40 | ···· Dune::Functions::DefaultGlobalBasis·(const·GridView·&gv,·PreBasisFactory | ||
41 | ······&&f)·->·DefaultGlobalBasis<·std::decay_t<·decltype(f(gv))>·> | ||
42 | |||
43 | template<class·GridView·,·class·PreBasisFactory·> | ||
44 | auto Dune::Functions::BasisFactory::makeBasis·(const·GridView·&gridView, | ||
45 | ······PreBasisFactory·&&preBasisFactory) | ||
52 | 46 | ||
53 | =============================================================================== | 47 | =============================================================================== |
54 | ·····Generated·by [doxygen]·1.9.4 | 48 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·defaultglobalbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 445 lines modified | Offset 62, 203 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">defaultglobalbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00149.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00149.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cstddef></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<type_traits></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
79 | <div·class="line"><a·id="l000 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
80 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
81 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00143.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
96 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
99 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
100 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class</span>·PB></div> |
96 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01555.html">···45</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01555.html">DefaultGlobalBasis</a></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span><<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·k></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo</div> | ||
104 | <div·class="line"><a·id="l000 | 97 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>{</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,0></div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">using·</span>FiniteElement·=·RT02DLocalFiniteElement<D,R>;</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··};</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<2,D,R,1></div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>· | 98 | <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> | 99 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">public</span>:</div> |
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>· | 100 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
101 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB;</div> | ||
120 | <div·class="line"><a·id="l0005 | 102 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
103 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01555.html#aa33c9a46f1e7548b2a956c36f6554e89">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01555.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath</a>·=·TypeTree::HybridTreePath<>;</div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">struct·</span>RaviartThomasSimplexLocalInfo<3,D,R,0></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">using·</span>FiniteElement·=·RT03DLocalFiniteElement<D,R>;</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>· | 104 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
105 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01555.html#a2b9cab135f3764650ad063d49c4c2fcb">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01555.html#a2b9cab135f3764650ad063d49c4c2fcb">GridView</a>·=·<span·class="keyword">typename</span>·PreBasis::GridView;</div> | ||
126 | <div·class="line"><a·id="l0005 | 106 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
127 | <div·class="line"><a·id="l000 | 107 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01555.html#a10db3413eda75531530d9b0bf82e8335">···60</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01555.html#a10db3413eda75531530d9b0bf82e8335">size_type</[·...·truncated·by·diffoscope;·len:·15,·SHA:·62e00e812ac710e4577755cc1db6571c741727c621cde1201afe39f2338662fc·...·]t;</div> |
108 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
109 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01555.html#a6dd2621b698c77033f1b37443b7c7e65">···63</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01559.html">LocalView</a>·=·<a·class="code·hl_class"·href="a01559.html">DefaultLocalView<DefaultGlobalBasis<PreBasis></a>>;</div> | ||
110 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
111 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01555.html#a71e8362c3966f9bc4ced844fb8474be7">···66</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01555.html#a71e8362c3966f9bc4ced844fb8474be7">MultiIndex</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01559.html#acffe4cd37e8a7720e1a3eced31570c5a">LocalView::MultiIndex</a>;</div> | ||
112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
113 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01555.html#a00a78eb6f90d02a8c5dd3d4718b14e99">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01555.html#a00a78eb6f90d02a8c5dd3d4718b14e99">SizePrefix</a>·=·Dune::ReservedVector<std::size_t,·PreBasis::multiIndexBufferSize>;</div> | ||
114 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
128 | <div·class="line"><a·id="l000 | 115 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>...·T,</div> |
116 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····disableCopyMove<<a·class="code·hl_function"·href="a01555.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>,·T...>·=·0,</div> | ||
117 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>,·T...>·=·0></div> | ||
118 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01555.html#ac8c43e23bffc9116702a479f1c1d01f4">···82</a></span>··<a·class="code·hl_function"·href="a01555.html#ac8c43e23bffc9116702a479f1c1d01f4">DefaultGlobalBasis</a>(T&&...·t)·:</div> | ||
119 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<a·class="code·hl_variable"·href="a01555.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>(std::forward<T>(t)...),</div> | ||
120 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<a·class="code·hl_variable"·href="a01555.html#aeed6ef808c134ff63cea8102b7a03c22">prefixPath_</a>()</div> | ||
129 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··{</div> |
122 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">static_assert</span>(models<Concept::PreBasis<GridView>,·<a·class="code·hl_typedef"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>>(),·<span·class="stringliteral">"Type·passed·to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."</span>);</div> | ||
123 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_variable"·href="a01555.html#a7d0a58f78727ab3b0d9159a899031f07">preBasis_</a>.initializeIndices();</div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="comment">//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to</span></div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">using·</span>FiniteElement·=·<span·class="keywordtype">void</span>*;</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··};</div> | ||
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,0></div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">using·</span>FiniteElement·=·RT0Cube2DLocalFiniteElement<D,R>;</div> | ||
138 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> |
139 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R></div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">struct·</span>RaviartThomasCubeLocalInfo<2,D,R,1></div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div> | ||
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">using·</span>FiniteElement·=·RT1Cube2DLocalFiniteElement<D,R>;</div> | ||
144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··};</div> | ||
Max diff block lines reached; 81332/121985 bytes (66.67%) of diff not shown. |
Offset 5, 566 lines modified | Offset 5, 283 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | defaultglobalbasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTGLOBALBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·< | 16 | ·6#include·<cstddef> |
17 | ·7#include·<type_traits> | ||
18 | ·8#include·<utility> | ||
19 | ·9 | ||
20 | ·10#include·<dune/common/reservedvector.hh> | ||
21 | ·11#include·<dune/common/typeutilities.hh> | ||
17 | · | 22 | ·12#include·<dune/common/concept.hh> |
23 | ·13 | ||
24 | ·14#include·<dune/functions/common/type_traits.hh> | ||
25 | ·15#include·<dune/functions/functionspacebases/defaultlocalview.hh> | ||
26 | ·16#include·<dune/functions/functionspacebases/concepts.hh> | ||
27 | ·17 | ||
18 | ·8 | 28 | ·18 |
29 | ·19 | ||
30 | ·20namespace·Dune·{ | ||
31 | ·21namespace·Functions·{ | ||
19 | ·9#include·<dune/grid/common/capabilities.hh> | ||
20 | ·10#include·<dune/grid/common/mcmgmapper.hh> | ||
21 | ·11 | ||
22 | ·12#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
23 | ·13#include·<dune/localfunctions/raviartthomas.hh> | ||
24 | ·14#include·<dune/localfunctions/raviartthomas/raviartthomas0cube2d.hh> | ||
25 | ·15#include·<dune/localfunctions/raviartthomas/raviartthomas0cube3d.hh> | ||
26 | ·16#include·<dune/localfunctions/raviartthomas/raviartthomas02d.hh> | ||
27 | ·17#include·<dune/localfunctions/raviartthomas/raviartthomas03d.hh> | ||
28 | ·18#include·<dune/localfunctions/raviartthomas/raviartthomas1cube2d.hh> | ||
29 | ·19#include·<dune/localfunctions/raviartthomas/raviartthomas1cube3d.hh> | ||
30 | ·20#include·<dune/localfunctions/raviartthomas/raviartthomas12d.hh> | ||
31 | ·21#include·<dune/localfunctions/raviartthomas/raviartthomas2cube2d.hh> | ||
32 | ·22 | 32 | ·22 |
33 | ·23 | ||
34 | ·24 | ||
35 | ·44template<class·PB> | ||
36 | 45class·DefaultGlobalBasis | ||
37 | ·46{ | ||
33 | ·23#include·<dune/functions/functionspacebases/ | ||
34 | globalvaluedlocalfiniteelement.hh> | ||
35 | ·24#include·<dune/functions/functionspacebases/nodes.hh> | ||
36 | ·25#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
37 | ·26 | ||
38 | ·27namespace·Dune·{ | ||
39 | ·28namespace·Functions·{ | ||
40 | ·29 | ||
41 | ·30namespace·Impl·{ | ||
42 | ·31 | ||
43 | ·32·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
44 | ·33·struct·RaviartThomasSimplexLocalInfo | ||
45 | ·34·{ | ||
46 | ·35·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
47 | ·36·using·FiniteElement·=·void*; | ||
48 | ·37·}; | ||
49 | ·38 | ||
50 | ·39·template<typename·D,·typename·R> | ||
51 | ·40·struct·RaviartThomasSimplexLocalInfo<2,D,R,0> | ||
52 | ·41·{ | ||
53 | ·42·using·FiniteElement·=·RT02DLocalFiniteElement<D,R>; | ||
54 | ·43·}; | ||
55 | ·44 | ||
56 | ·45·template<typename·D,·typename·R> | ||
57 | ·46·struct·RaviartThomasSimplexLocalInfo<2,D,R,1> | ||
58 | ·47 | 38 | ·47 |
59 | ·48·using·FiniteElement·=·RT12DLocalFiniteElement<D,R>; | ||
60 | ·49·}; | ||
61 | ·50 | ||
62 | ·51·template<typename·D,·typename·R> | ||
63 | · | 39 | ·48public: |
40 | ·49 | ||
41 | 51·using·PreBasis·=·PB; | ||
42 | ·52 | ||
43 | 54·using·PrefixPath·=·TypeTree::HybridTreePath<>; | ||
44 | ·55 | ||
45 | 57·using·GridView·=·typename·PreBasis::GridView; | ||
46 | ·58 | ||
47 | 60·using·size_type·=·std::size_t; | ||
48 | ·61 | ||
49 | 63·using·LocalView·=·DefaultLocalView<DefaultGlobalBasis<PreBasis>>; | ||
50 | ·64 | ||
51 | 66·using·MultiIndex·=·typename·LocalView::MultiIndex; | ||
52 | ·67 | ||
53 | 69·using·SizePrefix·=·Dune::ReservedVector<std::size_t,·PreBasis:: | ||
54 | multiIndexBufferSize>; | ||
55 | ·70 | ||
56 | ·79·template<class...·T, | ||
57 | ·80·disableCopyMove<DefaultGlobalBasis,·T...>·=·0, | ||
58 | ·81·enableIfConstructible<PreBasis,·T...>·=·0> | ||
59 | 82·DefaultGlobalBasis(T&&...·t)·: | ||
60 | ·83·preBasis_(std::forward<T>(t)...), | ||
61 | ·84·prefixPath_() | ||
64 | · | 62 | ·85·{ |
63 | ·86·static_assert(models<Concept::PreBasis<GridView>,·PreBasis>(),·"Type·passed | ||
64 | to·DefaultGlobalBasis·does·not·model·the·PreBasis·concept."); | ||
65 | ·87·preBasis_.initializeIndices(); | ||
66 | ·88·} | ||
67 | ·89 | ||
68 | ·96·template<class·PreBasisFactory, | ||
69 | ·97·std::enable_if_t<Dune::IsCallable<PreBasisFactory(GridView),·PreBasis>:: | ||
70 | value,·int>·=·0> | ||
71 | 98·DefaultGlobalBasis(const·GridView&·gridView,·PreBasisFactory&&·factory)·: | ||
72 | ·99·preBasis_(factory(gridView)), | ||
73 | ·100·prefixPath_() | ||
65 | ·54·using·FiniteElement·=·RT03DLocalFiniteElement<D,R>; | ||
66 | ·55·}; | ||
67 | ·56 | ||
68 | ·57·template<int·dim,·typename·D,·typename·R,·std::size_t·k> | ||
69 | ·58·struct·RaviartThomasCubeLocalInfo | ||
70 | ·59·{ | ||
71 | ·60·//·Dummy·type,·must·be·something·that·we·can·have·a·std::unique_ptr·to | ||
72 | ·61·using·FiniteElement·=·void*; | ||
73 | ·62·}; | ||
74 | ·63 | ||
75 | ·64·template<typename·D,·typename·R> | ||
76 | ·65·struct·RaviartThomasCubeLocalInfo<2,D,R,0> | ||
77 | ·66·{ | ||
Max diff block lines reached; 19400/27404 bytes (70.79%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·nedelecbasis.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/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, 57 lines modified | Offset 65, 60 lines modified | ||
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>·| | 71 | <a·href="#namespaces">Namespaces</a>·| |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>··</div> | 73 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 74 | ··<div·class="headertitle"><div·class="title">nedelecbasis.hh·File·Reference</div></div> |
74 | </div><!--header--> | 75 | </div><!--header--> |
75 | <div·class="contents"> | 76 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·< | 77 | <div·class="textblock"><code>#include·<array></code><br·/> |
77 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
78 | <code>#include·<dune/common/ | 78 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
80 | <code>#include·< | 79 | <code>#include·<dune/grid/common/capabilities.hh></code><br·/> |
80 | <code>#include·<dune/grid/common/mcmgmapper.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/nedelec.hh></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a001 | 83 | <code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00155_source.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a0011 | 85 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
83 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
84 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
85 | </div> | 86 | </div> |
86 | <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p> | 87 | <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p> |
87 | <table·class="memberdecls"> | 88 | <table·class="memberdecls"> |
88 | <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> |
89 | Classes</h2></td></tr> | 90 | Classes</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·></a></td></tr> |
91 | <tr·class=" | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01687.html">Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·></a></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 98 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 100 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | 102 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | < | 104 | </table><table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
106 | Typedefs</h2></td></tr> | ||
107 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> | ||
108 | <tr·class="memitem:a744da0623cd512fc478d47bd2f7908eb"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a744da0623cd512fc478d47bd2f7908eb">Dune::Functions::NedelecBasis</a>·=·DefaultGlobalBasis<·NedelecPreBasis<·GV,·Range,·kind,·order·>·></td></tr> | ||
109 | <tr·class="memdesc:a744da0623cd512fc478d47bd2f7908eb"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·k-th-order·Nédélec·finite·element·space.··<a·href="a00219.html#a744da0623cd512fc478d47bd2f7908eb">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:a744da0623cd512fc478d47bd2f7908eb"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
106 | Functions</h2></td></tr> | 113 | Functions</h2></td></tr> |
107 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·,·class·IndexMergingStrategy·>·</td></tr> | ||
108 | <tr·class="memitem:ga0d8eb549af76bc2563ab189e63668ee5"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga0d8eb549af76bc2563ab189e63668ee5">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory,·const·IndexMergingStrategy·&)</td></tr> | ||
109 | <tr·class="mem | 114 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"><td·class="memTemplParams"·colspan="2">template<std::size_t·kind,·std::size_t·order,·typename·Range··=·double>·</td></tr> |
115 | <tr·class="memitem:gafe0fe439067c288f197101b8686223e8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gafe0fe439067c288f197101b8686223e8">Dune::Functions::BasisFactory::nedelec</a>·()</td></tr> | ||
116 | <tr·class="memdesc:gafe0fe439067c288f197101b8686223e8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·Nédélec·pre-basis.··<a·href="a00213.html#gafe0fe439067c288f197101b8686223e8">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:ga | 117 | <tr·class="separator:gafe0fe439067c288f197101b8686223e8"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplParams"·colspan="2">template<std::size_t·k,·class·ChildPreBasisFactory·>·</td></tr> | ||
112 | <tr·class="memitem:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gab84b622cf7be16d0373640b6f0478eb0">Dune::Functions::BasisFactory::power</a>·(ChildPreBasisFactory·&&childPreBasisFactory)</td></tr> | ||
113 | <tr·class="memdesc:gab84b622cf7be16d0373640b6f0478eb0"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·factory·builder·that·can·build·a·<a·class="el"·href="a01735.html"·title="A·pre-basis·for·power·bases.">PowerPreBasis</a>.··<a·href="a00213.html#gab84b622cf7be16d0373640b6f0478eb0">More...</a><br·/></td></tr> | ||
114 | <tr·class="separator:gab84b622cf7be16d0373640b6f0478eb0"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | </table> | 118 | </table> |
116 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
117 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
118 | <hr·class="footer"/><address·class="footer"><small> | 121 | <hr·class="footer"/><address·class="footer"><small> |
119 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 122 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
120 | </small></address> | 123 | </small></address> |
121 | </body> | 124 | </body> |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | utf-8 |
Offset 5, 47 lines modified | Offset 5, 46 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|·Functions | 9 | Classes·|·Namespaces·|·Typedefs·|·Functions |
10 | 10 | nedelecbasis.hh·File·Reference | |
11 | #include·<array> | ||
11 | #include·<dune/common/reservedvector.hh> | ||
12 | #include·<dune/common/typeutilities.hh> | ||
13 | #include·<dune/common/ | 12 | #include·<dune/common/exceptions.hh> |
13 | #include·<dune/grid/common/capabilities.hh> | ||
14 | #include·<dune/grid/common/mcmgmapper.hh> | ||
15 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
16 | #include·<dune/localfunctions/nedelec.hh> | ||
14 | #include·<dune/functions/common/utility.hh> | ||
15 | #include·<dune/functions/common/type_traits.hh> | ||
16 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
17 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
18 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
19 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 17 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
18 | #include·<dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh> | ||
19 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
21 | ·Classes | 21 | ·Classes |
22 | class· Dune::Functions::PowerPreBasis<_IMS,_SPB,_C_> | ||
23 | 22 | class· Dune::Functions::NedelecPreBasis<_GV,_Range,_kind,_order_> | |
23 | |||
24 | class· Dune::Functions::NedelecNode<_GV,_Range,_kind,_order_> | ||
24 | 25 | ||
25 | ·Namespaces | 26 | ·Namespaces |
26 | namespace· Dune | 27 | namespace· Dune |
27 | 28 | ||
28 | namespace· Dune::Functions | 29 | namespace· Dune::Functions |
29 | 30 | ||
30 | namespace· Dune::Functions::BasisFactory | 31 | namespace· Dune::Functions::BasisFactory |
31 | 32 | ||
32 | 33 | ·Typedefs | |
34 | template<typename·GV·,·std::size_t·kind,·std::size_t·order,·typename·Range·= | ||
35 | double> | ||
36 | using Dune::Functions::NedelecBasis·=·DefaultGlobalBasis<·NedelecPreBasis<·GV, | ||
37 | ·······Range,·kind,·order·>·> | ||
38 | ·····Basis·of·a·k-th-order·Nédélec·finite·element·space.·More... | ||
33 | 39 | ||
34 | ·Functions | 40 | ·Functions |
41 | template<std::size_t·kind,·std::size_t·order,·typename·Range·=·double> | ||
42 | auto Dune::Functions::BasisFactory::nedelec·() | ||
35 | template<std::size_t·k,·class·ChildPreBasisFactory·,·class | ||
36 | IndexMergingStrategy·> | ||
37 | auto Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
38 | ······&&childPreBasisFactory,·const·IndexMergingStrategy·&) | ||
39 | ····Create·a·pre-basis·factory·that·can· | 43 | ····Create·a·pre-basis·factory·that·can·create·a·Nédélec·pre-basis.·More... |
40 | |||
41 | template<std::size_t·k,·class·ChildPreBasisFactory·> | ||
42 | auto Dune::Functions::BasisFactory::power·(ChildPreBasisFactory | ||
43 | ······&&childPreBasisFactory) | ||
44 | ····Create·a·factory·builder·that·can·build·a·PowerPreBasis.·More... | ||
45 | 44 | ||
46 | =============================================================================== | 45 | =============================================================================== |
47 | ·····Generated·by [doxygen]·1.9.4 | 46 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·nedelecbasis.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 406 lines modified | Offset 62, 381 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">nedelecbasis.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00152.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00152.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/ | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/grid/common/capabilities.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/grid/common/mcmgmapper.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | ||
81 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00161.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·< | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/localfunctions/nedelec.hh></span></div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a001 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00149.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00155.html">dune/functions/functionspacebases/globalvaluedlocalfiniteelement.hh</a>></span></div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a0021 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a></div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span> | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·dim,·<span·class="keyword">typename</span>·R,·std::<span·class="keywordtype">size_t</span>·order></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">class·</span>Nedelec1stKindLocalFiniteElementMap</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>D·=·<span·class="keyword">typename</span>·GV::ctype;</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·hasFixedElementType·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::v;</div> | ||
92 | <div·class="line"><a·id="l0002 | 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">using·</span>CubeFiniteElement····=·Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>;</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">using·</span>SimplexFiniteElement·=·Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>;</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·*****************************************************************************</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·This·is·the·reusable·part·of·the·power·bases.·It·contains</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//···PowerPreBasis</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
103 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">template</span><<span·class="keyword">class</span>·IMS,·<span·class="keyword">class</span>·SPB,·std::<span·class="keywordtype">size_t</span>·C></div> | ||
104 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">public</span>:</div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">using·</span>T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim,·FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>··topologyId·=·Capabilities::hasSingleGeometryType<typename·GV::Grid>::topologyId;··<span·class="comment">//·meaningless·if·hasFixedElementType·is·false</span></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·GeometryType·type·=·GeometryType(topologyId,·GV::dimension);</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>FiniteElement·=·std::conditional_t<hasFixedElementType,</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>···········································std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>,</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···········································LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>;</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">static</span>·std::size_t·numVariants(GeometryType·type)</div> | ||
105 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>{</div> | 115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div> |
106 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·std::size_t·children·=·C;</div> | ||
107 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(order!=1)··<span·class="comment">//·I·am·not·sure·whether·the·formula·below·is·correct·for·all·orders.</span></div> |
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········DUNE_THROW(NotImplemented,·<span·class="stringliteral">"Only·Nedelec·elements·of·order·1·are·implemented!"</span>);</div> | ||
108 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">auto</span>·numEdges·=·referenceElement<D,dim>(type).size(dim-1);</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00213.html#ga0d8eb549af76bc2563ab189e63668ee5">power</a>(2,numEdges);</div> | ||
109 | <div·class="line"><a·id="l000 | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}</div> |
110 | <div·class="line"><a·id="l0005 | 122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
111 | <div·class="line"><a·id="l0005 | 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····Nedelec1stKindLocalFiniteElementMap(<span·class="keyword">const</span>·GV&·gv)</div> |
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······:·elementMapper_(gv,·mcmgElementLayout()),</div> | ||
112 | <div·class="line"><a·id="l0005 | 125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········orientation_(gv.size(0))</div> |
113 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01735.html#a37d97aeb515a5abfd55259f1fb320d12">···55</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01735.html#a37d97aeb515a5abfd55259f1fb320d12">GridView</a>·=·<span·class="keyword">typename</span>·SPB::GridView;</div> | ||
114 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> |
115 | <div·class="line"><a·id="l0005 | 127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="comment">//·create·all·variants</span></div> |
128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(hasFixedElementType)</div> | ||
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</div> |
117 | <div·class="line"><a·id="l0006 | 130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········variants_.resize(numVariants(type));</div> |
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(type);·i++)</div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········variants_[i]·=·FiniteElement(i);</div> | ||
118 | <div·class="line"><a·id="l0006 | 133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······}</div> |
119 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">else</span></div> |
120 | <div·class="line"><a·id="l0006 | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······{</div> |
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"> | 136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="comment">//·for·mixed·grids·add·offset·for·cubes</span></div> |
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········variants_.resize(numVariants(GeometryTypes::simplex(dim))·+·numVariants(GeometryTypes::cube(dim)));</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::simplex(dim));·i++)</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··········variants_[i]·=·SimplexFiniteElement(i);</div> | ||
140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i·=·0;·i·<·numVariants(GeometryTypes::cube(dim));·i++)</div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··········variants_[i·+·numVariants(GeometryTypes::simplex(dim))]·=·CubeFiniteElement(i);</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div> | ||
122 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01735.html#adc20cd44a238188f2f0117d30cfb3ea6">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">size_type</a>·<a·class="code·hl_variable"·href="a01735.html#adc20cd44a238188f2f0117d30cfb3ea6">maxMultiIndexSize</a>·=·SubPreBasis::maxMultiIndexSize·+·isBlocked;</div> | ||
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01735.html#aea6df17c50528be1cecdbd8f40264063">···69</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">size_type</a>·<a·class="code·hl_variable"·href="a01735.html#aea6df17c50528be1cecdbd8f40264063">minMultiIndexSize</a>·=·SubPreBasis::minMultiIndexSize·+·isBlocked;</div> | ||
125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01735.html#a3a52441f0c9a8d94a76b6e0a87cdd6fc">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01735.html#a127b27c81a242f3bbe7fe62ba0f2877b">size_type</a>·<a·class="code·hl_variable"·href="a01735.html#a3a52441f0c9a8d94a76b6e0a87cdd6fc">multiIndexBufferSize</a>·=·SubPreBasis::multiIndexBufferSize·+·isBlocked;</div> | ||
126 | <div·class="line"><a·id="l0007 | 144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
145 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="comment">//·compute·orientation·for·all·elements</span></div> | ||
127 | <div·class="line"><a·id="l0007 | 146 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·indexSet·=·gv.indexSet();</div> |
128 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····disableCopyMove<<a·class="code·hl_function"·href="a01735.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>,·SFArgs...>·=·0,</div> | ||
129 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_typedef"·href="a00215.html#ga673247dd74bcdd9e5acfc7735faf8a5b">enableIfConstructible</a><<a·class="code·hl_typedef"·href="a01735.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>,·SFArgs...>·=·0></div> | ||
130 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01735.html#ab0335222dc72364fe128e8459751377b">···80</a></span>··<a·class="code·hl_function"·href="a01735.html#ab0335222dc72364fe128e8459751377b">PowerPreBasis</a>(SFArgs&&...·sfArgs)·:</div> | ||
131 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····subPreBasis_(std::forward<SFArgs>(sfArgs)...)</div> | ||
132 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
133 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="keywordflow">for</span>(<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·element·:·elements(gv))</div> |
134 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······{</div> |
Max diff block lines reached; 109734/141915 bytes (77.32%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | utf-8 |
Offset 5, 497 lines modified | Offset 5, 502 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | 9 | nedelecbasis.hh | |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_NEDELECBASIS_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<array> | ||
16 | ·6#include·<dune/common/reservedvector.hh> | ||
17 | ·7#include·<dune/common/typeutilities.hh> | ||
18 | · | 17 | ·7#include·<dune/common/exceptions.hh> |
19 | ·9 | ||
20 | ·10#include·<dune/functions/common/utility.hh> | ||
21 | ·11#include·<dune/functions/common/type_traits.hh> | ||
22 | ·12#include·<dune/functions/functionspacebases/basistags.hh> | ||
23 | ·13#include·<dune/functions/functionspacebases/nodes.hh> | ||
24 | · | 18 | ·8 |
19 | ·9#include·<dune/grid/common/capabilities.hh> | ||
20 | ·10#include·<dune/grid/common/mcmgmapper.hh> | ||
21 | ·11 | ||
22 | ·12#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
23 | ·13#include·<dune/localfunctions/nedelec.hh> | ||
24 | ·14 | ||
25 | ·15#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | 25 | ·15#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> |
26 | ·16 | ||
27 | ·1 | 26 | ·16#include·<dune/functions/functionspacebases/ |
27 | globalvaluedlocalfiniteelement.hh> | ||
28 | ·17#include·<dune/functions/functionspacebases/nodes.hh> | ||
28 | ·18 | 29 | ·18 |
29 | ·19namespace·Dune·{ | ||
30 | · | 30 | ·19namespace·Dune::Functions |
31 | ·20{ | ||
31 | ·21 | 32 | ·21 |
32 | ·22 | 33 | ·22namespace·Impl |
33 | ·23 | 34 | ·23{ |
35 | ·24·template<typename·GV,·int·dim,·typename·R,·std::size_t·order> | ||
36 | ·25·class·Nedelec1stKindLocalFiniteElementMap | ||
37 | ·26·{ | ||
38 | ·27·using·D·=·typename·GV::ctype; | ||
39 | ·28·constexpr·static·bool·hasFixedElementType·=·Capabilities:: | ||
40 | hasSingleGeometryType<typename·GV::Grid>::v; | ||
41 | ·29 | ||
42 | ·30·using·CubeFiniteElement·= | ||
43 | Nedelec1stKindCubeLocalFiniteElement<D,R,dim,order>; | ||
44 | ·31·using·SimplexFiniteElement·= | ||
45 | Nedelec1stKindSimplexLocalFiniteElement<D,R,dim,order>; | ||
34 | /·***************************************************************************** | ||
35 | ·24//·This·is·the·reusable·part·of·the·power·bases.·It·contains | ||
36 | ·25// | ||
37 | ·26//·PowerPreBasis | ||
38 | ·27// | ||
39 | ·28//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
40 | shared | ||
41 | ·29//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
42 | view | ||
43 | ·30//·and·can·be·used·without·a·global·basis. | ||
44 | ·31/ | ||
45 | /·***************************************************************************** | ||
46 | ·32 | 46 | ·32 |
47 | ·43template<class·IMS,·class·SPB,·std::size_t·C> | ||
48 | 47 | ·33·public: | |
48 | ·34 | ||
49 | ·35·using·T·=·LocalBasisTraits<D,·dim,·FieldVector<D,dim>,·R,·dim, | ||
50 | FieldVector<R,dim>,·FieldMatrix<D,dim,dim>·>; | ||
51 | ·36 | ||
52 | ·37·constexpr·static·unsigned·int·topologyId·=·Capabilities:: | ||
53 | hasSingleGeometryType<typename·GV::Grid>::topologyId;·//·meaningless·if | ||
54 | hasFixedElementType·is·false | ||
55 | ·38·constexpr·static·GeometryType·type·=·GeometryType(topologyId,·GV:: | ||
56 | dimension); | ||
57 | ·39 | ||
58 | ·40·using·FiniteElement·=·std::conditional_t<hasFixedElementType, | ||
59 | ·41·std::conditional_t<type.isCube(),CubeFiniteElement,SimplexFiniteElement>, | ||
60 | ·42·LocalFiniteElementVariant<CubeFiniteElement,·SimplexFiniteElement>·>; | ||
61 | ·43 | ||
62 | ·44·static·std::size_t·numVariants(GeometryType·type) | ||
49 | ·45{ | 63 | ·45·{ |
50 | ·46·static·const·std::size_t·children·=·C; | ||
51 | ·47·static·const·bool·isBlocked·=·std::is_same_v<IMS,BasisFactory:: | ||
52 | 64 | ·46·if·(order!=1)·//·I·am·not·sure·whether·the·formula·below·is·correct·for·all | |
65 | orders. | ||
66 | ·47·DUNE_THROW(NotImplemented,·"Only·Nedelec·elements·of·order·1·are | ||
67 | implemented!"); | ||
53 | ·48 | 68 | ·48 |
54 | ·49public: | ||
55 | ·50 | ||
56 | 52·using·SubPreBasis·=·SPB; | ||
57 | ·53 | ||
58 | 69 | ·49·auto·numEdges·=·referenceElement<D,dim>(type).size(dim-1); | |
70 | ·50·return·power(2,numEdges); | ||
71 | ·51·} | ||
72 | ·52 | ||
73 | ·53·Nedelec1stKindLocalFiniteElementMap(const·GV&·gv) | ||
74 | ·54·:·elementMapper_(gv,·mcmgElementLayout()), | ||
75 | ·55·orientation_(gv.size(0)) | ||
59 | ·56 | 76 | ·56·{ |
77 | ·57·//·create·all·variants | ||
78 | ·58·if·constexpr·(hasFixedElementType) | ||
60 | 58·using·size_type·=·std::size_t; | ||
61 | ·59 | ||
62 | 61·using·IndexMergingStrategy·=·IMS; | ||
63 | ·62 | ||
64 | 63·using·SubNode·=·typename·SubPreBasis::Node; | ||
65 | ·64 | ||
66 | 66·using·Node·=·PowerBasisNode<SubNode,_children>; | ||
67 | ·67 | ||
68 | 68·static·constexpr·size_type·maxMultiIndexSize·=·SubPreBasis:: | ||
69 | maxMultiIndexSize·+·isBlocked; | ||
70 | 69·static·constexpr·size_type·minMultiIndexSize·=·SubPreBasis:: | ||
71 | minMultiIndexSize·+·isBlocked; | ||
72 | 70·static·constexpr·size_type·multiIndexBufferSize·=·SubPreBasis:: | ||
73 | multiIndexBufferSize·+·isBlocked; | ||
74 | ·71 | ||
75 | ·77·template<class...·SFArgs, | ||
76 | ·78·disableCopyMove<PowerPreBasis,·SFArgs...>·=·0, | ||
77 | ·79·enableIfConstructible<SubPreBasis,·SFArgs...>·=·0> | ||
78 | 80·PowerPreBasis(SFArgs&&...·sfArgs)·: | ||
79 | ·81·subPreBasis_(std::forward<SFArgs>(sfArgs)...) | ||
80 | ·82·{ | ||
81 | ·83·static_assert(models<Concept::PreBasis<GridView>,·SubPreBasis>(), | ||
Max diff block lines reached; 25225/31809 bytes (79.30%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·la | 8 | <title>dune-functions:·globalvaluedlocalfiniteelement.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 63, 60 lines modified | Offset 63, 37 lines modified | ||
63 | <div·id="nav-path"·class="navpath"> | 63 | <div·id="nav-path"·class="navpath"> |
64 | ··<ul> | 64 | ··<ul> |
65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 65 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#nested-classes">Classes</a>·| | ||
71 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | <a·href="#typedef-members">Typedefs</a>·| | ||
73 | <a·href="#func-members">Functions</a>··</div> | ||
74 | ··<div·class="headertitle"><div·class="title">la | 71 | ··<div·class="headertitle"><div·class="title">globalvaluedlocalfiniteelement.hh·File·Reference</div></div> |
75 | </div><!--header--> | 72 | </div><!--header--> |
76 | <div·class="contents"> | 73 | <div·class="contents"> |
77 | <div·class="textblock"><code>#include·<array></code><br·/> | 74 | <div·class="textblock"><code>#include·<array></code><br·/> |
75 | <code>#include·<numeric></code><br·/> | ||
76 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
78 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/fvector.hh></code><br·/> |
79 | <code>#include·<dune/common/math.hh></code><br·/> | 78 | <code>#include·<dune/common/math.hh></code><br·/> |
80 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
82 | <code>#include·< | 79 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> |
80 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/common/localinterpolation.hh></code><br·/> | ||
83 | </div> | 84 | </div> |
84 | <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
87 | Classes</h2></td></tr> | ||
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01679.html">Dune::Functions::LagrangeDGPreBasis<·GV,·k·></a></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table><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:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 89 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 91 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:afa871daf79a93a0f0b19e6e480b41c95"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
103 | <tr·class="memitem:afa871daf79a93a0f0b19e6e480b41c95"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#afa871daf79a93a0f0b19e6e480b41c95">Dune::Functions::LagrangeDGNode</a>·=·LagrangeNode<·GV,·k·></td></tr> | ||
104 | <tr·class="separator:afa871daf79a93a0f0b19e6e480b41c95"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:ga5de7b8547ff84158602bfb45a4358c67"><td·class="memTemplParams"·colspan="2">template<typename·GV·,·int·k>·</td></tr> | ||
106 | <tr·class="memitem:ga5de7b8547ff84158602bfb45a4358c67"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga5de7b8547ff84158602bfb45a4358c67">Dune::Functions::LagrangeDGBasis</a>·=·DefaultGlobalBasis<·LagrangeDGPreBasis<·GV,·k·>·></td></tr> | ||
107 | <tr·class="memdesc:ga5de7b8547ff84158602bfb45a4358c67"><td·class="mdescLeft"> </td><td·class="mdescRight">Basis·of·a·scalar·k-th-order·Lagrangean-DG·finite·element·space.··<a·href="a00213.html#ga5de7b8547ff84158602bfb45a4358c67">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:ga5de7b8547ff84158602bfb45a4358c67"><td·class="memSeparator"·colspan="2"> </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:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="memTemplParams"·colspan="2">template<std::size_t·k>·</td></tr> | ||
113 | <tr·class="memitem:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#gae7dbc0c4e48b9cf3da63d6ef431b3481">Dune::Functions::BasisFactory::lagrangeDG</a>·()</td></tr> | ||
114 | <tr·class="memdesc:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis.··<a·href="a00213.html#gae7dbc0c4e48b9cf3da63d6ef431b3481">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:gae7dbc0c4e48b9cf3da63d6ef431b3481"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
116 | </table> | 93 | </table> |
117 | </div><!--·contents·--> | 94 | </div><!--·contents·--> |
118 | <!--·start·footer·part·--> | 95 | <!--·start·footer·part·--> |
119 | <hr·class="footer"/><address·class="footer"><small> | 96 | <hr·class="footer"/><address·class="footer"><small> |
120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 98 | </small></address> |
122 | </body> | 99 | </body> |
Offset 5, 44 lines modified | Offset 5, 28 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | Classes·|·Namespaces·|·Typedefs·|·Functions | ||
10 | 9 | Namespaces | |
10 | globalvaluedlocalfiniteelement.hh·File·Reference | ||
11 | #include·<array> | 11 | #include·<array> |
12 | #include·<numeric> | ||
13 | #include·<dune/common/fmatrix.hh> | ||
12 | #include·<dune/common/ | 14 | #include·<dune/common/fvector.hh> |
13 | #include·<dune/common/math.hh> | 15 | #include·<dune/common/math.hh> |
14 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
15 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
16 | #include·<dune/ | 16 | #include·<dune/common/rangeutilities.hh> |
17 | #include·<dune/geometry/referenceelements.hh> | ||
18 | #include·<dune/localfunctions/common/localbasis.hh> | ||
19 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
20 | #include·<dune/localfunctions/common/localinterpolation.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 21 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | ||
19 | class· Dune::Functions::LagrangeDGPreBasis<_GV,_k_> | ||
20 | |||
21 | ·Namespaces | 22 | ·Namespaces |
22 | namespace· Dune | 23 | namespace· Dune |
23 | 24 | ||
24 | namespace· Dune::Functions | 25 | namespace· Dune::Functions |
25 | 26 | ||
26 | namespace· Dune::Functions::BasisFactory | ||
27 | |||
28 | ·Typedefs | ||
29 | template<typename·GV·,·int·k> | ||
30 | using Dune::Functions::LagrangeDGNode·=·LagrangeNode<·GV,·k·> | ||
31 | |||
32 | template<typename·GV·,·int·k> | ||
33 | using Dune::Functions::LagrangeDGBasis·=·DefaultGlobalBasis< | ||
34 | ·······LagrangeDGPreBasis<·GV,·k·>·> | ||
35 | ·····Basis·of·a·scalar·k-th-order·Lagrangean-DG·finite·element·space.·More... | ||
36 | |||
37 | ·Functions | ||
38 | template<std::size_t·k> | ||
39 | auto Dune::Functions::BasisFactory::lagrangeDG·() | ||
40 | ····Create·a·pre-basis·factory·that·can·create·a·LagrangeDG·pre-basis. | ||
41 | ······More... | ||
42 | |||
43 | =============================================================================== | 27 | =============================================================================== |
44 | ·····Generated·by [doxygen]·1.9.4 | 28 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·la | 8 | <title>dune-functions:·globalvaluedlocalfiniteelement.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 62, 283 lines modified | Offset 62, 324 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title">la | 68 | ··<div·class="headertitle"><div·class="title">globalvaluedlocalfiniteelement.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00155.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00155.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LA | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LA | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<array></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<numeric></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·< | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
88 | <div·class="line"><a·id="l0001 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/common/localinterpolation.hh></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Dune::Functions::Impl</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span> | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>{</div> |
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·*****************************************************************************</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</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">//···LagrangeDGPreBasis</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//···LagrangeDGNode</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">//</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·*****************************************************************************</span></div> | ||
102 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">struct·</span>ContravariantPiolaTransformator</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k></div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00219.html#afa871daf79a93a0f0b19e6e480b41c95">···34</a></span><span·class="keyword">using·</span><a·class="code·hl_class"·href="a01667.html">LagrangeDGNode</a>·=·<a·class="code·hl_class"·href="a01667.html">LagrangeNode<GV,·k></a>;</div> | ||
105 | <div·class="line"><a·id="l0003 | 94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> |
95 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Values,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keywordtype">int</span>·k></div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01679.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01679.html">LagrangeDGPreBasis</a></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | ||
109 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·apply(Values&·values,</div> |
110 | <div·class="line"><a·id="l0004 | 97 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······················<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> |
111 | <div·class="line"><a·id="l0004 | 98 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······················<span·class="keyword">const</span>·Geometry&·geometry)</div> |
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01679.html#a8af148321780535e5555938ac4590e3c">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01679.html#a8af148321780535e5555938ac4590e3c">GridView</a>·=·GV;</div> | ||
114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·=·std::size_t;</div> | ||
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 99 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····{</div> |
100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> | ||
101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
116 | <div·class="line"><a·id="l0004 | 102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>&·value·:·values)</div> | ||
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······{</div> | ||
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="keyword">auto</span>·tmp·=·value;</div> | ||
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········jacobianTransposed.mtv(tmp,·value);</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········value·/=·integrationElement;</div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div> | ||
117 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="comment">//·Precompute·the·number·of·dofs·per·entity·type</span></div> | ||
118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01679.html#a99e23efcb7d3e14798f723ba9f033afe">···49</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#a99e23efcb7d3e14798f723ba9f033afe">dofsPerEdge</a>········=·k+1;</div> | ||
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01679.html#ab9209fa402834b5c9a35d9e987122dce">···50</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#ab9209fa402834b5c9a35d9e987122dce">dofsPerTriangle</a>····=·(k+1)*(k+2)/2;</div> | ||
120 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01679.html#aad680a5b4e4584e3f2d56396af361123">···51</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#aad680a5b4e4584e3f2d56396af361123">dofsPerQuad</a>········=·(k+1)*(k+1);</div> | ||
121 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01679.html#a755b7a249dd88abd62ce3be575320572">···52</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#a755b7a249dd88abd62ce3be575320572">dofsPerTetrahedron</a>·=·(k+1)*(k+2)*(k+3)/6;</div> | ||
122 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01679.html#afb53eceb4802d0e888664e0cbe33f843">···53</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#afb53eceb4802d0e888664e0cbe33f843">dofsPerPrism</a>·······=·(k+1)*(k+1)*(k+2)/2;</div> | ||
123 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01679.html#a64d5d4089862c52124131d75c156facf">···54</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#a64d5d4089862c52124131d75c156facf">dofsPerHexahedron</a>··=·(k+1)*(k+1)*(k+1);</div> | ||
124 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01679.html#ac1406270c17daf802721fae3e90d350f">···55</a></span>··<span·class="keyword">const</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01679.html#ac1406270c17daf802721fae3e90d350f">dofsPerPyramid</a>·····=·(k+1)*(k+2)*(2*k+3)/6;</div> | ||
125 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</div> |
126 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
111 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Gradients,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
112 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·applyJacobian(Gradients&·gradients,</div> | ||
113 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······························<span·class="keyword">const</span>·LocalCoordinate&·xi,</div> | ||
114 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······························<span·class="keyword">const</span>·Geometry&·geometry)</div> | ||
127 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01679.html#a1358396b2a7d352807195b7e2e855849">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01667.html">Node</a>·=·<a·class="code·hl_class"·href="a01667.html">LagrangeDGNode<GV,·k></a>;</div> | ||
128 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
129 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01679.html#a4ceb8a4c31a5cf55d03f715717c95910">···60</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·<a·class="code·hl_variable"·href="a01679.html#a4ceb8a4c31a5cf55d03f715717c95910">maxMultiIndexSize</a>·=·1;</div> | ||
130 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01679.html#ae9cd5968c89433b07b3de6c28e89a368">···61</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·<a·class="code·hl_variable"·href="a01679.html#ae9cd5968c89433b07b3de6c28e89a368">minMultiIndexSize</a>·=·1;</div> | ||
131 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01679.html#a20f969e87311ae7db719d06e7737d70e">···62</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·<a·class="code·hl_variable"·href="a01679.html#a20f969e87311ae7db719d06e7737d70e">multiIndexBufferSize</a>·=·1;</div> | ||
132 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
133 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01679.html#a6922ab8ade352184b13dca9d354b663e">···65</a></span>··<a·class="code·hl_function"·href="a01679.html#a6922ab8ade352184b13dca9d354b663e">LagrangeDGPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01679.html#a8af148321780535e5555938ac4590e3c">GridView</a>&·gv)·:</div> | ||
134 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<a·class="code·hl_variable"·href="a01679.html#ae96405a175e0d71369d209ba64c548e7">gridView_</a>(gv)</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>·</div> | ||
137 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
138 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01679.html#a8b70bc6aa806e06c8062a69d4287af96">···70</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01679.html#a8b70bc6aa806e06c8062a69d4287af96">initializeIndices</a>()</div> | ||
139 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> | 115 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div> |
140 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword | 116 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> |
141 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···· | 117 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> |
142 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordflow">case</span>· | 118 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>&·gradient·:·gradients)</div> |
143 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······{</div> | 119 | <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="keyword | 120 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">auto</span>·tmp·=·gradient;</div> |
145 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······ | 121 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········gradient·=·0;</div> |
146 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="keywordflow">case</span>·2:</div> | ||
147 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······{</div> | ||
148 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<a·class="code·hl_variable"·href="a01679.html#a8f9bb80599a31e77d8b96522467fa691">quadrilateralOffset_</a>·=·<a·class="code·hl_variable"·href="a01679.html#ab9209fa402834b5c9a35d9e987122dce">dofsPerTriangle</a>·*·<a·class="code·hl_variable"·href="a01679.html#ae96405a175e0d71369d209ba64c548e7">gridView_</a>.size(Dune::GeometryTypes::triangle);</div> | ||
149 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·k=0;·k<gradient.M();·k++)</div> |
123 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·l=0;·l<tmp.N();·l++)</div> | ||
124 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>············<span·class="comment">//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse·DiagonalMatrix</span></div> | ||
125 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>············<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed[l]))</div> | ||
126 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··············gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k];</div> | ||
150 | <div·class="line"><a·id="l0008 | 127 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········gradient·/=·integrationElement;</div> |
Max diff block lines reached; 76744/102583 bytes (74.81%) of diff not shown. |
Offset 5, 376 lines modified | Offset 5, 339 lines modified | ||
5 | dune-functions 2.9.0 | 5 | dune-functions 2.9.0 |
6 | ····*·dune | 6 | ····*·dune |
7 | ····*·functions | 7 | ····*·functions |
8 | ····*·functionspacebases | 8 | ····*·functionspacebases |
9 | la | 9 | globalvaluedlocalfiniteelement.hh |
10 | Go_to_the_documentation_of_this_file. | 10 | Go_to_the_documentation_of_this_file. |
11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 11 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 12 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LA | 13 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH |
14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_LA | 14 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH |
15 | ·5 | 15 | ·5 |
16 | ·6#include·<array> | 16 | ·6#include·<array> |
17 | ·7#include·<numeric> | ||
18 | ·8 | ||
19 | ·9#include·<dune/common/fmatrix.hh> | ||
17 | · | 20 | ·10#include·<dune/common/fvector.hh> |
18 | · | 21 | ·11#include·<dune/common/math.hh> |
22 | ·12#include·<dune/common/rangeutilities.hh> | ||
19 | ·9 | ||
20 | ·10#include·<dune/functions/functionspacebases/nodes.hh> | ||
21 | ·11#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
22 | ·12#include·<dune/functions/functionspacebases/lagrangebasis.hh> | ||
23 | ·13 | 23 | ·13 |
24 | ·14 | 24 | ·14#include·<dune/geometry/referenceelements.hh> |
25 | ·15 | 25 | ·15 |
26 | ·16 | ||
27 | ·17namespace·Dune·{ | ||
28 | ·1 | 26 | ·16#include·<dune/localfunctions/common/localbasis.hh> |
27 | ·17#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
28 | ·18#include·<dune/localfunctions/common/localinterpolation.hh> | ||
29 | ·19 | 29 | ·19 |
30 | ·20 | 30 | ·20namespace·Dune::Functions::Impl |
31 | ·21 | 31 | ·21{ |
32 | ·22 | 32 | ·22 |
33 | ·36·struct·ContravariantPiolaTransformator | ||
34 | ·37·{ | ||
35 | ·42·template<typename·Values,·typename·LocalCoordinate,·typename·Geometry> | ||
36 | ·43·static·auto·apply(Values&·values, | ||
37 | ·44·const·LocalCoordinate&·xi, | ||
38 | ·45·const·Geometry&·geometry) | ||
33 | /·***************************************************************************** | ||
34 | ·23//·This·is·the·reusable·part·of·the·basis.·It·contains | ||
35 | ·24// | ||
36 | ·25//·LagrangeDGPreBasis | ||
37 | ·26//·LagrangeDGNode | ||
38 | ·27// | ||
39 | ·28//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
40 | shared | ||
41 | ·29//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
42 | view | ||
43 | ·30//·and·can·be·used·without·a·global·basis. | ||
44 | ·31/ | ||
45 | /·***************************************************************************** | ||
46 | ·32 | ||
47 | ·33template<typename·GV,·int·k> | ||
48 | 34using·LagrangeDGNode·=·LagrangeNode<GV,_k>; | ||
49 | ·35 | ||
50 | ·36template<typename·GV,·int·k> | ||
51 | 37class·LagrangeDGPreBasis | ||
52 | ·38{ | ||
53 | ·39·static·const·int·dim·=·GV::dimension; | ||
54 | ·40 | ||
55 | ·41public: | ||
56 | ·42 | ||
57 | 44·using·GridView·=·GV; | ||
58 | 45·using·size_type·=·std::size_t; | ||
59 | ·46 | 39 | ·46·{ |
60 | ·47 | ||
61 | ·48·//·Precompute·the·number·of·dofs·per·entity·type | ||
62 | 49·const·static·int·dofsPerEdge·=·k+1; | ||
63 | 50·const·static·int·dofsPerTriangle·=·(k+1)*(k+2)/2; | ||
64 | 51·const·static·int·dofsPerQuad·=·(k+1)*(k+1); | ||
65 | 52·const·static·int·dofsPerTetrahedron·=·(k+1)*(k+2)*(k+3)/6; | ||
66 | 53·const·static·int·dofsPerPrism·=·(k+1)*(k+1)*(k+2)/2; | ||
67 | 54·const·static·int·dofsPerHexahedron·=·(k+1)*(k+1)*(k+1); | ||
68 | 40 | ·47·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | |
41 | ·48·auto·integrationElement·=·geometry.integrationElement(xi); | ||
42 | ·49 | ||
43 | ·50·for·(auto&·value·:·values) | ||
44 | ·51·{ | ||
45 | ·52·auto·tmp·=·value; | ||
46 | ·53·jacobianTransposed.mtv(tmp,·value); | ||
47 | ·54·value·/=·integrationElement; | ||
48 | ·55·} | ||
69 | ·56 | 49 | ·56·} |
70 | ·57 | 50 | ·57 |
51 | ·67·template<typename·Gradients,·typename·LocalCoordinate,·typename·Geometry> | ||
52 | ·68·static·auto·applyJacobian(Gradients&·gradients, | ||
53 | ·69·const·LocalCoordinate&·xi, | ||
54 | ·70·const·Geometry&·geometry) | ||
71 | 58·using·Node·=·LagrangeDGNode<GV,_k>; | ||
72 | ·59 | ||
73 | 60·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
74 | 61·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
75 | 62·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
76 | ·63 | ||
77 | 65·LagrangeDGPreBasis(const·GridView&·gv)·: | ||
78 | ·66·gridView_(gv) | ||
79 | ·67·{} | ||
80 | ·68 | ||
81 | ·69 | ||
82 | 70·void·initializeIndices() | ||
83 | ·71·{ | 55 | ·71·{ |
84 | ·72·switch·(dim) | ||
85 | ·73·{ | ||
86 | ·7 | 56 | ·72·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); |
57 | ·73·auto·integrationElement·=·geometry.integrationElement(xi); | ||
58 | ·74·for·(auto&·gradient·:·gradients) | ||
87 | ·75·{ | 59 | ·75·{ |
88 | ·76·break; | ||
89 | ·77·} | ||
90 | ·78·case·2: | ||
91 | ·79·{ | ||
92 | ·80·quadrilateralOffset_·=·dofsPerTriangle·*·gridView_.size(Dune:: | ||
93 | GeometryTypes::triangle); | ||
94 | · | 60 | ·76·auto·tmp·=·gradient; |
61 | ·77·gradient·=·0; | ||
62 | ·78·for·(size_t·k=0;·k<gradient.M();·k++) | ||
63 | ·79·for·(size_t·l=0;·l<tmp.N();·l++) | ||
64 | ·80·//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse | ||
65 | DiagonalMatrix | ||
66 | ·81·for(auto&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed | ||
67 | [l])) | ||
68 | ·82·gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k]; | ||
Max diff block lines reached; 17350/21966 bytes (78.99%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·s | 8 | <title>dune-functions:·istlvectorbackend.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 61 lines modified | Offset 58, 61 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | ||
70 | <a·href="#namespaces">Namespaces</a>·| | 69 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 70 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">s | 71 | ··<div·class="headertitle"><div·class="title">istlvectorbackend.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<cstddef></code><br·/> |
75 | <code>#include·<utility></code><br·/> | ||
76 | <code>#include·<type_traits></code><br·/> | ||
77 | <code>#include·<dune/common/std/type_traits.hh></code><br·/> | ||
78 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
76 | <code>#include·<dune/common/ | 79 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> |
77 | <code>#include·<dune/common/concept.hh></code><br·/> | 80 | <code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a000 | 81 | <code>#include·<<a·class="el"·href="a00032_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00122_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | 82 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> |
81 | </div> | 83 | </div> |
82 | <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p> |
83 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
85 | Classes</h2></td></tr> | ||
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01807.html">Dune::Functions::SubspaceBasis<·RB,·TP·></a></td></tr> | ||
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
88 | </table><table·class="memberdecls"> | ||
89 | <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> |
90 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
91 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
96 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
97 | Functions</h2></td></tr> | 94 | Functions</h2></td></tr> |
95 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
96 | <tr·class="memitem:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Dune::Functions::fieldTypes</a>·()</td></tr> | ||
97 | <tr·class="memdesc:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·list·of·field·types·in·container.··<a·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:ad0a3b4e397e76b3d02cb06a7793fdb7b"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
98 | <tr·class="memitem:a | 99 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> |
99 | <tr·class="memitem:a | 100 | <tr·class="memitem:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">Dune::Functions::hasUniqueFi[·...·truncated·by·diffoscope;·len:·14,·SHA:·bf8b119a533595bf25df1b19db73d7cd1bfdb4f37ebd2424ad72968bdfb7763b·...·]</td></tr> |
101 | <tr·class="memdesc:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="mdescLeft"> </td><td·class="mdescRight">Check·if·container·has·a·unique·field·type.··<a·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">More...</a><br·/></td></tr> | ||
100 | <tr·class="separator:a | 102 | <tr·class="separator:af8b09a0411c63ab6a6500a7b6edb9dfb"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:ae3d703ee72289b3936eb24255fc52694"><td·class="memTemplParams"·colspan="2">template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·>·</td></tr> | ||
102 | <tr·class="memitem:ae | 103 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> |
104 | <tr·class="memitem:gae5b9f62f85e3d638423142695a74d056"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#gae5b9f62f85e3d638423142695a74d056">Dune::Functions::istlVectorBackend</a>·(Vector·&v)</td></tr> | ||
105 | <tr·class="memdesc:gae5b9f62f85e3d638423142695a74d056"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·non-const·ISTL·like·containers.··<a·href="a00214.html#gae5b9f62f85e3d638423142695a74d056">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:ae | 106 | <tr·class="separator:gae5b9f62f85e3d638423142695a74d056"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
105 | <tr·class="memitem:a9effbb98da0e9104a60979fa734c1220"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a9effbb98da0e9104a60979fa734c1220">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath)</td></tr> | ||
106 | <tr·class="mem | 107 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"><td·class="memTemplParams"·colspan="2">template<class·Vector·>·</td></tr> |
108 | <tr·class="memitem:ga50a181637103e7abc011235a9fd30611"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga50a181637103e7abc011235a9fd30611">Dune::Functions::istlVectorBackend</a>·(const·Vector·&v)</td></tr> | ||
109 | <tr·class="memdesc:ga50a181637103e7abc011235a9fd30611"><td·class="mdescLeft"> </td><td·class="mdescRight">Return·a·vector·backend·wrapping·const·ISTL·like·containers.··<a·href="a00214.html#ga50a181637103e7abc011235a9fd30611">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:a | 110 | <tr·class="separator:ga50a181637103e7abc011235a9fd30611"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplParams"·colspan="2">template<class·RootBasis·,·class...·PrefixTreeIndices>·</td></tr> | ||
109 | <tr·class="memitem:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#abb8781cf3fb98ca29446be66bcf65ac4">Dune::Functions::subspaceBasis</a>·(const·RootBasis·&rootBasis,·const·PrefixTreeIndices·&...·prefixTreeIndices)</td></tr> | ||
110 | <tr·class="separator:abb8781cf3fb98ca29446be66bcf65ac4"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | </table> | 111 | </table> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 115 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
116 | </small></address> | 116 | </small></address> |
117 | </body> | 117 | </body> |
Offset 4, 48 lines modified | Offset 4, 47 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·backends |
8 | 8 | Namespaces·|·Functions | |
9 | s | 9 | istlvectorbackend.hh·File·Reference |
10 | #include·<cstddef> | ||
11 | #include·<utility> | ||
12 | #include·<type_traits> | ||
13 | #include·<dune/common/std/type_traits.hh> | ||
10 | #include·<dune/common/ | 14 | #include·<dune/common/indices.hh> |
11 | #include·<dune/common/ | 15 | #include·<dune/common/hybridutilities.hh> |
12 | #include·<dune/common/concept.hh> | 16 | #include·<dune/common/concept.hh> |
13 | #include·<dune/functions/common/ | 17 | #include·<dune/functions/common/indexaccess.hh> |
14 | #include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
15 | #include·<dune/functions/functionspacebases/concepts.hh> | 18 | #include·<dune/functions/functionspacebases/concepts.hh> |
16 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
17 | ·Classes | ||
18 | class· Dune::Functions::SubspaceBasis<_RB,_TP_> | ||
19 | |||
20 | ·Namespaces | 20 | ·Namespaces |
21 | namespace· Dune | 21 | namespace· Dune |
22 | 22 | ||
23 | namespace· Dune::Functions | 23 | namespace· Dune::Functions |
24 | 24 | ||
25 | ·Functions | 25 | ·Functions |
26 | template<class·RB·,·class·TP·> | ||
27 | ···· Dune::Functions::SubspaceBasis·(const·RB·&,·const·TP)·->·SubspaceBasis< | ||
28 | 26 | template<class·V·> | |
27 | constexpr·auto Dune::Functions::fieldTypes·() | ||
28 | ··············Generate·list·of·field·types·in·container.·More... | ||
29 | 29 | ||
30 | template<class·V·> | ||
31 | constexpr·bool Dune::Functions::hasUniqueFieldType·() | ||
32 | ··············Check·if·container·has·a·unique·field·type.·More... | ||
30 | template<class·RootRootBasis·,·class·InnerTP·,·class·OuterTP·> | ||
31 | ···· Dune::Functions::SubspaceBasis·(const·SubspaceBasis<·RootRootBasis, | ||
32 | ······InnerTP·>·&rootBasis,·const·OuterTP·&prefixPath)·->·SubspaceBasis<·std:: | ||
33 | ······decay_t<·decltype(rootBasis.rootBasis())>,·Impl::JoinTreePath_t<·InnerTP, | ||
34 | ······OuterTP·>·> | ||
35 | 33 | ||
36 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
37 | auto Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
38 | ······TypeTree::HybridTreePath<·PrefixTreeIndices...·>·&prefixPath) | ||
39 | 34 | template<class·Vector·> | |
35 | ··········auto Dune::Functions::istlVectorBackend·(Vector·&v) | ||
36 | ··············Return·a·vector·backend·wrapping·non-const·ISTL·like | ||
37 | ················containers.·More... | ||
40 | 38 | ||
41 | template<class·RootBasis·,·class...·PrefixTreeIndices> | ||
42 | auto Dune::Functions::subspaceBasis·(const·RootBasis·&rootBasis,·const | ||
43 | 39 | template<class·Vector·> | |
40 | ··········auto Dune::Functions::istlVectorBackend·(const·Vector·&v) | ||
41 | ··············Return·a·vector·backend·wrapping·const·ISTL·like·containers. | ||
42 | ················More... | ||
44 | 43 | ||
45 | =============================================================================== | 44 | =============================================================================== |
46 | ·····Generated·by [doxygen]·1.9.4 | 45 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·s | 8 | <title>dune-functions:·istlvectorbackend.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 187 lines modified | Offset 58, 338 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title">s | 68 | ··<div·class="headertitle"><div·class="title">istlvectorbackend.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00158.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00158.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cstddef></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·< | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<type_traits></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·< | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/std/type_traits.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·< | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00032.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l0001 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</div> |
92 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
93 | <div·class="line"><a·id="l0002 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class·</span>V,</div> |
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>()·,·<span·class="keywordtype">int</span>>·=·0></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(V&&·<span·class="comment">/*v*/</span>)</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">auto</span>·joinTreePaths(<span·class="keyword">const</span>·TypeTree::HybridTreePath<Inner...>&·inner,·<span·class="keyword">const</span>·TypeTree::HybridTreePath<Outer...>·outer)</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··{</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keywordflow">return</span>·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat(inner._data,·outer._data));</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span> | 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="keywordflow">return</span>·TypeList<V>{};</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·InnerTP,·<span·class="keyword">class</span>·OuterTP></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">using·</span>JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std::declval<InnerTP>(),·std::declval<OuterTP>()))>;</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
102 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>}</div> |
103 | <div·class="line"><a·id="l0003 | 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="keyword">template</span><<span·class="keyword">class·</span>V,</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(V&&·v)</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span> | 104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>{</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keywordflow">if</span>·<span·class="keyword">constexpr</span>·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std::size_t>,·V>())</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[std::size_t{0}]);</div> | ||
105 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keywordflow">else</span></div> |
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RB,·<span·class="keyword">class</span>·TP></div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01807.html">···37</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01807.html">SubspaceBasis</a></div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>{</div> | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> |
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">p | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">auto</span>·indexRange·=·<span·class="keyword">typename</span>·<span·class="keyword">decltype</span>(range(Hybrid::size(v)))::integer_sequence();</div> |
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keywordflow">return</span>·unpackIntegerSequence([&](<span·class="keyword">auto</span>...·i)·{</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keywordflow">return</span>·uniqueTypeList(std::tuple_cat(<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>(v[i])...));</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····},·indexRange);</div> | ||
110 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··}</div> |
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">···41</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB;</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01807.html#a00d424aa40e6c051f610a308317cc57e">···43</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·<span·class="keyword">typename</span>·RootBasis::LocalView;</div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span> | 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>}</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01807.html#a5dcb19c46539c51ce32a6fdc55738387">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>·=·TP;</div> | ||
116 | <div·class="line"><a·id="l0004 | 115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
117 | <div·class="line"><a·id="l0004 | 116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}·<span·class="comment">//·namespace·Impl</span></div> |
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
118 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
120 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> | ||
121 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">···63</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">fieldTypes</a>()</div> | ||
119 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01807.html#acb8fddcafde83205b67e57926c84ace5">···51</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#acb8fddcafde83205b67e57926c84ace5">MultiIndex</a>·=·<span·class="keyword">typename</span>·RootBasis::MultiIndex;</div> | ||
120 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
121 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·=·std::size_t;</div> | ||
122 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>{</div> |
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keywordflow">return</span>·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00219.html#ad0a3b4e397e76b3d02cb06a7793fdb7b">Impl::fieldTypes</a>(std::declval<V>())){};</div> | ||
123 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01807.html#a616eaadc3d1d8706041ab1b0d03510bc">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01811.html">LocalView</a>·=·<a·class="code·hl_class"·href="a01811.html">SubspaceLocalView<RootLocalView,·PrefixPath></a>;</div> | ||
124 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01807.html#a330b42b7087eca7afb92ec40eba36440">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01807.html#a330b42b7087eca7afb92ec40eba36440">SizePrefix</a>·=·<span·class="keyword">typename</span>·RootBasis::SizePrefix;</div> | ||
126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
128 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01807.html#aee8689dac160442b891bc738c55c1087">···62</a></span>··<a·class="code·hl_function"·href="a01807.html#aee8689dac160442b891bc738c55c1087">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>&·<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#a5dcb19c46539c51ce32a6fdc55738387">PrefixPath</a>&·<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
129 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>(&<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>),</div> | ||
130 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<a·class="code·hl_variable"·href="a01807.html#ab3509a847b8dfb33032f14ca666c13bb">prefixPath_</a>(<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)</div> | ||
131 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{}</div> | ||
132 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span> | 124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}</div> |
125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
133 | <div·class="line"><a·id="l0007 | 126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">template</span><<span·class="keyword">class</span>·V></div> |
127 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">···74</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00219.html#af8b09a0411c63ab6a6500a7b6edb9dfb">hasUniqueFieldType</a>()</div> | ||
134 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01807.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">···73</a></span>··<a·class="code·hl_function"·href="a01807.html#a8994e4c3215b21b9b4d4e1b09a97f4c4">SubspaceBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01807.html">SubspaceBasis<RootRootBasis,·InnerTP></a>&·<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>,·<span·class="keyword">const</span>·OuterTP&·<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>)·:</div> | ||
135 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_class"·href="a01807.html">SubspaceBasis</a>(<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>(),·Impl::joinTreePaths(<a·class="code·hl_function"·href="a01807.html#ac6fc5a04ad73460ae55c73bb8f515712">rootBasis</a>.<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>(),·<a·class="code·hl_function"·href="a01807.html#a7c1756f78b770fbbe6937b8a146cdc81">prefixPath</a>))</div> | ||
136 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span> | 128 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>{</div> |
137 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 129 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordflow">return</span>·std::tuple_size<std::decay_t<decltype(fieldTypes<V>())>>::value==1;</div> |
138 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span> | 130 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}</div> |
139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01807.html#a8ce8499d3a9117e5138f1ba231a80fcf">···80</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01807.html#a6e7dd708494382dad7cc288ce6cfe6b8">GridView</a>&·<a·class="code·hl_function"·href="a01807.html#a8ce8499d3a9117e5138f1ba231a80fcf">gridView</a>()<span·class="keyword">·const</span></div> | ||
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">··</span>{</div> | ||
141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01807.html#a2f6185785e7ee3ad97f7239fed6f3e39">rootBasis_</a>->gridView();</div> | ||
142 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div> | ||
143 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
144 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01807.html#acbfda46d0971e6f82b7649e195663702">···88</a></span>··<a·class="code·hl_typedef"·href="a01807.html#ad328a135f42bb2a6b9bf60983f61f254">size_type</a>·<a·class="code·hl_function"·href="a01807.html#acbfda46d0971e6f82b7649e195663702">dimension</a>()<span·class="keyword">·const</span></div> | ||
Max diff block lines reached; 49220/86550 bytes (56.87%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | utf-8 |
Offset 4, 247 lines modified | Offset 4, 365 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·backends | |
8 | istlvectorbackend.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH |
13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_S | 13 | ·4#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_ISTLVECTORBACKEND_HH |
14 | ·5 | 14 | ·5 |
15 | ·6#include·<dune/common/reservedvector.hh> | ||
16 | ·7#include·<dune/common/typeutilities.hh> | ||
17 | · | 15 | ·6#include·<cstddef> |
16 | ·7#include·<utility> | ||
17 | ·8#include·<type_traits> | ||
18 | ·9 | 18 | ·9 |
19 | ·10#include·<dune/ | 19 | ·10#include·<dune/common/std/type_traits.hh> |
20 | ·11#include·<dune/functions/functionspacebases/subspacelocalview.hh> | ||
21 | ·12#include·<dune/functions/functionspacebases/concepts.hh> | ||
22 | ·1 | 20 | ·11#include·<dune/common/indices.hh> |
21 | ·12#include·<dune/common/hybridutilities.hh> | ||
22 | ·13#include·<dune/common/concept.hh> | ||
23 | ·14 | 23 | ·14 |
24 | ·15 | ||
25 | ·16namespace·Dune·{ | ||
26 | ·1 | 24 | ·15#include·<dune/functions/common/indexaccess.hh> |
25 | ·16#include·<dune/functions/functionspacebases/concepts.hh> | ||
26 | ·17 | ||
27 | ·18 | 27 | ·18 |
28 | ·19 | ||
29 | · | 28 | ·19namespace·Dune·{ |
29 | ·20namespace·Functions·{ | ||
30 | ·21 | ||
30 | ·2 | 31 | ·22namespace·Impl·{ |
32 | ·23 | ||
33 | ·24template<class·V, | ||
34 | ·25·std::enable_if_t<not·Dune::models<Imp::Concept::HasStaticIndexAccess,·V>() | ||
35 | ,·int>·=·0> | ||
36 | ·26auto·fieldTypes(V&&·/*v*/) | ||
37 | ·27{ | ||
38 | ·28·return·TypeList<V>{}; | ||
31 | ·22 | ||
32 | ·23·template<class...·Inner,·class...·Outer> | ||
33 | ·24·auto·joinTreePaths(const·TypeTree::HybridTreePath<Inner...>&·inner,·const | ||
34 | TypeTree::HybridTreePath<Outer...>·outer) | ||
35 | ·25·{ | ||
36 | ·26·return·TypeTree::HybridTreePath<Inner...,·Outer...>(std::tuple_cat | ||
37 | (inner._data,·outer._data)); | ||
38 | ·27·} | ||
39 | ·28 | ||
40 | ·29·template<class·InnerTP,·class·OuterTP> | ||
41 | ·30·using·JoinTreePath_t·=·std::decay_t<decltype(joinTreePaths(std:: | ||
42 | declval<InnerTP>(),·std::declval<OuterTP>()))>; | ||
43 | ·31 | ||
44 | · | 39 | ·29} |
45 | ·3 | 40 | ·30 |
41 | ·31template<class·V, | ||
42 | ·32·std::enable_if_t<Dune::models<Imp::Concept::HasStaticIndexAccess,·V>(), | ||
43 | int>·=·0> | ||
44 | ·33auto·fieldTypes(V&&·v) | ||
46 | ·34 | 45 | ·34{ |
47 | ·35 | ||
48 | ·36template<class·RB,·class·TP> | ||
49 | 3 | 46 | ·35·if·constexpr·(Dune::models<Imp::Concept::HasDynamicIndexAccess<std:: |
47 | size_t>,·V>()) | ||
48 | ·36·return·fieldTypes(v[std::size_t{0}]); | ||
49 | ·37·else | ||
50 | ·38{ | 50 | ·38·{ |
51 | ·39public: | ||
52 | ·40 | ||
53 | 41·using·RootBasis·=·RB; | ||
54 | ·42 | ||
55 | 51 | ·39·auto·indexRange·=·typename·decltype(range(Hybrid::size(v))):: | |
52 | integer_sequence(); | ||
53 | ·40·return·unpackIntegerSequence([&](auto...·i)·{ | ||
54 | ·41·return·uniqueTypeList(std::tuple_cat(fieldTypes(v[i])...)); | ||
55 | ·42·},·indexRange); | ||
56 | ·43·} | ||
56 | ·44 | 57 | ·44} |
57 | 45·using·PrefixPath·=·TP; | ||
58 | ·46 | ||
59 | 58 | ·45 | |
59 | ·46}·//·namespace·Impl | ||
60 | ·47 | ||
61 | ·48 | ||
60 | ·49 | 62 | ·49 |
63 | ·62template<class·V> | ||
64 | 63constexpr·auto·fieldTypes() | ||
65 | ·64{ | ||
66 | ·65·return·decltype(Impl::fieldTypes(std::declval<V>())){}; | ||
61 | 51·using·MultiIndex·=·typename·RootBasis::MultiIndex; | ||
62 | ·52 | ||
63 | 53·using·size_type·=·std::size_t; | ||
64 | ·54 | ||
65 | 56·using·LocalView·=·SubspaceLocalView<RootLocalView,_PrefixPath>; | ||
66 | ·57 | ||
67 | 58·using·SizePrefix·=·typename·RootBasis::SizePrefix; | ||
68 | ·59 | ||
69 | ·60 | ||
70 | 62·SubspaceBasis(const·RootBasis&·rootBasis,·const·PrefixPath&·prefixPath)·: | ||
71 | ·63·rootBasis_(&rootBasis), | ||
72 | ·64·prefixPath_(prefixPath) | ||
73 | ·65·{} | ||
74 | ·66 | 67 | ·66} |
68 | ·67 | ||
69 | ·73template<class·V> | ||
70 | 74constexpr·bool·hasUniqueFieldType() | ||
75 | ·72·template<class·RootRootBasis,·class·InnerTP,·class·OuterTP> | ||
76 | 73·SubspaceBasis(const·SubspaceBasis<RootRootBasis,_InnerTP>&·rootBasis,·const | ||
77 | OuterTP&·prefixPath)·: | ||
78 | ·74·SubspaceBasis(rootBasis.rootBasis(),·Impl::joinTreePaths | ||
79 | (rootBasis.prefixPath(),·prefixPath)) | ||
80 | ·75 | 71 | ·75{ |
81 | ·76 | 72 | ·76·return·std::tuple_size<std::decay_t<decltype(fieldTypes<V>())>>::value==1; |
82 | ·77 | 73 | ·77} |
83 | 80·const·GridView&·gridView()·const | ||
84 | ·81·{ | ||
85 | ·82·return·rootBasis_->gridView(); | ||
86 | ·83·} | ||
87 | ·84 | ||
88 | 88·size_type·dimension()·const | ||
Max diff block lines reached; 12487/18543 bytes (67.34%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·polynomial.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 85 lines modified | Offset 58, 42 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
71 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">polynomial.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<cmath></code><br·/> |
75 | <code>#include·<initializer_list></code><br·/> | ||
76 | <code>#include·< | 76 | <code>#include·<vector></code><br·/> |
77 | </div> | 77 | </div> |
78 | <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p> | 78 | <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
81 | Classes</h2></td></tr> | 81 | Classes</h2></td></tr> |
82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01047.html">Dune::Functions::Polynomial<·K·></a></td></tr> |
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01415.html">Dune::Functions::BasisFactory::IndexMergingStrategy</a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 83 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·scalar·polynomial·implementation.··<a·href="a01047.html#details">More...</a><br·/></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01419.html">Dune::Functions::BasisFactory::FlatLexicographic</a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·without·blocking.··<a·href="a01419.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01423.html">Dune::Functions::BasisFactory::FlatInterleaved</a></td></tr> | ||
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·without·blocking.··<a·href="a01423.html#details">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01427.html">Dune::Functions::BasisFactory::BlockedLexicographic</a></td></tr> | ||
94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<a·href="a01427.html#details">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01431.html">Dune::Functions::BasisFactory::BlockedInterleaved</a></td></tr> | ||
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<a·href="a01431.html#details">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | </table><table·class="memberdecls"> | 85 | </table><table·class="memberdecls"> |
100 | <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> |
101 | Namespaces</h2></td></tr> | 87 | Namespaces</h2></td></tr> |
102 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 90 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a00220"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00220.html">Dune::Functions::Concept</a></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a00225"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00225.html">Dune::Functions::BasisBuilder</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
116 | <tr·class="memitem:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">Dune::Functions::Concept::isIndexMergingStrategy</a>·()</td></tr> | ||
117 | <tr·class="separator:a067e42f1ca7d6c4131518e5eb269da35"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | ||
119 | <tr·class="memitem:a4c80c069c722824168167f5ac1bc3474"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·bool </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00220.html#a4c80c069c722824168167f5ac1bc3474">Dune::Functions::Concept::isIndexMergingStrategy</a>·(T·&&t)</td></tr> | ||
120 | <tr·class="separator:a4c80c069c722824168167f5ac1bc3474"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | <tr·class="memitem:ad515867ac194016a6f9e4463d1c67a24"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html#ad515867ac194016a6f9e4463d1c67a24">Dune::Functions::BasisFactory::registerIndexMergingStrategy</a>·(IndexMergingStrategy)</td></tr> | ||
122 | <tr·class="separator:ad515867ac194016a6f9e4463d1c67a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
123 | <tr·class="memitem:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memItemLeft"·align="right"·valign="top">constexpr·FlatLexicographic </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga611fb3c6cb312fb95e83dd1a62da13bc">Dune::Functions::BasisFactory::flatLexicographic</a>·()</td></tr> | ||
124 | <tr·class="memdesc:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·without·blocking.··<a·href="a00214.html#ga611fb3c6cb312fb95e83dd1a62da13bc">More...</a><br·/></td></tr> | ||
125 | <tr·class="separator:ga611fb3c6cb312fb95e83dd1a62da13bc"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | <tr·class="memitem:ga67995074ba44e2e28647170584f54bec"><td·class="memItemLeft"·align="right"·valign="top">constexpr·FlatInterleaved </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga67995074ba44e2e28647170584f54bec">Dune::Functions::BasisFactory::flatInterleaved</a>·()</td></tr> | ||
127 | <tr·class="memdesc:ga67995074ba44e2e28647170584f54bec"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·without·blocking.··<a·href="a00214.html#ga67995074ba44e2e28647170584f54bec">More...</a><br·/></td></tr> | ||
128 | <tr·class="separator:ga67995074ba44e2e28647170584f54bec"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
129 | <tr·class="memitem:gadd59442e0e62464ee27af6f2741b4494"><td·class="memItemLeft"·align="right"·valign="top">constexpr·BlockedLexicographic </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#gadd59442e0e62464ee27af6f2741b4494">Dune::Functions::BasisFactory::blockedLexicographic</a>·()</td></tr> | ||
130 | <tr·class="memdesc:gadd59442e0e62464ee27af6f2741b4494"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·a·lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).··<a·href="a00214.html#gadd59442e0e62464ee27af6f2741b4494">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:gadd59442e0e62464ee27af6f2741b4494"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
132 | <tr·class="memitem:ga649b67336300e9f05e38b5479ca21a24"><td·class="memItemLeft"·align="right"·valign="top">constexpr·BlockedInterleaved </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga649b67336300e9f05e38b5479ca21a24">Dune::Functions::BasisFactory::blockedInterleaved</a>·()</td></tr> | ||
133 | <tr·class="memdesc:ga649b67336300e9f05e38b5479ca21a24"><td·class="mdescLeft"> </td><td·class="mdescRight">Creates·an·interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).··<a·href="a00214.html#ga649b67336300e9f05e38b5479ca21a24">More...</a><br·/></td></tr> | ||
134 | <tr·class="separator:ga649b67336300e9f05e38b5479ca21a24"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
135 | </table> | 92 | </table> |
136 | </div><!--·contents·--> | 93 | </div><!--·contents·--> |
137 | <!--·start·footer·part·--> | 94 | <!--·start·footer·part·--> |
138 | <hr·class="footer"/><address·class="footer"><small> | 95 | <hr·class="footer"/><address·class="footer"><small> |
139 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
140 | </small></address> | 97 | </small></address> |
141 | </body> | 98 | </body> |
Offset 4, 83 lines modified | Offset 4, 26 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·analyticfunctions |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
9 | basistags.hh·File·Reference | ||
10 | #include·<type_traits> | ||
11 | 9 | polynomial.hh·File·Reference | |
10 | #include·<cmath> | ||
11 | #include·<initializer_list> | ||
12 | #include·<vector> | ||
12 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
13 | ·Classes | 14 | ·Classes |
15 | class· Dune::Functions::Polynomial<_K_> | ||
16 | ······A·scalar·polynomial·implementation.·More... | ||
14 | struct· Dune::Functions::Concept::IndexMergingStrategy | ||
15 | |||
16 | struct· Dune::Functions::BasisFactory::IndexMergingStrategy | ||
17 | ·······Base·class·for·index·merging·strategies·to·simplify·detection.·More... | ||
18 | |||
19 | struct· Dune::Functions::BasisFactory::FlatLexicographic | ||
20 | ·······Lexicographic·merging·of·direct·children·without·blocking.·More... | ||
21 | |||
22 | struct· Dune::Functions::BasisFactory::FlatInterleaved | ||
23 | ·······Interleaved·merging·of·direct·children·without·blocking.·More... | ||
24 | |||
25 | struct· Dune::Functions::BasisFactory::BlockedLexicographic | ||
26 | ·······Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating | ||
27 | ·········one·block·per·direct·child).·More... | ||
28 | |||
29 | struct· Dune::Functions::BasisFactory::BlockedInterleaved | ||
30 | ·······Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating | ||
31 | ·········blocks·at·the·leaves·containing·one·leaf·per·child·each).·More... | ||
32 | 17 | ||
33 | ·Namespaces | 18 | ·Namespaces |
34 | namespace· Dune | 19 | namespace· Dune |
35 | 20 | ||
36 | namespace· Dune::Functions | 21 | namespace· Dune::Functions |
37 | 22 | ||
38 | namespace· Dune::Functions::Concept | ||
39 | |||
40 | namespace· Dune::Functions::BasisFactory | ||
41 | |||
42 | namespace· Dune::Functions::BasisBuilder | ||
43 | |||
44 | ·Functions | ||
45 | template<typename·T·> | ||
46 | ·········static·constexpr·bool Dune::Functions::Concept:: | ||
47 | ································isIndexMergingStrategy·() | ||
48 | |||
49 | template<typename·T·> | ||
50 | ·········static·constexpr·bool Dune::Functions::Concept:: | ||
51 | ································isIndexMergingStrategy·(T·&&t) | ||
52 | |||
53 | ··························void Dune::Functions::BasisFactory:: | ||
54 | ································registerIndexMergingStrategy | ||
55 | ································(IndexMergingStrategy) | ||
56 | |||
57 | ···constexpr·FlatLexicographic Dune::Functions::BasisFactory:: | ||
58 | ································flatLexicographic·() | ||
59 | ······························Creates·a·lexicographic·merging·of·direct | ||
60 | ································children·without·blocking.·More... | ||
61 | |||
62 | ·····constexpr·FlatInterleaved Dune::Functions::BasisFactory::flatInterleaved | ||
63 | ································() | ||
64 | ······························Creates·an·interleaved·merging·of·direct | ||
65 | ································children·without·blocking.·More... | ||
66 | |||
67 | constexpr·BlockedLexicographic Dune::Functions::BasisFactory:: | ||
68 | ································blockedLexicographic·() | ||
69 | ································Creates·a·lexicographic·merging·of·direct | ||
70 | ······························children·with·blocking·(i.e.·creating·one·block | ||
71 | ································per·direct·child).·More... | ||
72 | |||
73 | ··constexpr·BlockedInterleaved Dune::Functions::BasisFactory:: | ||
74 | ································blockedInterleaved·() | ||
75 | ································Creates·an·interleaved·merging·of·direct | ||
76 | ······························children·with·blocking·(i.e.·creating·blocks·at | ||
77 | ································the·leaves·containing·one·leaf·per·child·each). | ||
78 | ································More... | ||
79 | |||
80 | =============================================================================== | 23 | =============================================================================== |
81 | ·····Generated·by [doxygen]·1.9.4 | 24 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·polynomial.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 126 lines modified | Offset 58, 106 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">polynomial.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00161.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00161.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cmath></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<initializer_list></span></div> | ||
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<vector></span></div> |
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
79 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno"><a·class="line"·href="a00218.html">···10</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
80 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno"><a·class="line"·href="a00219.html">···11</a></span><span·class="keyword">namespace·</span>Functions·{</div> |
81 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>··<span·class="keyword">namespace·</span>Concept·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno"><a·class="line"·href="a01411.html">···14</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01411.html">IndexMergingStrategy</a></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>····{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>······<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a01411.html#a8552823d8c75d18bca5f41f36cd7b2dd">···17</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01411.html#a8552823d8c75d18bca5f41f36cd7b2dd">require</a>(T&&·t)·->·<span·class="keyword">decltype</span>(</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>········<a·class="code·hl_function"·href="a00224.html#ad515867ac194016a6f9e4463d1c67a24">registerIndexMergingStrategy</a>(t)</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>······);</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····};</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> | ||
92 | <div·class="line"><a·id="l0002 | 84 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K></div> |
85 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01047.html">···25</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01047.html">Polynomial</a></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">···23</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>()</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····{</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>······<span·class="keywordflow">return</span>·models<Concept::IndexMergingStrategy,T>();</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span> | 86 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> |
87 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">public</span>:</div> | ||
97 | <div·class="line"><a·id="l0002 | 88 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
89 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">···30</a></span>··<a·class="code·hl_function"·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">Polynomial</a>()·=·<span·class="keywordflow">default</span>;</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·T></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00220.html#a4c80c069c722824168167f5ac1bc3474">···29</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00220.html#a067e42f1ca7d6c4131518e5eb269da35">isIndexMergingStrategy</a>(T&&·t)</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="keywordflow">return</span>·models<Concept::IndexMergingStrategy,std::decay_t<T>>();</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····}</div> | ||
103 | <div·class="line"><a·id="l0003 | 90 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
104 | <div·class="line"><a·id="l0003 | 91 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01047.html#a9ebe46572da09754e511648d2a4a99fa">···33</a></span>··<a·class="code·hl_function"·href="a01047.html#a9ebe46572da09754e511648d2a4a99fa">Polynomial</a>(<span·class="keyword">const</sp[·...·truncated·by·diffoscope;·len:·118,·SHA:·fff31f6155731c65e14e4a218c49a713a903a60107fe019a81fa53ed5fd80d06·...·]</div> |
105 | <div·class="line"><a·id="l0003 | 92 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01047.html#ab919f934c4c52541f63ae715a93f1e86">···36</a></span>··<a·class="code·hl_function"·href="a01047.html#ab919f934c4c52541f63ae715a93f1e86">Polynomial</a>(<a·class="code·hl_class"·href="a01047.html">Polynomial</a>&&·other)·=·<span·class="keywordflow">default</span>;</div> | ||
106 | <div·class="line"><a·id="l0003 | 94 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
95 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01047.html#a44d7c53091353fbc4c62244ffa6535fc">···39</a></span>··<a·class="code·hl_class"·href="a01047.html">Polynomial</a>&·<a·class="code·hl_function"·href="a01047.html#a44d7c53091353fbc4c62244ffa6535fc">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01047.html">Polynomial</a>&·other)·=·<span·class="keywordflow">default</span>;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00224.html">···37</a></span><span·class="keyword">namespace·</span>BasisFactory·{</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01415.html">···44</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a>·{};</div> | ||
110 | <div·class="line"><a·id="l0004 | 96 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
111 | <div·class="line"><a·id="l0004 | 97 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01047.html#a54908974456c23c0e25d07432c3baf7b">···42</a></span>··<a·class="code·hl_class"·href="a01047.html">Polynomial</a>&·<a·class="code·hl_function"·href="a01047.html#a54908974456c23c0[·...·truncated·by·diffoscope;·len:·150,·SHA:·86a700414db494a8b029dce2eb650cd0d6dea85c4fa3bc456cd525b2f48dfd41·...·];</div> |
112 | <div·class="line"><a·id="l0004 | 98 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
113 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01047.html#a6633b542efeca5e07d3b20067f41e5f2">···50</a></span>··<a·class="code·hl_function"·href="a01047.html#a6633b542efeca5e07d3b20067f41e5f2">Polynomial</a>(std::initializer_list<K>[·...·truncated·by·diffoscope;·len:·101,·SHA:·4a2156038c15ba7826a1b59a6d278b5a4f59d781380d0be931ced6d40de66892·...·]</div> |
100 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····coefficients_(<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>)</div> | ||
101 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{}</div> | ||
102 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
103 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01047.html#aff931db9cc831af67faa25633608b1de">···61</a></span>··<a·class="code·hl_function"·href="a01047.html#aff931db9cc831af67faa25633608b1de">Polynomial</a>(std::vector<K>&&·<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>)·:</div> | ||
104 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······coefficients_(std::move(<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>))</div> | ||
105 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{}</div> | ||
106 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
107 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01047.html#ac4a5b23bc08351760ce7053e0c930e45">···72</a></span>··<a·class="code·hl_function"·href="a01047.html#ac4a5b23bc08351760ce7053e0c930e45">Polynomial</a>(<span·class="keyword">const</span>·std::vector<K>&·<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>)·:</div> | ||
108 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····coefficients_(<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>)</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>·</div> | ||
111 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01047.html#a99d155c4d14b9348fcc7b1fbfaa4b2b3">···77</a></span>··K·<a·class="code·hl_function"·href="a01047.html#a99d155c4d14b9348fcc7b1fbfaa4b2b3">operator()·</a>(<span·class="keyword">const</span>·K&·x)<span·class="keyword">·const</span></div> | ||
112 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">··</span>{</div> | ||
114 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>···· | 113 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">auto</span>·y·=·K(0);</div> |
114 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<coefficients_.size();·++i)</div> | ||
115 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······y·+=·coefficients_[i]·*·std::pow(x,·i);</div> | ||
116 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">return</span>·y;</div> | ||
115 | <div·class="line"><a·id="l0008 | 117 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div> |
116 | <div·class="line"><a·id="l0008 | 118 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
117 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01423.html">··112</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01423.html">FlatInterleaved</a></div> | ||
118 | <div·class="line"><a·id="l00 | 119 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00209.html#gab201f37e58ec35c0d6fc0029ea309a92">···94</a></span>··<span·class="keyword">friend</span>·<a·class="code·hl_class"·href="a01047.html">Polynomial</a>·<a·class="code·hl_friend"·hre[·...·truncated·by·diffoscope;·len:·167,·SHA:·4e2b725f63489a9a5f8c3128058955e0a81630afff7acfacd32c807fb7a061f7·...·]</div> |
120 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div> | ||
121 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····std::vector<K>·dpCoefficients(p.<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>().size()-1);</div> | ||
122 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=1;·i<p.coefficients_.size();·++i)</div> | ||
123 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······dpCoefficients[i-1]·=·p.<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>()[i]*i;</div> | ||
124 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">Polynomial</a>(std::move(dpCoefficients));</div> | ||
125 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··}</div> | ||
126 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
127 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">··103</a></span>··<span·class="keyword">const</span>·std::vector<K>&·<a·class="code·hl_function"·href="a01047.html#a2666283c2d91541edb1238733b9137a2">coefficients</a>()<span·class="keyword">·const</span></div> | ||
128 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="keyword">··</span>{</div> | ||
129 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keywordflow">return</span>·coefficients_;</div> | ||
130 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··}</div> | ||
131 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> | ||
132 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="keyword">private</span>:</div> | ||
133 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··std::vector<K>·coefficients_;</div> | ||
119 | <div·class="line"><a·id="l0011 | 134 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>};</div> |
135 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
136 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> | ||
137 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> | ||
138 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> | ||
120 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> | 139 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> |
121 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="a01427.html">··146</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01427.html">BlockedLexicographic</a></div> | ||
122 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a></div> | ||
123 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··{};</div> | ||
124 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> | ||
125 | <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a01431.html">··180</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01431.html">BlockedInterleaved</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01415.html">IndexMergingStrategy</a>·{};</div> | ||
126 | <div·class="line"><a·id="l001 | 140 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> |
127 | <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>·</div> | ||
Max diff block lines reached; 6838/37584 bytes (18.19%) of diff not shown. |
Offset 4, 150 lines modified | Offset 4, 129 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·analyticfunctions | |
8 | polynomial.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BASISTAGS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH |
13 | ·4#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<type_traits> | ||
16 | ·7#include·<dune/common/concept.hh> | ||
17 | · | 15 | ·6#include·<cmath> |
16 | ·7#include·<initializer_list> | ||
17 | ·8#include·<vector> | ||
18 | ·9 | ||
18 | 19 | 10namespace·Dune·{ | |
19 | 20 | 11namespace·Functions·{ | |
21 | ·12 | ||
20 | ·11 | ||
21 | ·12·namespace·Concept·{ | ||
22 | ·13 | 22 | ·13 |
23 | 14·struct·IndexMergingStrategy | ||
24 | ·15·{ | ||
25 | ·16·template<typename·T> | ||
26 | 17·auto·require(T&&·t)·->·decltype( | ||
27 | ·18·registerIndexMergingStrategy(t) | ||
28 | ·19·); | ||
29 | ·20·}; | ||
30 | ·21 | ||
31 | ·22·template<typename·T> | ||
32 | 23·static·constexpr·bool·isIndexMergingStrategy() | ||
33 | ·24·{ | ||
34 | ·25·return·models<Concept::IndexMergingStrategy,T>(); | ||
35 | ·26·} | ||
36 | ·27 | ||
37 | ·28·template<typename·T> | ||
38 | 29·static·constexpr·bool·isIndexMergingStrategy(T&&·t) | ||
39 | ·30·{ | ||
40 | · | 23 | ·24template<class·K> |
24 | 25class·Polynomial | ||
25 | ·26{ | ||
26 | ·27public: | ||
27 | ·28 | ||
28 | 30·Polynomial()·=·default; | ||
29 | ·31 | ||
30 | 33·Polynomial(const·Polynomial&·other)·=·default; | ||
31 | ·34 | ||
32 | 36·Polynomial(Polynomial&&·other)·=·default; | ||
33 | ·37 | ||
34 | 39·Polynomial&·operator=(const·Polynomial&·other)·=·default; | ||
35 | ·40 | ||
36 | 42·Polynomial&·operator=(Polynomial&&·other)·=·default; | ||
37 | ·43 | ||
38 | 50·Polynomial(std::initializer_list<K>·coefficients)·: | ||
39 | ·51·coefficients_(coefficients) | ||
40 | ·52·{} | ||
41 | ·53 | ||
42 | 61·Polynomial(std::vector<K>&&·coefficients)·: | ||
43 | ·62·coefficients_(std::move(coefficients)) | ||
44 | ·63·{} | ||
45 | ·64 | ||
46 | 72·Polynomial(const·std::vector<K>&·coefficients)·: | ||
47 | ·73·coefficients_(coefficients) | ||
48 | ·74·{} | ||
49 | ·75 | ||
50 | 77·K·operator()(const·K&·x)·const | ||
51 | ·78·{ | ||
52 | ·79·auto·y·=·K(0); | ||
53 | ·80·for·(size_t·i=0;·i<coefficients_.size();·++i) | ||
54 | ·81·y·+=·coefficients_[i]·*·std::pow(x,·i); | ||
55 | ·82·return·y; | ||
41 | · | 56 | ·83·} |
42 | ·33 | ||
43 | ·34·}·//·namespace·Concept | ||
44 | ·35 | ||
45 | ·36 | ||
46 | 37namespace·BasisFactory·{ | ||
47 | ·38 | ||
48 | 44·struct·IndexMergingStrategy·{}; | ||
49 | ·45 | ||
50 | 46·void·registerIndexMergingStrategy(IndexMergingStrategy); | ||
51 | ·47 | ||
52 | 78·struct·FlatLexicographic | ||
53 | ·79·:·public·IndexMergingStrategy | ||
54 | ·80·{}; | ||
55 | ·81 | ||
56 | 112·struct·FlatInterleaved | ||
57 | ·113·:·public·IndexMergingStrategy | ||
58 | · | 57 | ·84 |
58 | 94·friend·Polynomial·derivative(const·Polynomial&·p) | ||
59 | ·95·{ | ||
60 | ·96·std::vector<K>·dpCoefficients(p.coefficients().size()-1); | ||
61 | ·97·for·(size_t·i=1;·i<p.coefficients_.size();·++i) | ||
62 | ·98·dpCoefficients[i-1]·=·p.coefficients()[i]*i; | ||
63 | ·99·return·Polynomial(std::move(dpCoefficients)); | ||
64 | ·100·} | ||
65 | ·101 | ||
66 | 103·const·std::vector<K>&·coefficients()·const | ||
67 | ·104·{ | ||
68 | ·105·return·coefficients_; | ||
69 | ·106·} | ||
70 | ·107 | ||
71 | ·108private: | ||
72 | ·109·std::vector<K>·coefficients_; | ||
73 | ·110}; | ||
74 | ·111 | ||
75 | ·112 | ||
76 | ·113 | ||
77 | ·114}}·//·namespace·Dune::Functions | ||
59 | ·115 | 78 | ·115 |
60 | 146·struct·BlockedLexicographic | ||
61 | ·147·:·public·IndexMergingStrategy | ||
62 | ·148·{}; | ||
63 | ·149 | ||
64 | 180·struct·BlockedInterleaved·:·public·IndexMergingStrategy·{}; | ||
65 | ·1 | 79 | ·116 |
80 | ·117 | ||
81 | ·118#endif·//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_POLYNOMIAL_HH | ||
82 | Dune::Functions::Polynomial::derivative | ||
Max diff block lines reached; 2768/7679 bytes (36.05%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·trigonometricfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 58 lines modified | Offset 58, 48 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">trigonometricfunction.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<cmath></code><br·/> |
76 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
77 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
78 | </div> | 76 | </div> |
79 | <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p> | 77 | <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p> |
80 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
82 | Classes</h2></td></tr> | 80 | Classes</h2></td></tr> |
83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 81 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01051.html">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·></a></td></tr> |
84 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 82 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·linear·combination·of·trigonomic·functions.··<a·href="a01051.html#details">More...</a><br·/></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | </table><table·class="memberdecls"> | 84 | </table><table·class="memberdecls"> |
87 | <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> |
88 | Namespaces</h2></td></tr> | 86 | Namespaces</h2></td></tr> |
89 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 87 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 89 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 91 | </table><table·class="memberdecls"> |
94 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 92 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
95 | Functions</h2></td></tr> | 93 | Functions</h2></td></tr> |
94 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplParams"·colspan="2">template<class·K·,·int·sinFactor,·int·cosFactor>·</td></tr> | ||
95 | <tr·class="memitem:ga7ec424ff4be740ad675bd85750940472"><td·class="memTemplItemLeft"·align="right"·valign="top">TrigonometricFunction<·K,·-cosFactor,·sinFactor·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">Dune::Functions::derivative</a>·(const·TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f)</td></tr> | ||
96 | <tr·class="memdesc:ga7ec424ff4be740ad675bd85750940472"><td·class="mdescLeft"> </td><td·class="mdescRight">Obtain·derivative·of·<a·class="el"·href="a01051.html"·title="A·linear·combination·of·trigonomic·functions.">TrigonometricFunction</a>·function.··<a·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">More...</a><br·/></td></tr> | ||
96 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | ||
97 | <tr·class="memitem:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">Dune::Functions::subEntityDOFs</a>·(const·T·&)</td></tr> | ||
98 | <tr·class="memdesc:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<a·href="a00214.html#ga0b9da94fff21e98877d0e3fe1c1554c7">More...</a><br·/></td></tr> | ||
99 | <tr·class="separator:ga0b9da94fff21e98877d0e3fe1c1554c7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
100 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> | ||
101 | <tr·class="memitem:ga5803226b1ed4bf848a9532181c952244"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga5803226b1ed4bf848a9532181c952244">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | ||
102 | <tr·class="memdesc:ga5803226b1ed4bf848a9532181c952244"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<a·href="a00214.html#ga5803226b1ed4bf848a9532181c952244">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:ga | 97 | <tr·class="separator:ga7ec424ff4be740ad675bd85750940472"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplParams"·colspan="2">template<class·LocalView·,·class·Intersection·>·</td></tr> | ||
105 | <tr·class="memitem:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00214.html#ga09ad7987f85909bfcf269a0de9c652d8">Dune::Functions::subEntityDOFs</a>·(const·LocalView·&localView,·const·Intersection·&intersection)</td></tr> | ||
106 | <tr·class="memdesc:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·bound·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object.··<a·href="a00214.html#ga09ad7987f85909bfcf269a0de9c652d8">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:ga09ad7987f85909bfcf269a0de9c652d8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | </table> | 98 | </table> |
109 | </div><!--·contents·--> | 99 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 100 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 101 | <hr·class="footer"/><address·class="footer"><small> |
112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 102 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
113 | </small></address> | 103 | </small></address> |
114 | </body> | 104 | </body> |
Offset 4, 41 lines modified | Offset 4, 32 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*· | 7 | ····*·analyticfunctions |
8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
9 | 9 | trigonometricfunction.hh·File·Reference | |
10 | #include·< | 10 | #include·<cmath> |
11 | #include·<dune/geometry/referenceelements.hh> | ||
12 | #include·<dune/typetree/traversal.hh> | ||
13 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
14 | ·Classes | 12 | ·Classes |
15 | class· Dune::Functions::SubEntityDOFs<_GridView_> | ||
16 | | 13 | class· Dune::Functions::TrigonometricFunction<_K,_sinFactor,_cosFactor_> |
14 | ······A·linear·combination·of·trigonomic·functions.·More... | ||
17 | 15 | ||
18 | ·Namespaces | 16 | ·Namespaces |
19 | namespace· Dune | 17 | namespace· Dune |
20 | 18 | ||
21 | namespace· Dune::Functions | 19 | namespace· Dune::Functions |
22 | 20 | ||
23 | ·Functions | 21 | ·Functions |
22 | template<class·K·,·int·sinFactor,·int·cosFactor> | ||
23 | TrigonometricFunction<·K,·-cosFactor,·Dune::Functions::derivative·(const | ||
24 | ·························sinFactor·> TrigonometricFunction<·K,·sinFactor, | ||
25 | ······································cosFactor·>·&f) | ||
26 | ····································Obtain·derivative·of | ||
27 | ······································TrigonometricFunction·function.·More... | ||
24 | template<class·T·> | ||
25 | auto Dune::Functions::subEntityDOFs·(const·T·&) | ||
26 | ····Create·SubEntityDOFs·object.·More... | ||
27 | |||
28 | template<class·LocalView·> | ||
29 | auto Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·std::size_t | ||
30 | ······subEntityIndex,·std::size_t·subEntityCodim) | ||
31 | ····Create·bound·SubEntityDOFs·object.·More... | ||
32 | |||
33 | template<class·LocalView·,·class·Intersection·> | ||
34 | auto Dune::Functions::subEntityDOFs·(const·LocalView·&localView,·const | ||
35 | ······Intersection·&intersection) | ||
36 | ····Create·bound·SubEntityDOFs·object.·More... | ||
37 | 28 | ||
38 | =============================================================================== | 29 | =============================================================================== |
39 | ·····Generated·by [doxygen]·1.9.4 | 30 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·trigonometricfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 152 lines modified | Offset 58, 61 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html">analyticfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">trigonometricfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <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> | 71 | <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> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<cmath></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
83 | <div·class="line"><a·id="l000 | 83 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·sinFactor,·<span·class="keywordtype">int</span>·cosFactor></div> |
84 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01051.html">···26</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01051.html">TrigonometricFunction</a></div> | ||
85 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>{</div> | ||
86 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">public</span>:</div> | ||
87 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01051.html#a84e99df5856264ae06faa710876763aa">···30</a></span>··K·<a·class="code·hl_function"·href="a01051.html#a84e99df5856264ae06faa710876763aa">operator·()·</a>(<span·class="keyword">const</span>·K&·x)<span·class="keyword">·const</span></div> | ||
84 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">··</span>{</div> |
89 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keywordflow">return</span>·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x);</div> | ||
90 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··}</div> | ||
91 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>};</div> | ||
85 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
86 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
94 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span><<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·sinFactor,·<span·class="keywordtype">int</span>·cosFactor></div> | ||
95 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">···39</a></span><a·class="code·hl_class"·href="a01051.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>·<a·class="code·hl_function"·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">derivative</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01051.html">TrigonometricFunction<K,·sinFactor,·cosFactor></a>&·f)</div> | ||
87 | <div·class="line"><a·id="l000 | 96 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>{</div> |
97 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01051.html">TrigonometricFunction</a><K,·-cosFactor,·sinFactor>();</div> | ||
88 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View></div> | ||
89 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01803.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01803.html">SubEntityDOFs</a></div> | ||
90 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span> | 98 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}</div> |
91 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>· | 99 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
92 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 100 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
93 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> | ||
94 | <div·class="line"><a·id="l0004 | 101 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
95 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView></div> | ||
96 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">···64</a></span>··<a·class="code·hl_class"·href="a01803.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</div> | ||
97 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div> | ||
98 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
99 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····containedDOFs_.clear();</div> | ||
100 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····dofIsContained_.assign(localView.size(),·<span·class="keyword">false</span>);</div> | ||
101 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
102 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">auto</span>·re·=·Dune::referenceElement<double,dim>(localView.element().type());</div> | ||
103 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
104 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](<span·class="keyword">auto</span>&&·node,·<span·class="keyword">auto</span>&&·<span·class="comment">/*treePath*/</span>)·{</div> | ||
105 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······const·auto&·localCoefficients·=·node.finiteElement().localCoefficients();</div> | ||
106 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······std::size_t·localSize·=·localCoefficients.size();</div> | ||
107 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······for(std::size_t·i=0;·i<localSize;·++i)</div> | ||
108 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······{</div> | ||
109 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········auto·localKey·=·localCoefficients.localKey(i);</div> | ||
110 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim()).contains(localKey.subEntity()))</div> | ||
111 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········{</div> | ||
112 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··········containedDOFs_.push_back(node.localIndex(i));</div> | ||
113 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··········dofIsContained_[node.localIndex(i)]·=·true;</div> | ||
114 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········}</div> | ||
115 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······}</div> | ||
116 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····});</div> | ||
117 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
118 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··}</div> | ||
119 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
120 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·LocalView,·<span·class="keyword">class</span>·Intersection></div> | ||
121 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01803.html#a263bb19c72865bbad450b3c21ba6ad23">··104</a></span>··<a·class="code·hl_class"·href="a01803.html">SubEntityDOFs</a>&·<a·class="code·hl_function"·href="a01803.html#a263bb19c72865bbad450b3c21ba6ad23">bind</a>(<span·class="keyword">const</span>·LocalView&·localView,·<span·class="keyword">const</span>·Intersection&·intersection)</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">··106</span>····<span·class="keywordflow">return</span>·bind(localView,·intersection.indexInInside(),·1);</div> | ||
124 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··}</div> | ||
125 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | ||
126 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01803.html#a1cdf6bb0ea464ebf9df5ac067a218fd9">··110</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01803.html#a1cdf6bb0ea464ebf9df5ac067a218fd9">begin</a>()<span·class="keyword">·const</span></div> | ||
127 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="keyword">··</span>{</div> | ||
128 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keywordflow">return</span>·containedDOFs_.cbegin();</div> | ||
129 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··}</div> | ||
130 | <div·class="line"><a·id="l00 | 105 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
106 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH</span></div> | ||
107 | <div·class="ttc"·id="aa00209_html_ga7ec424ff4be740ad675bd85750940472"><div·class="ttname"><a·href="a00209.html#ga7ec424ff4be740ad675bd85750940472">Dune::Functions::derivative</a></div><div·class="ttdeci">TrigonometricFunction<·K,·-cosFactor,·sinFactor·>·derivative(const·TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f)</div><div·class="ttdoc">Obtain·derivative·of·TrigonometricFunction·function.</div><div·class="ttdef"><b>Definition:</b>·trigonometricfunction.hh:39</div></div> | ||
131 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a01803.html#a773f6413ae560bdbccdfedf332b602dd">··116</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01803.html#a773f6413ae560bdbccdfedf332b602dd">end</a>()<span·class="keyword">·const</span></div> | ||
132 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="keyword">··</span>{</div> | ||
133 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keywordflow">return</span>·containedDOFs_.cend();</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>·</div> | ||
136 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a01803.html#a2192e4fe71d9642ccd3ba5a64797a823">··122</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a01803.html#a2192e4fe71d9642ccd3ba5a64797a823">size</a>()<span·class="keyword">·const</span></div> | ||
137 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="keyword">··</span>{</div> | ||
138 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keywordflow">return</span>·containedDOFs_.size();</div> | ||
139 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··}</div> | ||
140 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> | ||
141 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a01803.html#ad8ae0869865b9f6a2aaa09a1a1ade514">··128</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>[](std::size_t·i)·<span·class="keyword">const</span></div> | ||
142 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··{</div> | ||
143 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<span·class="keywordflow">return</span>·containedDOFs_[i];</div> | ||
144 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··}</div> | ||
145 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div> | ||
146 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a01803.html#a4c581279b643d6b1800dfdadd73f4bda">··134</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01803.html#a4c581279b643d6b1800dfdadd73f4bda">contains</a>(std::size_t·localIndex)<span·class="keyword">·const</span></div> | ||
147 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="keyword">··</span>{</div> | ||
148 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····<span·class="keywordflow">return</span>·dofIsContained_[localIndex];</div> | ||
149 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··}</div> | ||
150 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> | ||
151 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span><span·class="keyword">private</span>:</div> | ||
152 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> | ||
153 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··std::vector<std::size_t>·containedDOFs_;</div> | ||
154 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··std::vector<bool>·dofIsContained_;</div> | ||
Max diff block lines reached; 3757/30740 bytes (12.22%) of diff not shown. |
Offset 4, 177 lines modified | Offset 4, 64 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·analyticfunctions | |
8 | trigonometricfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_SUBENTITYDOFS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH |
13 | ·4#define·DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·< | 15 | ·6#include·<cmath> |
16 | ·7 | 16 | ·7 |
17 | ·8#include·<dune/geometry/referenceelements.hh> | ||
18 | · | 17 | ·8namespace·Dune·{ |
18 | ·9namespace·Functions·{ | ||
19 | ·10 | 19 | ·10 |
20 | ·11 | 20 | ·11 |
21 | ·12 | 21 | ·12 |
22 | ·25template<class·K,·int·sinFactor,·int·cosFactor> | ||
23 | 26class·TrigonometricFunction | ||
22 | ·13namespace·Dune·{ | ||
23 | ·14namespace·Functions·{ | ||
24 | ·15 | ||
25 | ·16 | ||
26 | ·17 | ||
27 | ·40template<class·GridView> | ||
28 | 41class·SubEntityDOFs | ||
29 | · | 24 | ·27{ |
30 | · | 25 | ·28public: |
26 | 30·K·operator_()(const·K&·x)·const | ||
27 | ·31·{ | ||
28 | ·32·return·sinFactor·*·std::sin(x)·+·cosFactor·*·std::cos(x); | ||
29 | ·33·} | ||
30 | ·34}; | ||
31 | ·35 | ||
32 | ·36 | ||
33 | ·38template<class·K,·int·sinFactor,·int·cosFactor> | ||
34 | 39TrigonometricFunction<K,·-cosFactor,·sinFactor>·derivative(const | ||
35 | TrigonometricFunction<K,_sinFactor,_cosFactor>&·f) | ||
36 | ·40{ | ||
37 | ·41·return·TrigonometricFunction<K,·-cosFactor,·sinFactor>(); | ||
38 | ·42} | ||
39 | ·43 | ||
31 | ·44 | 40 | ·44 |
32 | ·45public: | ||
33 | ·46 | ||
34 | ·63·template<class·LocalView> | ||
35 | 64·SubEntityDOFs&·bind(const·LocalView&·localView,·std::size_t·subEntityIndex, | ||
36 | std::size_t·subEntityCodim) | ||
37 | ·65·{ | ||
38 | ·66·//·fill·vector·with·local·indices·of·all·DOFs·contained·in·subentity | ||
39 | ·67·containedDOFs_.clear(); | ||
40 | ·68·dofIsContained_.assign(localView.size(),·false); | ||
41 | ·69 | ||
42 | ·70·auto·re·=·Dune::referenceElement<double,dim>(localView.element().type()); | ||
43 | ·71 | ||
44 | ·72·Dune::TypeTree::forEachLeafNode(localView.tree(),·[&](auto&&·node,·auto&&·/ | ||
45 | *treePath*/)·{ | ||
46 | ·73·const·auto&·localCoefficients·=·node.finiteElement().localCoefficients(); | ||
47 | ·74·std::size_t·localSize·=·localCoefficients.size(); | ||
48 | ·75·for(std::size_t·i=0;·i<localSize;·++i) | ||
49 | ·76·{ | ||
50 | ·77·auto·localKey·=·localCoefficients.localKey(i); | ||
51 | ·78·if·(re.subEntities(subEntityIndex,·subEntityCodim,·localKey.codim | ||
52 | ()).contains(localKey.subEntity())) | ||
53 | ·79·{ | ||
54 | ·80·containedDOFs_.push_back(node.localIndex(i)); | ||
55 | ·81·dofIsContained_[node.localIndex(i)]·=·true; | ||
56 | ·82·} | ||
57 | ·83·} | ||
58 | ·84·}); | ||
59 | ·85·return·*this; | ||
60 | ·86·} | ||
61 | ·87 | ||
62 | ·103·template<class·LocalView,·class·Intersection> | ||
63 | 104·SubEntityDOFs&·bind(const·LocalView&·localView,·const·Intersection& | ||
64 | intersection) | ||
65 | ·105·{ | ||
66 | ·106·return·bind(localView,·intersection.indexInInside(),·1); | ||
67 | ·107·} | ||
68 | ·108 | ||
69 | 110·auto·begin()·const | ||
70 | ·111·{ | ||
71 | ·112·return·containedDOFs_.cbegin(); | ||
72 | ·113·} | ||
73 | ·114 | ||
74 | 116·auto·end()·const | ||
75 | ·117·{ | ||
76 | ·118·return·containedDOFs_.cend(); | ||
77 | ·119·} | ||
78 | ·120 | ||
79 | 122·auto·size()·const | ||
80 | ·123·{ | ||
81 | ·124·return·containedDOFs_.size(); | ||
82 | ·125·} | ||
83 | ·126 | ||
84 | 128·decltype(auto)·operator[](std::size_t·i)·const | ||
85 | ·129·{ | ||
86 | ·130·return·containedDOFs_[i]; | ||
87 | ·131·} | ||
88 | ·132 | ||
89 | 134·bool·contains(std::size_t·localIndex)·const | ||
90 | ·135·{ | ||
91 | ·136·return·dofIsContained_[localIndex]; | ||
92 | ·137·} | ||
93 | ·138 | ||
94 | ·139private: | ||
95 | ·140 | ||
96 | ·141·std::vector<std::size_t>·containedDOFs_; | ||
97 | ·142·std::vector<bool>·dofIsContained_; | ||
98 | ·143}; | ||
99 | ·144 | ||
100 | · | 41 | ·45 |
101 | ·146 | ||
102 | ·159template<class·T> | ||
103 | 160auto·subEntityDOFs(const·T&) | ||
104 | ·161{ | ||
105 | ·162·return·SubEntityDOFs<typename_T::GridView>{}; | ||
106 | ·163} | ||
107 | ·164 | ||
Max diff block lines reached; 1606/6419 bytes (25.02%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·composedgridfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 86 lines modified | Offset 58, 55 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh·File·Reference</div></div> |
74 | </div><!--header--> | 73 | </div><!--header--> |
75 | <div·class="contents"> | 74 | <div·class="contents"> |
76 | <p>The·B-spline·global·function·space·basis.·· | ||
77 | <a·href="#details">More...</a></p> | ||
78 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
79 | <code>#include·< | 76 | <code>#include·<tuple></code><br·/> |
77 | <code>#include·<dune/common/referencehelper.hh></code><br·/> | ||
80 | <code>#include·<dune/common/ | 78 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
82 | <code>#include·<dune/common/diagonalmatrix.hh></code><br·/> | ||
83 | <code>#include·<dune/localfunctions/common/localkey.hh></code><br·/> | ||
84 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
85 | <code>#include·<dune/geometry/type.hh></code><br·/> | ||
86 | <code>#include·<<a·class="el"·href="a001 | 81 | <code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
87 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
88 | </div> | 82 | </div> |
89 | <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p> |
90 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
91 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
92 | Classes</h2></td></tr> | 86 | Classes</h2></td></tr> |
93 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01483.html">Dune::Functions::BSplineLocalBasis<·GV,·R·></a></td></tr> | ||
94 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·to·a·knot·span.··<a·href="a01483.html#details">More...</a><br·/></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html">Dune::Functions::BSplineLocalCoefficients<·dim·></a></td></tr> | ||
97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Attaches·a·shape·function·to·an·entity.··<a·href="a01487.html#details">More...</a><br·/></td></tr> | ||
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01491.html">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·></a></td></tr> | ||
100 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.··<a·href="a01491.html#details">More...</a><br·/></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01475.html">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·></a></td></tr> | ||
103 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.··<a·href="a01475.html#details">More...</a><br·/></td></tr> | ||
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html">Dune::Functions::BSplinePreBasis<·GV·></a></td></tr> | ||
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·B-spline·basis.··<a·href="a01479.html#details">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html">Dune::Functions::ComposedGridFunction<·OF,·IF·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Composition·of·grid·functions·with·another·function.··<a·href="a01851.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 90 | </table><table·class="memberdecls"> |
111 | <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> |
112 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
113 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | </table><table·class="memberdecls"> | ||
120 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
121 | Typedefs</h2></td></tr> | ||
122 | <tr·class="memitem:ga189243b64e66543614a954706d70ce4a"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
123 | <tr·class="memitem:ga189243b64e66543614a954706d70ce4a"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga189243b64e66543614a954706d70ce4a">Dune::Functions::BSplineBasis</a>·=·DefaultGlobalBasis<·BSplinePreBasis<·GV·>·></td></tr> | ||
124 | <tr·class="memdesc:ga189243b64e66543614a954706d70ce4a"><td·class="mdescLeft"> </td><td·class="mdescRight">A·global·B-spline·basis.··<a·href="a00213.html#ga189243b64e66543614a954706d70ce4a">More...</a><br·/></td></tr> | ||
125 | <tr·class="separator:ga189243b64e66543614a954706d70ce4a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
127 | <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> |
128 | Functions</h2></td></tr> | 99 | Functions</h2></td></tr> |
129 | <tr·class="memitem:ga63a9701af71fffbbb851a38cb8cf886f"><td·class="memItemLeft"·align="right"·valign="top">auto </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga63a9701af71fffbbb851a38cb8cf886f">Dune::Functions::BasisFactory::bSpline</a>·(const·std::vector<·double·>·&knotVector,·unsigned·int·order,·bool·makeOpen=true)</td></tr> | ||
130 | <tr·class="mem | 100 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplParams"·colspan="2">template<class·OF·,·class...·IF>·</td></tr> |
101 | <tr·class="memitem:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">Dune::Functions::makeComposedGridFunction</a>·(OF·&&outerFunction,·IF·&&...·innerFunction)</td></tr> | ||
102 | <tr·class="memdesc:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·<a·class="el"·href="a01851.html"·title="Composition·of·grid·functions·with·another·function.">ComposedGridFunction</a>·that·composes·grid-functions·with·another·function.··<a·href="a00209.html#ga9e5ac1cc0fdfb7d7a0e937f58aff21fd">More...</a><br·/></td></tr> | ||
131 | <tr·class="separator:ga | 103 | <tr·class="separator:ga9e5ac1cc0fdfb7d7a0e937f58aff21fd"><td·class="memSeparator"·colspan="2"> </td></tr> |
132 | </table> | 104 | </table> |
133 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | ||
134 | <div·class="textblock"><p·>The·B-spline·global·function·space·basis.·</p> | ||
135 | </div>< | 105 | </div><!--·contents·--> |
136 | <!--·start·footer·part·--> | 106 | <!--·start·footer·part·--> |
137 | <hr·class="footer"/><address·class="footer"><small> | 107 | <hr·class="footer"/><address·class="footer"><small> |
138 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 108 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
139 | </small></address> | 109 | </small></address> |
140 | </body> | 110 | </body> |
141 | </html> | 111 | </html> |
Offset 4, 66 lines modified | Offset 4, 37 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces·|· | 8 | Classes·|·Namespaces·|·Functions |
9 | composedgridfunction.hh·File·Reference | ||
10 | #include·<type_traits> | ||
9 | bsplinebasis.hh·File·Reference | ||
10 | The·B-spline·global·function·space·basis.·More... | ||
11 | #include·<array> | ||
12 | #include·< | 11 | #include·<tuple> |
12 | #include·<dune/common/referencehelper.hh> | ||
13 | #include·<dune/common/ | 13 | #include·<dune/common/typeutilities.hh> |
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction.hh> | ||
16 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
14 | #include·<dune/localfunctions/common/localbasis.hh> | ||
15 | #include·<dune/common/diagonalmatrix.hh> | ||
16 | #include·<dune/localfunctions/common/localkey.hh> | ||
17 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
18 | #include·<dune/geometry/type.hh> | ||
19 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
20 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
21 | Go_to_the_source_code_of_this_file. | 17 | Go_to_the_source_code_of_this_file. |
22 | ·Classes | 18 | ·Classes |
19 | class· Dune::Functions::ComposedGridFunction<_OF,_IF_> | ||
20 | ······Composition·of·grid·functions·with·another·function.·More... | ||
23 | class· Dune::Functions::BSplineLocalBasis<_GV,_R_> | ||
24 | ······LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the | ||
25 | ········restriction·of·a·B-spline·patch·to·a·knot·span.·More... | ||
26 | |||
27 | class· Dune::Functions::BSplineLocalCoefficients<_dim_> | ||
28 | ······Attaches·a·shape·function·to·an·entity.·More... | ||
29 | |||
30 | class· Dune::Functions::BSplineLocalInterpolation<_dim,_LB_> | ||
31 | ······Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
32 | ········spline·basis·on·tensor-product·grids.·More... | ||
33 | |||
34 | class· Dune::Functions::BSplineLocalFiniteElement<_GV,_R_> | ||
35 | ······LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B- | ||
36 | ········spline·basis·on·tensor-product·grids.·More... | ||
37 | |||
38 | class· Dune::Functions::BSplinePreBasis<_GV_> | ||
39 | ······Pre-basis·for·B-spline·basis.·More... | ||
40 | |||
41 | class· Dune::Functions::BSplineNode<_GV_> | ||
42 | 21 | ||
43 | ·Namespaces | 22 | ·Namespaces |
44 | namespace· Dune | 23 | namespace· Dune |
45 | 24 | ||
46 | namespace· Dune::Functions | 25 | namespace· Dune::Functions |
47 | 26 | ||
48 | namespace· Dune::Functions::BasisFactory | ||
49 | |||
50 | ·Typedefs | ||
51 | template<typename·GV·> | ||
52 | using Dune::Functions::BSplineBasis·=·DefaultGlobalBasis<·BSplinePreBasis<·GV | ||
53 | ·······>·> | ||
54 | ·····A·global·B-spline·basis.·More... | ||
55 | |||
56 | ·Functions | 27 | ·Functions |
57 | auto Dune::Functions::BasisFactory::bSpline·(const·std::vector<·double·> | ||
58 | ······&knotVector,·unsigned·int·order,·bool·makeOpen=true) | ||
59 | 28 | template<class·OF·,·class...·IF> | |
29 | auto Dune::Functions::makeComposedGridFunction·(OF·&&outerFunction,·IF·&&... | ||
30 | ······innerFunction) | ||
31 | ····Create·a·ComposedGridFunction·that·composes·grid-functions·with·another | ||
32 | ······function.·More... | ||
60 | 33 | ||
61 | *****·Detailed·Description·***** | ||
62 | The·B-spline·global·function·space·basis. | ||
63 | =============================================================================== | 34 | =============================================================================== |
64 | ·····Generated·by [doxygen]·1.9.4 | 35 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·composedgridfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 1213 lines modified | Offset 58, 199 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">composedgridfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00167.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno"> | 71 | <a·href="a00167.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
76 | <div·class="line"><a·id="l000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<tuple></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/referencehelper.hh></span></div> | ||
77 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
78 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
79 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00170.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
80 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
81 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> | ||
82 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/common/diagonalmatrix.hh></span></div> | ||
83 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/common/localkey.hh></span></div> | ||
84 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
85 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<dune/geometry/type.hh></span></div> | ||
86 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
89 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a></div> | ||
90 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> | ||
91 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
92 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | ||
93 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·A·maze·of·dependencies·between·the·different·parts·of·this.··We·need·a·few·forward·declarations</span></div> | ||
94 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV,·<span·class="keyword">typename</span>·R></div> | ||
95 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01475.html">BSplineLocalFiniteElement</a>;</div> | ||
96 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
97 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
98 | <div·class="line"><a·id="l000 | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
99 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
100 | <div·class="line"><a·id="l000 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> |
101 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·R></div> | ||
102 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
92 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class·</span>OF,·<span·class="keyword">class</span>...·IF></div> | ||
93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01851.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01851.html">ComposedGridFunction</a></div> | ||
103 | <div·class="line"><a·id="l0004 | 94 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div> |
104 | <div·class="line"><a·id="l0004 | 95 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span>InnerFunctions·=·std::tuple<IF...>;</div> |
96 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span>InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef(std::declval<const·IF&>())))...>;</div> | ||
97 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | ||
98 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span><std::<span·class="keywordtype">size_t</span>·i></div> | ||
99 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i,·InnerFunctions>>>;</div> | ||
105 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 100 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
106 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GV::ctype·D;</div> | ||
107 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span>OuterFunction·=·OF;</div> |
102 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
108 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> | 103 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">public</span>:</div> |
109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 104 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
110 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">typedef</span>·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>,</div> | ||
111 | <div·class="line"><a·id="l0005 | 105 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">···53</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a[·...·truncated·by·diffoscope;·len:·75,·SHA:·14de834ed572bf02061f6d48fbd60a7f8fdeec9262470ab80e32eb3a80207432·...·];</div> |
106 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">···54</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
112 | <div·class="line"><a·id="l0005 | 107 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
108 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01851.html#ad9612763841397749ff243b3f6f16177">···56</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#ad9612763841397749ff243b3f6f16177">Domain</a>·=·<span·class="keyword">typename</span>·EntitySet::GlobalCoordinate;</div> | ||
109 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01851.html#a62ac2c12e6920194583994cdec60283f">···57</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#a62ac2c12e6920194583994cdec60283f">LocalDomain</a>·=·<span·class="keyword">typename</span>·EntitySet::LocalCoordinate;</div> | ||
113 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01483.html#ab66fbd26ea34c67071da5c0fa9504191">···61</a></span>··<a·class="code·hl_function"·href="a01483.html#ab66fbd26ea34c67071da5c0fa9504191">BSplineLocalBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01479.html">BSplinePreBasis<GV></a>&·preBasis,</div> | ||
114 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····················<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01475.html">BSplineLocalFiniteElement<GV,R></a>&·lFE)</div> | ||
115 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··:·preBasis_(preBasis),</div> | ||
116 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····lFE_(lFE)</div> | ||
117 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
111 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01851.html#ad7e7b03a9451ddecdc34db9c424ac38a">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01851.html#ad7e7b03a9451ddecdc34db9c424ac38a">Range</a>·=·<span·class="keyword">decltype</span>(std::declval<OF>()(std::declval<IF>()(std::declval<Domain>())...));</div> | ||
112 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
113 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">private</span>:</div> | ||
114 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
115 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">using·</span>Traits·=·Imp::GridFunctionTraits<<a·class="code·hl_typedef"·href="a01851.html#ad7e7b03a9451ddecdc34db9c424ac38a">Range</a>(<a·class="code·hl_typedef"·href="a01851.html#ad9612763841397749ff243b3f6f16177">Domain</a>),·<a·class="code·hl_typedef"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>,·<a·class="code·hl_struct"·href="a01075.html">DefaultDerivativeTraits</a>,·16>;</div> | ||
116 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
117 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">class·</span>LocalFunction</div> | ||
118 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 118 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> |
119 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01483.html#a6f6f0d5f6137fc30c687a913a9794ef9">···70</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01483.html#a6f6f0d5f6137fc30c687a913a9794ef9">evaluateFunction</a>·(<span·class="keyword">const</span>·FieldVector<D,dim>&·in,</div> | ||
120 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·························std::vector<FieldVector<R,1>·>&·out)<span·class="keyword">·const</span></div> | ||
121 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">public</span>:</div> |
120 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····LocalFunction(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01851.html">ComposedGridFunction</a>&·globalFunction)·:</div> | ||
122 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> | ||
123 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····scaling_.umv(in,globalIn);</div> | ||
124 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 121 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······globalFunction_(globalFunction),</div> |
125 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>···· | 122 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······innerLocalFunctions_(globalFunction.<a·class="code·hl_function"·href="a01851.html#ab6fa74b32c63bb86bb048f3e67ead39d">innerLocalFunctions</a>())</div> |
126 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··}</div> | 123 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····{}</div> |
127 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 124 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
125 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>&·element)</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01483.html#a7bece6d4241e57b2f43e52f4427c7c7c">···82</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01483.html#a7bece6d4241e57b2f43e52f4427c7c7c">evaluateJacobian</a>·(<span·class="keyword">const</span>·FieldVector<D,dim>&·in,</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·························std::vector<FieldMatrix<D,1,dim>·>&·out)<span·class="keyword">·const</span></div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">··</span>{</div> | ||
131 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····FieldVector<D,dim>·globalIn·=·offset_;</div> | ||
132 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····scaling_.umv(in,globalIn);</div> | ||
133 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
134 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····preBasis_.evaluateJacobian(globalIn,·out,·lFE_.currentKnotSpan_);</div> | ||
135 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 126 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{</div> |
136 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·i=0;·i<out.size();·i++)</div> | ||
137 | <div·class="line"><a·id="l0009 | 127 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······std::apply([&](<span·class="keyword">auto</span>&...·innerFunction)·{</div> |
128 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··········(innerFunction.bind(element),...);</div> | ||
138 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······ | 129 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······},·innerLocalFunctions_);</div> |
139 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> | 130 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div> |
140 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | 131 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
141 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keyword">template</span><<span·class="keywordtype">size_t</span>·k></div> | ||
Max diff block lines reached; 218631/254948 bytes (85.76%) of diff not shown. |
Offset 4, 1510 lines modified | Offset 4, 244 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | composedgridfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | 1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_BSPLINEBASIS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_COMPOSEDGRIDFUNCTION_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·10#include·<array> | ||
16 | ·11#include·<numeric> | ||
17 | · | 15 | ·6#include·<type_traits> |
16 | ·7#include·<tuple> | ||
17 | ·8 | ||
18 | ·9#include·<dune/common/referencehelper.hh> | ||
18 | ·1 | 19 | ·10#include·<dune/common/typeutilities.hh> |
20 | ·11 | ||
21 | ·12#include·<dune/functions/common/defaultderivativetraits.hh> | ||
22 | ·13#include·<dune/functions/common/differentiablefunction.hh> | ||
23 | ·14#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
19 | ·15 | 24 | ·15 |
25 | ·16 | ||
20 | ·16#include·<dune/localfunctions/common/localbasis.hh> | ||
21 | ·17#include·<dune/common/diagonalmatrix.hh> | ||
22 | ·18#include·<dune/localfunctions/common/localkey.hh> | ||
23 | ·19#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
24 | ·20#include·<dune/geometry/type.hh> | ||
25 | ·21#include·<dune/functions/functionspacebases/nodes.hh> | ||
26 | ·22#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
27 | ·23 | ||
28 | · | 26 | ·17namespace·Dune·{ |
29 | ·25{ | ||
30 | · | 27 | ·18namespace·Functions·{ |
28 | ·19 | ||
29 | ·20 | ||
30 | ·21 | ||
31 | ·27 | ||
32 | ·28//·A·maze·of·dependencies·between·the·different·parts·of·this.·We·need·a·few | ||
33 | forward·declarations | ||
34 | ·29template<typename·GV,·typename·R> | ||
35 | ·30class·BSplineLocalFiniteElement; | ||
36 | ·31 | ||
37 | ·32template<typename·GV> | ||
38 | ·33class·BSplinePreBasis; | ||
39 | ·34 | ||
40 | ·35 | ||
41 | ·4 | 31 | ·40template<class·OF,·class...·IF> |
42 | 4 | 32 | 41class·ComposedGridFunction |
43 | ·4 | 33 | ·42{ |
44 | ·4 | 34 | ·43·using·InnerFunctions·=·std::tuple<IF...>; |
35 | ·44·using·InnerLocalFunctions·=·std::tuple<decltype(localFunction(resolveRef | ||
36 | (std::declval<const·IF&>())))...>; | ||
37 | ·45 | ||
38 | ·46·template<std::size_t·i> | ||
39 | ·47·using·InnerFunction·=·std::decay_t<ResolveRef_t<std::tuple_element_t<i, | ||
40 | InnerFunctions>>>; | ||
45 | ·48 | 41 | ·48 |
46 | ·49·typedef·typename·GV::ctype·D; | ||
47 | · | 42 | ·49·using·OuterFunction·=·OF; |
43 | ·50 | ||
48 | ·51public: | 44 | ·51public: |
49 | ·52 | 45 | ·52 |
50 | ·54·typedef·LocalBasisTraits<D,dim,FieldVector<D,dim>,R,1,FieldVector<R,1>, | ||
51 | 55·FieldMatrix<R,1,dim>·>·Traits; | ||
52 | ·56 | ||
53 | 61·BSplineLocalBasis(const·BSplinePreBasis<GV>&·preBasis, | ||
54 | ·62·const·BSplineLocalFiniteElement<GV,R>&·lFE) | ||
55 | ·63·:·preBasis_(preBasis), | ||
56 | ·64·lFE_(lFE) | ||
57 | · | 46 | 53·using·EntitySet·=·typename·InnerFunction<0>::EntitySet; |
47 | 54·using·Element·=·typename·EntitySet::Element; | ||
48 | ·55 | ||
49 | 56·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
50 | 57·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
51 | ·58 | ||
52 | 59·using·Range·=·decltype(std::declval<OF>()(std::declval<IF>()(std:: | ||
53 | declval<Domain>())...)); | ||
54 | ·60 | ||
55 | ·61private: | ||
56 | ·62 | ||
57 | ·63·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
58 | DefaultDerivativeTraits,·16>; | ||
59 | ·64 | ||
60 | ·65·class·LocalFunction | ||
58 | ·66 | 61 | ·66·{ |
62 | ·67·public: | ||
63 | ·74·LocalFunction(const·ComposedGridFunction&·globalFunction)·: | ||
64 | ·75·globalFunction_(globalFunction), | ||
65 | ·76·innerLocalFunctions_(globalFunction.innerLocalFunctions()) | ||
59 | 70·void·evaluateFunction·(const·FieldVector<D,dim>&·in, | ||
60 | ·71·std::vector<FieldVector<R,1>·>&·out)·const | ||
61 | ·72·{ | ||
62 | ·73·FieldVector<D,dim>·globalIn·=·offset_; | ||
63 | ·74·scaling_.umv(in,globalIn); | ||
64 | ·75 | ||
65 | ·76·preBasis_.evaluateFunction(globalIn,·out,·lFE_.currentKnotSpan_); | ||
66 | ·77·} | 66 | ·77·{} |
67 | ·78 | 67 | ·78 |
68 | ·88·void·bind(const·Element&·element) | ||
68 | 82·void·evaluateJacobian·(const·FieldVector<D,dim>&·in, | ||
69 | ·83·std::vector<FieldMatrix<D,1,dim>·>&·out)·const | ||
70 | ·8 | 69 | ·89·{ |
70 | ·90·std::apply([&](auto&...·innerFunction)·{ | ||
71 | ·91·(innerFunction.bind(element),...); | ||
72 | ·92·},·innerLocalFunctions_); | ||
71 | ·85·FieldVector<D,dim>·globalIn·=·offset_; | ||
72 | ·86·scaling_.umv(in,globalIn); | ||
73 | ·87 | ||
74 | ·88·preBasis_.evaluateJacobian(globalIn,·out,·lFE_.currentKnotSpan_); | ||
75 | ·89 | ||
76 | ·90·for·(size_t·i=0;·i<out.size();·i++) | ||
77 | ·91·for·(int·j=0;·j<dim;·j++) | ||
78 | ·92·out[i][0][j]·*=·scaling_[j][j]; | ||
79 | ·93·} | 73 | ·93·} |
80 | ·94 | 74 | ·94 |
75 | ·96·void·unbind() | ||
76 | ·97·{ | ||
77 | ·98·std::apply([&](auto&...·innerFunction)·{ | ||
78 | ·99·(innerFunction.unbind(),...); | ||
Max diff block lines reached; 51388/58000 bytes (88.60%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 55 lines modified | Offset 58, 50 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
71 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">gridfunction.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
75 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
76 | <code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/typeerasure.hh</a>></code><br·/> | ||
77 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/common/localfunction.hh</a>></code><br·/> | ||
76 | <code>#include·<<a·class="el"·href="a0 | 80 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> |
77 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
78 | <code>#include·<dune/t | 81 | <code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> |
82 | <code>#include·<<a·class="el"·href="a00173_source.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></code><br·/> | ||
79 | </div> | 83 | </div> |
80 | <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p> | 84 | <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
83 | Classes</h2></td></tr> | 87 | Classes</h2></td></tr> |
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01895.html">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01563.html">Dune::Functions::DefaultNodeToRangeMap<·Tree·></a></td></tr> | ||
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·simple·node·to·range·map·using·lexicographic·ordering.··<a·href="a01563.html#details">More...</a><br·/></td></tr> | ||
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01903.html">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·></a></td></tr> |
91 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·Grid.··<a·href="a01903.html#details">More...</a><br·/></td></tr> | ||
88 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | </table><table·class="memberdecls"> | 93 | </table><table·class="memberdecls"> |
90 | <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> |
91 | Namespaces</h2></td></tr> | 95 | Namespaces</h2></td></tr> |
92 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplParams"·colspan="2">template<class·Tree·>·</td></tr> | ||
100 | <tr·class="memitem:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memTemplItemLeft"·align="right"·valign="top">DefaultNodeToRangeMap<·Tree·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a37dfd0fc94784b1ffe3050d87b37ad76">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Tree·&tree)</td></tr> | ||
101 | <tr·class="separator:a37dfd0fc94784b1ffe3050d87b37ad76"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplParams"·colspan="2">template<class·Basis·,·class·TreePath·>·</td></tr> | ||
103 | <tr·class="memitem:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ad5971c4cc40d4d8a400ef5fe9e596350">Dune::Functions::makeDefaultNodeToRangeMap</a>·(const·Basis·&basis,·TreePath·&&treePath)·->·decltype(makeDefaultNodeToRangeMap(TypeTree::child(basis.localView().tree(),·treePath)))</td></tr> | ||
104 | <tr·class="separator:ad5971c4cc40d4d8a400ef5fe9e596350"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
105 | </table> | 100 | </table> |
106 | </div><!--·contents·--> | 101 | </div><!--·contents·--> |
107 | <!--·start·footer·part·--> | 102 | <!--·start·footer·part·--> |
108 | <hr·class="footer"/><address·class="footer"><small> | 103 | <hr·class="footer"/><address·class="footer"><small> |
109 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 104 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
110 | </small></address> | 105 | </small></address> |
111 | </body> | 106 | </body> |
Offset 4, 40 lines modified | Offset 4, 36 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
9 | 9 | gridfunction.hh·File·Reference | |
10 | #include·<type_traits> | ||
10 | #include·<dune/common/ | 11 | #include·<dune/common/typeutilities.hh> |
12 | #include·<dune/functions/common/typeerasure.hh> | ||
13 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
14 | #include·<dune/functions/common/differentiablefunction.hh> | ||
15 | #include·<dune/functions/common/localfunction.hh> | ||
11 | #include·<dune/functions/ | 16 | #include·<dune/functions/common/functionconcepts.hh> |
12 | #include·<dune/typetree/traversal.hh> | ||
13 | #include·<dune/t | 17 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> |
18 | #include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
14 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
15 | ·Classes | 20 | ·Classes |
16 | struct· Dune::Functions::DefaultNodeToRangeMap<_Tree_> | ||
17 | 21 | class· Dune::Functions::GridFunction<_Signature,_EntitySet,_DerivativeTraits, | |
22 | ········bufferSize_> | ||
18 | 23 | ||
19 | 24 | class· Dune::Functions::GridFunction<_Range(Domain),_ES,_DerivativeTraits, | |
25 | ········bufferSize_> | ||
26 | ······Wrapper·class·for·functions·defined·on·a·Grid.·More... | ||
20 | 27 | ||
21 | ·Namespaces | 28 | ·Namespaces |
22 | namespace· Dune | 29 | namespace· Dune |
23 | 30 | ||
24 | namespace· Dune::Functions | 31 | namespace· Dune::Functions |
25 | 32 | ||
26 | ·Functions | ||
27 | template<class·Tree·> | ||
28 | DefaultNodeToRangeMap<·Tree·> Dune::Functions::makeDefaultNodeToRangeMap | ||
29 | ·······························(const·Tree·&tree) | ||
30 | |||
31 | template<class·Basis·,·class·TreePath·> | ||
32 | ·························auto Dune::Functions::makeDefaultNodeToRangeMap | ||
33 | ·······························(const·Basis·&basis,·TreePath·&&treePath)·- | ||
34 | ·······························>·decltype(makeDefaultNodeToRangeMap(TypeTree:: | ||
35 | ·······························child(basis.localView().tree(),·treePath))) | ||
36 | |||
37 | =============================================================================== | 33 | =============================================================================== |
38 | ·····Generated·by [doxygen]·1.9.4 | 34 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 131 lines modified | Offset 58, 165 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">gridfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00170.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00170.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> | ||
76 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
77 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00029.html">dune/functions/common/typeerasure.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/differentiablefunction.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00002.html">dune/functions/common/localfunction.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/functionconcepts.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00179.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00173.html">dune/functions/gridfunctions/gridfunction_imp.hh</a>></span></div> | ||
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/typetree/visitor.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
90 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> |
91 | <div·class="line"><a·id="l000 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> |
92 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
93 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
94 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·A·simple·visitor·for·computing·lexicographic</span></div> | ||
95 | <div·class="line"><a·id="l000 | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">/*</span></div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·*·Default·implementation·is·empty</span></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·*·The·actual·implementation·is·only·given·if·Signature·is·an·type</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·*·describing·a·function·signature·as·Range(Domain).</span></div> | ||
96 | <div·class="line"><a·id="l000 | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·*/</span></div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
97 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·wrt·the·whole·tree·and·store·the·computed</span></div> | ||
98 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">//·index·in·a·vector·indexed·by·the·tree·indices.</span></div> | ||
99 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01895.html">···31</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01895.html">GridFunction</a></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="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
100 | <div·class="line"><a·id="l000 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Imp</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
109 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>·ES,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
101 | <div·class="line"><a·id="l0004 | 110 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">struct·</span>GridFunctionTraits·:</div> |
111 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize></div> | ||
102 | <div·class="line"><a·id="l0004 | 112 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> |
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01567.html#a31bda2d0d2a6e6caaad0c4b54833baaa">···50</a></span>····<a·class="code·hl_function"·href="a01567.html#a31bda2d0d2a6e6caaad0c4b54833baaa">Visitor</a>(std::vector<std::size_t>&·indices)·:</div> | ||
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>(indices),</div> | ||
105 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">protected</span>:</div> |
114 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">using·</span>Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>;</div> | ||
115 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
116 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">public</span>:</div> | ||
117 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">using·</span>EntitySet·=·ES;</div> | ||
118 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>· | 120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
121 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·Base::DerivativeSignature;</div> | ||
107 | <div·class="line"><a·id="l0005 | 122 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
123 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">using·</span>DerivativeInterface·=·<a·class="code·hl_class"·href="a01895.html">GridFunction<DerivativeSignature,·ES,·DerivativeTraits,·bufferSize></a>;</div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Node,·<span·class="keyword">typename</span>·TreePath></div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01567.html#a6fa6002b8649337f257a1ba63f487638">···56</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01567.html#a6fa6002b8649337f257a1ba63f487638">leaf</a>(Node&·node,·TreePath·treePath)</div> | ||
110 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
125 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">using·</span>LocalSignature·=·<span·class="keyword">typename</span>·Base::Range(<span·class="keyword">typename</span>·EntitySet::LocalCoordinate);</div> | ||
111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>.size()·<·node.treeIndex()+1)</div> | ||
112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>.resize(node.treeIndex()+1);</div> | ||
113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>[node.treeIndex()]·=·<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······++<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>· | 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">···64</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·R></div> | ||
128 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">using·</span><a·class="code·hl_struct"·href="a01931.html">LocalDerivativeTraits</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01931.html">Dune::Functions::LocalDerivativeTraits<EntitySet,·DerivativeTraits>::template</a>·Traits<R>;</div> | ||
116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">···64</a></span>····std::vector<std::size_t>&·<a·class="code·hl_variable"·href="a01567.html#ad27dd745d2d84fd89675da8e7a706963">indices_</a>;</div> | ||
118 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">···65</a></span>····std::size_t·<a·class="code·hl_variable"·href="a01567.html#a776d43a445def9066a5ad7b7d524d640">counter_</a>;</div> | ||
119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>· | 129 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
130 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">using·</span>LocalFunctionTraits·=·<span·class="keyword">typename</span>·Dune::Functions::Imp::LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize>;</div> | ||
120 | <div·class="line"><a·id="l0006 | 131 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
121 | <div·class="line"><a·id="l0007 | 132 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">using·</span>LocalFunctionInterface·=·<a·class="code·hl_class"·href="a01243.html">LocalFunction<LocalSignature,·Element,·LocalDerivativeTraits,·bufferSize></a>;</div> |
133 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">using·</span>Concept·=·GridFunctionWrapperInterface<S,·DerivativeInterface,·LocalFunctionInterface,·ES>;</div> | ||
135 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
136 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·B></div> | ||
137 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">using·</span>Model·=·GridFunctionWrapperImplementation<S,·DerivativeInterface,·LocalFunctionInterface,·ES,·B>;</div> | ||
122 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·· | 138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··};</div> |
123 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span> | 139 | <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>· | 140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> |
125 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 141 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
126 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
127 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····std::enable_if_t<models<Concept::HasIndexAccess,·Range,·decltype(std::declval<Node>().treeIndex())>()·and·not·Tree::isLeaf,·<span·class="keywordtype">int</span>>·=·0></div> | ||
128 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01563.html#aae4c40b619bba5f520878a6288fb702a">···85</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(<span·class="keyword">const</span>·Node&·node,·<span·class="keyword">const</span>·TreePath&·treePath,·Range&&·y)·<span·class="keyword">const</span></div> | ||
129 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> | ||
Max diff block lines reached; 16971/46397 bytes (36.58%) of diff not shown. |
Offset 4, 147 lines modified | Offset 4, 199 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | gridfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_DEFAULTNODETORANGEMAP_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6 | 15 | ·6#include·<type_traits> |
16 | ·7 | ||
16 | · | 17 | ·8#include·<dune/common/typeutilities.hh> |
17 | · | 18 | ·9 |
19 | ·10#include·<dune/functions/common/typeerasure.hh> | ||
20 | ·11#include·<dune/functions/common/defaultderivativetraits.hh> | ||
21 | ·12#include·<dune/functions/common/differentiablefunction.hh> | ||
22 | ·13#include·<dune/functions/common/localfunction.hh> | ||
18 | · | 23 | ·14#include·<dune/functions/common/functionconcepts.hh> |
24 | ·15#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
25 | ·16#include·<dune/functions/gridfunctions/gridfunction_imp.hh> | ||
19 | ·10 | ||
20 | ·11#include·<dune/typetree/traversal.hh> | ||
21 | ·12#include·<dune/typetree/visitor.hh> | ||
22 | ·13 | ||
23 | ·14 | ||
24 | ·15namespace·Dune·{ | ||
25 | ·16namespace·Functions·{ | ||
26 | ·17 | 26 | ·17 |
27 | ·18 | 27 | ·18 |
28 | ·19 | 28 | ·19 |
29 | ·20namespace·Dune·{ | ||
30 | ·21namespace·Functions·{ | ||
31 | ·22 | ||
32 | ·23 | ||
33 | ·24 | ||
34 | ·25/* | ||
35 | ·26·*·Default·implementation·is·empty | ||
36 | ·27·*·The·actual·implementation·is·only·given·if·Signature·is·an·type | ||
37 | ·28·*·describing·a·function·signature·as·Range(Domain). | ||
38 | ·29·*/ | ||
39 | ·30template<class·Signature,·class·EntitySet,·template<class>·class | ||
40 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
41 | 31class·GridFunction | ||
42 | ·32{}; | ||
43 | ·33 | ||
44 | ·34 | ||
45 | ·35 | ||
46 | ·36namespace·Imp | ||
47 | ·37{ | ||
48 | ·38 | ||
49 | ·40·template<class·S,·class·ES,·template<class>·class·DerivativeTraits,·size_t | ||
50 | bufferSize> | ||
51 | ·41·struct·GridFunctionTraits·: | ||
52 | ·42·DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize> | ||
53 | ·43·{ | ||
54 | ·44·protected: | ||
55 | ·45·using·Base=DifferentiableFunctionTraits<S,·DerivativeTraits,·bufferSize>; | ||
56 | ·46 | ||
57 | ·47·public: | ||
58 | ·49·using·EntitySet·=·ES; | ||
59 | ·50 | ||
60 | ·52·using·Element·=·typename·EntitySet::Element; | ||
61 | ·53 | ||
62 | ·55·using·DerivativeSignature·=·typename·Base::DerivativeSignature; | ||
63 | ·56 | ||
64 | ·58·using·DerivativeInterface·=·GridFunction<DerivativeSignature,_ES, | ||
65 | DerivativeTraits,_bufferSize>; | ||
66 | ·59 | ||
67 | ·61·using·LocalSignature·=·typename·Base::Range(typename·EntitySet:: | ||
68 | LocalCoordinate); | ||
69 | ·62 | ||
70 | ·64·template<class·R> | ||
71 | ·65·using·LocalDerivativeTraits·=·typename·Dune::Functions:: | ||
72 | LocalDerivativeTraits<EntitySet,_DerivativeTraits>::template·Traits<R>; | ||
73 | ·66 | ||
74 | ·68·using·LocalFunctionTraits·=·typename·Dune::Functions::Imp:: | ||
75 | LocalFunctionTraits<LocalSignature,·Element,·LocalDerivativeTraits, | ||
76 | bufferSize>; | ||
77 | ·69 | ||
78 | ·71·using·LocalFunctionInterface·=·LocalFunction<LocalSignature,_Element, | ||
79 | LocalDerivativeTraits,_bufferSize>; | ||
80 | ·72 | ||
81 | ·74·using·Concept·=·GridFunctionWrapperInterface<S,·DerivativeInterface, | ||
82 | LocalFunctionInterface,·ES>; | ||
83 | ·75 | ||
29 | · | 84 | ·77·template<class·B> |
85 | ·78·using·Model·=·GridFunctionWrapperImplementation<S,·DerivativeInterface, | ||
86 | LocalFunctionInterface,·ES,·B>; | ||
87 | ·79·}; | ||
88 | ·80} | ||
30 | 38struct·DefaultNodeToRangeMap | ||
31 | ·39{ | ||
32 | ·40 | ||
33 | ·41·//·A·simple·visitor·for·computing·lexicographic | ||
34 | ·42·//·subtree·indices.·To·identify·a·leaf·node | ||
35 | ·43·//·we·use·its·treeIndex()·which·is·unique | ||
36 | ·44·//·wrt·the·whole·tree·and·store·the·computed | ||
37 | ·45·//·index·in·a·vector·indexed·by·the·tree·indices. | ||
38 | 46·struct·Visitor | ||
39 | ·47·:·public·TypeTree::TreeVisitor | ||
40 | ·48·,·public·TypeTree::DynamicTraversal | ||
41 | ·49·{ | ||
42 | 50·Visitor(std::vector<std::size_t>&·indices)·: | ||
43 | ·51·indices_(indices), | ||
44 | ·52·counter_(0) | ||
45 | ·53·{} | ||
46 | ·54 | ||
47 | ·55·template<typename·Node,·typename·TreePath> | ||
48 | 56·void·leaf(Node&·node,·TreePath·treePath) | ||
49 | ·57·{ | ||
50 | ·58·if·(indices_.size()·<·node.treeIndex()+1) | ||
51 | ·59·indices_.resize(node.treeIndex()+1); | ||
52 | ·60·indices_[node.treeIndex()]·=·counter_; | ||
53 | ·61·++counter_; | ||
54 | ·62·} | ||
55 | ·63 | ||
56 | 64·std::vector<std::size_t>&·indices_; | ||
57 | 65·std::size_t·counter_; | ||
58 | ·66·}; | ||
Max diff block lines reached; 6294/10434 bytes (60.32%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·g | 8 | <title>dune-functions:·gridfunction_imp.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 33 lines modified | Offset 58, 26 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#namespaces">Namespaces</a>··</div> | 69 | <a·href="#namespaces">Namespaces</a>··</div> |
70 | ··<div·class="headertitle"><div·class="title">g | 70 | ··<div·class="headertitle"><div·class="title">gridfunction_imp.hh·File·Reference</div></div> |
71 | </div><!--header--> | 71 | </div><!--header--> |
72 | <div·class="contents"> | 72 | <div·class="contents"> |
73 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
74 | <code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/interfaces.hh</a>></code><br·/> | ||
75 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
73 | <div·class="textblock"><code>#include·<array></code><br·/> | ||
74 | <code>#include·<numeric></code><br·/> | ||
75 | <code>#include·<dune/common/fmatrix.hh></code><br·/> | ||
76 | <code>#include·<dune/common/fvector.hh></code><br·/> | ||
77 | <code>#include·<dune/common/math.hh></code><br·/> | ||
78 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
79 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> | ||
80 | <code>#include·<dune/localfunctions/common/localbasis.hh></code><br·/> | ||
81 | <code>#include·<dune/localfunctions/common/localfiniteelementtraits.hh></code><br·/> | ||
82 | <code>#include·<dune/localfunctions/common/localinterpolation.hh></code><br·/> | ||
83 | </div> | 76 | </div> |
84 | <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p> | 77 | <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
87 | Namespaces</h2></td></tr> | 80 | Namespaces</h2></td></tr> |
88 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 81 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 4, 27 lines modified | Offset 4, 20 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Namespaces | 8 | Namespaces |
9 | gridfunction_imp.hh·File·Reference | ||
9 | globalvaluedlocalfiniteelement.hh·File·Reference | ||
10 | #include·<array> | ||
11 | #include·<numeric> | ||
12 | #include·<dune/common/fmatrix.hh> | ||
13 | #include·<dune/common/fvector.hh> | ||
14 | #include·<dune/common/math.hh> | ||
15 | #include·<dune/common/rangeutilities.hh> | ||
16 | #include·<dune/geometry/referenceelements.hh> | ||
17 | #include·<dune/ | 10 | #include·<dune/functions/common/type_traits.hh> |
18 | #include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
19 | #include·<dune/ | 11 | #include·<dune/functions/common/interfaces.hh> |
12 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
20 | Go_to_the_source_code_of_this_file. | 13 | Go_to_the_source_code_of_this_file. |
21 | ·Namespaces | 14 | ·Namespaces |
22 | namespace· Dune | 15 | namespace· Dune |
23 | 16 | ||
24 | namespace· Dune::Functions | 17 | namespace· Dune::Functions |
25 | 18 | ||
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:·g | 8 | <title>dune-functions:·gridfunction_imp.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 328 lines modified | Offset 58, 92 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title">g | 68 | ··<div·class="headertitle"><div·class="title">gridfunction_imp.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTION | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTION | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<arra | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/type_traits.hh</a>></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<numer | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00053.html">dune/functions/common/interfaces.hh</a>></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/fmatrix.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/fvector.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/math.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
84 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Imp·{</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/localfunctions/common/localbasis.hh></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementtraits.hh></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<dune/localfunctions/common/localinterpolation.hh></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l000 | 86 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">struct·</span>HasFreeLocalFunction</div> |
91 | <div·class="line"><a·id="l0002 | 87 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> |
88 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·F></div> | ||
89 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">auto</span>·require(F&&·f)·->·<span·class="keyword">decltype</span>(</div> | ||
90 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····localFunction(f)</div> | ||
91 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··);</div> | ||
92 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>};</div> | ||
92 | <div·class="line"><a·id="l0002 | 93 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
93 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">struct·</span>ContravariantPiolaTransformator</div> | ||
94 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
95 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Values,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
96 | <div·class="line"><a·id="l000 | 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="comment">//·Interface·of·type·erasure·wrapper</span></div> | ||
97 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//</span></div> | ||
98 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor,·clone,·...)</span></div> | ||
99 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·will·be·added·by·the·type·erasure·foundation·classes.</span></div> | ||
100 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalFunctionInterface,·<span·class="keyword">class</span>·EntitySet></div> | ||
97 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">class·</span>GridFunctionWrapperInterface·:</div> |
98 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperInterface<Signature,·DerivativeInterface></div> |
99 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>{</div> |
100 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">public</span>:</div> |
101 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">virtual</span>·LocalFunctionInterface·wrappedLocalFunction()·<span·class="keyword">const</span>·=·0;</div> |
102 | <div·class="line"><a·id="l000 | 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">virtual</span>·<span·class="keyword">const</span>·EntitySet&·wrappedEntitySet()·<span·class="keyword">const</span>·=·0;</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>·</div> | ||
110 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> | ||
111 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//·Implementation·of·type·erasure·wrapper</span></div> | ||
112 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·DerivativeInterface,·<span·class="keyword">class</span>·LocalFunctionInterface,·<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">class</span>·B></div> | ||
113 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>GridFunctionWrapperImplementation·:</div> | ||
114 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">public</span>·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B></div> | ||
115 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div> | ||
116 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">using·</span>Base·=·DifferentiableFunctionWrapperImplementation<Signature,·DerivativeInterface,·B>;</div> | ||
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span> | 117 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> |
118 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">using·</span>Base::Base;</div> | ||
104 | <div·class="line"><a·id="l0005 | 119 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
120 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">virtual</span>·LocalFunctionInterface·wrappedLocalFunction()<span·class="keyword">·const</span></div> | ||
105 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="keyword">··</span>{</div> |
122 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">return</span>·localFunction(this->get());</div> | ||
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········jacobianTransposed.mtv(tmp,·value);</div> | ||
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········value·/=·integrationElement;</div> | ||
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div> | ||
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·· | 123 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··}</div> |
110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 124 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
125 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">virtual</span>·<span·class="keyword">const</span>·EntitySet&·wrappedEntitySet()<span·class="keyword">·const</span></div> | ||
111 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·Gradients,·<span·class="keyword">typename</span>·LocalCoordinate,·<span·class="keyword">typename</span>·Geometry></div> | ||
112 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">static</span>·<span·class="keyword">auto</span>·applyJacobian(Gradients&·gradients,</div> | ||
113 | <div·class="line"><a·id="l000 | 126 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div> |
114 | <div·class="line"><a·id="l000 | 127 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·this->get().entitySet();</div> |
115 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> |
116 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">auto</span>·jacobianTransposed·=·geometry.jacobianTransposed(xi);</div> | ||
117 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">auto</span>·integrationElement·=·geometry.integrationElement(xi);</div> | ||
118 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keywordflow">for</span>·(<span·class="keyword">auto</span>&·gradient·:·gradients)</div> | ||
119 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······{</div> | ||
120 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">auto</span>·tmp·=·gradient;</div> | ||
121 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········gradient·=·0;</div> | ||
122 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·k=0;·k<gradient.M();·k++)</div> | ||
123 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">size_t</span>·l=0;·l<tmp.N();·l++)</div> | ||
124 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>············<span·class="comment">//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse·DiagonalMatrix</span></div> | ||
125 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>············<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed[l]))</div> | ||
126 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··············gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k];</div> | ||
127 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········gradient·/=·integrationElement;</div> | ||
128 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······}</div> | ||
129 | <div·class="line"><a·id="l000 | 129 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>};</div> |
130 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
131 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·Function,·<span·class="keyword">class</span>·LocalCoordinate,·<span·class="keyword">class</span>·Element></div> | ||
132 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keyword">class·</span>LocalValuedFunction</div> | ||
133 | <div·class="line"><a·id="l000 | 131 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
134 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keyword">const</span>·Function&·f_;</div> | ||
135 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="keyword">const</span>·Element&·element_;</div> | ||
136 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | ||
137 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keyword">public</span>:</div> | ||
138 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
139 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······LocalValuedFunction(<span·class="keyword">const</span>·Function&·f,·<span·class="keyword">const</span>·Element&·element)</div> | ||
Max diff block lines reached; 271/58626 bytes (0.46%) of diff not shown. |
Offset 4, 340 lines modified | Offset 4, 91 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | gridfunction_imp.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_GLOBALVALUEDLOCALFINITEELEMENT_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRID_FUNCTION_IMP_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<array> | ||
16 | ·7#include·<numeric> | ||
17 | ·8 | ||
18 | ·9#include·<dune/common/fmatrix.hh> | ||
19 | ·10#include·<dune/common/fvector.hh> | ||
20 | ·11#include·<dune/common/math.hh> | ||
21 | ·12#include·<dune/common/rangeutilities.hh> | ||
22 | ·13 | ||
23 | · | 15 | ·6#include·<dune/functions/common/type_traits.hh> |
16 | ·7#include·<dune/functions/common/interfaces.hh> | ||
17 | ·8#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
18 | ·9 | ||
19 | ·10 | ||
20 | ·11 | ||
21 | ·12namespace·Dune·{ | ||
22 | ·13namespace·Functions·{ | ||
23 | ·14namespace·Imp·{ | ||
24 | ·15 | 24 | ·15 |
25 | ·19struct·HasFreeLocalFunction | ||
25 | ·16#include·<dune/localfunctions/common/localbasis.hh> | ||
26 | ·17#include·<dune/localfunctions/common/localfiniteelementtraits.hh> | ||
27 | ·18#include·<dune/localfunctions/common/localinterpolation.hh> | ||
28 | ·19 | ||
29 | ·20namespace·Dune::Functions::Impl | ||
30 | ·2 | 26 | ·20{ |
31 | ·22 | ||
32 | ·36·struct·ContravariantPiolaTransformator | ||
33 | ·37·{ | ||
34 | ·42·template<typename·Values,·typename·LocalCoordinate,·typename·Geometry> | ||
35 | ·43·static·auto·apply(Values&·values, | ||
36 | ·44·const·LocalCoordinate&·xi, | ||
37 | · | 27 | ·21·template<class·F> |
28 | ·22·auto·require(F&&·f)·->·decltype( | ||
29 | ·23·localFunction(f) | ||
30 | ·24·); | ||
31 | ·25}; | ||
32 | ·26 | ||
33 | ·27 | ||
34 | ·28 | ||
35 | ·29//·Interface·of·type·erasure·wrapper | ||
36 | ·30// | ||
37 | ·31//·Notice·that·the·basic·interface·of·polymorphic·classes·(destructor, | ||
38 | clone,·...) | ||
39 | ·32//·will·be·added·by·the·type·erasure·foundation·classes. | ||
40 | ·33template<class·Signature,·class·DerivativeInterface,·class | ||
41 | LocalFunctionInterface,·class·EntitySet> | ||
42 | ·34class·GridFunctionWrapperInterface·: | ||
43 | ·35·public·DifferentiableFunctionWrapperInterface<Signature, | ||
44 | DerivativeInterface> | ||
45 | ·36{ | ||
46 | ·37public: | ||
47 | ·38·virtual·LocalFunctionInterface·wrappedLocalFunction()·const·=·0; | ||
48 | ·39 | ||
49 | ·40·virtual·const·EntitySet&·wrappedEntitySet()·const·=·0; | ||
50 | ·41}; | ||
51 | ·42 | ||
52 | ·43 | ||
53 | ·44//·Implementation·of·type·erasure·wrapper | ||
54 | ·45template<class·Signature,·class·DerivativeInterface,·class | ||
55 | LocalFunctionInterface,·class·EntitySet,·class·B> | ||
56 | ·46class·GridFunctionWrapperImplementation·: | ||
57 | ·47·public·DifferentiableFunctionWrapperImplementation<Signature, | ||
58 | DerivativeInterface,·B> | ||
59 | ·48{ | ||
60 | ·49·using·Base·=·DifferentiableFunctionWrapperImplementation<Signature, | ||
61 | DerivativeInterface,·B>; | ||
62 | ·50public: | ||
63 | ·51·using·Base::Base; | ||
64 | ·52 | ||
65 | ·53·virtual·LocalFunctionInterface·wrappedLocalFunction()·const | ||
38 | · | 66 | ·54·{ |
67 | ·55·return·localFunction(this->get()); | ||
39 | ·47·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
40 | ·48·auto·integrationElement·=·geometry.integrationElement(xi); | ||
41 | ·49 | ||
42 | ·50·for·(auto&·value·:·values) | ||
43 | ·51·{ | ||
44 | ·52·auto·tmp·=·value; | ||
45 | ·53·jacobianTransposed.mtv(tmp,·value); | ||
46 | ·54·value·/=·integrationElement; | ||
47 | ·55·} | ||
48 | ·56·} | 68 | ·56·} |
49 | ·57 | 69 | ·57 |
70 | ·58·virtual·const·EntitySet&·wrappedEntitySet()·const | ||
50 | ·67·template<typename·Gradients,·typename·LocalCoordinate,·typename·Geometry> | ||
51 | ·68·static·auto·applyJacobian(Gradients&·gradients, | ||
52 | ·69·const·LocalCoordinate&·xi, | ||
53 | ·70·const·Geometry&·geometry) | ||
54 | ·71·{ | ||
55 | ·72·auto·jacobianTransposed·=·geometry.jacobianTransposed(xi); | ||
56 | ·73·auto·integrationElement·=·geometry.integrationElement(xi); | ||
57 | ·74·for·(auto&·gradient·:·gradients) | ||
58 | · | 71 | ·59·{ |
72 | ·60·return·this->get().entitySet(); | ||
73 | ·61·} | ||
74 | ·62}; | ||
75 | ·63 | ||
76 | ·64 | ||
59 | ·76·auto·tmp·=·gradient; | ||
60 | ·77·gradient·=·0; | ||
61 | ·78·for·(size_t·k=0;·k<gradient.M();·k++) | ||
62 | ·79·for·(size_t·l=0;·l<tmp.N();·l++) | ||
63 | ·80·//·Use·sparseRange·because·jacobianTransposed·may·be·a·sparse | ||
64 | DiagonalMatrix | ||
65 | ·81·for(auto&&·[jacobianTransposed_l_j,·j]·:·sparseRange(jacobianTransposed | ||
66 | [l])) | ||
67 | ·82·gradient[j][k]·+=·jacobianTransposed_l_j·*·tmp[l][k]; | ||
68 | ·83·gradient·/=·integrationElement; | ||
69 | ·84·} | ||
70 | ·85·} | ||
Max diff block lines reached; 116/12843 bytes (0.90%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridviewentityset.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 59 lines modified | Offset 58, 40 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
71 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">gridviewentityset.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<memory></code><br·/> |
76 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
77 | <code>#include·<dune/common/indices.hh></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/indexaccess.hh</a>></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/type_traits.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
82 | </div> | 75 | </div> |
83 | <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p> | 76 | <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 77 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 78 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
86 | Classes</h2></td></tr> | 79 | Classes</h2></td></tr> |
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 80 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01919.html">Dune::Functions::GridViewEntitySet<·GV,·cd·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A· | 81 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.··<a·href="a01919.html#details">More...</a><br·/></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | </table><table·class="memberdecls"> | 83 | </table><table·class="memberdecls"> |
91 | <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> |
92 | Namespaces</h2></td></tr> | 85 | Namespaces</h2></td></tr> |
93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 86 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 88 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
99 | Functions</h2></td></tr> | ||
100 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplParams"·colspan="2">template<class·V·>·</td></tr> | ||
101 | <tr·class="memitem:aa74497c764d8ce0b365abae3637dadc8"><td·class="memTemplItemLeft"·align="right"·valign="top">HierarchicVectorWrapper<·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#aa74497c764d8ce0b365abae3637dadc8">Dune::Functions::hierarchicVector</a>·(V·&v)</td></tr> | ||
102 | <tr·class="separator:aa74497c764d8ce0b365abae3637dadc8"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
103 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·models<·Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type··=·0>·</td></tr> | ||
104 | <tr·class="memitem:a5c705706be679d2a462e38b08274ad33"><td·class="memTemplItemLeft"·align="right"·valign="top">V·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a5c705706be679d2a462e38b08274ad33">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
105 | <tr·class="separator:a5c705706be679d2a462e38b08274ad33"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
106 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·not·models<·Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type··=·0>·</td></tr> | ||
107 | <tr·class="memitem:ae48bf799daaf0751086b47457350675e"><td·class="memTemplItemLeft"·align="right"·valign="top">HierarchicVectorWrapper<·V·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ae48bf799daaf0751086b47457350675e">Dune::Functions::makeHierarchicVectorForMultiIndex</a>·(V·&v)</td></tr> | ||
108 | <tr·class="separator:ae48bf799daaf0751086b47457350675e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table> | 90 | </table> |
110 | </div><!--·contents·--> | 91 | </div><!--·contents·--> |
111 | <!--·start·footer·part·--> | 92 | <!--·start·footer·part·--> |
112 | <hr·class="footer"/><address·class="footer"><small> | 93 | <hr·class="footer"/><address·class="footer"><small> |
113 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 94 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
114 | </small></address> | 95 | </small></address> |
115 | </body> | 96 | </body> |
Offset 4, 44 lines modified | Offset 4, 24 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
9 | gridviewentityset.hh·File·Reference | ||
10 | #include·<memory> | ||
9 | hierarchicvectorwrapper.hh·File·Reference | ||
10 | #include·<dune/common/concept.hh> | ||
11 | #include·<dune/common/hybridutilities.hh> | ||
12 | #include·<dune/common/indices.hh> | ||
13 | #include·<dune/functions/common/indexaccess.hh> | ||
14 | #include·<dune/functions/common/utility.hh> | ||
15 | #include·<dune/functions/common/type_traits.hh> | ||
16 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 12 | ·Classes |
19 | class· Dune::Functions::HierarchicVectorWrapper<_V,_CO_> | ||
20 | 13 | class· Dune::Functions::GridViewEntitySet<_GV,_cd_> | |
14 | ······An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·More... | ||
21 | 15 | ||
22 | ·Namespaces | 16 | ·Namespaces |
23 | namespace· Dune | 17 | namespace· Dune |
24 | 18 | ||
25 | namespace· Dune::Functions | 19 | namespace· Dune::Functions |
26 | 20 | ||
27 | ·Functions | ||
28 | template<class·V·> | ||
29 | HierarchicVectorWrapper<·V·> Dune::Functions::hierarchicVector·(V·&v) | ||
30 | |||
31 | template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·models< | ||
32 | Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type·=·0> | ||
33 | ·························V·& Dune::Functions:: | ||
34 | ······························makeHierarchicVectorForMultiIndex·(V·&v) | ||
35 | |||
36 | template<class·MultiIndex·,·class·V·,·typename·std::enable_if<·not·models< | ||
37 | Concept::HasIndexAccess,·V,·MultiIndex·>(),·int·>::type·=·0> | ||
38 | HierarchicVectorWrapper<·V·> Dune::Functions:: | ||
39 | ······························makeHierarchicVectorForMultiIndex·(V·&v) | ||
40 | |||
41 | =============================================================================== | 21 | =============================================================================== |
42 | ·····Generated·by [doxygen]·1.9.4 | 22 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridviewentityset.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 280 lines modified | Offset 58, 109 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">gridviewentityset.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00176.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00176.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTION | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTION | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/indices.hh></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/indexaccess.hh</a>></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/utility.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> | ||
87 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> |
88 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
89 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV,·<span·class="keywordtype">int</span>·cd></div> | ||
85 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a01919.html">···22</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01919.html">GridViewEntitySet</a></div> | ||
86 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div> | ||
87 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">public</span>:</div> | ||
90 | <div·class="line"><a·id="l0002 | 88 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
89 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01919.html#a1952f7f975b409a9fb7cac45d2dd13c0">···26</a></span>··<span·class="keyword">typedef</span>·GV·<a·class="code·hl_typedef"·href="a01919.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>;</div> | ||
91 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">enum</span>·{</div> |
91 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<a·class="code·hl_enumvalue"·href="a01919.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">codim</a>·=·cd</div> | ||
92 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01919.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">···29</a></span>··};</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="comment">//·Construct·default·coefficient·type·from·vector·and·multiindex·type</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="comment">//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="comment">//·vector·type·itself·is·returned.</span></div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·MultiIndex></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">struct·</span>CoefficientType</div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E,·std::<span·class="keywordtype">size_t</span>·size></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····{</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">using·</span>E0·=·<span·class="keyword">decltype</span>(std::declval<E>()[Dune::Indices::_0]);</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<E0,·size-1>::type;</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····};</div> | ||
105 | <div·class="line"><a·id="l0003 | 93 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
94 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">···32</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::template·Codim<codim>::Entity·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">template</span><<span·class="keyword">class</span>·E></div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">struct·</span>DefaultCoefficientTypeHelper<E,·0></div> | ||
108 | <div·class="line"><a·id="l0003 | 95 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
109 | <div·class="line"><a·id="l0003 | 96 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01919.html#aa4368ad66f18ba8279f20ab7a794069d">···35</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::LocalCoordinate·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·82,·SHA:·4f0eaa721a15f91d2d3432b28b91601e669417f09d91ad03e8358f1280c1163c·...·];</div> |
97 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">···36</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Element::Geometry::GlobalCoordinate·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">GlobalCoordinate</a>;</div> | ||
110 | <div·class="line"><a·id="l000 | 98 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
99 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01919.html#a64c695239c50f85f3c3ac009e0d28ec5">···38</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>·<a·class="code·hl_typedef"·href="a01919.html#a64c695239c50f85f3c3ac009e0d28ec5">value_type</a>;</div> | ||
100 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
101 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">···41</a></span>··<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·GridView::template·Codim<codim>::Iterator·<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>;</div> | ||
111 | <div·class="line"><a·id="l0004 | 102 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
103 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01919.html#af641ddccfd83eac1935a39604afd4335">···44</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_typedef"·href="a01919.html#af641ddccfd83eac1935a39604afd4335">iterator</a>;</div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span><<span·class="keyword">class·</span>MI,</div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">typename</span>·std::enable_if<HasStaticSize<MI>::value,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·getStaticSizeOrZero()</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>· | 104 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
116 | <div·class="line"><a·id="l0004 | 105 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01919.html#a03a85089dbc09737fa68ee0643f253e8">···47</a></span>··<a·class="code·hl_function"·href="a01919.html#a03a85089dbc09737fa68ee0643f253e8">GridViewEntitySet</a>(<span·class="keyword">co[·...·truncated·by·diffoscope;·len:·114,·SHA:·cb107e50a007d0bcd6c2f4e91e8befd4a6df522f3eb329430e18abcd4eed3d99·...·]</div> |
106 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····gv_(gv)</div> | ||
117 | <div·class="line"><a·id="l0004 | 107 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{}</div> |
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">template</span><<span·class="keyword">class·</span>MI,</div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">typename</span>·std::enable_if<not·HasStaticSize<MI>::value,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·getStaticSizeOrZero()</div> | ||
122 | <div·class="line"><a·id="l0005 | 108 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
109 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01919.html#aecef1420c439c2cae8ae253822257318">···52</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01919.html#aecef1420c439c2cae8ae253822257318">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">Element</a>&·e)<span·class="keyword">·const</span></div> | ||
110 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">··</span>{</div> | ||
123 | <div·class="line"><a·id="l0005 | 111 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">return</span>·gv_.contains(e);</div> |
124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> | ||
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 112 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div> |
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>type·=·<span·class="keyword">typename</span>·DefaultCoefficientTypeHelper<V,·getStaticSizeOrZero<MultiIndex>()>::type;</div> | ||
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div> | ||
128 | <div·class="line"><a·id="l0005 | 113 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
114 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01919.html#aa53cd545677269ae1e19dda2a02f48dd">···58</a></span>··<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a01919.html#aa53cd545677269ae1e19dda2a02f48dd">size</a>()<span·class="keyword">·const</span></div> | ||
115 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">··</span>{</div> | ||
116 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·gv_.size(<a·class="code·hl_enumvalue"·href="a01919.html#adfa21b864d2fe7e5f1e2a1c35df59de1a641d7f1200046247691c0b3e24fbebc6">codim</a>);</div> | ||
129 | <div·class="line"><a·id="l000 | 117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> |
130 | <div·class="line"><a·id="l0006 | 118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01919.html#a6eacf8355789441dabcf555e0c89c967">···64</a></span>··<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_function"·href="a01919.html#a6eacf8355789441dabcf555e0c89c967">begin</a>()<span·class="keyword">·const</span></div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="comment">//·This·tag·class·is·used·as·Coefficient·template·parameter</span></div> | ||
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="comment">//·for·HierarchicVectorWrapper·if·the·coefficient·type·should</span></div> | ||
133 | <div·class="line"><a·id="l0006 | 120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">··</span>{</div> |
134 | <div·class="line"><a·id="l0006 | 121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordflow">return</span>·gv_.template·begin<codim>();</div> |
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>}·<span·class="comment">//·namespace·Imp</span></div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··}</div> |
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
124 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01919.html#a1e115d056b4517cbef7a2c2007132ab7">···70</a></span>··<a·class="code·hl_typedef"·href="a01919.html#a82d03b324e66290459b11d00f549eca2">const_iterator</a>·<a·class="code·hl_function"·href="a01919.html#a1e115d056b4517cbef7a2c2007132ab7">end</a>()<span·class="keyword">·const</span></div> | ||
125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">··</span>{</div> | ||
126 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">return</span>·gv_.template·end<codim>();</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··}</div> | ||
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
129 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01919.html#a3f882a9eb425fd9dae3c23c829512642">···76</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01919.html#a1952f7f975b409a9fb7cac45d2dd13c0">GridView</a>&·<a·class="code·hl_function"·href="a01919.html#a3f882a9eb425fd9dae3c23c829512642">gridView</a>()<span·class="keyword">·const</span></div> | ||
130 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">··</span>{</div> | ||
131 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordflow">return</span>·gv_;</div> | ||
Max diff block lines reached; 10977/65074 bytes (16.87%) of diff not shown. |
Offset 4, 329 lines modified | Offset 4, 142 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | gridviewentityset.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICVECTORWRAPPER_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWENTITYSET_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<memory> | ||
16 | ·7 | ||
17 | ·8 | ||
15 | ·6#include·<dune/common/concept.hh> | ||
16 | ·7#include·<dune/common/hybridutilities.hh> | ||
17 | ·8#include·<dune/common/indices.hh> | ||
18 | ·9 | ||
19 | ·10#include·<dune/functions/common/indexaccess.hh> | ||
20 | ·11#include·<dune/functions/common/utility.hh> | ||
21 | ·12#include·<dune/functions/common/type_traits.hh> | ||
22 | ·13#include·<dune/functions/functionspacebases/concepts.hh> | ||
23 | ·14 | ||
24 | ·15 | ||
25 | · | 18 | ·9namespace·Dune·{ |
19 | ·10 | ||
26 | ·1 | 20 | ·11namespace·Functions·{ |
27 | ·18 | ||
28 | ·19 | ||
29 | ·20 | ||
30 | ·21namespace·Imp·{ | ||
31 | ·22 | ||
32 | ·23·//·Construct·default·coefficient·type·from·vector·and·multiindex·type | ||
33 | ·24·//·This·requires·that·MultiIndex·has·a·static·size.·Otherwise·the | ||
34 | ·25·//·vector·type·itself·is·returned. | ||
35 | ·26·template<class·V,·class·MultiIndex> | ||
36 | ·27·struct·CoefficientType | ||
37 | ·28·{ | ||
38 | ·29·template<class·E,·std::size_t·size> | ||
39 | · | 21 | ·12 |
22 | ·13 | ||
23 | ·21template<class·GV,·int·cd> | ||
24 | 22class·GridViewEntitySet | ||
25 | ·23{ | ||
26 | ·24public: | ||
27 | ·25 | ||
28 | 26·typedef·GV·GridView; | ||
29 | ·27·enum·{ | ||
30 | ·28·codim·=·cd | ||
31 | 29·}; | ||
32 | ·30 | ||
33 | 32·typedef·typename·GridView::template·Codim<codim>::Entity·Element; | ||
34 | ·33 | ||
35 | 35·typedef·typename·Element::Geometry::LocalCoordinate·LocalCoordinate; | ||
36 | 36·typedef·typename·Element::Geometry::GlobalCoordinate·GlobalCoordinate; | ||
37 | ·37 | ||
38 | 38·typedef·Element·value_type; | ||
39 | ·39 | ||
40 | 41·typedef·typename·GridView::template·Codim<codim>::Iterator·const_iterator; | ||
41 | ·42 | ||
42 | 44·typedef·const_iterator·iterator; | ||
43 | ·45 | ||
44 | 47·GridViewEntitySet(const·GridView&·gv)·: | ||
45 | ·48·gv_(gv) | ||
46 | ·49·{} | ||
47 | ·50 | ||
48 | 52·bool·contains(const·Element&·e)·const | ||
40 | · | 49 | ·53·{ |
50 | ·54·return·gv_.contains(e); | ||
41 | ·32·using·E0·=·decltype(std::declval<E>()[Dune::Indices::_0]); | ||
42 | ·33·using·type·=·typename·DefaultCoefficientTypeHelper<E0,·size-1>::type; | ||
43 | ·34·}; | ||
44 | ·35 | ||
45 | ·36·template<class·E> | ||
46 | ·37·struct·DefaultCoefficientTypeHelper<E,·0> | ||
47 | ·38·{ | ||
48 | ·39·using·type·=·E; | ||
49 | ·40·}; | ||
50 | ·41 | ||
51 | ·42·template<class·MI, | ||
52 | ·43·typename·std::enable_if<HasStaticSize<MI>::value,·int>::type·=·0> | ||
53 | ·44·static·constexpr·std::size_t·getStaticSizeOrZero() | ||
54 | ·45·{ | ||
55 | ·46·return·StaticSize<MI>::value; | ||
56 | ·47·} | ||
57 | ·48 | ||
58 | ·49·template<class·MI, | ||
59 | ·50·typename·std::enable_if<not·HasStaticSize<MI>::value,·int>::type·=·0> | ||
60 | ·51·static·constexpr·std::size_t·getStaticSizeOrZero() | ||
61 | ·52·{ | ||
62 | ·53·return·0; | ||
63 | ·5 | 51 | ·55·} |
52 | ·56 | ||
53 | 58·size_t·size()·const | ||
64 | ·55 | ||
65 | ·56·using·type·=·typename·DefaultCoefficientTypeHelper<V, | ||
66 | getStaticSizeOrZero<MultiIndex>()>::type; | ||
67 | ·57·}; | ||
68 | ·58 | ||
69 | ·59 | 54 | ·59·{ |
55 | ·60·return·gv_.size(codim); | ||
56 | ·61·} | ||
57 | ·62 | ||
58 | 64·const_iterator·begin()·const | ||
70 | ·60 | ||
71 | ·61·//·This·tag·class·is·used·as·Coefficient·template·parameter | ||
72 | ·62·//·for·HierarchicVectorWrapper·if·the·coefficient·type·should | ||
73 | ·63·//·be·deduced. | ||
74 | ·64·struct·DeducedCoefficientTag·{}; | ||
75 | ·65 | 59 | ·65·{ |
76 | ·66 | 60 | ·66·return·gv_.template·begin<codim>(); |
77 | ·67 | 61 | ·67·} |
78 | ·68 | 62 | ·68 |
63 | 70·const_iterator·end()·const | ||
64 | ·71·{ | ||
65 | ·72·return·gv_.template·end<codim>(); | ||
66 | ·73·} | ||
67 | ·74 | ||
68 | 76·const·GridView&·gridView()·const | ||
69 | ·77·{ | ||
70 | ·78·return·gv_; | ||
Max diff block lines reached; 4269/13875 bytes (30.77%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·localderivativetraits.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 78 lines modified | Offset 58, 44 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
71 | <a·href="#func-members">Functions</a>··</div> | ||
72 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">localderivativetraits.hh·File·Reference</div></div> |
73 | </div><!--header--> | 72 | </div><!--header--> |
74 | <div·class="contents"> | 73 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<tuple></code><br·/> | ||
76 | <code>#include·<utility></code><br·/> | ||
77 | <code>#include·<dune/common/std/apply.hh></code><br·/> | ||
78 | <code>#include·<dune/common/hybridutilities.hh></code><br·/> | ||
79 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | ||
80 | <code>#include·<dune/common/typeutilities.hh></code><br·/> | ||
81 | <code>#include·<dune/typetree/compositenode.hh></code><br·/> | ||
82 | <code>#include·<dune/typetree/utility.hh></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/common/staticforloop.hh</a>></code><br·/> | ||
84 | <code>#include·<<a·class="el"·href="a000 | 74 | <div·class="textblock"><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> |
85 | <code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/utility.hh</a>></code><br·/> | ||
86 | <code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/functionspacebases/basistags.hh</a>></code><br·/> | ||
87 | <code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> | ||
88 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
89 | <code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code><br·/> | ||
90 | </div> | 75 | </div> |
91 | <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p> | 76 | <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p> |
92 | <table·class="memberdecls"> | 77 | <table·class="memberdecls"> |
93 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 78 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
94 | Classes</h2></td></tr> | 79 | Classes</h2></td></tr> |
95 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 80 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01931.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·></a></td></tr> |
96 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 81 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·traits·for·local·functions.··<a·href="a01931.html#details">More...</a><br·/></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01831.html">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·minIS,·maxIS·></a></td></tr> | ||
99 | <tr·class="mem | 83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01935.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·></a></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)></a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | </table><table·class="memberdecls"> | 87 | </table><table·class="memberdecls"> |
102 | <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> |
103 | Namespaces</h2></td></tr> | 89 | Namespaces</h2></td></tr> |
104 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 90 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 92 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a00229"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00229.html">Dune::Functions::Experimental</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | <tr·class="memitem:a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplParams"·colspan="2">template<class·RPB·,·class·T·>·</td></tr> | ||
118 | <tr·class="memitem:a97702eea52e7ff7d9e66226034aee386"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00229.html#a97702eea52e7ff7d9e66226034aee386">Dune::Functions::Experimental::TransformedIndexPreBasis</a>·(RPB·&&,·T·&&)·->·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·></td></tr> | ||
119 | <tr·class="separator:a97702eea52e7ff7d9e66226034aee386"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisFactory·,·class·Transformation·>·</td></tr> | ||
121 | <tr·class="memitem:a6b531a5d076e13881c59b75e505e808e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#a6b531a5d076e13881c59b75e505e808e">Dune::Functions::BasisFactory::Experimental::transformIndices</a>·(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation)</td></tr> | ||
122 | <tr·class="memdesc:a6b531a5d076e13881c59b75e505e808e"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·a·TransformedIndexPreBasisFactory.··<a·href="a00227.html#a6b531a5d076e13881c59b75e505e808e">More...</a><br·/></td></tr> | ||
123 | <tr·class="separator:a6b531a5d076e13881c59b75e505e808e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:af76509ea5d22293cf990c33c3306992f"><td·class="memTemplParams"·colspan="2">template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_t·minIndexSize,·std::size_t·maxIndexSize>·</td></tr> | ||
125 | <tr·class="memitem:af76509ea5d22293cf990c33c3306992f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00227.html#af76509ea5d22293cf990c33c3306992f">Dune::Functions::BasisFactory::Experimental::indexTransformation</a>·(IndexTransformation·&&indexTransformation,·SizeImplementation·&&sizeImplementation,·Dune::index_constant<·minIndexSize·>,·Dune::index_constant<·maxIndexSize·>)</td></tr> | ||
126 | <tr·class="memdesc:af76509ea5d22293cf990c33c3306992f"><td·class="mdescLeft"> </td><td·class="mdescRight">A·generic·implementation·of·a·transformation.··<a·href="a00227.html#af76509ea5d22293cf990c33c3306992f">More...</a><br·/></td></tr> | ||
127 | <tr·class="separator:af76509ea5d22293cf990c33c3306992f"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
128 | </table> | 94 | </table> |
129 | </div><!--·contents·--> | 95 | </div><!--·contents·--> |
130 | <!--·start·footer·part·--> | 96 | <!--·start·footer·part·--> |
131 | <hr·class="footer"/><address·class="footer"><small> | 97 | <hr·class="footer"/><address·class="footer"><small> |
132 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
133 | </small></address> | 99 | </small></address> |
134 | </body> | 100 | </body> |
Offset 4, 67 lines modified | Offset 4, 30 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces |
9 | localderivativetraits.hh·File·Reference | ||
9 | transformedindexbasis.hh·File·Reference | ||
10 | #include·<tuple> | ||
11 | #include·<utility> | ||
12 | #include·<dune/common/std/apply.hh> | ||
13 | #include·<dune/common/hybridutilities.hh> | ||
14 | #include·<dune/common/reservedvector.hh> | ||
15 | #include·<dune/common/typeutilities.hh> | ||
16 | #include·<dune/typetree/compositenode.hh> | ||
17 | #include·<dune/typetree/utility.hh> | ||
18 | #include·<dune/functions/common/staticforloop.hh> | ||
19 | #include·<dune/functions/common/t | 10 | #include·<dune/functions/common/defaultderivativetraits.hh> |
20 | #include·<dune/functions/common/utility.hh> | ||
21 | #include·<dune/functions/functionspacebases/basistags.hh> | ||
22 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
23 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
24 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
25 | Go_to_the_source_code_of_this_file. | 11 | Go_to_the_source_code_of_this_file. |
26 | ·Classes | 12 | ·Classes |
27 | class· Dune::Functions::Experimental::TransformedIndexPreBasis<_RPB,_T_> | ||
28 | 13 | struct· Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits_> | |
14 | ·······Derivative·traits·for·local·functions.·More... | ||
29 | 15 | ||
30 | class· Dune::Functions::BasisFactory::Experimental:: | ||
31 | ········GenericIndexingTransformation<_IndexTransformation,_SizeImplementation, | ||
32 | ········minIS,_maxIS_> | ||
33 | 16 | struct· Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | |
17 | ·········>::Traits<_Signature_> | ||
18 | |||
19 | struct· Dune::Functions::LocalDerivativeTraits<_EntitySet,_DerivativeTraits | ||
20 | ·········>::Traits<_R(LocalDomain)> | ||
34 | 21 | ||
35 | ·Namespaces | 22 | ·Namespaces |
36 | namespace· Dune | 23 | namespace· Dune |
37 | 24 | ||
38 | namespace· Dune::Functions | 25 | namespace· Dune::Functions |
39 | 26 | ||
40 | namespace· Dune::Functions::Experimental | ||
41 | |||
42 | namespace· Dune::Functions::BasisFactory | ||
43 | |||
44 | namespace· Dune::Functions::BasisFactory::Experimental | ||
45 | |||
46 | ·Functions | ||
47 | template<class·RPB·,·class·T·> | ||
48 | ···· Dune::Functions::Experimental::TransformedIndexPreBasis·(RPB·&&,·T·&&)·- | ||
49 | ······>·TransformedIndexPreBasis<·std::decay_t<·RPB·>,·std::decay_t<·T·>·> | ||
50 | |||
51 | template<class·RawPreBasisFactory·,·class·Transformation·> | ||
52 | auto Dune::Functions::BasisFactory::Experimental::transformIndices | ||
53 | ······(RawPreBasisFactory·&&preBasisFactory,·Transformation·&&transformation) | ||
54 | ····Create·a·TransformedIndexPreBasisFactory.·More... | ||
55 | |||
56 | template<class·IndexTransformation·,·class·SizeImplementation·,·std::size_t | ||
57 | minIndexSize,·std::size_t·maxIndexSize> | ||
58 | auto Dune::Functions::BasisFactory::Experimental::indexTransformation | ||
59 | ······(IndexTransformation·&&indexTransformation,·SizeImplementation | ||
60 | ······&&sizeImplementation,·Dune::index_constant<·minIndexSize·>,·Dune:: | ||
61 | ······index_constant<·maxIndexSize·>) | ||
62 | ····A·generic·implementation·of·a·transformation.·More... | ||
63 | |||
64 | =============================================================================== | 27 | =============================================================================== |
65 | ·····Generated·by [doxygen]·1.9.4 | 28 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·localderivativetraits.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 279 lines modified | Offset 58, 66 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">localderivativetraits.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00179.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00179.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span> | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utilit | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/std/apply.hh></span></div> | ||
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<dune/common/hybridutilities.hh></span></div> | ||
84 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<dune/typetree/compositenode.hh></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<dune/typetree/utility.hh></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00014.html">dune/functions/common/staticforloop.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00005.html">dune/functions/common/type_traits.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00044.html">dune/functions/common/utility.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00161.html">dune/functions/functionspacebases/basistags.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·<<a·class="code"·href="a02876.html">dune/functions/functionspacebases/concepts.hh</a>></span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
97 | <div·class="line"><a·id="l000 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
98 | <div·class="line"><a·id="l000 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span>Functions·{</div> |
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a00229.html">···29</a></span><span·class="keyword">namespace·</span>Experimental·{</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">//·*****************************************************************************</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">//·*****************************************************************************</span></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
104 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">template</span><<span·class="keyword">class</span>·RPB,·<span·class="keyword">class</span>·T></div> | ||
105 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01827.html">···51</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01827.html">TransformedIndexPreBasis</a></div> | ||
106 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>{</div> | ||
107 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">using·</span>Transformation·=·T;</div> | ||
108 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
109 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01827.html">This</a>·=·<a·class="code·hl_class"·href="a01827.html">TransformedIndexPreBasis<RPB,·T></a>;</div> | ||
110 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
111 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> | ||
112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01827.html#a64aa0bf3453d3f749622b7ea521715ae">···59</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB;</div> | ||
114 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">···62</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·<span·class="keyword">typename</span>·RawPreBasis::GridView;</div> | ||
116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
117 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">···65</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·=·std::size_t;</div> | ||
118 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
119 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01827.html#a3eec8056dfb98fa13397be1f6c3c5f61">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01827.html#a3eec8056dfb98fa13397be1f6c3c5f61">Node</a>·=·<span·class="keyword">typename</span>·RawPreBasis::Node;</div> | ||
120 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
121 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01827.html#a474968659bf3b30d623d6baceaceafac">···70</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01827.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>·=·Transformation::maxIndexSize;</div> | ||
122 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01827.html#ae4b2655926fabb0a127584a701446958">···71</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01827.html#ae4b2655926fabb0a127584a701446958">minMultiIndexSize</a>·=·Transformation::minIndexSize;</div> | ||
123 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01827.html#aa46fd3cb45543bee69dfd60429254ba4">···72</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_variable"·href="a01827.html#aa46fd3cb45543bee69dfd60429254ba4">multiIndexBufferSize</a>·=·std::max(RawPreBasis::multiIndexBufferSize,·<a·class="code·hl_variable"·href="a01827.html#a474968659bf3b30d623d6baceaceafac">maxMultiIndexSize</a>);</div> | ||
124 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
125 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·RPB_R,·<span·class="keyword">class</span>·T_R></div> | ||
126 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01827.html#a415716e3d0436f2e9c44992ee79f6133">···80</a></span>··<a·class="code·hl_function"·href="a01827.html#a415716e3d0436f2e9c44992ee79f6133">TransformedIndexPreBasis</a>(RPB_R&&·<a·class="code·hl_function"·href="a01827.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>,·T_R&&·transformation)·:</div> | ||
127 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>(std::forward<RPB_R>(<a·class="code·hl_function"·href="a01827.html#ae05f9b7e9586b30e88d78c42737e4971">rawPreBasis</a>)),</div> | ||
128 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<a·class="code·hl_variable"·href="a01827.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>(std::forward<T_R>(transformation))</div> | ||
129 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{}</div> | ||
130 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
131 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01827.html#a1392b84bf237ce8c8be2b2ec7b9869f2">···86</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01827.html#a1392b84bf237ce8c8be2b2ec7b9869f2">initializeIndices</a>()</div> | ||
132 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div> | ||
133 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.initializeIndices();</div> | ||
134 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> | ||
135 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
136 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01827.html#a594c7901fbeee33aed41098733345691">···92</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>&·<a·class="code·hl_function"·href="a01827.html#a594c7901fbeee33aed41098733345691">gridView</a>()<span·class="keyword">·const</span></div> | ||
137 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">··</span>{</div> | ||
138 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.gridView();</div> | ||
139 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··}</div> | ||
140 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | ||
141 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01827.html#a573a82c3462477edff6bdcfab358894e">···98</a></span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01827.html#a573a82c3462477edff6bdcfab358894e">update</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>&·gv)</div> | ||
142 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div> | ||
143 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.update(gv);</div> | ||
144 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··}</div> | ||
145 | <div·class="line"><a·id="l00 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
146 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a01827.html#a59112faa30a2466538b2f7bdf2f3b9f9">··113</a></span>··<a·class="code·hl_typedef"·href="a01827.html#a3eec8056dfb98fa13397be1f6c3c5f61">Node</a>·<a·class="code·hl_function"·href="a01827.html#a59112faa30a2466538b2f7bdf2f3b9f9">makeNode</a>()<span·class="keyword">·const</span></div> | ||
147 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="keyword">··</span>{</div> | ||
148 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>.makeNode();</div> | ||
149 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div> | ||
150 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
151 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a01827.html#a683d388cba68feafc350d23c8078666b">··119</a></span>··<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_function"·href="a01827.html#a683d388cba68feafc350d23c8078666b">size</a>()<span·class="keyword">·const</span></div> | ||
152 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="keyword">··</span>{</div> | ||
153 | <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="a01827.html#a683d388cba68feafc350d23c8078666b">size</a>(Dune::ReservedVector<size_type,·multiIndexBufferSize>{});</div> | ||
154 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div> | ||
155 | <div·class="line"><a·id="l00 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">class</span>·EntitySet,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits></div> | ||
85 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01931.html">···27</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01931.html">LocalDerivativeTraits</a></div> | ||
156 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·SizePrefix></div> | ||
157 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a01827.html#a60c39a7fbdc2f97ea2ca609523c917ad">··126</a></span>··<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_function"·href="a01827.html#a60c39a7fbdc2f97ea2ca609523c917ad">size</a>(<span·class="keyword">const</span>·SizePrefix&·prefix)<span·class="keyword">·const</span></div> | ||
158 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keyword">··</span>{</div> | ||
159 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01827.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>.size(prefix,·<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>);</div> | ||
160 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··}</div> | ||
161 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> | ||
162 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno"><a·class="line"·href="a01827.html#acb52b5e4d4d4b17e8bcabaa224e3e098">··132</a></span>··<a·class="code·hl_typedef"·href="a01827.html#a9468d7e0817593e6b0e52b9b33f2a7ce">size_type</a>·<a·class="code·hl_function"·href="a01827.html#acb52b5e4d4d4b17e8bcabaa224e3e098">dimension</a>()<span·class="keyword">·const</span></div> | ||
163 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="keyword">··</span>{</div> | ||
164 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01827.html#a08d7fc8b1ea9546463ae3322605f4fd9">transformation_</a>.dimension(<a·class="code·hl_variable"·href="a01827.html#a363ac0b99c5fdbc380f259234ab757e2">rawPreBasis_</a>);</div> | ||
165 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··}</div> | ||
Max diff block lines reached; 16134/64788 bytes (24.90%) of diff not shown. |
Offset 4, 373 lines modified | Offset 4, 73 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | localderivativetraits.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_TRANSFORMEDINDEXBASIS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_LOCALDERIVATIVE_TRAITS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<tuple> | ||
16 | · | 15 | ·6 |
16 | ·7#include·<dune/functions/common/defaultderivativetraits.hh> | ||
17 | ·8 | 17 | ·8 |
18 | ·9 | ||
18 | ·9#include·<dune/common/std/apply.hh> | ||
19 | ·10#include·<dune/common/hybridutilities.hh> | ||
20 | ·11#include·<dune/common/reservedvector.hh> | ||
21 | ·12#include·<dune/common/typeutilities.hh> | ||
22 | ·13#include·<dune/common/hybridutilities.hh> | ||
23 | ·14 | ||
24 | ·15#include·<dune/typetree/compositenode.hh> | ||
25 | ·16#include·<dune/typetree/utility.hh> | ||
26 | ·17 | ||
27 | ·18#include·<dune/functions/common/staticforloop.hh> | ||
28 | ·19#include·<dune/functions/common/type_traits.hh> | ||
29 | ·20#include·<dune/functions/common/utility.hh> | ||
30 | ·21#include·<dune/functions/functionspacebases/basistags.hh> | ||
31 | ·22#include·<dune/functions/functionspacebases/nodes.hh> | ||
32 | ·23#include·<dune/functions/functionspacebases/concepts.hh> | ||
33 | ·24#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
34 | ·25 | ||
35 | ·26 | ||
36 | · | 19 | ·10namespace·Dune·{ |
37 | · | 20 | ·11namespace·Functions·{ |
38 | 29namespace·Experimental·{ | ||
39 | ·30 | ||
40 | ·31/ | ||
41 | /·***************************************************************************** | ||
42 | ·32/ | ||
43 | /·***************************************************************************** | ||
44 | ·33 | ||
45 | ·50template<class·RPB,·class·T> | ||
46 | 51class·TransformedIndexPreBasis | ||
47 | ·52{ | ||
48 | ·53·using·Transformation·=·T; | ||
49 | ·54 | ||
50 | ·55·using·This·=·TransformedIndexPreBasis<RPB,_T>; | ||
51 | ·56 | ||
52 | ·57public: | ||
53 | ·58 | ||
54 | 59·using·RawPreBasis·=·RPB; | ||
55 | ·60 | ||
56 | 62·using·GridView·=·typename·RawPreBasis::GridView; | ||
57 | ·63 | ||
58 | 65·using·size_type·=·std::size_t; | ||
59 | ·66 | ||
60 | 68·using·Node·=·typename·RawPreBasis::Node; | ||
61 | ·69 | ||
62 | 70·static·constexpr·size_type·maxMultiIndexSize·=·Transformation::maxIndexSize; | ||
63 | 71·static·constexpr·size_type·minMultiIndexSize·=·Transformation::minIndexSize; | ||
64 | 72·static·constexpr·size_type·multiIndexBufferSize·=·std::max(RawPreBasis:: | ||
65 | multiIndexBufferSize,·maxMultiIndexSize); | ||
66 | ·73 | ||
67 | ·79·template<class·RPB_R,·class·T_R> | ||
68 | 80·TransformedIndexPreBasis(RPB_R&&·rawPreBasis,·T_R&&·transformation)·: | ||
69 | ·81·rawPreBasis_(std::forward<RPB_R>(rawPreBasis)), | ||
70 | ·82·transformation_(std::forward<T_R>(transformation)) | ||
71 | ·83·{} | ||
72 | ·84 | ||
73 | 86·void·initializeIndices() | ||
74 | ·87·{ | ||
75 | ·88·rawPreBasis_.initializeIndices(); | ||
76 | ·89·} | ||
77 | ·90 | ||
78 | 92·const·GridView&·gridView()·const | ||
79 | ·93·{ | ||
80 | ·94·return·rawPreBasis_.gridView(); | ||
81 | ·95·} | ||
82 | ·96 | ||
83 | 98·void·update(const·GridView&·gv) | ||
84 | ·99·{ | ||
85 | ·100·rawPreBasis_.update(gv); | ||
86 | ·101·} | ||
87 | ·1 | 21 | ·12 |
88 | 113·Node·makeNode()·const | ||
89 | ·114·{ | ||
90 | ·115·return·rawPreBasis_.makeNode(); | ||
91 | ·116·} | ||
92 | ·117 | ||
93 | 119·size_type·size()·const | ||
94 | ·120·{ | ||
95 | ·121·return·size(Dune::ReservedVector<size_type,·multiIndexBufferSize>{}); | ||
96 | ·122·} | ||
97 | ·1 | 22 | ·13 |
23 | ·26template<class·EntitySet,·template<class>·class | ||
24 | DerivativeTraits=DefaultDerivativeTraits> | ||
25 | 27struct·LocalDerivativeTraits | ||
98 | ·125·template<class·SizePrefix> | ||
99 | 126·size_type·size(const·SizePrefix&·prefix)·const | ||
100 | ·127·{ | ||
101 | ·128·return·transformation_.size(prefix,·rawPreBasis_); | ||
102 | ·129·} | ||
103 | ·130 | ||
104 | 132·size_type·dimension()·const | ||
105 | ·133·{ | ||
106 | ·134·return·transformation_.dimension(rawPreBasis_); | ||
107 | ·135·} | ||
108 | ·136 | ||
109 | 138·size_type·maxNodeSize()·const | ||
110 | ·139·{ | ||
111 | ·140·return·rawPreBasis_.maxNodeSize(); | ||
112 | ·141·} | ||
113 | ·142 | ||
114 | 143·const·RawPreBasis&·rawPreBasis()·const | ||
115 | ·144·{ | ||
116 | ·145·return·rawPreBasis_; | ||
117 | ·146·} | ||
118 | ·147 | ||
119 | 148·RawPreBasis&·rawPreBasis() | ||
Max diff block lines reached; 7193/15008 bytes (47.93%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridviewfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 66 lines modified | Offset 58, 58 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#typedef-members">Typedefs</a>·| | ||
72 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">gridviewfunction.hh·File·Reference</div></div> |
74 | </div><!--header--> | 73 | </div><!--header--> |
75 | <div·class="contents"> | 74 | <div·class="contents"> |
76 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<memory></code><br·/> |
77 | <code>#include·<dune/ | 76 | <code>#include·<dune/common/concept.hh></code><br·/> |
78 | <code>#include·<dune/localfunctions/common/localfiniteelementvariant.hh></code><br·/> | ||
79 | <code>#include·<dune/localfunctions/rannacherturek.hh></code><br·/> | ||
80 | <code>#include·<dune/localfunctions/crouzeixraviart.hh></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a001 | 77 | <code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
82 | <code>#include·<<a·class="el"·href="a001 | 78 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00185_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code><br·/> | ||
83 | </div> | 80 | </div> |
84 | <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p> | 81 | <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p> |
85 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
87 | Classes</h2></td></tr> | 84 | Classes</h2></td></tr> |
85 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01923.html">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·></a></td></tr> | ||
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01743.html">Dune::Functions::RannacherTurekPreBasis<·GV·></a></td></tr> | ||
89 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·for·a·Rannacher-Turek·basis.··<a·href="a01743.html#details">More...</a><br·/></td></tr> | ||
90 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
91 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01927.html">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Wrapper·class·for·functions·defined·on·a·GridView.··<a·href="a01927.html#details">More...</a><br·/></td></tr> | ||
92 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
93 | </table><table·class="memberdecls"> | 90 | </table><table·class="memberdecls"> |
94 | <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> |
95 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
96 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:a00224"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00224.html">Dune::Functions::BasisFactory</a></td></tr> | ||
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
102 | </table><table·class="memberdecls"> | ||
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
104 | Typedefs</h2></td></tr> | ||
105 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplParams"·colspan="2">template<typename·GV·>·</td></tr> | ||
106 | <tr·class="memitem:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga3ad2af46f38ffff87851eb5734df272d">Dune::Functions::RannacherTurekBasis</a>·=·DefaultGlobalBasis<·RannacherTurekPreBasis<·GV·>·></td></tr> | ||
107 | <tr·class="memdesc:ga3ad2af46f38ffff87851eb5734df272d"><td·class="mdescLeft"> </td><td·class="mdescRight">Rannacher-Turek·basis.··<a·href="a00213.html#ga3ad2af46f38ffff87851eb5734df272d">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:ga3ad2af46f38ffff87851eb5734df272d"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | 97 | </table><table·class="memberdecls"> |
110 | <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> |
111 | Functions</h2></td></tr> | 99 | Functions</h2></td></tr> |
112 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplParams"·colspan="2">template<class·Dummy··=·void>·</td></tr> | ||
113 | <tr·class="memitem:ga366449c1a41fc29ff55fed0c1485f60b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga366449c1a41fc29ff55fed0c1485f60b">Dune::Functions::BasisFactory::rannacherTurek</a>·()</td></tr> | ||
114 | <tr·class="mem | 100 | <tr·class="memitem:ab31121faf1c753f425b7360cedeb9a6a"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·,·typename·std::enable_if<·models<·Imp::HasFreeLocalFunction,·F·>(),·int·>::type··=·0>·</td></tr> |
101 | <tr·class="memitem:ab31121faf1c753f425b7360cedeb9a6a"><td·class="memTemplItemLeft"·align="right"·valign="top">std::decay<·F·>::type </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ab31121faf1c753f425b7360cedeb9a6a">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
102 | <tr·class="memdesc:ab31121faf1c753f425b7360cedeb9a6a"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a01923.html">GridViewFunction</a>·from·function·and·grid·view.··<a·href="a00219.html#ab31121faf1c753f425b7360cedeb9a6a">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:ab31121faf1c753f425b7360cedeb9a6a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·,·typename·std::enable_if<·not(models<·Imp::HasFreeLocalFunction,·F·>()),·int·>::type··=·0>·</td></tr> | ||
105 | <tr·class="memitem:a34f2d140a1fed46862286f68d26c9975"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a34f2d140a1fed46862286f68d26c9975">Dune::Functions::makeGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)·->·decltype(<a·class="el"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">makeAnalyticGridViewFunction</a>(std::forward<·F·>(f),·gridView))</td></tr> | ||
106 | <tr·class="memdesc:a34f2d140a1fed46862286f68d26c9975"><td·class="mdescLeft"> </td><td·class="mdescRight">Construct·a·function·modeling·<a·class="el"·href="a01923.html">GridViewFunction</a>·from·function·and·grid·view.··<a·href="a00219.html#a34f2d140a1fed46862286f68d26c9975">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator: | 107 | <tr·class="separator:a34f2d140a1fed46862286f68d26c9975"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table> | 108 | </table> |
117 | </div><!--·contents·--> | 109 | </div><!--·contents·--> |
118 | <!--·start·footer·part·--> | 110 | <!--·start·footer·part·--> |
119 | <hr·class="footer"/><address·class="footer"><small> | 111 | <hr·class="footer"/><address·class="footer"><small> |
120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 113 | </small></address> |
122 | </body> | 114 | </body> |
Offset 4, 46 lines modified | Offset 4, 49 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces·|· | 8 | Classes·|·Namespaces·|·Functions |
9 | 9 | gridviewfunction.hh·File·Reference | |
10 | #include·<memory> | ||
10 | #include·<dune/common/ | 11 | #include·<dune/common/concept.hh> |
12 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
13 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
14 | #include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
11 | #include·<dune/grid/common/capabilities.hh> | ||
12 | #include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
13 | #include·<dune/localfunctions/rannacherturek.hh> | ||
14 | #include·<dune/localfunctions/crouzeixraviart.hh> | ||
15 | #include·<dune/functions/functionspacebases/nodes.hh> | ||
16 | #include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 15 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 16 | ·Classes |
19 | class· Dune::Functions::RannacherTurekPreBasis<_GV_> | ||
20 | 17 | class· Dune::Functions::GridViewFunction<_Signature,_GridView, | |
18 | ········DerivativeTraits,_bufferSize_> | ||
21 | 19 | ||
22 | class· Dune::Functions:: | 20 | class· Dune::Functions::GridViewFunction<_Range(Domain),_GV,_DerivativeTraits, |
21 | ········bufferSize_> | ||
22 | ······Wrapper·class·for·functions·defined·on·a·GridView.·More... | ||
23 | 23 | ||
24 | ·Namespaces | 24 | ·Namespaces |
25 | namespace· Dune | 25 | namespace· Dune |
26 | 26 | ||
27 | namespace· Dune::Functions | 27 | namespace· Dune::Functions |
28 | 28 | ||
29 | namespace· Dune::Functions::BasisFactory | ||
30 | |||
31 | ·Typedefs | ||
32 | template<typename·GV·> | ||
33 | using Dune::Functions::RannacherTurekBasis·=·DefaultGlobalBasis< | ||
34 | ·······RannacherTurekPreBasis<·GV·>·> | ||
35 | ·····Rannacher-Turek·basis.·More... | ||
36 | |||
37 | ·Functions | 29 | ·Functions |
38 | template<class·Dummy·=·void> | ||
39 | auto Dune::Functions::BasisFactory::rannacherTurek·() | ||
40 | ····Create·a·pre-basis·factory·that·can·create·a·Rannacher-Turek·pre-basis. | ||
41 | ······ | 30 | template<class·F·,·class·GridView·,·typename·std::enable_if<·models<·Imp:: |
31 | HasFreeLocalFunction,·F·>(),·int·>::type·=·0> | ||
32 | std::decay<·F·>::type Dune::Functions::makeGridViewFunction·(F·&&f,·const | ||
33 | ·······················GridView·&gridView) | ||
34 | ·····················Construct·a·function·modeling·GridViewFunction·from | ||
35 | ·······················function·and·grid·view.·More... | ||
36 | |||
37 | template<class·F·,·class·GridView·,·typename·std::enable_if<·not(models<·Imp:: | ||
38 | HasFreeLocalFunction,·F·>()),·int·>::type·=·0> | ||
39 | ·················auto Dune::Functions::makeGridViewFunction·(F·&&f,·const | ||
40 | ·······················GridView·&gridView)·->·decltype | ||
41 | ·······················(makeAnalyticGridViewFunction(std::forward<·F·>(f), | ||
42 | ·······················gridView)) | ||
43 | ·····················Construct·a·function·modeling·GridViewFunction·from | ||
44 | ·······················function·and·grid·view.·More... | ||
42 | 45 | ||
43 | =============================================================================== | 46 | =============================================================================== |
44 | ·····Generated·by [doxygen]·1.9.4 | 47 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·gridviewfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 255 lines modified | Offset 58, 95 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">gridviewfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/ | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/localfunctions/common/localfiniteelementvariant.hh></span></div> | ||
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/localfunctions/rannacherturek.hh></span></div> | ||
82 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00170.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00185.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></span></div> | ||
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00110.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00128.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·*****************************************************************************</span></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·This·is·the·reusable·part·of·the·basis.·It·contains</span></div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//···RannacherTurekPreBasis</span></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//···RannacherTurekNode</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><span·class="comment">//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible·shared</span></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local·view</span></div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">//·and·can·be·used·without·a·global·basis.</span></div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">//·*****************************************************************************</span></div> | ||
101 | <div·class="line"><a·id="l000 | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·GV></div> | ||
103 | <div·class="line"><a·id="l000 | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·Gr<span·class="keywordtype">id</span>View,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize=56></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01923.html">···21</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01923.html">GridViewFunction</a></div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{};</div> | ||
104 | <div·class="line"><a·id="l000 | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
105 | <div·class="line"><a·id="l000 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | ||
96 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·GV,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits,·<span·class="keywordtype">size_t</span>·bufferSize></div> | ||
97 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01927.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01923.html">GridViewFunction</a><Range(Domain),·GV,·DerivativeTraits,·bufferSize>·:</div> | ||
98 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01895.html">GridFunction</a><Range(Domain),·GridViewEntitySet<GV,·0>,·DerivativeTraits,·bufferSize></div> | ||
99 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
100 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01895.html">Base</a>·=·<a·class="code·hl_class"·href="a01895.html">GridFunction</a><Range(Domain),·<a·class="code·hl_class"·href="a01919.html">GridViewEntitySet<GV,·0></a>,·DerivativeTraits,·bufferSize>;</div> | ||
106 | <div·class="line"><a·id="l000 | 101 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div> |
102 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01927.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">···46</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01927.html#a9bd9a49e5cf7ebebfa78433dbe8e7de5">GridView</a>·=·GV;</div> | ||
107 | <div·class="line"><a·id="l000 | 103 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
108 | <div·class="line"><a·id="l000 | 104 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">using·</span>Base::Base;</div> |
109 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>};</div> |
106 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | ||
107 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
110 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span> | 108 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
109 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> | ||
111 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·dim·=·GV::dimension;</div> | ||
112 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
113 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">typename</span>·std::enable_if<</div> |
111 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····models<·Imp::HasFreeLocalFunction,·F>()·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
112 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">typename</span>·std::decay<F>::type</div> | ||
113 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00219.html#ab31121faf1c753f425b7360cedeb9a6a">···68</a></span>··<a·class="code·hl_function"·href="a00219.html#ab31121faf1c753f425b7360cedeb9a6a">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
114 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
115 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">···58</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>·=·GV;</div> | ||
116 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
117 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">···61</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·=·std::size_t;</div> | ||
118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01743.html#a8baece8242d5dd2a48373b3a881b4d1e">···64</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01739.html">Node</a>·=·<a·class="code·hl_class"·href="a01739.html">RannacherTurekNode<GV></a>;</div> | ||
120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01743.html#a1fb0d4aecaa56bf627e26d3aa10db05f">···66</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_variable"·href="a01743.html#a1fb0d4aecaa56bf627e26d3aa10db05f">maxMultiIndexSize</a>·=·1;</div> | ||
122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01743.html#a2207314a85448f44a5b4ec1b8cfa959b">···67</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_variable"·href="a01743.html#a2207314a85448f44a5b4ec1b8cfa959b">minMultiIndexSize</a>·=·1;</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01743.html#a07cae145cee28936ff386f5c19f43d2b">···68</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·<a·class="code·hl_variable"·href="a01743.html#a07cae145cee28936ff386f5c19f43d2b">multiIndexBufferSize</a>·=·1;</div> | ||
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span> | 114 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>{</div> |
125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01743.html#a84b73fe9692fdf3c6b10889d79c950eb">···71</a></span>··<a·class="code·hl_function"·href="a01743.html#a84b73fe9692fdf3c6b10889d79c950eb">RannacherTurekPreBasis</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·gv)·:</div> | ||
126 | <div·class="line"><a·id="l0007 | 115 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">return</span>·std::forward<F>(f);</div> |
116 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}</div> | ||
117 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
127 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>· | 118 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·type·:·gv.indexSet().types(0))</div> | ||
129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keywordflow">if</span>·(!type.isSimplex()·&&·!type.isCube())</div> | ||
130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········DUNE_THROW(Dune::NotImplemented,·<span·class="stringliteral">"Rannacher-Turek·or·Crouzeix-Raviart·elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."</span>);</div> | ||
131 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··}</div> | ||
132 | <div·class="line"><a·id="l0007 | 119 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
133 | <div·class="line"><a·id="l000 | 120 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">template</span><<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>GridView,</div> |
121 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">typename</span>·std::enable_if<</div> | ||
122 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····not(models<·Imp::HasFreeLocalFunction,·F>())·,·<span·class="keywordtype">int</span>>::type·=·0></div> | ||
123 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00219.html#a34f2d140a1fed46862286f68d26c9975">···93</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00219.html#ab31121faf1c753f425b7360cedeb9a6a">makeGridViewFunction</a>(F&&·f,·<span·class="keyword">const</span>·GridView&·gridView)</div> | ||
124 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··->·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·gridView))</div> | ||
134 | <div·class="line"><a·id="l000 | 125 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>{</div> |
126 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">makeAnalyticGridViewFunction</a>(std::forward<F>(f),·gridView);</div> | ||
127 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>}</div> | ||
135 | <div·class="line"><a·id="l000 | 128 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> |
136 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01743.html#a960b8283558fb35d91bd74d52e4cedf5">···84</a></span>··<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>&·<a·class="code·hl_function"·href="a01743.html#a960b8283558fb35d91bd74d52e4cedf5">gridView</a>()<span·class="keyword">·const</span></div> | ||
137 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">··</span>{</div> | ||
138 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01743.html#af0f9576a6cb9c4ae4f1b41ce0e4a9f8c">gridView_</a>;</div> | ||
139 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> | ||
Max diff block lines reached; 13052/63333 bytes (20.61%) of diff not shown. |
Offset 4, 341 lines modified | Offset 4, 109 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | gridviewfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_RANNACHERTUREKBASIS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_GRIDVIEWFUNCTION_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·< | 15 | ·6#include·<memory> |
16 | ·7 | 16 | ·7 |
17 | ·8#include·<dune/ | 17 | ·8#include·<dune/common/concept.hh> |
18 | ·9 | 18 | ·9 |
19 | ·10#include·<dune/localfunctions/common/localfiniteelementvariant.hh> | ||
20 | ·11#include·<dune/localfunctions/rannacherturek.hh> | ||
21 | ·1 | 19 | ·10#include·<dune/functions/gridfunctions/gridfunction.hh> |
20 | ·11#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
21 | ·12#include·<dune/functions/gridfunctions/analyticgridviewfunction.hh> | ||
22 | ·13 | 22 | ·13 |
23 | ·14#include·<dune/functions/functionspacebases/nodes.hh> | ||
24 | ·15#include·<dune/functions/functionspacebases/defaultglobalbasis.hh> | ||
25 | ·1 | 23 | ·14 |
24 | ·15namespace·Dune·{ | ||
25 | ·16namespace·Functions·{ | ||
26 | ·17 | 26 | ·17 |
27 | ·18namespace·Dune·{ | ||
28 | ·19namespace·Functions·{ | ||
29 | ·20 | ||
30 | ·21/ | ||
31 | /·***************************************************************************** | ||
32 | · | 27 | ·18 |
28 | ·19 | ||
29 | ·20template<class·Signature,·class·GridView,·template<class>·class | ||
30 | DerivativeTraits=DefaultDerivativeTraits,·size_t·bufferSize=56> | ||
31 | 21class·GridViewFunction | ||
32 | ·22{}; | ||
33 | ·23 | 33 | ·23 |
34 | ·24 | ||
35 | ·25 | ||
36 | ·40template<class·Range,·class·Domain,·class·GV,·template<class>·class | ||
37 | DerivativeTraits,·size_t·bufferSize> | ||
38 | 41class·GridViewFunction<Range(Domain),·GV,·DerivativeTraits,·bufferSize>·: | ||
39 | ·42·public·GridFunction<Range(Domain),·GridViewEntitySet<GV,·0>, | ||
40 | DerivativeTraits,·bufferSize> | ||
41 | ·43{ | ||
42 | ·44·using·Base·=·GridFunction<Range(Domain),·GridViewEntitySet<GV,_0>, | ||
43 | DerivativeTraits,·bufferSize>; | ||
34 | ·24//·RannacherTurekPreBasis | ||
35 | ·25//·RannacherTurekNode | ||
36 | ·26// | ||
37 | ·27//·The·pre-basis·allows·to·create·the·others·and·is·the·owner·of·possible | ||
38 | shared | ||
39 | ·28//·state.·These·components·do·_not_·depend·on·the·global·basis·and·local | ||
40 | view | ||
41 | ·29//·and·can·be·used·without·a·global·basis. | ||
42 | ·30/ | ||
43 | /·***************************************************************************** | ||
44 | ·31 | ||
45 | ·32template<typename·GV> | ||
46 | ·33class·RannacherTurekNode; | ||
47 | ·34 | ||
48 | ·35template<typename·GV> | ||
49 | ·36class·RannacherTurekPreBasis; | ||
50 | ·37 | ||
51 | ·50template<typename·GV> | ||
52 | 51class·RannacherTurekPreBasis | ||
53 | ·52{ | ||
54 | ·53·static·const·int·dim·=·GV::dimension; | ||
55 | ·54 | ||
56 | · | 44 | ·45public: |
57 | ·56 | ||
58 | 45 | 46·using·GridView·=·GV; | |
59 | ·59 | ||
60 | 61·using·size_type·=·std::size_t; | ||
61 | ·62 | ||
62 | 64·using·Node·=·RannacherTurekNode<GV>; | ||
63 | ·65 | ||
64 | 66·static·constexpr·size_type·maxMultiIndexSize·=·1; | ||
65 | 67·static·constexpr·size_type·minMultiIndexSize·=·1; | ||
66 | 68·static·constexpr·size_type·multiIndexBufferSize·=·1; | ||
67 | ·69 | ||
68 | 71·RannacherTurekPreBasis(const·GridView&·gv)·: | ||
69 | ·72·gridView_(gv) | ||
70 | ·73·{ | ||
71 | ·74·for(auto·type·:·gv.indexSet().types(0)) | ||
72 | ·75·if·(!type.isSimplex()·&&·!type.isCube()) | ||
73 | ·76·DUNE_THROW(Dune::NotImplemented,·"Rannacher-Turek·or·Crouzeix-Raviart | ||
74 | elements·are·only·implemented·for·grids·with·simplex·or·cube·elements."); | ||
75 | ·77·} | ||
76 | ·78 | ||
77 | 80·void·initializeIndices() | ||
78 | ·81·{} | ||
79 | ·82 | ||
80 | 84·const·GridView&·gridView()·const | ||
81 | ·85·{ | ||
82 | ·86·return·gridView_; | ||
83 | ·87·} | ||
84 | ·88 | ||
85 | 90·void·update·(const·GridView&·gv) | ||
86 | ·91·{ | ||
87 | ·92·gridView_·=·gv; | ||
88 | ·93·} | ||
89 | ·94 | ||
90 | 98·Node·makeNode()·const | ||
91 | ·99·{ | ||
92 | ·100·return·Node{}; | ||
93 | ·101·} | ||
94 | ·102 | ||
95 | 104·size_type·size()·const | ||
96 | ·105·{ | ||
97 | ·106·return·(size_type)(gridView_.size(1)); | ||
98 | ·107·} | ||
99 | ·108 | ||
100 | ·110·template<class·SizePrefix> | ||
101 | 111·size_type·size(const·SizePrefix·prefix)·const | ||
102 | ·112·{ | ||
103 | ·113·assert(prefix.size()·==·0·||·prefix.size()·==·1); | ||
104 | ·114·return·(prefix.size()·==·0)·?·size()·:·0; | ||
105 | ·115·} | ||
Max diff block lines reached; 5285/13920 bytes (37.97%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·analyticgridviewfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 44 lines modified | Offset 58, 56 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">analyticgridviewfunction.hh·File·Reference</div></div> |
72 | </div><!--header--> | 73 | </div><!--header--> |
73 | <div·class="contents"> | 74 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
75 | <code>#include·< | 76 | <code>#include·<optional></code><br·/> |
76 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a02876_source.html">dune/functions/functionspacebases/concepts.hh</a>></code><br·/> | ||
78 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/ | 78 | <code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00020_source.html">dune/functions/common/differentiablefunction_imp.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code><br·/> | ||
79 | </div> | 84 | </div> |
80 | <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p> | 85 | <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 86 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 87 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
83 | Classes</h2></td></tr> | 88 | Classes</h2></td></tr> |
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 89 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01847.html">Dune::Functions::AnalyticGridViewFunction<·Range(Domain),·GV,·F,·DerivativeTraits·></a></td></tr> |
85 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 90 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Class·wrapping·any·differentiable·function·as·grid·function.··<a·href="a01847.html#details">More...</a><br·/></td></tr> |
86 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | </table><table·class="memberdecls"> | 92 | </table><table·class="memberdecls"> |
88 | <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> |
89 | Namespaces</h2></td></tr> | 94 | Namespaces</h2></td></tr> |
90 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 95 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 97 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> | ||
103 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplItemLeft"·align="right"·valign="top">AnalyticGridViewFunction<·typename·std::invoke_result<·F,·typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate·>::type(typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate),·GridView,·typename·std::decay<·F·>::type·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">Dune::Functions::makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | ||
104 | <tr·class="memdesc:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01843.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<a·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">More...</a><br·/></td></tr> | ||
105 | <tr·class="separator:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | </table> | 106 | </table> |
95 | </div><!--·contents·--> | 107 | </div><!--·contents·--> |
96 | <!--·start·footer·part·--> | 108 | <!--·start·footer·part·--> |
97 | <hr·class="footer"/><address·class="footer"><small> | 109 | <hr·class="footer"/><address·class="footer"><small> |
98 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
99 | </small></address> | 111 | </small></address> |
100 | </body> | 112 | </body> |
Offset 4, 28 lines modified | Offset 4, 46 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces | 8 | Classes·|·Namespaces·|·Functions |
9 | analyticgridviewfunction.hh·File·Reference | ||
9 | hierarchicnodetorangemap.hh·File·Reference | ||
10 | #include·<utility> | ||
11 | #include·<type_traits> | 10 | #include·<type_traits> |
11 | #include·<optional> | ||
12 | #include·<dune/common/ | 12 | #include·<dune/common/typeutilities.hh> |
13 | #include·<dune/functions/functionspacebases/concepts.hh> | ||
14 | #include·<dune/functions/common/ | 13 | #include·<dune/functions/common/signature.hh> |
14 | #include·<dune/functions/common/defaultderivativetraits.hh> | ||
15 | #include·<dune/functions/common/differentiablefunction_imp.hh> | ||
16 | #include·<dune/functions/common/differentiablefunction.hh> | ||
17 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
18 | #include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
15 | Go_to_the_source_code_of_this_file. | 19 | Go_to_the_source_code_of_this_file. |
16 | ·Classes | 20 | ·Classes |
17 | struct· Dune::Functions::HierarchicNodeToRangeMap | ||
18 | 21 | class· Dune::Functions::AnalyticGridViewFunction<_Range(Domain),_GV,_F, | |
22 | ········DerivativeTraits_> | ||
23 | ······Class·wrapping·any·differentiable·function·as·grid·function.·More... | ||
19 | 24 | ||
20 | ·Namespaces | 25 | ·Namespaces |
21 | namespace· Dune | 26 | namespace· Dune |
22 | 27 | ||
23 | namespace· Dune::Functions | 28 | namespace· Dune::Functions |
24 | 29 | ||
30 | ·Functions | ||
31 | template<class·F·,·class·GridView·> | ||
32 | ···AnalyticGridViewFunction<·typename | ||
33 | ······std::invoke_result<·F,·typename | ||
34 | ······GridView::template·Codim<·0·>:: | ||
35 | ···Geometry::GlobalCoordinate·>::type | ||
36 | (typename·GridView::template·Codim<·0 | ||
37 | ······>::Geometry::GlobalCoordinate),·Dune::Functions:: | ||
38 | ·GridView,·typename·std::decay<·F·>::·makeAnalyticGridViewFunction·(F·&&f, | ||
39 | ······························type·> const·GridView·&gridView) | ||
40 | ····································Create·an·AnalyticGridViewFunction·from | ||
41 | ······································a·function·and·a·grid·view.·More... | ||
42 | |||
25 | =============================================================================== | 43 | =============================================================================== |
26 | ·····Generated·by [doxygen]·1.9.4 | 44 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·analyticgridviewfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 71 lines modified | Offset 58, 239 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">analyticgridviewfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00185.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00185.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | ||
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<utility></span></div> | ||
78 | <div·class="line"><a·id="l0000 | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<optional></span></div> | ||
79 | <div·class="line"><a·id="l0000 | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
80 | <div·class="line"><a·id="l000 | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<<a·class="code"·href="a00017.html">dune/functions/common/signature.hh</a>></span></div> | ||
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a0 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00035.html">dune/functions/common/defaultderivativetraits.hh</a>></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a000 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00020.html">dune/functions/common/differentiablefunction_imp.hh</a>></span></div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
86 | <div·class="line"><a·id="l0001 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00038.html">dune/functions/common/differentiablefunction.hh</a>></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00179.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | 87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> |
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
89 | <div·class="line"><a·id="l000 | 91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> |
90 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Imp·{</div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Signature,·<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·FLocal,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits=DefaultDerivativeTraits></div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction;</div> | ||
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">template</span><<span·class="keyword">class</span>·Range,·<span·class="keyword">class</span>·LocalDomain,·<span·class="keyword">class</span>·GV,·<span·class="keyword">class</span>·F,·<span·class="keyword">template</span><<span·class="keyword">class</span>>·<span·class="keyword">class·</span>DerivativeTraits></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">class·</span>LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F,·DerivativeTraits></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">public</span>:</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">using·</span>Signature·=·Range(LocalDomain);</div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">using·</span>RawSignature·=·<span·class="keyword">typename</span>·SignatureTraits<Signature>::RawSignature;</div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">using·</span>DerivativeSignature·=·<span·class="keyword">typename</span>·DerivativeTraits<RawSignature>::Range(LocalDomain);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">using·</span>GridView·=·GV;</div> | ||
106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>EntitySet·=·GridViewEntitySet<GridView,·0>;</div> | ||
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>Element·=·<span·class="keyword">typename</span>·EntitySet::Element;</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//··using·Geometry·=·typename·Element::Geometry;</span></div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>Geometry·=·<span·class="keyword">typename</span>·std::decay<typename·Element::Geometry>::type;</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·Use·the·indirection·via·derivativeIfImplemented·to·also·support</span></div> | ||
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="comment">//·function·types·F·that·do·not·implement·derivative.·In·this·case</span></div> | ||
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for</span></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="comment">//·the·derivative·type</span></div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span>DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>;</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span>GlobalRawDerivative·=·<span·class="keyword">decltype</span>(Imp::derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>()));</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature,·GridView,·GlobalRawDerivative,·DerivativeTraits>;</div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
119 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FT,·disableCopyMove<LocalAnalyticGr<span·class="keywordtype">id</span>ViewFunction,·FT>·=·0></div> | ||
120 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··LocalAnalyticGridViewFunction(FT&&·f)·:</div> | ||
121 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····f_(std::forward<FT>(f))</div> | ||
122 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{}</div> | ||
123 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
124 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·FT></div> | ||
125 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··LocalAnalyticGridViewFunction(FT&&·f,·<span·class="keyword">const</span>·Element&·element,·<span·class="keyword">const</span>·std::optional<Geometry>&·geometry)·:</div> | ||
126 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····f_(std::forward<FT>(f)),</div> | ||
127 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····element_(element),</div> | ||
128 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····geometry_(geometry)</div> | ||
129 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{}</div> | ||
130 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
131 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | ||
132 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordtype">void</span>·bind(<span·class="keyword">const</span>·Element&·element)</div> | ||
91 | <div·class="line"><a·id="l000 | 133 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div> |
92 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
93 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····std::enable_if_t<·models<Concept::HasIndexAccess,·Range,·Dune::index_constant<0>>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
94 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01627.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">···33</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a01627.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">operator()</a>(<span·class="keyword">const</span>·Node&,·<span·class="keyword">const</span>·TreePath&·treePath,·Range&&·y)<span·class="keyword">·const</span></div> | ||
95 | <div·class="line"><a·id="l000 | 134 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····element_·=·element;</div> |
96 | <div·class="line"><a·id="l000 | 135 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····geometry_.emplace(element_.geometry());</div> |
97 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> |
98 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
99 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span><<span·class="keyword">class·</span>Node,·<span·class="keyword">class·</span>TreePath,·<span·class="keyword">class·</span>Range,</div> | ||
100 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····std::enable_if_t<not·models<Concept::HasIndexAccess,·Range,·Dune::index_constant<0>>(),·<span·class="keywordtype">int</span>>·=·0></div> | ||
101 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordtype">void</span>·unbind()</div> |
139 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div> | ||
140 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····geometry_.reset();</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>·</div> | ||
143 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keywordtype">bool</span>·bound()<span·class="keyword">·const</span></div> | ||
144 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="keyword">··</span>{</div> | ||
145 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast<</span><span·class="keywordtype">bool</span><span·class="keyword">></span>(geometry_);</div> | ||
146 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··}</div> | ||
147 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
148 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··Range·operator()(<span·class="keyword">const</span>·LocalDomain&·x)<span·class="keyword">·const</span></div> | ||
102 | <div·class="line"><a·id="l00 | 149 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="keyword">··</span>{</div> |
150 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····assert(!!geometry_);</div> | ||
103 | <div·class="line"><a·id="l00 | 151 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keywordflow">return</span>·f_(geometry_->global(x));</div> |
104 | <div·class="line"><a·id="l0004 | 152 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··}</div> |
153 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | ||
154 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keyword">const</span>·Element&·localContext()<span·class="keyword">·const</span></div> | ||
155 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="keyword">··</span>{</div> | ||
156 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····assert(!!geometry_);</div> | ||
157 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">return</span>·element_;</div> | ||
158 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··}</div> | ||
Max diff block lines reached; 10000/54379 bytes (18.39%) of diff not shown. |
Offset 4, 78 lines modified | Offset 4, 326 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | analyticgridviewfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_HIERARCHICNODETORANGEMAP_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_ANALYTICGRIDVIEWFUNCTION_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6 | ||
16 | ·7#include·<utility> | ||
17 | · | 15 | ·6#include·<type_traits> |
18 | · | 16 | ·7#include·<optional> |
17 | ·8 | ||
19 | · | 18 | ·9#include·<dune/common/typeutilities.hh> |
19 | ·10 | ||
20 | ·11 | ||
21 | ·12#include·<dune/functions/functionspacebases/concepts.hh> | ||
22 | ·1 | 20 | ·11#include·<dune/functions/common/signature.hh> |
23 | ·14 | ||
24 | ·15namespace·Dune·{ | ||
25 | ·1 | 21 | ·12#include·<dune/functions/common/defaultderivativetraits.hh> |
22 | ·13#include·<dune/functions/common/differentiablefunction_imp.hh> | ||
23 | ·14#include·<dune/functions/common/differentiablefunction.hh> | ||
24 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
25 | ·16#include·<dune/functions/gridfunctions/localderivativetraits.hh> | ||
26 | ·17 | 26 | ·17 |
27 | ·18 | 27 | ·18 |
28 | ·19namespace·Dune·{ | ||
29 | ·20namespace·Functions·{ | ||
30 | ·21 | ||
31 | ·22namespace·Imp·{ | ||
32 | ·23 | ||
33 | ·24template<class·Signature,·class·GV,·class·FLocal,·template<class>·class | ||
34 | DerivativeTraits=DefaultDerivativeTraits> | ||
35 | ·25class·LocalAnalyticGridViewFunction; | ||
36 | ·26 | ||
37 | ·27template<class·Range,·class·LocalDomain,·class·GV,·class·F,·template<class> | ||
38 | class·DerivativeTraits> | ||
39 | ·28class·LocalAnalyticGridViewFunction<Range(LocalDomain),·GV,·F, | ||
40 | DerivativeTraits> | ||
41 | ·29{ | ||
42 | ·30public: | ||
43 | ·31·using·Signature·=·Range(LocalDomain); | ||
44 | ·32·using·RawSignature·=·typename·SignatureTraits<Signature>::RawSignature; | ||
45 | ·33·using·DerivativeSignature·=·typename·DerivativeTraits<RawSignature>::Range | ||
46 | (LocalDomain); | ||
47 | ·34 | ||
48 | ·35·using·GridView·=·GV; | ||
49 | ·36·using·EntitySet·=·GridViewEntitySet<GridView,·0>; | ||
50 | ·37·using·Element·=·typename·EntitySet::Element; | ||
51 | ·38//·using·Geometry·=·typename·Element::Geometry; | ||
52 | ·39·using·Geometry·=·typename·std::decay<typename·Element::Geometry>::type; | ||
53 | ·40 | ||
54 | ·41·//·Use·the·indirection·via·derivativeIfImplemented·to·also·support | ||
55 | ·42·//·function·types·F·that·do·not·implement·derivative.·In·this·case | ||
56 | ·43·//·the·interface·type·DifferentiableFunction·is·using·a·dummy·for | ||
57 | ·44·//·the·derivative·type | ||
58 | ·45·using·DerivativeDummy·=·DifferentiableFunction<DerivativeSignature>; | ||
59 | ·46·using·GlobalRawDerivative·=·decltype(Imp:: | ||
60 | derivativeIfImplemented<DerivativeDummy,·F>(std::declval<F>())); | ||
61 | ·47·using·LocalDerivative·=·LocalAnalyticGridViewFunction<DerivativeSignature, | ||
62 | GridView,·GlobalRawDerivative,·DerivativeTraits>; | ||
63 | ·48 | ||
64 | ·50·template<class·FT,·disableCopyMove<LocalAnalyticGridViewFunction,·FT>·=·0> | ||
65 | ·51·LocalAnalyticGridViewFunction(FT&&·f)·: | ||
66 | ·52·f_(std::forward<FT>(f)) | ||
67 | ·53·{} | ||
68 | ·54 | ||
69 | ·56·template<class·FT> | ||
70 | ·57·LocalAnalyticGridViewFunction(FT&&·f,·const·Element&·element,·const·std:: | ||
71 | optional<Geometry>&·geometry)·: | ||
72 | ·58·f_(std::forward<FT>(f)), | ||
73 | ·59·element_(element), | ||
74 | ·60·geometry_(geometry) | ||
75 | ·61·{} | ||
76 | ·62 | ||
77 | ·63 | ||
78 | ·72·void·bind(const·Element&·element) | ||
79 | ·73·{ | ||
80 | ·74·element_·=·element; | ||
81 | ·75·geometry_.emplace(element_.geometry()); | ||
82 | ·76·} | ||
83 | ·77 | ||
84 | ·79·void·unbind() | ||
85 | ·80·{ | ||
86 | ·81·geometry_.reset(); | ||
87 | ·82·} | ||
88 | ·83 | ||
89 | ·86·bool·bound()·const | ||
90 | ·87·{ | ||
91 | ·88·return·static_cast<bool>(geometry_); | ||
92 | ·89·} | ||
93 | ·90 | ||
94 | ·100·Range·operator()(const·LocalDomain&·x)·const | ||
95 | ·101·{ | ||
96 | ·102·assert(!!geometry_); | ||
97 | ·103·return·f_(geometry_->global(x)); | ||
98 | ·104·} | ||
99 | ·105 | ||
100 | ·107·const·Element&·localContext()·const | ||
101 | ·108·{ | ||
102 | ·109·assert(!!geometry_); | ||
103 | ·110·return·element_; | ||
104 | ·111·} | ||
105 | ·112 | ||
106 | ·121·friend·LocalDerivative·derivative(const·LocalAnalyticGridViewFunction&·t) | ||
107 | ·122·{ | ||
108 | ·123·return·LocalDerivative(Imp::derivativeIfImplemented<DerivativeDummy,·F> | ||
109 | (t.f_),·t.element_,·t.geometry_); | ||
110 | ·124·} | ||
111 | ·125 | ||
112 | ·126private: | ||
113 | ·127·F·f_; | ||
114 | ·128·Element·element_; | ||
115 | ·129·std::optional<Geometry>·geometry_·=·std::nullopt; | ||
116 | ·130}; | ||
117 | ·131 | ||
118 | ·132}·//·end·namespace·Imp | ||
Max diff block lines reached; 4744/14085 bytes (33.68%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·facenormalgridfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 62 lines modified | Offset 58, 47 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | ||
69 | <a·href="#namespaces">Namespaces</a>· | 70 | <a·href="#namespaces">Namespaces</a>··</div> |
70 | <a·href="#func-members">Functions</a>··</div> | ||
71 | ··<div·class="headertitle"><div·class="title"> | 71 | ··<div·class="headertitle"><div·class="title">facenormalgridfunction.hh·File·Reference</div></div> |
72 | </div><!--header--> | 72 | </div><!--header--> |
73 | <div·class="contents"> | 73 | <div·class="contents"> |
74 | <div·class="textblock"><code>#include·< | 74 | <div·class="textblock"><code>#include·<type_traits></code><br·/> |
75 | <code>#include·< | 75 | <code>#include·<optional></code><br·/> |
76 | <code>#include·<dune/common/exceptions.hh></code><br·/> | 76 | <code>#include·<dune/common/exceptions.hh></code><br·/> |
77 | <code>#include·<dune/common/ | 77 | <code>#include·<dune/common/typeutilities.hh></code><br·/> |
78 | <code>#include·<dune/common/rangeutilities.hh></code><br·/> | ||
78 | <code>#include·<dune/ | 79 | <code>#include·<dune/geometry/referenceelements.hh></code><br·/> |
79 | <code>#include·<<a·class="el"·href="a00 | 80 | <code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> |
80 | <code>#include·<<a·class="el"·href="a00026_source.html">dune/functions/common/functionconcepts.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a02873_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00074_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> | ||
83 | <code>#include·<<a·class="el"·href="a001 | 81 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> |
84 | <code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> | ||
85 | <code>#include·<<a·class="el"·href="a00185_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> | ||
86 | <code>#include·<dune/typetree/traversal.hh></code><br·/> | ||
87 | <code>#include·<dune/typetree/visitor.hh></code><br·/> | ||
88 | </div> | 82 | </div> |
89 | <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p> | 83 | <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p> |
90 | <table·class="memberdecls"> | 84 | <table·class="memberdecls"> |
85 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
86 | Classes</h2></td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01887.html">Dune::Functions::FaceNormalGridFunction<·GV·></a></td></tr> | ||
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Grid·function·implementing·the·piecewise·element·face·normal.··<a·href="a01887.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
90 | </table><table·class="memberdecls"> | ||
91 | <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> |
92 | Namespaces</h2></td></tr> | 92 | Namespaces</h2></td></tr> |
93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 93 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | </table><table·class="memberdecls"> | ||
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | ||
99 | Functions</h2></td></tr> | ||
100 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·>·</td></tr> | ||
101 | <tr·class="memitem:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a13b0c6bf02d744e7b2078d1a535b5211">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bv,·const·NTRE·&nodeToRangeEntry)</td></tr> | ||
102 | <tr·class="memdesc:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<a·href="a00219.html#a13b0c6bf02d744e7b2078d1a535b5211">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:a13b0c6bf02d744e7b2078d1a535b5211"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·,·class·BV·>·</td></tr> | ||
105 | <tr·class="memitem:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#ae167dc7b5ace0ff9617a3205b05744b5">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f,·const·BV·&bitVector)</td></tr> | ||
106 | <tr·class="memdesc:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<a·href="a00219.html#ae167dc7b5ace0ff9617a3205b05744b5">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:ae167dc7b5ace0ff9617a3205b05744b5"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
108 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"><td·class="memTemplParams"·colspan="2">template<class·B·,·class·C·,·class·F·>·</td></tr> | ||
109 | <tr·class="memitem:a2e34859322800ae26a292903910ef9f7"><td·class="memTemplItemLeft"·align="right"·valign="top">void </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00219.html#a2e34859322800ae26a292903910ef9f7">Dune::Functions::interpolate</a>·(const·B·&basis,·C·&&coeff,·const·F·&f)</td></tr> | ||
110 | <tr·class="memdesc:a2e34859322800ae26a292903910ef9f7"><td·class="mdescLeft"> </td><td·class="mdescRight">Interpolate·given·function·in·discrete·function·space.··<a·href="a00219.html#a2e34859322800ae26a292903910ef9f7">More...</a><br·/></td></tr> | ||
111 | <tr·class="separator:a2e34859322800ae26a292903910ef9f7"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | </table> | 97 | </table> |
113 | </div><!--·contents·--> | 98 | </div><!--·contents·--> |
114 | <!--·start·footer·part·--> | 99 | <!--·start·footer·part·--> |
115 | <hr·class="footer"/><address·class="footer"><small> | 100 | <hr·class="footer"/><address·class="footer"><small> |
116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 101 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
117 | </small></address> | 102 | </small></address> |
118 | </body> | 103 | </body> |
Offset 4, 48 lines modified | Offset 4, 31 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | Namespaces·|·Functions | ||
9 | interpolate.hh·File·Reference | ||
10 | #include·<memory> | ||
11 | 7 | ····*·gridfunctions | |
8 | Classes·|·Namespaces | ||
9 | facenormalgridfunction.hh·File·Reference | ||
10 | #include·<type_traits> | ||
11 | #include·<optional> | ||
12 | #include·<dune/common/exceptions.hh> | 12 | #include·<dune/common/exceptions.hh> |
13 | #include·<dune/common/ | 13 | #include·<dune/common/typeutilities.hh> |
14 | #include·<dune/ | 14 | #include·<dune/common/rangeutilities.hh> |
15 | #include·<dune/geometry/referenceelements.hh> | ||
15 | #include·<dune/functions/gridfunctions/grid | 16 | #include·<dune/functions/gridfunctions/gridfunction.hh> |
17 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
16 | #include·<dune/functions/common/functionconcepts.hh> | ||
17 | #include·<dune/functions/backends/concepts.hh> | ||
18 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
19 | #include·<dune/functions/functionspacebases/sizeinfo.hh> | ||
20 | #include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
21 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
22 | #include·<dune/typetree/traversal.hh> | ||
23 | #include·<dune/typetree/visitor.hh> | ||
24 | Go_to_the_source_code_of_this_file. | 18 | Go_to_the_source_code_of_this_file. |
19 | ·Classes | ||
20 | class· Dune::Functions::FaceNormalGridFunction<_GV_> | ||
21 | ······Grid·function·implementing·the·piecewise·element·face·normal.·More... | ||
22 | |||
25 | ·Namespaces | 23 | ·Namespaces |
26 | namespace· Dune | 24 | namespace· Dune |
27 | 25 | ||
28 | namespace· Dune::Functions | 26 | namespace· Dune::Functions |
29 | 27 | ||
30 | ·Functions | ||
31 | template<class·B·,·class·C·,·class·F·,·class·BV·,·class·NTRE·> | ||
32 | void Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
33 | ······const·BV·&bv,·const·NTRE·&nodeToRangeEntry) | ||
34 | ····Interpolate·given·function·in·discrete·function·space.·More... | ||
35 | |||
36 | template<class·B·,·class·C·,·class·F·,·class·BV·> | ||
37 | void Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f, | ||
38 | ······const·BV·&bitVector) | ||
39 | ····Interpolate·given·function·in·discrete·function·space.·More... | ||
40 | |||
41 | template<class·B·,·class·C·,·class·F·> | ||
42 | void Dune::Functions::interpolate·(const·B·&basis,·C·&&coeff,·const·F·&f) | ||
43 | ····Interpolate·given·function·in·discrete·function·space.·More... | ||
44 | |||
45 | =============================================================================== | 28 | =============================================================================== |
46 | ·····Generated·by [doxygen]·1.9.4 | 29 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·facenormalgridfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 290 lines modified | Offset 58, 195 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">facenormalgridfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00188.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00188.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<type_traits></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<optional></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/exceptions.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/ | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<dune/common/typeutilities.hh></span></div> |
81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/common/rangeutilities.hh></span></div> |
82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/ | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<dune/geometry/referenceelements.hh></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00170.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00 | 85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> |
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> | 86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> |
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a02873.html">dune/functions/backends/concepts.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00074.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·<<a·class="code"·href="a00137.html">dune/functions/functionspacebases/sizeinfo.hh</a>></span></div> | ||
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·<<a·class="code"·href="a00140.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·<<a·class="code"·href="a00185.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> | ||
92 | <div·class="line"><a·id="l0002 | 91 | <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><span·class="preprocessor">#include·<dune/typetree/traversal.hh></span></div> | ||
94 | <div·class="line"><a·id="l0002 | 92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//·Compute·closest·face·to·point</span></div> |
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">template</span><<span·class="keyword">class</span>·ReferenceElement,·<span·class="keyword">class</span>·Coordinate></div> | ||
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">auto</span>·closestFaceIndex(<span·class="keyword">const</span>·ReferenceElement&·re,·<span·class="keyword">const</span>·Coordinate&·x)</div> | ||
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword"> | 96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">auto</span>·closestFaceIndex·=·<span·class="keyword">decltype</span>(re.subEntity(0,1,0,1)){};</div> |
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">na | 97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keywordtype">double</span>·closestFaceDistance·=·std::numeric_limits<double>::max();</div> |
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>&&·faceIndex·:·Dune::range(re.size(1)))</div> | ||
98 | <div·class="line"><a·id="l0002 | 99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div> |
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="comment">//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection</span></div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face</span></div> | ||
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>.</span></div> | ||
103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">auto</span>·normal·=·re.integrationOuterNormal(faceIndex);</div> | ||
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····normal·/=·normal.two_norm();</div> | ||
99 | <div·class="line"><a·id="l000 | 105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">auto</span>·c·=·re.position(faceIndex,1);</div> |
100 | <div·class="line"><a·id="l0003 | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····c·-=·x;</div> |
101 | <div·class="line"><a·id="l0003 | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">auto</span>·faceDistance·=·(c*normal);</div> |
102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> | ||
103 | <div·class="line"><a·id="l0003 | 108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">if</span>·(faceDistance<closestFaceDistance)</div> |
104 | <div·class="line"><a·id="l0003 | 109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div> |
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keywordtype">bool</span>·test(<span·class="keywordtype">int</span>)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;·}</div> | ||
106 | <div·class="line"><a·id="l000 | 110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······closestFaceDistance·=·faceDistance;</div> |
107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">operator</span>·bool()<span·class="keyword">·const</span></div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">··</span>{</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> | ||
111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·· | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······closestFaceIndex·=·faceIndex;</div> |
112 | <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> |
113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·I></div> | ||
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">const</span>·AllTrueBitSetVector&·operator[](<span·class="keyword">const</span>·I&)<span·class="keyword">·const</span></div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">··</span>{</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | ||
117 | <div·class="line"><a·id="l0004 | 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··}</div> |
114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keywordflow">return</span>·closestFaceIndex;</div> | ||
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·end·namespace·Impl</span></div> | ||
118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span><<span·class="keyword">class</span>·SP></div> | ||
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keywordtype">void</span>·resize(<span·class="keyword">const</span>·SP&)<span·class="keyword">·const</span></div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">··</span>{}</div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | ||
123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> | ||
124 | <div·class="line"><a·id="l000 | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
125 | <div·class="line"><a·id="l0005 | 120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
126 | <div·class="line"><a·id="l0005 | 121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">template</span>·<<span·class="keyword">class</span>·B,·<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·NTRE,·<span·class="keyword">class</span>·HV,·<span·class="keyword">class</span>·LF,·<span·class="keyword">class</span>·HBV></div> | ||
128 | <div·class="line"><a·id="l000 | 122 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keyword">template</span><<span·class="keyword">class</span>·GV></div> |
123 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01887.html">···65</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01887.html">FaceNormalGridFunction</a></div> | ||
129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··:·<span·class="keyword">public</span>·TypeTree::TreeVisitor</div> | ||
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··,·<span·class="keyword">public</span>·TypeTree::DynamicTraversal</div> | ||
131 | <div·class="line"><a·id="l0006 | 124 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>{</div> |
132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
133 | <div·class="line"><a·id="l0006 | 125 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">public</span>:</div> |
126 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">···68</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV;</div> | ||
127 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01887.html#a0c37b830a7bbba309a4df30441de8b8e">···69</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01919.html">EntitySet</a>·=·<a·class="code·hl_class"·href="a01919.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
128 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01887.html#abdec4f718f342e7b6ad20f26cc52a928">···70</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#abdec4f718f342e7b6ad20f26cc52a928">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">using·</span>Basis·=·B;</div> | ||
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">using·</span>LocalView·=·<span·class="keyword">typename</span>·B::LocalView;</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keyword">using·</span>MultiIndex·=·<span·class="keyword">typename</span>·LocalView::MultiIndex;</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">using·</span>LocalFunction·=·LF;</div> | ||
140 | <div·class="line"><a·id="l0007 | 129 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
130 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01887.html#a219d5fdf7e937595a134a106bab1cefa">···72</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a219d5fdf7e937595a134a106bab1cefa">LocalDomain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#aa4368ad66f18ba8279f20ab7a794069d">EntitySet::LocalCoordinate</a>;</div> | ||
131 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01887.html#a35676aaf895f54191ad4dda5ed0bcfdd">···73</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a35676aaf895f54191ad4dda5ed0bcfdd">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
132 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01887.html#a4d72e8da655bc11d728782fbd85b45f6">···74</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01887.html#a4d72e8da655bc11d728782fbd85b45f6">Range</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">using·</span>Tree·=·T;</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">using·</span>VectorBackend·=·HV;</div> | ||
144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">using·</span>BitVectorBackend·=·HBV;</div> | ||
Max diff block lines reached; 53369/76162 bytes (70.07%) of diff not shown. |
Offset 4, 316 lines modified | Offset 4, 231 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | facenormalgridfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_INTERPOLATE_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_FACENORMALGRIDFUNCTION_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·< | 15 | ·6#include·<type_traits> |
16 | ·7#include·< | 16 | ·7#include·<optional> |
17 | ·8 | 17 | ·8 |
18 | ·9#include·<dune/common/exceptions.hh> | 18 | ·9#include·<dune/common/exceptions.hh> |
19 | ·10#include·<dune/common/ | 19 | ·10#include·<dune/common/typeutilities.hh> |
20 | ·11 | ||
21 | ·1 | 20 | ·11#include·<dune/common/rangeutilities.hh> |
21 | ·12#include·<dune/geometry/referenceelements.hh> | ||
22 | ·13 | 22 | ·13 |
23 | ·14#include·<dune/functions/gridfunctions/grid | 23 | ·14#include·<dune/functions/gridfunctions/gridfunction.hh> |
24 | ·15#include·<dune/functions/ | 24 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> |
25 | ·16 | 25 | ·16 |
26 | ·17 | ||
26 | ·17#include·<dune/functions/backends/concepts.hh> | ||
27 | ·18#include·<dune/functions/backends/istlvectorbackend.hh> | ||
28 | ·19#include·<dune/functions/functionspacebases/sizeinfo.hh> | ||
29 | ·20#include·<dune/functions/functionspacebases/flatvectorview.hh> | ||
30 | ·21#include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
31 | ·22 | ||
32 | ·23#include·<dune/typetree/traversal.hh> | ||
33 | ·24#include·<dune/typetree/visitor.hh> | ||
34 | ·25 | ||
35 | ·26namespace·Dune·{ | ||
36 | · | 27 | ·18namespace·Dune::Functions·{ |
37 | · | 28 | ·19 |
38 | ·2 | 29 | ·20namespace·Impl·{ |
39 | ·30 | ||
40 | · | 30 | ·21 |
31 | ·22//·Compute·closest·face·to·point | ||
32 | ·23template<class·ReferenceElement,·class·Coordinate> | ||
33 | ·24auto·closestFaceIndex(const·ReferenceElement&·re,·const·Coordinate&·x) | ||
41 | · | 34 | ·25{ |
42 | ·33·struct·AllTrueBitSet | ||
43 | ·34·{ | ||
44 | ·35·bool·test(int)·const·{·return·true;·} | ||
45 | ·36·}·allTrue_; | ||
46 | ·37 | ||
47 | · | 35 | ·26·auto·closestFaceIndex·=·decltype(re.subEntity(0,1,0,1)){}; |
36 | ·27·double·closestFaceDistance·=·std::numeric_limits<double>::max(); | ||
37 | ·28·for(auto&&·faceIndex·:·Dune::range(re.size(1))) | ||
38 | ·29·{ | ||
39 | ·30·//·For·a·face·unit·outer·normal·consider·the·orthogonal·projection | ||
40 | ·31·//·Px·=·x·+·<c-x,n>*n·into·the·face.·Then·the·distance·to·the·face | ||
41 | ·32·//·is·given·by·|x-Px|·=·|<c-x,n>||n|·=·<c-x,n>. | ||
42 | ·33·auto·normal·=·re.integrationOuterNormal(faceIndex); | ||
43 | ·34·normal·/=·normal.two_norm(); | ||
44 | ·35·auto·c·=·re.position(faceIndex,1); | ||
45 | ·36·c·-=·x; | ||
46 | ·37·auto·faceDistance·=·(c*normal); | ||
47 | ·38·if·(faceDistance<closestFaceDistance) | ||
48 | ·39·{ | 48 | ·39·{ |
49 | ·40· | 49 | ·40·closestFaceDistance·=·faceDistance; |
50 | ·41·closestFaceIndex·=·faceIndex; | ||
50 | ·4 | 51 | ·42·} |
51 | ·42 | ||
52 | ·43·template<class·I> | ||
53 | ·44·const·AllTrueBitSetVector&·operator[](const·I&)·const | ||
54 | ·45·{ | ||
55 | ·46·return·*this; | ||
56 | ·4 | 52 | ·43·} |
53 | ·44·return·closestFaceIndex; | ||
54 | ·45} | ||
55 | ·46 | ||
56 | ·47}·//·end·namespace·Impl | ||
57 | ·48 | 57 | ·48 |
58 | ·49 | ||
59 | ·50 | ||
60 | ·51 | ||
58 | · | 61 | ·64template<class·GV> |
62 | 65class·FaceNormalGridFunction | ||
59 | ·50·void·resize(const·SP&)·const | ||
60 | ·51·{} | ||
61 | ·52 | ||
62 | ·53}; | ||
63 | ·54 | ||
64 | ·55 | ||
65 | ·56 | ||
66 | ·57template·<class·B,·class·T,·class·NTRE,·class·HV,·class·LF,·class·HBV> | ||
67 | ·58class·LocalInterpolateVisitor | ||
68 | ·59·:·public·TypeTree::TreeVisitor | ||
69 | ·60·,·public·TypeTree::DynamicTraversal | ||
70 | ·6 | 63 | ·66{ |
71 | ·62 | ||
72 | ·6 | 64 | ·67public: |
65 | 68·using·GridView·=·GV; | ||
66 | 69·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
67 | 70·using·Element·=·typename·EntitySet::Element; | ||
68 | ·71 | ||
69 | 72·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
70 | 73·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
71 | 74·using·Range·=·typename·EntitySet::GlobalCoordinate; | ||
73 | ·64 | ||
74 | ·65·using·Basis·=·B; | ||
75 | ·66·using·LocalView·=·typename·B::LocalView; | ||
76 | ·67·using·MultiIndex·=·typename·LocalView::MultiIndex; | ||
77 | ·68 | ||
78 | ·69·using·LocalFunction·=·LF; | ||
79 | ·70 | ||
80 | ·71·using·Tree·=·T; | ||
81 | ·72 | ||
82 | ·73·using·VectorBackend·=·HV; | ||
83 | ·74·using·BitVectorBackend·=·HBV; | ||
84 | ·75 | 72 | ·75 |
85 | ·76 | 73 | ·76private: |
86 | ·77 | 74 | ·77 |
75 | ·78·using·Traits·=·Imp::GridFunctionTraits<Range(Domain),·EntitySet, | ||
76 | DefaultDerivativeTraits,·16>; | ||
77 | ·79 | ||
78 | ·80·class·LocalFunction | ||
87 | ·78·using·GridView·=·typename·Basis::GridView; | ||
Max diff block lines reached; 11478/16870 bytes (68.04%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·discreteglobalbasisfunction.hh·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 58 lines modified | Offset 58, 73 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="summary"> | 68 | ··<div·class="summary"> |
69 | <a·href="#nested-classes">Classes</a>·| | 69 | <a·href="#nested-classes">Classes</a>·| |
70 | <a·href="#namespaces">Namespaces</a>·| | 70 | <a·href="#namespaces">Namespaces</a>·| |
71 | <a·href="#func-members">Functions</a>··</div> | 71 | <a·href="#func-members">Functions</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title"> | 72 | ··<div·class="headertitle"><div·class="title">discreteglobalbasisfunction.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·< | 75 | <div·class="textblock"><code>#include·<memory></code><br·/> |
76 | <code>#include·<type_traits></code><br·/> | ||
77 | <code>#include·<limits></code><br·/> | ||
78 | <code>#include·< | 76 | <code>#include·<optional></code><br·/> |
79 | <code>#include·< | 77 | <code>#include·<dune/common/typetraits.hh></code><br·/> |
78 | <code>#include·<dune/typetree/treecontainer.hh></code><br·/> | ||
79 | <code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a00095_source.html">dune/functions/functionspacebases/flatvectorview.hh</a>></code><br·/> | ||
81 | <code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code><br·/> | ||
82 | <code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code><br·/> | ||
80 | <code>#include·<<a·class="el"·href="a0287 | 83 | <code>#include·<<a·class="el"·href="a02873_source.html">dune/functions/backends/concepts.hh</a>></code><br·/> |
81 | <code>#include·<<a·class="el"·href="a001 | 84 | <code>#include·<<a·class="el"·href="a00158_source.html">dune/functions/backends/istlvectorbackend.hh</a>></code><br·/> |
82 | </div> | 85 | </div> |
83 | <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p> | 86 | <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p> |
84 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
85 | <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> |
86 | Classes</h2></td></tr> | 89 | Classes</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01859.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·></a></td></tr> | ||
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::Data</a></td></tr> | ||
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01867.html">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase</a></td></tr> | ||
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
87 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01875.html">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·></a></td></tr> |
88 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 97 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.··<a·href="a01875.html#details">More...</a><br·/></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01879.html">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction</a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01871.html">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·></a></td></tr> | ||
102 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Derivative·of·a·<code><a·class="el"·href="a01875.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a></code>··<a·href="a01871.html#details">More...</a><br·/></td></tr> | ||
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01883.html">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction</a></td></tr> | ||
105 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">local·function·evaluating·the·derivative·in·reference·coordinates··<a·href="a01883.html#details">More...</a><br·/></td></tr> | ||
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </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:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> | 110 | <tr·class="memitem:a00218"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">Dune</a></td></tr> |
94 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
95 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> | 112 | <tr·class="memitem:a00219"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00219.html">Dune::Functions</a></td></tr> |
96 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
97 | <tr·class="memitem:a002 | 114 | <tr·class="memitem:a00230"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">Dune::Functions::ImplDoc</a></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
99 | <tr·class="memitem:a00227"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">Dune::Functions::BasisFactory::Experimental</a></td></tr> | ||
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
103 | Functions</h2></td></tr> | 118 | Functions</h2></td></tr> |
104 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplParams"·colspan="2">template<class·RawPreBasisIndicator·,·class·PIS·>·</td></tr> | ||
105 | <tr·class="memitem:ga797d4c1dfcfe6b0a98de9284c4f6b5e3"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00213.html#ga797d4c1dfcfe6b0a98de9284c4f6b5e3">Dune::Functions::BasisFactory::Experimental::periodic</a>·(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet)</td></tr> | ||
106 | <tr·class="mem | 119 | <tr·class="memitem:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memTemplParams"·colspan="2">template<typename·R·,·typename·B·,·typename·V·>·</td></tr> |
120 | <tr·class="memitem:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#ga9f1a8d6ac1558adad6150feb9b4e3168">Dune::Functions::makeDiscreteGlobalBasisFunction</a>·(B·&&basis,·V·&&vector)</td></tr> | ||
121 | <tr·class="memdesc:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="mdescLeft"> </td><td·class="mdescRight">Generate·a·<a·class="el"·href="a01875.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a>.··<a·href="a00209.html#ga9f1a8d6ac1558adad6150feb9b4e3168">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:ga | 122 | <tr·class="separator:ga9f1a8d6ac1558adad6150feb9b4e3168"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table> | 123 | </table> |
109 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
110 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
111 | <hr·class="footer"/><address·class="footer"><small> | 126 | <hr·class="footer"/><address·class="footer"><small> |
112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 127 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
113 | </small></address> | 128 | </small></address> |
114 | </body> | 129 | </body> |
Offset 4, 40 lines modified | Offset 4, 61 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·function | 7 | ····*·gridfunctions |
8 | Classes·|·Namespaces·|·Functions | 8 | Classes·|·Namespaces·|·Functions |
9 | discreteglobalbasisfunction.hh·File·Reference | ||
9 | periodicbasis.hh·File·Reference | ||
10 | #include·<utility> | ||
11 | #include·<type_traits> | ||
12 | #include·<limits> | ||
13 | #include·<set> | ||
14 | #include·< | 10 | #include·<memory> |
11 | #include·<optional> | ||
12 | #include·<dune/common/typetraits.hh> | ||
13 | #include·<dune/typetree/treecontainer.hh> | ||
14 | #include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
15 | #include·<dune/functions/functionspacebases/ | 15 | #include·<dune/functions/functionspacebases/flatvectorview.hh> |
16 | #include·<dune/functions/function | 16 | #include·<dune/functions/gridfunctions/gridviewentityset.hh> |
17 | #include·<dune/functions/gridfunctions/gridfunction.hh> | ||
18 | #include·<dune/functions/backends/concepts.hh> | ||
19 | #include·<dune/functions/backends/istlvectorbackend.hh> | ||
17 | Go_to_the_source_code_of_this_file. | 20 | Go_to_the_source_code_of_this_file. |
18 | ·Classes | 21 | ·Classes |
19 | class· Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet | ||
20 | 22 | ·class· Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | |
23 | ·········> | ||
24 | |||
25 | struct· Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
26 | ·········>::Data | ||
27 | |||
28 | ·class· Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<_B,_V,_NTRE | ||
29 | ·········>::LocalFunctionBase | ||
30 | |||
31 | ·class· Dune::Functions::DiscreteGlobalBasisFunction<_B,_V,_NTRE,_R_> | ||
32 | ·······A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector. | ||
33 | ·········More... | ||
34 | |||
35 | ·class· Dune::Functions::DiscreteGlobalBasisFunction<_B,_V,_NTRE,_R_>:: | ||
36 | ·········LocalFunction | ||
37 | |||
38 | ·class· Dune::Functions::DiscreteGlobalBasisFunctionDerivative<_DGBF_> | ||
39 | ·······Derivative·of·a·DiscreteGlobalBasisFunction·More... | ||
40 | |||
41 | ·class· Dune::Functions::DiscreteGlobalBasisFunctionDerivative<_DGBF_>:: | ||
42 | ·········LocalFunction | ||
43 | ·······local·function·evaluating·the·derivative·in·reference·coordinates | ||
44 | ·········More... | ||
21 | 45 | ||
22 | ·Namespaces | 46 | ·Namespaces |
23 | namespace· Dune | 47 | namespace· Dune |
24 | 48 | ||
25 | namespace· Dune::Functions | 49 | namespace· Dune::Functions |
26 | 50 | ||
27 | namespace· Dune::Functions:: | 51 | namespace· Dune::Functions::ImplDoc |
28 | |||
29 | namespace· Dune::Functions::BasisFactory::Experimental | ||
30 | 52 | ||
31 | ·Functions | 53 | ·Functions |
54 | template<typename·R·,·typename·B·,·typename·V·> | ||
55 | auto Dune::Functions::makeDiscreteGlobalBasisFunction·(B·&&basis,·V·&&vector) | ||
56 | ····Generate·a·DiscreteGlobalBasisFunction.·More... | ||
32 | template<class·RawPreBasisIndicator·,·class·PIS·> | ||
33 | auto Dune::Functions::BasisFactory::Experimental::periodic | ||
34 | ······(RawPreBasisIndicator·&&rawPreBasisIndicator,·PIS·&&periodicIndexSet) | ||
35 | ····Create·a·pre-basis·factory·that·can·create·a·periodic·pre-basis.·More... | ||
36 | 57 | ||
37 | =============================================================================== | 58 | =============================================================================== |
38 | ·····Generated·by [doxygen]·1.9.4 | 59 | ·····Generated·by [doxygen]·1.9.4 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.4"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.4"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>dune-functions:· | 8 | <title>dune-functions:·discreteglobalbasisfunction.hh·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="search/search.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="search/searchdata.js"></script> | 13 | <script·type="text/javascript"·src="search/searchdata.js"></script> |
14 | <script·type="text/javascript"·src="search/search.js"></script> | 14 | <script·type="text/javascript"·src="search/search.js"></script> |
15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> | 15 | <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/> |
Offset 58, 208 lines modified | Offset 58, 597 lines modified | ||
58 | <iframe·src="javascript:void(0)"·frameborder="0"· | 58 | <iframe·src="javascript:void(0)"·frameborder="0"· |
59 | ········name="MSearchResults"·id="MSearchResults"> | 59 | ········name="MSearchResults"·id="MSearchResults"> |
60 | </iframe> | 60 | </iframe> |
61 | </div> | 61 | </div> |
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_ | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="header"> | 67 | <div·class="header"> |
68 | ··<div·class="headertitle"><div·class="title"> | 68 | ··<div·class="headertitle"><div·class="title">discreteglobalbasisfunction.hh</div></div> |
69 | </div><!--header--> | 69 | </div><!--header--> |
70 | <div·class="contents"> | 70 | <div·class="contents"> |
71 | <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> | 71 | <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> |
72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> | 72 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> |
73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONS | 73 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH</span></div> |
74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONS | 74 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH</span></div> |
75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 75 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·< | 76 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·<memory></span></div> |
77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·< | 77 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<optional></span></div> |
78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span> | 78 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> |
79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·< | 79 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·<dune/common/typetraits.hh></span></div> |
80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<vector></span></div> | ||
81 | <div·class="line"><a·id="l0001 | 80 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> |
82 | <div·class="line"><a·id="l0001 | 81 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·<dune/typetree/treecontainer.hh></span></div> |
83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00179.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></span></div> | ||
84 | <div·class="line"><a·id="l0001 | 82 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> |
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00219.html">Dune::Functions</a>·{</div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> | ||
88 | <div·class="line"><a·id="l0001 | 83 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·<<a·class="code"·href="a00134.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></span></div> |
84 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·<<a·class="code"·href="a00095.html">dune/functions/functionspacebases/flatvectorview.hh</a>></span></div> | ||
85 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·<<a·class="code"·href="a00176.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></span></div> | ||
86 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·<<a·class="code"·href="a00170.html">dune/functions/gridfunctions/gridfunction.hh</a>></span></div> | ||
87 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·<<a·class="code"·href="a02873.html">dune/functions/backends/concepts.hh</a>></span></div> | ||
88 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·<<a·class="code"·href="a00158.html">dune/functions/backends/istlvectorbackend.hh</a>></span></div> | ||
89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> | 89 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> |
90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are</span></div> | ||
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//·not·completely·sure·yet·whether·we·like·it.··We·reserve·the·right·to</span></div> | ||
92 | <div·class="line"><a·id="l0002 | 90 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> |
91 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span>Functions·{</div> | ||
92 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> | ||
93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> | 93 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> |
94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a002 | 94 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00230.html">···24</a></span><span·class="keyword">namespace·</span>ImplDoc·{</div> |
95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> | 95 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> |
96 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">template</span><<span·class="keyword">typename</span>·B,·<span·class="keyword">typename</span>·V,·<span·class="keyword">typename</span>·NTRE></div> | ||
97 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01859.html">···27</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01859.html">DiscreteGlobalBasisFunctionBase</a></div> | ||
98 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>{</div> | ||
99 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">public</span>:</div> | ||
100 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01859.html#a3692f2d61e9901fcc190337eb0c8d2c3">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a3692f2d61e9901fcc190337eb0c8d2c3">Basis</a>·=·B;</div> | ||
101 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01859.html#a4f1c5b75cd112f7524b65de9e68c6f4c">···31</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a4f1c5b75cd112f7524b65de9e68c6f4c">Vector</a>·=·V;</div> | ||
96 | <div·class="line"><a·id="l000 | 102 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
97 | <div·class="line"><a·id="l0003 | 103 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·In·order·to·make·the·cache·work·for·proxy-references</span></div> |
104 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//·we·have·to·use·AutonomousValue<T>·instead·of·std::decay_t<T></span></div> | ||
105 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01859.html#ad8324d107176745d5db37c17e160fb51">···35</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#ad8324d107176745d5db37c17e160fb51">Coefficient</a>·=·Dune::AutonomousValue<decltype(std::declval<Vector>()[std::declval<typename·Basis::MultiIndex>()])>;</div> | ||
98 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span> | 106 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
99 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span> | 107 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01859.html#a94980a3da72955394fdf377b328aa6cd">···37</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a94980a3da72955394fdf377b328aa6cd">GridView</a>·=·<span·class="keyword">typename</span>·B[·...·truncated·by·diffoscope;·len:·14,·SHA:·17cb1deb028c7a8cb3c929a6a9597b87f42b1cb7d5e187d5bb1560e410a1e146·...·];</div> |
108 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01859.html#aa0f3fc49504b54be8b78cb443b447747">···38</a></span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01919.html">EntitySet</a>·=·<a·class="code·hl_class"·href="a01919.html">GridViewEntitySet<GridView,·0></a>;</div> | ||
109 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01859.html#a3a7684473e5977409b31ad9954d60b17">···39</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a3a7684473e5977409b31ad9954d60b17">Tree</a>·=·<span·class="keyword">typename</span>·Basis::LocalView::Tree;</div> | ||
110 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01859.html#a919c73d3602d7770ab2aa6ec9beaa2df">···40</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a919c73d3602d7770ab2aa6ec9beaa2df">NodeToRangeEntry</a>·=·NTRE;</div> | ||
100 | <div·class="line"><a·id="l000 | 111 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
112 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01859.html#ac531ebbef4d77df5dd685f2f26024f95">···42</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#ac531ebbef4d77df5dd685f2f26024f95">Domain</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#ac4e3d0188467b4be3d195c9f5729e629">EntitySet::GlobalCoordinate</a>;</div> | ||
101 | <div·class="line"><a·id="l000 | 113 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> |
102 | <div·class="line"><a·id="l0004 | 114 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01859.html#a778a8d51295ab8988578c8ec5c80f15a">···44</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a778a8d51295ab8988578c8ec5c80f15a">LocalDomain<[·...·truncated·by·diffoscope;·len:·155,·SHA:·60fff9c02565c5a27a78b7b9f1e705ff7dfcc7e1ac487cd69464080207297781·...·]</div> |
115 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01859.html#a7669d95a17a5a94621074923290978b7">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01859.html#a7669d95a17a5a94621074923290978b7">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
116 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
117 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">protected</span>:</div> | ||
103 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>· | 118 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> |
104 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·· | 119 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·This·collects·all·data·that·is·shared·by·all·related</span></div> |
120 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="comment">//·global·and·local·functions.·This·way·we·don't·need·to</span></div> | ||
121 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·keep·track·of·it·individually.</span></div> | ||
122 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01863.html">···52</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01863.html">Data</a></div> | ||
105 | <div·class="line"><a·id="l0005 | 123 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> |
106 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keywordflow">if</span>·(a==b)</div> | ||
107 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keywordflow">return</span>;</div> | ||
108 | <div·class="line"><a·id="l0005 | 124 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01863.html#a869d1890dea002afea9673d30bf7a6f9">···54</a></span>····<a·class="code·hl_class"·href="a01919.html">EntitySet</a>·<a·class="code·hl_variable"·href="a01863.html#a869d1890dea002afea96[·...·truncated·by·diffoscope;·len:·27,·SHA:·59bc6a8fefdac43e7057fb6bdc106cdc1f6db658f711f2b87cf4477ee1942d92·...·];</div> |
125 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01863.html#aa8af2b92d6781bed52269bfaf15a03d7">···55</a></span>····std::shared_ptr<const·Basis>·<a·class="code·hl_variable"·href="a01863.html#aa8af2b92d6781bed52269bfaf15a03d7">basis</a>;</div> | ||
126 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01863.html#ab0ba9b881560f475ebfbc8245e898f06">···56</a></span>····std::shared_ptr<const·Vector>·<a·class="code·hl_variable"·href="a01863.html#ab0ba9b881560f475ebfbc8245e898f06">coefficients</a>;</div> | ||
127 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01863.html#a8806af774b27a785e8a4eb0d58df560c">···57</a></span>····std::shared_ptr<const·NodeToRangeEntry>·<a·class="code·hl_variable"·href="a01863.html#a8806af774b27a785e8a4eb0d58df560c">nodeToRangeEntry</a>;</div> | ||
109 | <div·class="line"><a·id="l0005 | 128 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··};</div> |
110 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01723.html#ace4a53d881dc7e6add6b0fd05a394738">···56</a></span>··<span·class="keyword">const</span>·<span·class="keyword">auto</span>&·<a·class="code·hl_function"·href="a01723.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>()<span·class="keyword">·const</span></div> | ||
112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">··</span>{</div> | ||
113 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keywordflow">return</span>·indexPairSet_;</div> | ||
114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>· | 129 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
130 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> | ||
131 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01867.html">···61</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01867.html">LocalFunctionBase</a></div> | ||
115 | <div·class="line"><a·id="l0006 | 132 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div> |
133 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">using·</span>LocalView·=·<span·class="keyword">typename</span>·Basis::LocalView;</div> | ||
116 | <div·class="line"><a·id="l0006 | 134 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keyword">using·</span>size_type·=·<span·class="keyword">typename</span>·Tree::size_type;</div> |
117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··IndexPairSet·indexPairSet_;</div> | ||
118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>};</div> | ||
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 135 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
136 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>:</div> | ||
137 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01867.html#aed06cdee2f1095692d99f2b70b9e08cf">···67</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01867.html#aed06cdee2f1095692d99f2b70b9e08cf">Domain</a>·=·<a·class="code·hl_typedef"·href="a01859.html#a778a8d51295ab8988578c8ec5c80f15a">LocalDomain</a>;</div> | ||
138 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01867.html#a8d6caba81e31526ba3a7d66b1ab299a3">···68</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01867.html#a8d6caba81e31526ba3a7d66b1ab299a3">Element</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01919.html#a1d5eaf3facd0219b2e150d964a664752">EntitySet::Element</a>;</div> | ||
121 | <div·class="line"><a·id="l0006 | 139 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
122 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">protected</span>:</div> |
141 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01867.html#afabe7cb22621b6a62e3b2f58b2ce9a96">···71</a></span>····<a·class="code·hl_function"·href="a01867.html#afabe7cb22621b6a62e3b2f58b2ce9a96">LocalFunctionBase</a>(<span·class="keyword">const</span>·std::shared_ptr<const·Data>&·data)</div> | ||
142 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·<a·class="code·hl_variable"·href="a01867.html#ac19ebafe7e6f57872bf25b9c91718487">data_</a>(data)</div> | ||
143 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······,·<a·class="code·hl_variable"·href="a01867.html#ac95fafaea79e1434ea5d9a8092e5945b">localView_</a>(<a·class="code·hl_variable"·href="a01867.html#ac19ebafe7e6f57872bf25b9c91718487">data_</a>-><a·class="code·hl_function"·href="a01859.html#a99bd572882384ae95a30297f0797d769">basis</a>->localView())</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | ||
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//·An·index·transformation·for·a·TransformedIndexPreBasis</span></div> | ||
125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//·implementing·periodic·functions·by·merging·indices.</span></div> | ||
126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//·Currently·only·flat·indices·are·supported.</span></div> | ||
127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">class·</span>PeriodicIndexingTransformation</div> | ||
128 | <div·class="line"><a·id="l0007 | 144 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····{</div> |
145 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<a·class="code·hl_variable"·href="a01867.html#aa62fc9b9cfde610dea2e5fedfc5c6f83">localDoFs_</a>.reserve(<a·class="code·hl_variable"·href="a01867.html#ac95fafaea79e1434ea5d9a8092e5945b">localView_</a>.maxSize());</div> | ||
129 | <div·class="line"><a·id="l0007 | 146 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div> |
Max diff block lines reached; 111246/157605 bytes (70.59%) of diff not shown. |
Offset 4, 228 lines modified | Offset 4, 843 lines modified | ||
4 | dune-functions 2.9.0 | 4 | dune-functions 2.9.0 |
5 | ····*·dune | 5 | ····*·dune |
6 | ····*·functions | 6 | ····*·functions |
7 | ····*·functionspacebases | ||
8 | 7 | ····*·gridfunctions | |
8 | discreteglobalbasisfunction.hh | ||
9 | Go_to_the_documentation_of_this_file. | 9 | Go_to_the_documentation_of_this_file. |
10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- | 10 | ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- |
11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: | 11 | ·2//·vi:·set·et·ts=4·sw=2·sts=2: |
12 | ·3#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_PERIODICBASIS_HH | ||
13 | · | 12 | ·3#ifndef·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH |
13 | ·4#define·DUNE_FUNCTIONS_GRIDFUNCTIONS_DISCRETEGLOBALBASISFUNCTIONS_HH | ||
14 | ·5 | 14 | ·5 |
15 | ·6#include·<utility> | ||
16 | ·7#include·<type_traits> | ||
17 | ·8#include·<limits> | ||
18 | ·9#include·<set> | ||
19 | · | 15 | ·6#include·<memory> |
20 | · | 16 | ·7#include·<optional> |
17 | ·8 | ||
18 | ·9#include·<dune/common/typetraits.hh> | ||
19 | ·10 | ||
20 | ·11#include·<dune/typetree/treecontainer.hh> | ||
21 | ·12 | ||
22 | ·13#include·<dune/functions/functionspacebases/hierarchicnodetorangemap.hh> | ||
21 | ·1 | 23 | ·14#include·<dune/functions/functionspacebases/flatvectorview.hh> |
24 | ·15#include·<dune/functions/gridfunctions/gridviewentityset.hh> | ||
25 | ·16#include·<dune/functions/gridfunctions/gridfunction.hh> | ||
26 | ·17#include·<dune/functions/backends/concepts.hh> | ||
27 | ·18#include·<dune/functions/backends/istlvectorbackend.hh> | ||
22 | ·13#include·<dune/functions/functionspacebases/transformedindexbasis.hh> | ||
23 | ·14 | ||
24 | ·15 | ||
25 | ·16namespace·Dune::Functions·{ | ||
26 | ·17 | ||
27 | ·18namespace·BasisFactory·{ | ||
28 | ·19 | 28 | ·19 |
29 | ·20//·The·PeriodicBasis·class·is·in·the·Experimental·namespace·because·we·are | ||
30 | ·21//·not·completely·sure·yet·whether·we·like·it.·We·reserve·the·right·to | ||
31 | ·2 | 29 | ·20namespace·Dune·{ |
30 | ·21namespace·Functions·{ | ||
31 | ·22 | ||
32 | ·23 | 32 | ·23 |
33 | 24namespace· | 33 | 24namespace·ImplDoc·{ |
34 | ·25 | 34 | ·25 |
35 | ·26 | ||
36 | 35 | ·26template<typename·B,·typename·V,·typename·NTRE> | |
36 | 27class·DiscreteGlobalBasisFunctionBase | ||
37 | ·28{ | ||
38 | ·29public: | ||
39 | 30·using·Basis·=·B; | ||
40 | 31·using·Vector·=·V; | ||
41 | ·32 | ||
42 | ·33·//·In·order·to·make·the·cache·work·for·proxy-references | ||
43 | ·34·//·we·have·to·use·AutonomousValue<T>·instead·of·std::decay_t<T> | ||
44 | 35·using·Coefficient·=·Dune::AutonomousValue<decltype(std::declval<Vector>() | ||
45 | [std::declval<typename·Basis::MultiIndex>()])>; | ||
37 | ·36 | 46 | ·36 |
38 | ·37·using·IndexPairSet·=·std::set<std::pair<std::size_t,std::size_t>>; | ||
39 | ·38public: | ||
40 | ·39 | ||
41 | 47 | 37·using·GridView·=·typename·Basis::GridView; | |
48 | 38·using·EntitySet·=·GridViewEntitySet<GridView,_0>; | ||
49 | 39·using·Tree·=·typename·Basis::LocalView::Tree; | ||
50 | 40·using·NodeToRangeEntry·=·NTRE; | ||
51 | ·41 | ||
52 | 42·using·Domain·=·typename·EntitySet::GlobalCoordinate; | ||
53 | ·43 | ||
54 | 44·using·LocalDomain·=·typename·EntitySet::LocalCoordinate; | ||
55 | 45·using·Element·=·typename·EntitySet::Element; | ||
56 | ·46 | ||
57 | ·47protected: | ||
42 | ·48 | 58 | ·48 |
59 | ·49·//·This·collects·all·data·that·is·shared·by·all·related | ||
60 | ·50·//·global·and·local·functions.·This·way·we·don't·need·to | ||
61 | ·51·//·keep·track·of·it·individually. | ||
62 | 52·struct·Data | ||
43 | ·49·if·(a>b) | ||
44 | ·50·std::swap(a,b); | ||
45 | ·51·if·(a==b) | ||
46 | ·52·return; | ||
47 | ·53·indexPairSet_.insert(std::make_pair(a,b)); | ||
48 | ·54·} | ||
49 | ·55 | ||
50 | 56·const·auto&·indexPairSet()·const | ||
51 | ·5 | 63 | ·53·{ |
52 | 64 | 54·EntitySet·entitySet; | |
65 | 55·std::shared_ptr<const·Basis>·basis; | ||
66 | 56·std::shared_ptr<const·Vector>·coefficients; | ||
67 | 57·std::shared_ptr<const·NodeToRangeEntry>·nodeToRangeEntry; | ||
68 | ·58·}; | ||
53 | ·59 | 69 | ·59 |
54 | ·60 | ||
55 | ·61private: | ||
56 | ·62·IndexPairSet·indexPairSet_; | ||
57 | ·63}; | ||
58 | ·6 | 70 | ·60public: |
71 | 61·class·LocalFunctionBase | ||
72 | ·62·{ | ||
73 | ·63·using·LocalView·=·typename·Basis::LocalView; | ||
74 | ·64·using·size_type·=·typename·Tree::size_type; | ||
59 | ·65 | 75 | ·65 |
60 | ·66 | ||
61 | ·67namespace·Impl·{ | ||
62 | ·68 | ||
63 | ·69//·An·index·transformation·for·a·TransformedIndexPreBasis | ||
64 | ·70//·implementing·periodic·functions·by·merging·indices. | ||
65 | ·71//·Currently·only·flat·indices·are·supported. | ||
66 | ·72class·PeriodicIndexingTransformation | ||
67 | ·73{ | ||
68 | · | 76 | ·66·public: |
77 | 67·using·Domain·=·LocalDomain; | ||
78 | 68·using·Element·=·typename·EntitySet::Element; | ||
79 | ·69 | ||
80 | ·70·protected: | ||
81 | 71·LocalFunctionBase(const·std::shared_ptr<const·Data>&·data) | ||
82 | ·72·:·data_(data) | ||
83 | ·73·,·localView_(data_->basis->localView()) | ||
84 | ·74·{ | ||
85 | ·75·localDoFs_.reserve(localView_.maxSize()); | ||
69 | ·75 | ||
70 | ·76·static·constexpr·std::size_t·minIndexSize·=·1; | ||
71 | ·77·static·constexpr·std::size_t·maxIndexSize·=·1; | ||
Max diff block lines reached; 33349/38805 bytes (85.94%) of diff not shown. |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Polynomial<·K·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Polynomial<·K·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>A·scalar·polynomial·implementation.·· | 76 | <p>A·scalar·polynomial·implementation.·· |
77 | ·<a·href="a01047.html#details">More...</a></p> | 77 | ·<a·href="a01047.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a00 | 78 | <p><code>#include·<<a·class="el"·href="a00161_source.html">dune/functions/analyticfunctions/polynomial.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
81 | Public·Member·Functions</h2></td></tr> | 81 | Public·Member·Functions</h2></td></tr> |
82 | <tr·class="memitem:a07e1e774e4c3c7b408ec76238faa98e9"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">Polynomial</a>·()=default</td></tr> | 82 | <tr·class="memitem:a07e1e774e4c3c7b408ec76238faa98e9"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">Polynomial</a>·()=default</td></tr> |
83 | <tr·class="memdesc:a07e1e774e4c3c7b408ec76238faa98e9"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·constructor.··<a·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:a07e1e774e4c3c7b408ec76238faa98e9"><td·class="mdescLeft"> </td><td·class="mdescRight">Default·constructor.··<a·href="a01047.html#a07e1e774e4c3c7b408ec76238faa98e9">More...</a><br·/></td></tr> |
84 | <tr·class="separator:a07e1e774e4c3c7b408ec76238faa98e9"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a07e1e774e4c3c7b408ec76238faa98e9"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a9ebe46572da09754e511648d2a4a99fa"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01047.html#a9ebe46572da09754e511648d2a4a99fa">Polynomial</a>·(const·<a·class="el"·href="a01047.html">Polynomial</a>·&other)=default</td></tr> | 85 | <tr·class="memitem:a9ebe46572da09754e511648d2a4a99fa"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01047.html#a9ebe46572da09754e511648d2a4a99fa">Polynomial</a>·(const·<a·class="el"·href="a01047.html">Polynomial</a>·&other)=default</td></tr> |
Offset 428, 15 lines modified | Offset 428, 15 lines modified | ||
428 | </div><div·class="memdoc"> | 428 | </div><div·class="memdoc"> |
429 | <p>Move-assignment·operator.·</p> | 429 | <p>Move-assignment·operator.·</p> |
430 | </div> | 430 | </div> |
431 | </div> | 431 | </div> |
432 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 432 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
433 | <li><a·class="el"·href="a00 | 433 | <li><a·class="el"·href="a00161_source.html">polynomial.hh</a></li> |
434 | </ul> | 434 | </ul> |
435 | </div><!--·contents·--> | 435 | </div><!--·contents·--> |
436 | <!--·start·footer·part·--> | 436 | <!--·start·footer·part·--> |
437 | <hr·class="footer"/><address·class="footer"><small> | 437 | <hr·class="footer"/><address·class="footer"><small> |
438 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 438 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
439 | </small></address> | 439 | </small></address> |
440 | </body> | 440 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TrigonometricFunction<·K,·sinFactor,·cosFactor·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>A·linear·combination·of·trigonomic·functions.·· | 75 | <p>A·linear·combination·of·trigonomic·functions.·· |
76 | ·<a·href="a01051.html#details">More...</a></p> | 76 | ·<a·href="a01051.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00164_source.html">dune/functions/analyticfunctions/trigonometricfunction.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a84e99df5856264ae06faa710876763aa"><td·class="memItemLeft"·align="right"·valign="top">K </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01051.html#a84e99df5856264ae06faa710876763aa">operator()</a>·(const·K·&x)·const</td></tr> | 81 | <tr·class="memitem:a84e99df5856264ae06faa710876763aa"><td·class="memItemLeft"·align="right"·valign="top">K </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01051.html#a84e99df5856264ae06faa710876763aa">operator()</a>·(const·K·&x)·const</td></tr> |
82 | <tr·class="memdesc:a84e99df5856264ae06faa710876763aa"><td·class="mdescLeft"> </td><td·class="mdescRight">Evaluate·function.··<a·href="a01051.html#a84e99df5856264ae06faa710876763aa">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:a84e99df5856264ae06faa710876763aa"><td·class="mdescLeft"> </td><td·class="mdescRight">Evaluate·function.··<a·href="a01051.html#a84e99df5856264ae06faa710876763aa">More...</a><br·/></td></tr> |
83 | <tr·class="separator:a84e99df5856264ae06faa710876763aa"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a84e99df5856264ae06faa710876763aa"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 124, 15 lines modified | Offset 124, 15 lines modified | ||
124 | </div><div·class="memdoc"> | 124 | </div><div·class="memdoc"> |
125 | <p>Evaluate·function.·</p> | 125 | <p>Evaluate·function.·</p> |
126 | </div> | 126 | </div> |
127 | </div> | 127 | </div> |
128 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 128 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
129 | <li><a·class="el"·href="a00 | 129 | <li><a·class="el"·href="a00164_source.html">trigonometricfunction.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 134 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
135 | </small></address> | 135 | </small></address> |
136 | </body> | 136 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CallableFunctionWrapper<·F·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CallableFunctionWrapper<·F·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Wrap·a·Dune::VirtualFunction·into·a·callable·object.·· | 75 | <p>Wrap·a·Dune::VirtualFunction·into·a·callable·object.·· |
76 | ·<a·href="a01067.html#details">More...</a></p> | 76 | ·<a·href="a01067.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00023_source.html">dune/functions/common/callable.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a488ad53137f6f83fd7efff332758bbf3"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html#a488ad53137f6f83fd7efff332758bbf3">CallableFunctionWrapper</a>·(const·F·&f)</td></tr> | 81 | <tr·class="memitem:a488ad53137f6f83fd7efff332758bbf3"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html#a488ad53137f6f83fd7efff332758bbf3">CallableFunctionWrapper</a>·(const·F·&f)</td></tr> |
82 | <tr·class="memdesc:a488ad53137f6f83fd7efff332758bbf3"><td·class="mdescLeft"> </td><td·class="mdescRight">Instantiate·from·reference·to·f.··<a·href="a01067.html#a488ad53137f6f83fd7efff332758bbf3">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:a488ad53137f6f83fd7efff332758bbf3"><td·class="mdescLeft"> </td><td·class="mdescRight">Instantiate·from·reference·to·f.··<a·href="a01067.html#a488ad53137f6f83fd7efff332758bbf3">More...</a><br·/></td></tr> |
83 | <tr·class="separator:a488ad53137f6f83fd7efff332758bbf3"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a488ad53137f6f83fd7efff332758bbf3"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:af374bad6d7410748c48c4cfdf085fd56"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html#af374bad6d7410748c48c4cfdf085fd56">CallableFunctionWrapper</a>·(const·std::shared_ptr<·const·F·>·&f)</td></tr> | 84 | <tr·class="memitem:af374bad6d7410748c48c4cfdf085fd56"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01067.html#af374bad6d7410748c48c4cfdf085fd56">CallableFunctionWrapper</a>·(const·std::shared_ptr<·const·F·>·&f)</td></tr> |
Offset 194, 15 lines modified | Offset 194, 15 lines modified | ||
194 | <p>Forward·operator()·to·F::evaluate()·</p> | 194 | <p>Forward·operator()·to·F::evaluate()·</p> |
195 | <p·>This·uses·the·default·constructor·of·F::RangeType·</p> | 195 | <p·>This·uses·the·default·constructor·of·F::RangeType·</p> |
196 | </div> | 196 | </div> |
197 | </div> | 197 | </div> |
198 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 198 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
199 | <li><a·class="el"·href="a000 | 199 | <li><a·class="el"·href="a00023_source.html">callable.hh</a></li> |
200 | </ul> | 200 | </ul> |
201 | </div><!--·contents·--> | 201 | </div><!--·contents·--> |
202 | <!--·start·footer·part·--> | 202 | <!--·start·footer·part·--> |
203 | <hr·class="footer"/><address·class="footer"><small> | 203 | <hr·class="footer"/><address·class="footer"><small> |
204 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 204 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
205 | </small></address> | 205 | </small></address> |
206 | </body> | 206 | </body> |
Offset 69, 19 lines modified | Offset 69, 19 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::InvalidRange·Class·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::InvalidRange·Class·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·· | 72 | <p>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·· |
73 | ·<a·href="a01071.html#details">More...</a></p> | 73 | ·<a·href="a01071.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a000 | 74 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
75 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 75 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
76 | <div·class="textblock"><p·>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·</p> | 76 | <div·class="textblock"><p·>Dummy·range·class·to·be·used·if·no·proper·type·is·available.·</p> |
77 | </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 77 | </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
78 | <li><a·class="el"·href="a000 | 78 | <li><a·class="el"·href="a00035_source.html">defaultderivativetraits.hh</a></li> |
79 | </ul> | 79 | </ul> |
80 | </div><!--·contents·--> | 80 | </div><!--·contents·--> |
81 | <!--·start·footer·part·--> | 81 | <!--·start·footer·part·--> |
82 | <hr·class="footer"/><address·class="footer"><small> | 82 | <hr·class="footer"/><address·class="footer"><small> |
83 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 83 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
84 | </small></address> | 84 | </small></address> |
85 | </body> | 85 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·Signature·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·Signature·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Default·implementation·for·derivative·traits.·· | 75 | <p>Default·implementation·for·derivative·traits.·· |
76 | ·<a·href="a01075.html#details">More...</a></p> | 76 | ·<a·href="a01075.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:a3f8978146cb9b334705b651d84194b98"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01071.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01075.html#a3f8978146cb9b334705b651d84194b98">Range</a></td></tr> | 81 | <tr·class="memitem:a3f8978146cb9b334705b651d84194b98"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01071.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01075.html#a3f8978146cb9b334705b651d84194b98">Range</a></td></tr> |
82 | <tr·class="memdesc:a3f8978146cb9b334705b651d84194b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01075.html#a3f8978146cb9b334705b651d84194b98">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:a3f8978146cb9b334705b651d84194b98"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01075.html#a3f8978146cb9b334705b651d84194b98">More...</a><br·/></td></tr> |
83 | <tr·class="separator:a3f8978146cb9b334705b651d84194b98"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a3f8978146cb9b334705b651d84194b98"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 104, 15 lines modified | Offset 104, 15 lines modified | ||
104 | </div><div·class="memdoc"> | 104 | </div><div·class="memdoc"> |
105 | <p>Range·of·derivative·for·function·with·given·signature.·</p> | 105 | <p>Range·of·derivative·for·function·with·given·signature.·</p> |
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="a000 | 109 | <li><a·class="el"·href="a00035_source.html">defaultderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 114 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
115 | </small></address> | 115 | </small></address> |
116 | </body> | 116 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·double(double)·>·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·double(double)·>·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Default·implementation·for·derivative·traits.·· | 75 | <p>Default·implementation·for·derivative·traits.·· |
76 | ·<a·href="a01079.html#details">More...</a></p> | 76 | ·<a·href="a01079.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:a801e37f182d8c16ba1cfd72de1f17688"><td·class="memItemLeft"·align="right"·valign="top">typedef·double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a></td></tr> | 81 | <tr·class="memitem:a801e37f182d8c16ba1cfd72de1f17688"><td·class="memItemLeft"·align="right"·valign="top">typedef·double </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">Range</a></td></tr> |
82 | <tr·class="memdesc:a801e37f182d8c16ba1cfd72de1f17688"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:a801e37f182d8c16ba1cfd72de1f17688"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01079.html#a801e37f182d8c16ba1cfd72de1f17688">More...</a><br·/></td></tr> |
83 | <tr·class="separator:a801e37f182d8c16ba1cfd72de1f17688"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a801e37f182d8c16ba1cfd72de1f17688"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 101, 15 lines modified | Offset 101, 15 lines modified | ||
101 | </div><div·class="memdoc"> | 101 | </div><div·class="memdoc"> |
102 | <p>Range·of·derivative·for·function·with·given·signature.·</p> | 102 | <p>Range·of·derivative·for·function·with·given·signature.·</p> |
103 | </div> | 103 | </div> |
104 | </div> | 104 | </div> |
105 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 105 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
106 | <li><a·class="el"·href="a000 | 106 | <li><a·class="el"·href="a00035_source.html">defaultderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 111 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
112 | </small></address> | 112 | </small></address> |
113 | </body> | 113 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Default·implementation·for·derivative·traits.·· | 75 | <p>Default·implementation·for·derivative·traits.·· |
76 | ·<a·href="a01083.html#details">More...</a></p> | 76 | ·<a·href="a01083.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldVector<·K,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01083.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a></td></tr> | 81 | <tr·class="memitem:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldVector<·K,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01083.html#ad1603332ee1c64f89c0fc18a8ee273d6">Range</a></td></tr> |
82 | <tr·class="memdesc:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01083.html#ad1603332ee1c64f89c0fc18a8ee273d6">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01083.html#ad1603332ee1c64f89c0fc18a8ee273d6">More...</a><br·/></td></tr> |
83 | <tr·class="separator:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:ad1603332ee1c64f89c0fc18a8ee273d6"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 110, 15 lines modified | Offset 110, 15 lines modified | ||
110 | </div><div·class="memdoc"> | 110 | </div><div·class="memdoc"> |
111 | <p>Range·of·derivative·for·function·with·given·signature.·</p> | 111 | <p>Range·of·derivative·for·function·with·given·signature.·</p> |
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="a000 | 115 | <li><a·class="el"·href="a00035_source.html">defaultderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 121 | </small></address> |
122 | </body> | 122 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Default·implementation·for·derivative·traits.·· | 75 | <p>Default·implementation·for·derivative·traits.·· |
76 | ·<a·href="a01087.html#details">More...</a></p> | 76 | ·<a·href="a01087.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:ace3fbe5caed8c848072466ff723e82ab"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html#ace3fbe5caed8c848072466ff723e82ab">Range</a></td></tr> | 81 | <tr·class="memitem:ace3fbe5caed8c848072466ff723e82ab"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01087.html#ace3fbe5caed8c848072466ff723e82ab">Range</a></td></tr> |
82 | <tr·class="memdesc:ace3fbe5caed8c848072466ff723e82ab"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01087.html#ace3fbe5caed8c848072466ff723e82ab">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:ace3fbe5caed8c848072466ff723e82ab"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01087.html#ace3fbe5caed8c848072466ff723e82ab">More...</a><br·/></td></tr> |
83 | <tr·class="separator:ace3fbe5caed8c848072466ff723e82ab"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:ace3fbe5caed8c848072466ff723e82ab"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 110, 15 lines modified | Offset 110, 15 lines modified | ||
110 | </div><div·class="memdoc"> | 110 | </div><div·class="memdoc"> |
111 | <p>Range·of·derivative·for·function·with·given·signature.·</p> | 111 | <p>Range·of·derivative·for·function·with·given·signature.·</p> |
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="a000 | 115 | <li><a·class="el"·href="a00035_source.html">defaultderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 121 | </small></address> |
122 | </body> | 122 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Default·implementation·for·derivative·traits.·· | 75 | <p>Default·implementation·for·derivative·traits.·· |
76 | ·<a·href="a01091.html#details">More...</a></p> | 76 | ·<a·href="a01091.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00035_source.html">dune/functions/common/defaultderivativetraits.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:a5379bc605e79658f7a54ec17e3946e9b"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">Range</a></td></tr> | 81 | <tr·class="memitem:a5379bc605e79658f7a54ec17e3946e9b"><td·class="memItemLeft"·align="right"·valign="top">typedef·FieldMatrix<·K,·m,·n·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">Range</a></td></tr> |
82 | <tr·class="memdesc:a5379bc605e79658f7a54ec17e3946e9b"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:a5379bc605e79658f7a54ec17e3946e9b"><td·class="mdescLeft"> </td><td·class="mdescRight">Range·of·derivative·for·function·with·given·signature.··<a·href="a01091.html#a5379bc605e79658f7a54ec17e3946e9b">More...</a><br·/></td></tr> |
83 | <tr·class="separator:a5379bc605e79658f7a54ec17e3946e9b"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a5379bc605e79658f7a54ec17e3946e9b"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 110, 15 lines modified | Offset 110, 15 lines modified | ||
110 | </div><div·class="memdoc"> | 110 | </div><div·class="memdoc"> |
111 | <p>Range·of·derivative·for·function·with·given·signature.·</p> | 111 | <p>Range·of·derivative·for·function·with·given·signature.·</p> |
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="a000 | 115 | <li><a·class="el"·href="a00035_source.html">defaultderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 120 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
121 | </small></address> | 121 | </small></address> |
122 | </body> | 122 | </body> |
Offset 66, 17 lines modified | Offset 66, 17 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Signature,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p><code>#include·<<a·class="el"·href="a000 | 72 | <p><code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code></p> |
73 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 73 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
74 | <li><a·class="el"·href="a000 | 74 | <li><a·class="el"·href="a00038_source.html">differentiablefunction.hh</a></li> |
75 | </ul> | 75 | </ul> |
76 | </div><!--·contents·--> | 76 | </div><!--·contents·--> |
77 | <!--·start·footer·part·--> | 77 | <!--·start·footer·part·--> |
78 | <hr·class="footer"/><address·class="footer"><small> | 78 | <hr·class="footer"/><address·class="footer"><small> |
79 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 79 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
80 | </small></address> | 80 | </small></address> |
81 | </body> | 81 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>Class·storing·differentiable·functions·using·type·erasure.·· | 76 | <p>Class·storing·differentiable·functions·using·type·erasure.·· |
77 | ·<a·href="a01103.html#details">More...</a></p> | 77 | ·<a·href="a01103.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a000 | 78 | <p><code>#include·<<a·class="el"·href="a00038_source.html">dune/functions/common/differentiablefunction.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01102.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01102.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Class·storing·differentiable·functions·using·type·erasure."·alt=""·coords="843,65,1081,121"/> | 84 | <area·shape="rect"·title="Class·storing·differentiable·functions·using·type·erasure."·alt=""·coords="843,65,1081,121"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="475,43,793,143"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="475,43,793,143"/> |
Offset 224, 15 lines modified | Offset 224, 15 lines modified | ||
224 | </div><div·class="memdoc"> | 224 | </div><div·class="memdoc"> |
225 | <p>Evaluation·of·wrapped·function.·</p> | 225 | <p>Evaluation·of·wrapped·function.·</p> |
226 | </div> | 226 | </div> |
227 | </div> | 227 | </div> |
228 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 228 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
229 | <li><a·class="el"·href="a000 | 229 | <li><a·class="el"·href="a00038_source.html">differentiablefunction.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 234 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
235 | </small></address> | 235 | </small></address> |
236 | </body> | 236 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | <div·class="center"><img·src="a01126.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 75 | <div·class="center"><img·src="a01126.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
76 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"> | 76 | <map·name="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_differentiable_function_from_callables_3_01_signature_00_01_derivative_traits_00_01_callables_01_4_inherit__map"> |
77 | <area·shape="rect"·title="·"·alt=""·coords="5,21,232,77"/> | 77 | <area·shape="rect"·title="·"·alt=""·coords="5,21,232,77"/> |
78 | <area·shape="rect"·href="a01127.html"·title="·"·alt=""·coords="413,21,696,77"/> | 78 | <area·shape="rect"·href="a01127.html"·title="·"·alt=""·coords="413,21,696,77"/> |
79 | </map> | 79 | </map> |
80 | </div> | 80 | </div> |
81 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 81 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
82 | <li><a·class="el"·href="a0001 | 82 | <li><a·class="el"·href="a00014_source.html">differentiablefunctionfromcallables.hh</a></li> |
83 | </ul> | 83 | </ul> |
84 | </div><!--·contents·--> | 84 | </div><!--·contents·--> |
85 | <!--·start·footer·part·--> | 85 | <!--·start·footer·part·--> |
86 | <hr·class="footer"/><address·class="footer"><small> | 86 | <hr·class="footer"/><address·class="footer"><small> |
87 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 87 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
88 | </small></address> | 88 | </small></address> |
89 | </body> | 89 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· | 77 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· |
78 | ·<a·href="a01131.html#details">More...</a></p> | 78 | ·<a·href="a01131.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a0001 | 79 | <p><code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/common/differentiablefunctionfromcallables.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·=·Range(Domain)</td></tr> | 83 | <tr·class="memitem:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·=·Range(Domain)</td></tr> |
84 | <tr·class="memdesc:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="mdescLeft"> </td><td·class="mdescRight">Signature·of·function.··<a·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">More...</a><br·/></td></tr> | 84 | <tr·class="memdesc:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="mdescLeft"> </td><td·class="mdescRight">Signature·of·function.··<a·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">More...</a><br·/></td></tr> |
85 | <tr·class="separator:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:acffaa1044b3ca19944d0f78fc0ff1ac4"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:acce6cff869c703e4f707474228581e03"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·typename·<a·class="el"·href="a01291.html">SignatureTraits</a><·<a·class="el"·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·>::RawSignature</td></tr> | 86 | <tr·class="memitem:acce6cff869c703e4f707474228581e03"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01131.html#acce6cff869c703e4f707474228581e03">RawSignature</a>·=·typename·<a·class="el"·href="a01291.html">SignatureTraits</a><·<a·class="el"·href="a01131.html#acffaa1044b3ca19944d0f78fc0ff1ac4">Signature</a>·>::RawSignature</td></tr> |
Offset 255, 15 lines modified | Offset 255, 15 lines modified | ||
255 | </div><div·class="memdoc"> | 255 | </div><div·class="memdoc"> |
256 | <p>Evaluate·function.·</p> | 256 | <p>Evaluate·function.·</p> |
257 | </div> | 257 | </div> |
258 | </div> | 258 | </div> |
259 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 259 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
260 | <li><a·class="el"·href="a0001 | 260 | <li><a·class="el"·href="a00014_source.html">differentiablefunctionfromcallables.hh</a></li> |
261 | </ul> | 261 | </ul> |
262 | </div><!--·contents·--> | 262 | </div><!--·contents·--> |
263 | <!--·start·footer·part·--> | 263 | <!--·start·footer·part·--> |
264 | <hr·class="footer"/><address·class="footer"><small> | 264 | <hr·class="footer"/><address·class="footer"><small> |
265 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 265 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
266 | </small></address> | 266 | </small></address> |
267 | </body> | 267 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DifferentiableFunctionFromCallables<·Range(Domain),·DerivativeTraits,·F,·DF,·Derivatives...·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· | 77 | <p>Wrap·a·list·of·callable·objects·as·derivative·sequence·modelling·<a·class="el"·href="a01155.html">Concept::DifferentiableFunction<Range(Domain),·DerivativeTraits></a>·· |
78 | ·<a·href="a01135.html#details">More...</a></p> | 78 | ·<a·href="a01135.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a0001 | 79 | <p><code>#include·<<a·class="el"·href="a00014_source.html">dune/functions/common/differentiablefunctionfromcallables.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·=·Range(Domain)</td></tr> | 83 | <tr·class="memitem:a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·=·Range(Domain)</td></tr> |
84 | <tr·class="separator:a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a735498bd93fc1c8f33ae9b13ddb56143"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a8a377025a382bd84ae15639b09413719"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html#a8a377025a382bd84ae15639b09413719">RawSignature</a>·=·typename·<a·class="el"·href="a01291.html">SignatureTraits</a><·<a·class="el"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·>::RawSignature</td></tr> | 85 | <tr·class="memitem:a8a377025a382bd84ae15639b09413719"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01135.html#a8a377025a382bd84ae15639b09413719">RawSignature</a>·=·typename·<a·class="el"·href="a01291.html">SignatureTraits</a><·<a·class="el"·href="a01135.html#a735498bd93fc1c8f33ae9b13ddb56143">Signature</a>·>::RawSignature</td></tr> |
86 | <tr·class="separator:a8a377025a382bd84ae15639b09413719"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:a8a377025a382bd84ae15639b09413719"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 263, 15 lines modified | Offset 263, 15 lines modified | ||
263 | </div><div·class="memdoc"> | 263 | </div><div·class="memdoc"> |
264 | <p>Evaluate·function.·</p> | 264 | <p>Evaluate·function.·</p> |
265 | </div> | 265 | </div> |
266 | </div> | 266 | </div> |
267 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 267 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
268 | <li><a·class="el"·href="a0001 | 268 | <li><a·class="el"·href="a00014_source.html">differentiablefunctionfromcallables.hh</a></li> |
269 | </ul> | 269 | </ul> |
270 | </div><!--·contents·--> | 270 | </div><!--·contents·--> |
271 | <!--·start·footer·part·--> | 271 | <!--·start·footer·part·--> |
272 | <hr·class="footer"/><address·class="footer"><small> | 272 | <hr·class="footer"/><address·class="footer"><small> |
273 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 273 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
274 | </small></address> | 274 | </small></address> |
275 | </body> | 275 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Callable<·Args·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Callable<·Args·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·objects·that·can·be·called·with·given·argument·list.·· |
76 | ·<a·href="a01139.html#details">More...</a></p> | 76 | ·<a·href="a01139.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> | 81 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplParams"·colspan="2">template<class·F·>·</td></tr> |
82 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01139.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>·(F·&&f)·->·decltype(f(std::declval<·Args·>()...))</td></tr> | 82 | <tr·class="memitem:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01139.html#a8020f2dc3373ee93bbb30e7dfd362b9f">require</a>·(F·&&f)·->·decltype(f(std::declval<·Args·>()...))</td></tr> |
83 | <tr·class="separator:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a8020f2dc3373ee93bbb30e7dfd362b9f"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 113, 15 lines modified | Offset 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="a000 | 119 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 124 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
125 | </small></address> | 125 | </small></address> |
126 | </body> | 126 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Signature·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Signature·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Range(Domain)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::Function<·Range(Domain)>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
76 | ·<a·href="a01147.html#details">More...</a></p> | 76 | ·<a·href="a01147.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::Concept::Function<·Range(Domain)>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::Concept::Function<·Range(Domain)>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01146.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01146.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_function_3_01_range_07_domain_08_4_inherit__map"> |
83 | <area·shape="rect"·title="Concept·for·a·function·mapping·Domain·to·Range."·alt=""·coords="5,95,196,136"/> | 83 | <area·shape="rect"·title="Concept·for·a·function·mapping·Domain·to·Range."·alt=""·coords="5,95,196,136"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="35,5,167,47"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="35,5,167,47"/> |
Offset 123, 15 lines modified | Offset 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="a000 | 129 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 134 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
135 | </small></address> | 135 | </small></address> |
136 | </body> | 136 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 76 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
77 | ·<a·href="a01155.html#details">More...</a></p> | 77 | ·<a·href="a01155.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a000 | 78 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableFunction<·Range(Domain),·DerivativeTraits·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01154.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01154.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_function_3_01_range_07_domain_08_00_01_derivative_traits_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Concept·for·a·differentiable·function·mapping·Domain·to·Range."·alt=""·coords="5,109,239,165"/> | 84 | <area·shape="rect"·title="Concept·for·a·differentiable·function·mapping·Domain·to·Range."·alt=""·coords="5,109,239,165"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="29,5,215,61"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="29,5,215,61"/> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ········</tr> | 148 | ········</tr> |
149 | ······</table> | 149 | ······</table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a000 | 154 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 159 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
160 | </small></address> | 160 | </small></address> |
161 | </body> | 161 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Signature,·LocalContext·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Signature,·LocalContext·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
76 | ·<a·href="a01163.html#details">More...</a></p> | 76 | ·<a·href="a01163.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::Concept::LocalFunction<·Range(Domain),·LocalContext·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01162.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01162.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Concept·for·a·local·function·mapping·Domain·to·Range."·alt=""·coords="11,109,186,165"/> | 83 | <area·shape="rect"·title="Concept·for·a·local·function·mapping·Domain·to·Range."·alt=""·coords="11,109,186,165"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,192,61"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,192,61"/> |
Offset 124, 15 lines modified | Offset 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="a000 | 130 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 135 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
136 | </small></address> | 136 | </small></address> |
137 | </body> | 137 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Signature,·LocalContext,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Signature,·LocalContext,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·local·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
76 | ·<a·href="a01171.html#details">More...</a></p> | 76 | ·<a·href="a01171.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableLocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01170.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01170.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Concept·for·a·differentiable·local·function·mapping·Domain·to·Range."·alt=""·coords="337,13,549,83"/> | 83 | <area·shape="rect"·title="Concept·for·a·differentiable·local·function·mapping·Domain·to·Range."·alt=""·coords="337,13,549,83"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,289,91"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,289,91"/> |
Offset 126, 15 lines modified | Offset 126, 15 lines modified | ||
126 | ········</tr> | 126 | ········</tr> |
127 | ······</table> | 127 | ······</table> |
128 | </div><div·class="memdoc"> | 128 | </div><div·class="memdoc"> |
129 | </div> | 129 | </div> |
130 | </div> | 130 | </div> |
131 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 131 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
132 | <li><a·class="el"·href="a000 | 132 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 137 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
138 | </small></address> | 138 | </small></address> |
139 | </body> | 139 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::EntitySet·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::EntitySet·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·an·entity·set·for·a·Concept::GridFunction<Range(Domain),·EntitySet,·DerivativeTraits>·· |
76 | ·<a·href="a01175.html#details">More...</a></p> | 76 | ·<a·href="a01175.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> | 81 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplParams"·colspan="2">template<class·E·>·</td></tr> |
82 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01175.html#a68f40d08a99de681cf30949d76461d8a">require</a>·(E·&&f)·->·decltype(requireType<·typename·E::Element·>(),·requireType<·typename·E::LocalCoordinate·>(),·requireType<·typename·E::GlobalCoordinate·>())</td></tr> | 82 | <tr·class="memitem:a68f40d08a99de681cf30949d76461d8a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01175.html#a68f40d08a99de681cf30949d76461d8a">require</a>·(E·&&f)·->·decltype(requireType<·typename·E::Element·>(),·requireType<·typename·E::LocalCoordinate·>(),·requireType<·typename·E::GlobalCoordinate·>())</td></tr> |
83 | <tr·class="separator:a68f40d08a99de681cf30949d76461d8a"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a68f40d08a99de681cf30949d76461d8a"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
Offset 105, 15 lines modified | Offset 105, 15 lines modified | ||
105 | ········</tr> | 105 | ········</tr> |
106 | ······</table> | 106 | ······</table> |
107 | </div><div·class="memdoc"> | 107 | </div><div·class="memdoc"> |
108 | </div> | 108 | </div> |
109 | </div> | 109 | </div> |
110 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 110 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
111 | <li><a·class="el"·href="a000 | 111 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
112 | </ul> | 112 | </ul> |
113 | </div><!--·contents·--> | 113 | </div><!--·contents·--> |
114 | <!--·start·footer·part·--> | 114 | <!--·start·footer·part·--> |
115 | <hr·class="footer"/><address·class="footer"><small> | 115 | <hr·class="footer"/><address·class="footer"><small> |
116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 116 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
117 | </small></address> | 117 | </small></address> |
118 | </body> | 118 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Signature,·EntitySet·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Signature,·EntitySet·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 76 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
77 | ·<a·href="a01183.html#details">More...</a></p> | 77 | ·<a·href="a01183.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a000 | 78 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::Concept::GridFunction<·Range(Domain),·EntitySet·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01182.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01182.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_function_3_01_range_07_domain_08_00_01_entity_set_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Concept·for·a·grid·function·mapping·Domain·to·Range."·alt=""·coords="5,109,212,165"/> | 84 | <area·shape="rect"·title="Concept·for·a·grid·function·mapping·Domain·to·Range."·alt=""·coords="5,109,212,165"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="15,5,202,61"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="15,5,202,61"/> |
Offset 165, 15 lines modified | Offset 165, 15 lines modified | ||
165 | ········</tr> | 165 | ········</tr> |
166 | ······</table> | 166 | ······</table> |
167 | </div><div·class="memdoc"> | 167 | </div><div·class="memdoc"> |
168 | </div> | 168 | </div> |
169 | </div> | 169 | </div> |
170 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 170 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
171 | <li><a·class="el"·href="a000 | 171 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
172 | </ul> | 172 | </ul> |
173 | </div><!--·contents·--> | 173 | </div><!--·contents·--> |
174 | <!--·start·footer·part·--> | 174 | <!--·start·footer·part·--> |
175 | <hr·class="footer"/><address·class="footer"><small> | 175 | <hr·class="footer"/><address·class="footer"><small> |
176 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 176 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
177 | </small></address> | 177 | </small></address> |
178 | </body> | 178 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Signature,·EntitySet,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Signature,·EntitySet,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 76 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
77 | ·<a·href="a01191.html#details">More...</a></p> | 77 | ·<a·href="a01191.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a000 | 78 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridFunction<·Range(Domain),·EntitySet,·DerivativeTraits·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01190.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01190.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_function_3_01_range_07_domain_08_00_01_entity_set_00_01_derivative_traits_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range."·alt=""·coords="331,13,520,83"/> | 84 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·function·mapping·Domain·to·Range."·alt=""·coords="331,13,520,83"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="5,5,283,91"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="5,5,283,91"/> |
Offset 188, 15 lines modified | Offset 188, 15 lines modified | ||
188 | ········</tr> | 188 | ········</tr> |
189 | ······</table> | 189 | ······</table> |
190 | </div><div·class="memdoc"> | 190 | </div><div·class="memdoc"> |
191 | </div> | 191 | </div> |
192 | </div> | 192 | </div> |
193 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 193 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
194 | <li><a·class="el"·href="a000 | 194 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
195 | </ul> | 195 | </ul> |
196 | </div><!--·contents·--> | 196 | </div><!--·contents·--> |
197 | <!--·start·footer·part·--> | 197 | <!--·start·footer·part·--> |
198 | <hr·class="footer"/><address·class="footer"><small> | 198 | <hr·class="footer"/><address·class="footer"><small> |
199 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 199 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
200 | </small></address> | 200 | </small></address> |
201 | </body> | 201 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Signature,·GridView·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Signature,·GridView·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
76 | ·<a·href="a01199.html#details">More...</a></p> | 76 | ·<a·href="a01199.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::Concept::GridViewFunction<·Range(Domain),·GridView·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01198.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01198.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Concept·for·a·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="272,13,455,69"/> | 83 | <area·shape="rect"·title="Concept·for·a·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="272,13,455,69"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,224,76"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,224,76"/> |
Offset 125, 15 lines modified | Offset 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="a000 | 131 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 136 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
137 | </small></address> | 137 | </small></address> |
138 | </body> | 138 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Signature,·GridView,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Signature,·GridView,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00005_source.html">functionconcepts.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00207.html">Function·concepts</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· | 75 | <p><a·class="el"·href="a00220.html">Concept</a>·for·a·differentiable·grid·view·function·mapping·<code>Domain</code>·to·<code>Range</code>.·· |
76 | ·<a·href="a01207.html#details">More...</a></p> | 76 | ·<a·href="a01207.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00005_source.html">dune/functions/common/functionconcepts.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::Concept::DifferentiableGridViewFunction<·Range(Domain),·GridView,·DerivativeTraits·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01206.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01206.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_concept_1_1_differentiable_grid_view_function_3_01_range_07_domain_08_00_01_grid_view_00_01_derivative_traits_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="292,13,585,69"/> | 83 | <area·shape="rect"·title="Concept·for·a·differentiable·grid·view·function·mapping·Domain·to·Range."·alt=""·coords="292,13,585,69"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,244,76"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="5,5,244,76"/> |
Offset 126, 15 lines modified | Offset 126, 15 lines modified | ||
126 | ········</tr> | 126 | ········</tr> |
127 | ······</table> | 127 | ······</table> |
128 | </div><div·class="memdoc"> | 128 | </div><div·class="memdoc"> |
129 | </div> | 129 | </div> |
130 | </div> | 130 | </div> |
131 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 131 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
132 | <li><a·class="el"·href="a000 | 132 | <li><a·class="el"·href="a00005_source.html">functionconcepts.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 137 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
138 | </small></address> | 138 | </small></address> |
139 | </body> | 139 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FunctionFromCallable<·Signature,·F,·FunctionInterface·>·Class·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FunctionFromCallable<·Signature,·F,·FunctionInterface·>·Class·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00059_source.html">functionfromcallable.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction.·· | 75 | <p>Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction.·· |
76 | ·<a·href="a01215.html#details">More...</a></p> | 76 | ·<a·href="a01215.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00059_source.html">dune/functions/common/functionfromcallable.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::FunctionFromCallable<·Range(Domain),·F,·FunctionInterface·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01214.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_function_from_callable_3_01_range_07_domain_08_00_01_f_00_01_function_interface_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01214.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_function_from_callable_3_01_range_07_domain_08_00_01_f_00_01_function_interface_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_function_from_callable_3_01_range_07_domain_08_00_01_f_00_01_function_interface_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_function_from_callable_3_01_range_07_domain_08_00_01_f_00_01_function_interface_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_function_from_callable_3_01_range_07_domain_08_00_01_f_00_01_function_interface_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_function_from_callable_3_01_range_07_domain_08_00_01_f_00_01_function_interface_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction."·alt=""·coords="5,80,205,136"/> | 83 | <area·shape="rect"·title="Wrap·a·callable·object·as·Dune::Function·or·Dune::VirtualFunction."·alt=""·coords="5,80,205,136"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="43,5,167,32"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="43,5,167,32"/> |
Offset 226, 15 lines modified | Offset 226, 15 lines modified | ||
226 | <p>Evaluate·function.·</p> | 226 | <p>Evaluate·function.·</p> |
227 | <p·>This·call·is·passed·to·the·function·</p> | 227 | <p·>This·call·is·passed·to·the·function·</p> |
228 | </div> | 228 | </div> |
229 | </div> | 229 | </div> |
230 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 230 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
231 | <li><a·class="el"·href="a000 | 231 | <li><a·class="el"·href="a00059_source.html">functionfromcallable.hh</a></li> |
232 | </ul> | 232 | </ul> |
233 | </div><!--·contents·--> | 233 | </div><!--·contents·--> |
234 | <!--·start·footer·part·--> | 234 | <!--·start·footer·part·--> |
235 | <hr·class="footer"/><address·class="footer"><small> | 235 | <hr·class="footer"/><address·class="footer"><small> |
236 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 236 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
237 | </small></address> | 237 | </small></address> |
238 | </body> | 238 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicType<·Interface·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicType<·Interface·>·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Base·class·with·polymorphic·type·boiler·plate·code.·· | 75 | <p>Base·class·with·polymorphic·type·boiler·plate·code.·· |
76 | ·<a·href="a01239.html#details">More...</a></p> | 76 | ·<a·href="a01239.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00053_source.html">dune/functions/common/interfaces.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::PolymorphicType<·Interface·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::PolymorphicType<·Interface·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01238.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01238.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_type_3_01_interface_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Base·class·with·polymorphic·type·boiler·plate·code."·alt=""·coords="5,175,204,217"/> | 83 | <area·shape="rect"·title="Base·class·with·polymorphic·type·boiler·plate·code."·alt=""·coords="5,175,204,217"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="740,112,975,197"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="740,112,975,197"/> |
Offset 234, 15 lines modified | Offset 234, 15 lines modified | ||
234 | <p>Move·object·into·buffer.·</p> | 234 | <p>Move·object·into·buffer.·</p> |
235 | <p·>move(buffer)·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·This·will·return·a·copy·of·<em>this·created·in·the·given·buffer·using·placement-new·with·move·construction.·You·must·not·delete·the·returned·pointer·since·it·points·to·the·given·buffer·(however·with·the·proper·type·instead·of·void</em>).·</p> | 235 | <p·>move(buffer)·needs·to·be·redefined·by·an·implementation·class,·with·the·return·type·covariantly·adapted.·This·will·return·a·copy·of·<em>this·created·in·the·given·buffer·using·placement-new·with·move·construction.·You·must·not·delete·the·returned·pointer·since·it·points·to·the·given·buffer·(however·with·the·proper·type·instead·of·void</em>).·</p> |
236 | </div> | 236 | </div> |
237 | </div> | 237 | </div> |
238 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 238 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
239 | <li><a·class="el"·href="a000 | 239 | <li><a·class="el"·href="a00053_source.html">interfaces.hh</a></li> |
240 | </ul> | 240 | </ul> |
241 | </div><!--·contents·--> | 241 | </div><!--·contents·--> |
242 | <!--·start·footer·part·--> | 242 | <!--·start·footer·part·--> |
243 | <hr·class="footer"/><address·class="footer"><small> | 243 | <hr·class="footer"/><address·class="footer"><small> |
244 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 244 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
245 | </small></address> | 245 | </small></address> |
246 | </body> | 246 | </body> |
Offset 66, 17 lines modified | Offset 66, 17 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Signature,·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Signature,·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p><code>#include·<<a·class="el"·href="a000 | 72 | <p><code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/common/localfunction.hh</a>></code></p> |
73 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 73 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
74 | <li><a·class="el"·href="a000 | 74 | <li><a·class="el"·href="a00002_source.html">localfunction.hh</a></li> |
75 | </ul> | 75 | </ul> |
76 | </div><!--·contents·--> | 76 | </div><!--·contents·--> |
77 | <!--·start·footer·part·--> | 77 | <!--·start·footer·part·--> |
78 | <hr·class="footer"/><address·class="footer"><small> | 78 | <hr·class="footer"/><address·class="footer"><small> |
79 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 79 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
80 | </small></address> | 80 | </small></address> |
81 | </body> | 81 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>Class·storing·local·functions·using·type·erasure.·· | 76 | <p>Class·storing·local·functions·using·type·erasure.·· |
77 | ·<a·href="a01251.html#details">More...</a></p> | 77 | ·<a·href="a01251.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a000 | 78 | <p><code>#include·<<a·class="el"·href="a00002_source.html">dune/functions/common/localfunction.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::LocalFunction<·Range(Domain),·LocalContext,·DerivativeTraits,·bufferSize·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01250.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01250.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_local_function_3_01_range_07_domain_08_00_01_local_context_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Class·storing·local·functions·using·type·erasure."·alt=""·coords="917,65,1129,121"/> | 84 | <area·shape="rect"·title="Class·storing·local·functions·using·type·erasure."·alt=""·coords="917,65,1129,121"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="559,36,868,151"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="559,36,868,151"/> |
Offset 352, 15 lines modified | Offset 352, 15 lines modified | ||
352 | </div><div·class="memdoc"> | 352 | </div><div·class="memdoc"> |
353 | <p>Unbind·from·local·context.·</p> | 353 | <p>Unbind·from·local·context.·</p> |
354 | </div> | 354 | </div> |
355 | </div> | 355 | </div> |
356 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 356 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
357 | <li><a·class="el"·href="a000 | 357 | <li><a·class="el"·href="a00002_source.html">localfunction.hh</a></li> |
358 | </ul> | 358 | </ul> |
359 | </div><!--·contents·--> | 359 | </div><!--·contents·--> |
360 | <!--·start·footer·part·--> | 360 | <!--·start·footer·part·--> |
361 | <hr·class="footer"/><address·class="footer"><small> | 361 | <hr·class="footer"/><address·class="footer"><small> |
362 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 362 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
363 | </small></address> | 363 | </small></address> |
364 | </body> | 364 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·n·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·n·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>A·statically·sized·MultiIndex·type.·· | 77 | <p>A·statically·sized·MultiIndex·type.·· |
78 | ·<a·href="a01263.html#details">More...</a></p> | 78 | ·<a·href="a01263.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a0005 | 79 | <p><code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/multiindex.hh</a>></code></p> |
80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
81 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·n·>:</div> | 81 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·n·>:</div> |
82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
83 | <div·class="center"><img·src="a01262.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01262.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
84 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"> | 84 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_inherit__map"> |
85 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,80,193,121"/> | 85 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,80,193,121"/> |
86 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,32"/> | 86 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,32"/> |
Offset 188, 15 lines modified | Offset 188, 15 lines modified | ||
188 | </div><div·class="memdoc"> | 188 | </div><div·class="memdoc"> |
189 | <p>STL·member.·</p> | 189 | <p>STL·member.·</p> |
190 | </div> | 190 | </div> |
191 | </div> | 191 | </div> |
192 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 192 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
193 | <li><a·class="el"·href="a0005 | 193 | <li><a·class="el"·href="a00056_source.html">multiindex.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 198 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
199 | </small></address> | 199 | </small></address> |
200 | </body> | 200 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·1·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticMultiIndex<·size_type,·1·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>A·statically·sized·MultiIndex·type.·· | 78 | <p>A·statically·sized·MultiIndex·type.·· |
79 | ·<a·href="a01267.html#details">More...</a></p> | 79 | ·<a·href="a01267.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a0005 | 80 | <p><code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/multiindex.hh</a>></code></p> |
81 | <div·class="dynheader"> | 81 | <div·class="dynheader"> |
82 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·1·>:</div> | 82 | Inheritance·diagram·for·Dune::Functions::StaticMultiIndex<·size_type,·1·>:</div> |
83 | <div·class="dyncontent"> | 83 | <div·class="dyncontent"> |
84 | <div·class="center"><img·src="a01266.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 84 | <div·class="center"><img·src="a01266.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
85 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"> | 85 | <map·name="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_011_01_4_inherit__map"> |
86 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,80,193,121"/> | 86 | <area·shape="rect"·title="A·statically·sized·MultiIndex·type."·alt=""·coords="5,80,193,121"/> |
87 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,32"/> | 87 | <area·shape="rect"·title="·"·alt=""·coords="45,5,154,32"/> |
Offset 251, 15 lines modified | Offset 251, 15 lines modified | ||
251 | </div><div·class="memdoc"> | 251 | </div><div·class="memdoc"> |
252 | <p>STL·member.·</p> | 252 | <p>STL·member.·</p> |
253 | </div> | 253 | </div> |
254 | </div> | 254 | </div> |
255 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 255 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
256 | <li><a·class="el"·href="a0005 | 256 | <li><a·class="el"·href="a00056_source.html">multiindex.hh</a></li> |
257 | </ul> | 257 | </ul> |
258 | </div><!--·contents·--> | 258 | </div><!--·contents·--> |
259 | <!--·start·footer·part·--> | 259 | <!--·start·footer·part·--> |
260 | <hr·class="footer"/><address·class="footer"><small> | 260 | <hr·class="footer"/><address·class="footer"><small> |
261 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 261 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
262 | </small></address> | 262 | </small></address> |
263 | </body> | 263 | </body> |
Offset 66, 26 lines modified | Offset 66, 26 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p><code>#include·<<a·class="el"·href="a0005 | 72 | <p><code>#include·<<a·class="el"·href="a00056_source.html">dune/functions/common/multiindex.hh</a>></code></p> |
73 | <div·class="dynheader"> | 73 | <div·class="dynheader"> |
74 | Inheritance·diagram·for·std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>:</div> | 74 | Inheritance·diagram·for·std::tuple_size<·Dune::Functions::StaticMultiIndex<·size_type,·n·>·>:</div> |
75 | <div·class="dyncontent"> | 75 | <div·class="dyncontent"> |
76 | <div·class="center"><img·src="a01270.png"·border="0"·usemap="#astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 76 | <div·class="center"><img·src="a01270.png"·border="0"·usemap="#astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
77 | <map·name="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·id="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"> | 77 | <map·name="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"·id="astd_1_1tuple__size_3_01_dune_1_1_functions_1_1_static_multi_index_3_01size__type_00_01n_01_4_01_4_inherit__map"> |
78 | <area·shape="rect"·title="·"·alt=""·coords="5,95,195,151"/> | 78 | <area·shape="rect"·title="·"·alt=""·coords="5,95,195,151"/> |
79 | <area·shape="rect"·title="·"·alt=""·coords="27,5,173,47"/> | 79 | <area·shape="rect"·title="·"·alt=""·coords="27,5,173,47"/> |
80 | </map> | 80 | </map> |
81 | </div> | 81 | </div> |
82 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 82 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
83 | <li><a·class="el"·href="a0005 | 83 | <li><a·class="el"·href="a00056_source.html">multiindex.hh</a></li> |
84 | </ul> | 84 | </ul> |
85 | </div><!--·contents·--> | 85 | </div><!--·contents·--> |
86 | <!--·start·footer·part·--> | 86 | <!--·start·footer·part·--> |
87 | <hr·class="footer"/><address·class="footer"><small> | 87 | <hr·class="footer"/><address·class="footer"><small> |
88 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 88 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
89 | </small></address> | 89 | </small></address> |
90 | </body> | 90 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::OverflowArray<·BA,·maxSize·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::OverflowArray<·BA,·maxSize·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>A·dynamically·sized·array-like·class·with·overflow.·· | 78 | <p>A·dynamically·sized·array-like·class·with·overflow.·· |
79 | ·<a·href="a01275.html#details">More...</a></p> | 79 | ·<a·href="a01275.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a000 | 80 | <p><code>#include·<<a·class="el"·href="a00065_source.html">dune/functions/common/overflowarray.hh</a>></code></p> |
81 | <div·class="dynheader"> | 81 | <div·class="dynheader"> |
82 | Inheritance·diagram·for·Dune::Functions::OverflowArray<·BA,·maxSize·>:</div> | 82 | Inheritance·diagram·for·Dune::Functions::OverflowArray<·BA,·maxSize·>:</div> |
83 | <div·class="dyncontent"> | 83 | <div·class="dyncontent"> |
84 | <div·class="center"><img·src="a01274.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 84 | <div·class="center"><img·src="a01274.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
85 | <map·name="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"> | 85 | <map·name="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_overflow_array_3_01_b_a_00_01max_size_01_4_inherit__map"> |
86 | <area·shape="rect"·title="A·dynamically·sized·array-like·class·with·overflow."·alt=""·coords="5,80,183,121"/> | 86 | <area·shape="rect"·title="A·dynamically·sized·array-like·class·with·overflow."·alt=""·coords="5,80,183,121"/> |
87 | <area·shape="rect"·title="·"·alt=""·coords="74,5,114,32"/> | 87 | <area·shape="rect"·title="·"·alt=""·coords="74,5,114,32"/> |
Offset 1059, 15 lines modified | Offset 1059, 15 lines modified | ||
1059 | </div><div·class="memdoc"> | 1059 | </div><div·class="memdoc"> |
1060 | <p>Write·container·to·an·output·stream.·</p> | 1060 | <p>Write·container·to·an·output·stream.·</p> |
1061 | </div> | 1061 | </div> |
1062 | </div> | 1062 | </div> |
1063 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1063 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1064 | <li><a·class="el"·href="a000 | 1064 | <li><a·class="el"·href="a00065_source.html">overflowarray.hh</a></li> |
1065 | </ul> | 1065 | </ul> |
1066 | </div><!--·contents·--> | 1066 | </div><!--·contents·--> |
1067 | <!--·start·footer·part·--> | 1067 | <!--·start·footer·part·--> |
1068 | <hr·class="footer"/><address·class="footer"><small> | 1068 | <hr·class="footer"/><address·class="footer"><small> |
1069 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 1069 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
1070 | </small></address> | 1070 | </small></address> |
1071 | </body> | 1071 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a>·|·<a·class="el"·href="a00215.html">Utility</a>·»·<a·class="el"·href="a00216.html">Utilities·for·type-erasure</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a>·|·<a·class="el"·href="a00215.html">Utility</a>·»·<a·class="el"·href="a00216.html">Utilities·for·type-erasure</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>A·wrapper·providing·small·object·optimization·with·polymorphic·types.·· | 75 | <p>A·wrapper·providing·small·object·optimization·with·polymorphic·types.·· |
76 | ·<a·href="a01279.html#details">More...</a></p> | 76 | ·<a·href="a01279.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00062_source.html">dune/functions/common/polymorphicsmallobject.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::PolymorphicSmallObject<·Base,·bufferSize·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01278.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01278.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_polymorphic_small_object_3_01_base_00_01buffer_size_01_4_inherit__map"> |
83 | <area·shape="rect"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types."·alt=""·coords="5,218,217,259"/> | 83 | <area·shape="rect"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types."·alt=""·coords="5,218,217,259"/> |
84 | <area·shape="rect"·title="·"·alt=""·coords="506,32,793,117"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="506,32,793,117"/> |
Offset 479, 15 lines modified | Offset 479, 15 lines modified | ||
479 | </div><div·class="memdoc"> | 479 | </div><div·class="memdoc"> |
480 | <p>Move·assignment·from·other·<a·class="el"·href="a01279.html"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types.">PolymorphicSmallObject</a>.·</p> | 480 | <p>Move·assignment·from·other·<a·class="el"·href="a01279.html"·title="A·wrapper·providing·small·object·optimization·with·polymorphic·types.">PolymorphicSmallObject</a>.·</p> |
481 | </div> | 481 | </div> |
482 | </div> | 482 | </div> |
483 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 483 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
484 | <li><a·class="el"·href="a000 | 484 | <li><a·class="el"·href="a00062_source.html">polymorphicsmallobject.hh</a></li> |
485 | </ul> | 485 | </ul> |
486 | </div><!--·contents·--> | 486 | </div><!--·contents·--> |
487 | <!--·start·footer·part·--> | 487 | <!--·start·footer·part·--> |
488 | <hr·class="footer"/><address·class="footer"><small> | 488 | <hr·class="footer"/><address·class="footer"><small> |
489 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 489 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
490 | </small></address> | 490 | </small></address> |
491 | </body> | 491 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ReservedDeque<·T,·n·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ReservedDeque<·T,·n·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>A·double-ended·queue·(deque)·class·with·statically·reserved·memory.·· | 75 | <p>A·double-ended·queue·(deque)·class·with·statically·reserved·memory.·· |
76 | ·<a·href="a01283.html#details">More...</a></p> | 76 | ·<a·href="a01283.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00026_source.html">dune/functions/common/reserveddeque.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr> | 81 | <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr> |
82 | <tr·class="memitem:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memItemLeft"·align="right"·valign="top">typedef·T </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a></td></tr> | 82 | <tr·class="memitem:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memItemLeft"·align="right"·valign="top">typedef·T </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">value_type</a></td></tr> |
83 | <tr·class="memdesc:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<a·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="mdescLeft"> </td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<a·href="a01283.html#a1a11a57db6a51cd6ceebc8aba56e87d9">More...</a><br·/></td></tr> |
84 | <tr·class="separator:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a1a11a57db6a51cd6ceebc8aba56e87d9"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1025, 15 lines modified | Offset 1025, 15 lines modified | ||
1025 | </div><div·class="memdoc"> | 1025 | </div><div·class="memdoc"> |
1026 | <p>Send·<a·class="el"·href="a01283.html"·title="A·double-ended·queue·(deque)·class·with·statically·reserved·memory.">ReservedDeque</a>·to·an·output·stream.·</p> | 1026 | <p>Send·<a·class="el"·href="a01283.html"·title="A·double-ended·queue·(deque)·class·with·statically·reserved·memory.">ReservedDeque</a>·to·an·output·stream.·</p> |
1027 | </div> | 1027 | </div> |
1028 | </div> | 1028 | </div> |
1029 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1029 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1030 | <li><a·class="el"·href="a000 | 1030 | <li><a·class="el"·href="a00026_source.html">reserveddeque.hh</a></li> |
1031 | </ul> | 1031 | </ul> |
1032 | </div><!--·contents·--> | 1032 | </div><!--·contents·--> |
1033 | <!--·start·footer·part·--> | 1033 | <!--·start·footer·part·--> |
1034 | <hr·class="footer"/><address·class="footer"><small> | 1034 | <hr·class="footer"/><address·class="footer"><small> |
1035 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 1035 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
1036 | </small></address> | 1036 | </small></address> |
1037 | </body> | 1037 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <p>Helper·class·to·check·that·F·is·callable.·· | 72 | <p>Helper·class·to·check·that·F·is·callable.·· |
73 | ·<a·href="a01287.html#details">More...</a></p> | 73 | ·<a·href="a01287.html#details">More...</a></p> |
74 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 74 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
75 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·F><br·/> | 75 | <div·class="textblock"><div·class="compoundTemplParams">template<typename·F><br·/> |
76 | struct·Dune::Functions::IsCallable<·F·></div><p·>Helper·class·to·check·that·F·is·callable.·</p> | 76 | struct·Dune::Functions::IsCallable<·F·></div><p·>Helper·class·to·check·that·F·is·callable.·</p> |
77 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 77 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
78 | <li><a·class="el"·href="a000 | 78 | <li><a·class="el"·href="a00017_source.html">signature.hh</a></li> |
79 | </ul> | 79 | </ul> |
80 | </div><!--·contents·--> | 80 | </div><!--·contents·--> |
81 | <!--·start·footer·part·--> | 81 | <!--·start·footer·part·--> |
82 | <hr·class="footer"/><address·class="footer"><small> | 82 | <hr·class="footer"/><address·class="footer"><small> |
83 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 83 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
84 | </small></address> | 84 | </small></address> |
85 | </body> | 85 | </body> |
Offset 69, 20 lines modified | Offset 69, 20 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTraits<·Signature,·isCallable·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTraits<·Signature,·isCallable·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Helper·class·to·deduce·the·signature·of·a·callable.·· | 72 | <p>Helper·class·to·deduce·the·signature·of·a·callable.·· |
73 | ·<a·href="a01291.html#details">More...</a></p> | 73 | ·<a·href="a01291.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a000 | 74 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code></p> |
75 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 75 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
76 | <div·class="textblock"><div·class="compoundTemplParams">template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value><br·/> | 76 | <div·class="textblock"><div·class="compoundTemplParams">template<class·Signature,·bool·isCallable·=·IsCallable<Signature>::value><br·/> |
77 | struct·Dune::Functions::SignatureTraits<·Signature,·isCallable·></div><p·>Helper·class·to·deduce·the·signature·of·a·callable.·</p> | 77 | struct·Dune::Functions::SignatureTraits<·Signature,·isCallable·></div><p·>Helper·class·to·deduce·the·signature·of·a·callable.·</p> |
78 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 78 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
79 | <li><a·class="el"·href="a000 | 79 | <li><a·class="el"·href="a00017_source.html">signature.hh</a></li> |
80 | </ul> | 80 | </ul> |
81 | </div><!--·contents·--> | 81 | </div><!--·contents·--> |
82 | <!--·start·footer·part·--> | 82 | <!--·start·footer·part·--> |
83 | <hr·class="footer"/><address·class="footer"><small> | 83 | <hr·class="footer"/><address·class="footer"><small> |
84 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 84 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
85 | </small></address> | 85 | </small></address> |
86 | </body> | 86 | </body> |
Offset 66, 15 lines modified | Offset 66, 15 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Signature,·DerivativeTraits·>·Struct·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 72 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
73 | <li><a·class="el"·href="a000 | 73 | <li><a·class="el"·href="a00017_source.html">signature.hh</a></li> |
74 | </ul> | 74 | </ul> |
75 | </div><!--·contents·--> | 75 | </div><!--·contents·--> |
76 | <!--·start·footer·part·--> | 76 | <!--·start·footer·part·--> |
77 | <hr·class="footer"/><address·class="footer"><small> | 77 | <hr·class="footer"/><address·class="footer"><small> |
78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 78 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
79 | </small></address> | 79 | </small></address> |
80 | </body> | 80 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SignatureTag<·Range(Domain),·DerivativeTraitsT·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Tag-class·to·encapsulate·signature·information.·· | 75 | <p>Tag-class·to·encapsulate·signature·information.·· |
76 | ·<a·href="a01299.html#details">More...</a></p> | 76 | ·<a·href="a01299.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00017_source.html">dune/functions/common/signature.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01299.html#ab8b3a06d19393ab1c7ef395359aaa7ea">Signature</a>·=·Range(Domain)</td></tr> | 81 | <tr·class="memitem:ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01299.html#ab8b3a06d19393ab1c7ef395359aaa7ea">Signature</a>·=·Range(Domain)</td></tr> |
82 | <tr·class="separator:ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:ab8b3a06d19393ab1c7ef395359aaa7ea"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> | 83 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"><td·class="memTemplParams"·colspan="2">template<class·T·>·</td></tr> |
84 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01299.html#a24e64af41789cc4c921669e46676a05d">DerivativeTraits</a>·=·DerivativeTraitsT<·T·></td></tr> | 84 | <tr·class="memitem:a24e64af41789cc4c921669e46676a05d"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01299.html#a24e64af41789cc4c921669e46676a05d">DerivativeTraits</a>·=·DerivativeTraitsT<·T·></td></tr> |
Offset 129, 15 lines modified | Offset 129, 15 lines modified | ||
129 | ········</tr> | 129 | ········</tr> |
130 | ······</table> | 130 | ······</table> |
131 | </div><div·class="memdoc"> | 131 | </div><div·class="memdoc"> |
132 | </div> | 132 | </div> |
133 | </div> | 133 | </div> |
134 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 134 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
135 | <li><a·class="el"·href="a000 | 135 | <li><a·class="el"·href="a00017_source.html">signature.hh</a></li> |
136 | </ul> | 136 | </ul> |
137 | </div><!--·contents·--> | 137 | </div><!--·contents·--> |
138 | <!--·start·footer·part·--> | 138 | <!--·start·footer·part·--> |
139 | <hr·class="footer"/><address·class="footer"><small> | 139 | <hr·class="footer"/><address·class="footer"><small> |
140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 140 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
141 | </small></address> | 141 | </small></address> |
142 | </body> | 142 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::UniformNodeVisitor<·SimpleNodeVisitorImp,·leafOnly·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::UniformNodeVisitor<·SimpleNodeVisitorImp,·leafOnly·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes.·· | 75 | <p>Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes.·· |
76 | ·<a·href="a01311.html#details">More...</a></p> | 76 | ·<a·href="a01311.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a000 | 77 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/treedata.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::UniformNodeVisitor<·SimpleNodeVisitorImp,·leafOnly·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::UniformNodeVisitor<·SimpleNodeVisitorImp,·leafOnly·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01310.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_uniform_node_visitor_3_01_simple_node_visitor_imp_00_01leaf_only_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01310.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_uniform_node_visitor_3_01_simple_node_visitor_imp_00_01leaf_only_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_uniform_node_visitor_3_01_simple_node_visitor_imp_00_01leaf_only_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_uniform_node_visitor_3_01_simple_node_visitor_imp_00_01leaf_only_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_uniform_node_visitor_3_01_simple_node_visitor_imp_00_01leaf_only_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_uniform_node_visitor_3_01_simple_node_visitor_imp_00_01leaf_only_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes."·alt=""·coords="243,85,453,141"/> | 83 | <area·shape="rect"·title="Mixin·for·visitors·that·should·apply·the·same·action·on·all·nodes."·alt=""·coords="243,85,453,141"/> |
84 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="677,5,851,61"/> | 84 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="677,5,851,61"/> |
Offset 236, 15 lines modified | Offset 236, 15 lines modified | ||
236 | ··</tr> | 236 | ··</tr> |
237 | </table> | 237 | </table> |
238 | </div><div·class="memdoc"> | 238 | </div><div·class="memdoc"> |
239 | </div> | 239 | </div> |
240 | </div> | 240 | </div> |
241 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 241 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
242 | <li><a·class="el"·href="a000 | 242 | <li><a·class="el"·href="a00041_source.html">treedata.hh</a></li> |
243 | </ul> | 243 | </ul> |
244 | </div><!--·contents·--> | 244 | </div><!--·contents·--> |
245 | <!--·start·footer·part·--> | 245 | <!--·start·footer·part·--> |
246 | <hr·class="footer"/><address·class="footer"><small> | 246 | <hr·class="footer"/><address·class="footer"><small> |
247 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 247 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
248 | </small></address> | 248 | </small></address> |
249 | </body> | 249 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
78 | </div><!--header--> | 78 | </div><!--header--> |
79 | <div·class="contents"> | 79 | <div·class="contents"> |
80 | <p>Container·allowing·to·attach·data·to·each·node·of·a·tree.·· | 80 | <p>Container·allowing·to·attach·data·to·each·node·of·a·tree.·· |
81 | ·<a·href="a01315.html#details">More...</a></p> | 81 | ·<a·href="a01315.html#details">More...</a></p> |
82 | <p><code>#include·<<a·class="el"·href="a000 | 82 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/treedata.hh</a>></code></p> |
83 | <table·class="memberdecls"> | 83 | <table·class="memberdecls"> |
84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 84 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
85 | Classes</h2></td></tr> | 85 | Classes</h2></td></tr> |
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01327.html">CopyVisitor</a></td></tr> | 86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01327.html">CopyVisitor</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01323.html">DestroyVisitor</a></td></tr> | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01323.html">DestroyVisitor</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 564, 15 lines modified | Offset 564, 15 lines modified | ||
564 | ··</tr> | 564 | ··</tr> |
565 | </table> | 565 | </table> |
566 | </div><div·class="memdoc"> | 566 | </div><div·class="memdoc"> |
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="a000 | 570 | <li><a·class="el"·href="a00041_source.html">treedata.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 575 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
576 | </small></address> | 576 | </small></address> |
577 | </body> | 577 | </body> |
Offset 70, 15 lines modified | Offset 70, 15 lines modified | ||
70 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 70 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
71 | <a·href="#pub-attribs">Public·Attributes</a>·| | 71 | <a·href="#pub-attribs">Public·Attributes</a>·| |
72 | <a·href="a01316.html">List·of·all·members</a>··</div> | 72 | <a·href="a01316.html">List·of·all·members</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>::InitVisitor·Struct·Reference</div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>::InitVisitor·Struct·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><code>#include·<<a·class="el"·href="a000 | 76 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/treedata.hh</a>></code></p> |
77 | <div·class="dynheader"> | 77 | <div·class="dynheader"> |
78 | Inheritance·diagram·for·Dune::Functions::TreeData<·T,·ND,·LO·>::InitVisitor:</div> | 78 | Inheritance·diagram·for·Dune::Functions::TreeData<·T,·ND,·LO·>::InitVisitor:</div> |
79 | <div·class="dyncontent"> | 79 | <div·class="dyncontent"> |
80 | <div·class="center"><img·src="a01318.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_init_visitor_inherit__map"·alt="Inheritance·graph"/></div> | 80 | <div·class="center"><img·src="a01318.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_init_visitor_inherit__map"·alt="Inheritance·graph"/></div> |
81 | <map·name="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_init_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_init_visitor_inherit__map"> | 81 | <map·name="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_init_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_init_visitor_inherit__map"> |
82 | <area·shape="rect"·title="·"·alt=""·coords="863,33,1041,74"/> | 82 | <area·shape="rect"·title="·"·alt=""·coords="863,33,1041,74"/> |
83 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="641,25,813,81"/> | 83 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="641,25,813,81"/> |
Offset 299, 15 lines modified | Offset 299, 15 lines modified | ||
299 | ········</tr> | 299 | ········</tr> |
300 | ······</table> | 300 | ······</table> |
301 | </div><div·class="memdoc"> | 301 | </div><div·class="memdoc"> |
302 | </div> | 302 | </div> |
303 | </div> | 303 | </div> |
304 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 304 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
305 | <li><a·class="el"·href="a000 | 305 | <li><a·class="el"·href="a00041_source.html">treedata.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 310 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
311 | </small></address> | 311 | </small></address> |
312 | </body> | 312 | </body> |
Offset 70, 15 lines modified | Offset 70, 15 lines modified | ||
70 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 70 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
71 | <a·href="#pub-attribs">Public·Attributes</a>·| | 71 | <a·href="#pub-attribs">Public·Attributes</a>·| |
72 | <a·href="a01320.html">List·of·all·members</a>··</div> | 72 | <a·href="a01320.html">List·of·all·members</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>::DestroyVisitor·Struct·Reference</div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>::DestroyVisitor·Struct·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><code>#include·<<a·class="el"·href="a000 | 76 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/treedata.hh</a>></code></p> |
77 | <div·class="dynheader"> | 77 | <div·class="dynheader"> |
78 | Inheritance·diagram·for·Dune::Functions::TreeData<·T,·ND,·LO·>::DestroyVisitor:</div> | 78 | Inheritance·diagram·for·Dune::Functions::TreeData<·T,·ND,·LO·>::DestroyVisitor:</div> |
79 | <div·class="dyncontent"> | 79 | <div·class="dyncontent"> |
80 | <div·class="center"><img·src="a01322.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_destroy_visitor_inherit__map"·alt="Inheritance·graph"/></div> | 80 | <div·class="center"><img·src="a01322.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_destroy_visitor_inherit__map"·alt="Inheritance·graph"/></div> |
81 | <map·name="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_destroy_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_destroy_visitor_inherit__map"> | 81 | <map·name="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_destroy_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_destroy_visitor_inherit__map"> |
82 | <area·shape="rect"·title="·"·alt=""·coords="908,33,1105,74"/> | 82 | <area·shape="rect"·title="·"·alt=""·coords="908,33,1105,74"/> |
83 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="669,25,859,81"/> | 83 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="669,25,859,81"/> |
Offset 299, 15 lines modified | Offset 299, 15 lines modified | ||
299 | ········</tr> | 299 | ········</tr> |
300 | ······</table> | 300 | ······</table> |
301 | </div><div·class="memdoc"> | 301 | </div><div·class="memdoc"> |
302 | </div> | 302 | </div> |
303 | </div> | 303 | </div> |
304 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 304 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
305 | <li><a·class="el"·href="a000 | 305 | <li><a·class="el"·href="a00041_source.html">treedata.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 310 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
311 | </small></address> | 311 | </small></address> |
312 | </body> | 312 | </body> |
Offset 70, 15 lines modified | Offset 70, 15 lines modified | ||
70 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 70 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
71 | <a·href="#pub-attribs">Public·Attributes</a>·| | 71 | <a·href="#pub-attribs">Public·Attributes</a>·| |
72 | <a·href="a01324.html">List·of·all·members</a>··</div> | 72 | <a·href="a01324.html">List·of·all·members</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>::CopyVisitor·Struct·Reference</div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TreeData<·T,·ND,·LO·>::CopyVisitor·Struct·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><code>#include·<<a·class="el"·href="a000 | 76 | <p><code>#include·<<a·class="el"·href="a00041_source.html">dune/functions/common/treedata.hh</a>></code></p> |
77 | <div·class="dynheader"> | 77 | <div·class="dynheader"> |
78 | Inheritance·diagram·for·Dune::Functions::TreeData<·T,·ND,·LO·>::CopyVisitor:</div> | 78 | Inheritance·diagram·for·Dune::Functions::TreeData<·T,·ND,·LO·>::CopyVisitor:</div> |
79 | <div·class="dyncontent"> | 79 | <div·class="dyncontent"> |
80 | <div·class="center"><img·src="a01326.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_copy_visitor_inherit__map"·alt="Inheritance·graph"/></div> | 80 | <div·class="center"><img·src="a01326.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_copy_visitor_inherit__map"·alt="Inheritance·graph"/></div> |
81 | <map·name="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_copy_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_copy_visitor_inherit__map"> | 81 | <map·name="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_copy_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_tree_data_3_01_t_00_01_n_d_00_01_l_o_01_4_1_1_copy_visitor_inherit__map"> |
82 | <area·shape="rect"·title="·"·alt=""·coords="879,33,1061,74"/> | 82 | <area·shape="rect"·title="·"·alt=""·coords="879,33,1061,74"/> |
83 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="655,25,829,81"/> | 83 | <area·shape="rect"·href="a01311.html"·title="·"·alt=""·coords="655,25,829,81"/> |
Offset 327, 15 lines modified | Offset 327, 15 lines modified | ||
327 | ········</tr> | 327 | ········</tr> |
328 | ······</table> | 328 | ······</table> |
329 | </div><div·class="memdoc"> | 329 | </div><div·class="memdoc"> |
330 | </div> | 330 | </div> |
331 | </div> | 331 | </div> |
332 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 332 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
333 | <li><a·class="el"·href="a000 | 333 | <li><a·class="el"·href="a00041_source.html">treedata.hh</a></li> |
334 | </ul> | 334 | </ul> |
335 | </div><!--·contents·--> | 335 | </div><!--·contents·--> |
336 | <!--·start·footer·part·--> | 336 | <!--·start·footer·part·--> |
337 | <hr·class="footer"/><address·class="footer"><small> | 337 | <hr·class="footer"/><address·class="footer"><small> |
338 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 338 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
339 | </small></address> | 339 | </small></address> |
340 | </body> | 340 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HasStaticSize<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HasStaticSize<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Check·if·type·is·a·statically·sized·container.·· | 72 | <p>Check·if·type·is·a·statically·sized·container.·· |
73 | ·<a·href="a01331.html#details">More...</a></p> | 73 | ·<a·href="a01331.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a000 | 74 | <p><code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::HasStaticSize<·T·>:</div> | 76 | Inheritance·diagram·for·Dune::Functions::HasStaticSize<·T·>:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01330.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_has_static_size_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01330.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_has_static_size_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_has_static_size_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_has_static_size_3_01_t_01_4_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_has_static_size_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_has_static_size_3_01_t_01_4_inherit__map"> |
80 | <area·shape="rect"·title="Check·if·type·is·a·statically·sized·container."·alt=""·coords="135,95,319,136"/> | 80 | <area·shape="rect"·title="Check·if·type·is·a·statically·sized·container."·alt=""·coords="135,95,319,136"/> |
81 | <area·shape="rect"·title="·"·alt=""·coords="5,5,244,47"/> | 81 | <area·shape="rect"·title="·"·alt=""·coords="5,5,244,47"/> |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | </map> | 85 | </map> |
86 | </div> | 86 | </div> |
87 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 87 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
88 | <div·class="textblock"><div·class="compoundTemplParams">template<class·T><br·/> | 88 | <div·class="textblock"><div·class="compoundTemplParams">template<class·T><br·/> |
89 | struct·Dune::Functions::HasStaticSize<·T·></div><p·>Check·if·type·is·a·statically·sized·container.·</p> | 89 | struct·Dune::Functions::HasStaticSize<·T·></div><p·>Check·if·type·is·a·statically·sized·container.·</p> |
90 | <p·>Derives·from·std::true_type·or·std::false_type·</p> | 90 | <p·>Derives·from·std::true_type·or·std::false_type·</p> |
91 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 91 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
92 | <li><a·class="el"·href="a000 | 92 | <li><a·class="el"·href="a00044_source.html">type_traits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
98 | </small></address> | 98 | </small></address> |
99 | </body> | 99 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticSize<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::StaticSize<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Obtain·size·of·statically·sized·container.·· | 72 | <p>Obtain·size·of·statically·sized·container.·· |
73 | ·<a·href="a01335.html#details">More...</a></p> | 73 | ·<a·href="a01335.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a000 | 74 | <p><code>#include·<<a·class="el"·href="a00044_source.html">dune/functions/common/type_traits.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::StaticSize<·T·>:</div> | 76 | Inheritance·diagram·for·Dune::Functions::StaticSize<·T·>:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01334.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_size_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01334.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_static_size_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_static_size_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_size_3_01_t_01_4_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_static_size_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_static_size_3_01_t_01_4_inherit__map"> |
80 | <area·shape="rect"·title="Obtain·size·of·statically·sized·container."·alt=""·coords="100,95,317,121"/> | 80 | <area·shape="rect"·title="Obtain·size·of·statically·sized·container."·alt=""·coords="100,95,317,121"/> |
81 | <area·shape="rect"·title="·"·alt=""·coords="5,5,220,47"/> | 81 | <area·shape="rect"·title="·"·alt=""·coords="5,5,220,47"/> |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | </map> | 85 | </map> |
86 | </div> | 86 | </div> |
87 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 87 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
88 | <div·class="textblock"><div·class="compoundTemplParams">template<class·T><br·/> | 88 | <div·class="textblock"><div·class="compoundTemplParams">template<class·T><br·/> |
89 | struct·Dune::Functions::StaticSize<·T·></div><p·>Obtain·size·of·statically·sized·container.·</p> | 89 | struct·Dune::Functions::StaticSize<·T·></div><p·>Obtain·size·of·statically·sized·container.·</p> |
90 | <p·>Derives·from·std::integral_constant<std::size_t,·size>·</p> | 90 | <p·>Derives·from·std::integral_constant<std::size_t,·size>·</p> |
91 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 91 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
92 | <li><a·class="el"·href="a000 | 92 | <li><a·class="el"·href="a00044_source.html">type_traits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
98 | </small></address> | 98 | </small></address> |
99 | </body> | 99 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a>·»·<a·class="el"·href="a00216.html">Utilities·for·type-erasure</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a>·»·<a·class="el"·href="a00216.html">Utilities·for·type-erasure</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>Base·class·for·type-erased·interface·wrapper.·· | 76 | <p>Base·class·for·type-erased·interface·wrapper.·· |
77 | ·<a·href="a01351.html#details">More...</a></p> | 77 | ·<a·href="a01351.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a000 | 78 | <p><code>#include·<<a·class="el"·href="a00029_source.html">dune/functions/common/typeerasure.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::TypeErasureBase<·Interface,·Implementation,·bufferSize·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01350.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01350.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_type_erasure_base_3_01_interface_00_01_implementation_00_01buffer_size_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Base·class·for·type-erased·interface·wrapper."·alt=""·coords="5,199,223,255"/> | 84 | <area·shape="rect"·title="Base·class·for·type-erased·interface·wrapper."·alt=""·coords="5,199,223,255"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="559,53,877,153"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="559,53,877,153"/> |
Offset 293, 15 lines modified | Offset 293, 15 lines modified | ||
293 | ··</tr> | 293 | ··</tr> |
294 | </table> | 294 | </table> |
295 | </div><div·class="memdoc"> | 295 | </div><div·class="memdoc"> |
296 | </div> | 296 | </div> |
297 | </div> | 297 | </div> |
298 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 298 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
299 | <li><a·class="el"·href="a000 | 299 | <li><a·class="el"·href="a00029_source.html">typeerasure.hh</a></li> |
300 | </ul> | 300 | </ul> |
301 | </div><!--·contents·--> | 301 | </div><!--·contents·--> |
302 | <!--·start·footer·part·--> | 302 | <!--·start·footer·part·--> |
303 | <hr·class="footer"/><address·class="footer"><small> | 303 | <hr·class="footer"/><address·class="footer"><small> |
304 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 304 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
305 | </small></address> | 305 | </small></address> |
306 | </body> | 306 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LastType<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LastType<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Get·last·entry·of·type·list.·· | 75 | <p>Get·last·entry·of·type·list.·· |
76 | ·<a·href="a01383.html#details">More...</a></p> | 76 | ·<a·href="a01383.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a0004 | 77 | <p><code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:a45225c5413aac4fc372bc39124b6e4c5"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01383.html#a45225c5413aac4fc372bc39124b6e4c5">type</a>·=·typename·std::tuple_element<·sizeof...(T)·-1,·std::tuple<·T...·>·>::type</td></tr> | 81 | <tr·class="memitem:a45225c5413aac4fc372bc39124b6e4c5"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01383.html#a45225c5413aac4fc372bc39124b6e4c5">type</a>·=·typename·std::tuple_element<·sizeof...(T)·-1,·std::tuple<·T...·>·>::type</td></tr> |
82 | <tr·class="separator:a45225c5413aac4fc372bc39124b6e4c5"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:a45225c5413aac4fc372bc39124b6e4c5"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | </table> | 83 | </table> |
84 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 84 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
Offset 100, 15 lines modified | Offset 100, 15 lines modified | ||
100 | ········</tr> | 100 | ········</tr> |
101 | ······</table> | 101 | ······</table> |
102 | </div><div·class="memdoc"> | 102 | </div><div·class="memdoc"> |
103 | </div> | 103 | </div> |
104 | </div> | 104 | </div> |
105 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 105 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
106 | <li><a·class="el"·href="a0004 | 106 | <li><a·class="el"·href="a00047_source.html">utility.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 111 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
112 | </small></address> | 112 | </small></address> |
113 | </body> | 113 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RotateTuple<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RotateTuple<·T·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00215.html">Utility</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first·position.·· | 75 | <p>Rotate·type·list·by·one,·such·that·last·entry·is·moved·to·first·position.·· |
76 | ·<a·href="a01395.html#details">More...</a></p> | 76 | ·<a·href="a01395.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a0004 | 77 | <p><code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html#ad2aec0a7681d5138bc8738f98cb86c1f">type</a>·=·typename·Imp::RotateHelper<·std::tuple<·T...·>,·std::make_index_sequence<·sizeof...(T)·-1·>·>::type</td></tr> | 81 | <tr·class="memitem:ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01395.html#ad2aec0a7681d5138bc8738f98cb86c1f">type</a>·=·typename·Imp::RotateHelper<·std::tuple<·T...·>,·std::make_index_sequence<·sizeof...(T)·-1·>·>::type</td></tr> |
82 | <tr·class="separator:ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:ad2aec0a7681d5138bc8738f98cb86c1f"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | </table> | 83 | </table> |
84 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 84 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
Offset 101, 15 lines modified | Offset 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="a0004 | 107 | <li><a·class="el"·href="a00047_source.html">utility.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
113 | </small></address> | 113 | </small></address> |
114 | </body> | 114 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 70 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
71 | <a·href="a01408.html">List·of·all·members</a>··</div> | 71 | <a·href="a01408.html">List·of·all·members</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::IndexMergingStrategy·Struct·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Concept::IndexMergingStrategy·Struct·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><code>#include·<<a·class="el"·href="a00 | 75 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
76 | <table·class="memberdecls"> | 76 | <table·class="memberdecls"> |
77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
78 | Public·Member·Functions</h2></td></tr> | 78 | Public·Member·Functions</h2></td></tr> |
79 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> | 79 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplParams"·colspan="2">template<typename·T·>·</td></tr> |
80 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01411.html#a8552823d8c75d18bca5f41f36cd7b2dd">require</a>·(T·&&t)·->·decltype(registerIndexMergingStrategy(t))</td></tr> | 80 | <tr·class="memitem:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01411.html#a8552823d8c75d18bca5f41f36cd7b2dd">require</a>·(T·&&t)·->·decltype(registerIndexMergingStrategy(t))</td></tr> |
81 | <tr·class="separator:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memSeparator"·colspan="2"> </td></tr> | 81 | <tr·class="separator:a8552823d8c75d18bca5f41f36cd7b2dd"><td·class="memSeparator"·colspan="2"> </td></tr> |
82 | </table> | 82 | </table> |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ········</tr> | 99 | ········</tr> |
100 | ······</table> | 100 | ······</table> |
101 | </div><div·class="memdoc"> | 101 | </div><div·class="memdoc"> |
102 | </div> | 102 | </div> |
103 | </div> | 103 | </div> |
104 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 104 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
105 | <li><a·class="el"·href="a00 | 105 | <li><a·class="el"·href="a00092_source.html">basistags.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 110 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
111 | </small></address> | 111 | </small></address> |
112 | </body> | 112 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::IndexMergingStrategy·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::IndexMergingStrategy·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Base·class·for·index·merging·strategies·to·simplify·detection.·· | 72 | <p>Base·class·for·index·merging·strategies·to·simplify·detection.·· |
73 | ·<a·href="a01415.html#details">More...</a></p> | 73 | ·<a·href="a01415.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a00 | 74 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::IndexMergingStrategy:</div> | 76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::IndexMergingStrategy:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01414.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01414.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_index_merging_strategy_inherit__map"> |
80 | <area·shape="rect"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,104,209,145"/> | 80 | <area·shape="rect"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,104,209,145"/> |
81 | <area·shape="rect"·href="a01431.html"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="257,5,461,47"/> | 81 | <area·shape="rect"·href="a01431.html"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="257,5,461,47"/> |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | <area·shape="rect"·href="a01423.html"·title="Interleaved·merging·of·direct·children·without·blocking."·alt=""·coords="257,136,461,177"/> | 85 | <area·shape="rect"·href="a01423.html"·title="Interleaved·merging·of·direct·children·without·blocking."·alt=""·coords="257,136,461,177"/> |
86 | <area·shape="rect"·href="a01419.html"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="257,201,461,243"/> | 86 | <area·shape="rect"·href="a01419.html"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="257,201,461,243"/> |
87 | </map> | 87 | </map> |
88 | </div> | 88 | </div> |
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"><p·>Base·class·for·index·merging·strategies·to·simplify·detection.·</p> | 90 | <div·class="textblock"><p·>Base·class·for·index·merging·strategies·to·simplify·detection.·</p> |
91 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 91 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
92 | <li><a·class="el"·href="a00 | 92 | <li><a·class="el"·href="a00092_source.html">basistags.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 97 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
98 | </small></address> | 98 | </small></address> |
99 | </body> | 99 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Lexicographic·merging·of·direct·children·without·blocking.·· | 72 | <p>Lexicographic·merging·of·direct·children·without·blocking.·· |
73 | ·<a·href="a01419.html#details">More...</a></p> | 73 | ·<a·href="a01419.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a00 | 74 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatLexicographic:</div> | 76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatLexicographic:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01418.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01418.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_lexicographic_inherit__map"> |
80 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="5,95,209,136"/> | 80 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·without·blocking."·alt=""·coords="5,95,209,136"/> |
81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> | 81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(2,k0)····</td></tr> | 120 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(2,k0)····</td></tr> |
121 | <tr·class="markdownTableRowOdd"> | 121 | <tr·class="markdownTableRowOdd"> |
122 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,k1)····</td></tr> | 122 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,k1)····</td></tr> |
123 | <tr·class="markdownTableRowEven"> | 123 | <tr·class="markdownTableRowEven"> |
124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(4,k2)···</td></tr> | 124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(4,k2)···</td></tr> |
125 | </table> | 125 | </table> |
126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
127 | <li><a·class="el"·href="a00 | 127 | <li><a·class="el"·href="a00092_source.html">basistags.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 132 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
133 | </small></address> | 133 | </small></address> |
134 | </body> | 134 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::FlatInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Interleaved·merging·of·direct·children·without·blocking.·· | 72 | <p>Interleaved·merging·of·direct·children·without·blocking.·· |
73 | ·<a·href="a01423.html#details">More...</a></p> | 73 | ·<a·href="a01423.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a00 | 74 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatInterleaved:</div> | 76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::FlatInterleaved:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01422.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01422.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_flat_interleaved_inherit__map"> |
80 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·without·blocking."·alt=""·coords="5,95,209,136"/> | 80 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·without·blocking."·alt=""·coords="5,95,209,136"/> |
81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> | 81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,i1)····</td></tr> | 120 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(3,i1)····</td></tr> |
121 | <tr·class="markdownTableRowOdd"> | 121 | <tr·class="markdownTableRowOdd"> |
122 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(4,i2)····</td></tr> | 122 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(4,i2)····</td></tr> |
123 | <tr·class="markdownTableRowEven"> | 123 | <tr·class="markdownTableRowEven"> |
124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(5,i2)···</td></tr> | 124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(5,i2)···</td></tr> |
125 | </table> | 125 | </table> |
126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
127 | <li><a·class="el"·href="a00 | 127 | <li><a·class="el"·href="a00092_source.html">basistags.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 132 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
133 | </small></address> | 133 | </small></address> |
134 | </body> | 134 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedLexicographic·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).·· | 72 | <p>Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child).·· |
73 | ·<a·href="a01427.html#details">More...</a></p> | 73 | ·<a·href="a01427.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a00 | 74 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedLexicographic:</div> | 76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedLexicographic:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01426.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01426.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_lexicographic_inherit__map"> |
80 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child)."·alt=""·coords="5,95,209,136"/> | 80 | <area·shape="rect"·title="Lexicographic·merging·of·direct·children·with·blocking·(i.e.·creating·one·block·per·direct·child)."·alt=""·coords="5,95,209,136"/> |
81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> | 81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(1,k0)····</td></tr> | 120 | <td·class="markdownTableBodyNone">g_0···</td><td·class="markdownTableBodyNone">(1,k0)····</td></tr> |
121 | <tr·class="markdownTableRowOdd"> | 121 | <tr·class="markdownTableRowOdd"> |
122 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(1,k1)····</td></tr> | 122 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(1,k1)····</td></tr> |
123 | <tr·class="markdownTableRowEven"> | 123 | <tr·class="markdownTableRowEven"> |
124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(1,k2)···</td></tr> | 124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(1,k2)···</td></tr> |
125 | </table> | 125 | </table> |
126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
127 | <li><a·class="el"·href="a00 | 127 | <li><a·class="el"·href="a00092_source.html">basistags.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 132 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
133 | </small></address> | 133 | </small></address> |
134 | </body> | 134 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::BlockedInterleaved·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p>Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).·· | 72 | <p>Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·one·leaf·per·child·each).·· |
73 | ·<a·href="a01431.html#details">More...</a></p> | 73 | ·<a·href="a01431.html#details">More...</a></p> |
74 | <p><code>#include·<<a·class="el"·href="a00 | 74 | <p><code>#include·<<a·class="el"·href="a00092_source.html">dune/functions/functionspacebases/basistags.hh</a>></code></p> |
75 | <div·class="dynheader"> | 75 | <div·class="dynheader"> |
76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedInterleaved:</div> | 76 | Inheritance·diagram·for·Dune::Functions::BasisFactory::BlockedInterleaved:</div> |
77 | <div·class="dyncontent"> | 77 | <div·class="dyncontent"> |
78 | <div·class="center"><img·src="a01430.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·alt="Inheritance·graph"/></div> | 78 | <div·class="center"><img·src="a01430.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·alt="Inheritance·graph"/></div> |
79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"> | 79 | <map·name="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"·id="a_dune_1_1_functions_1_1_basis_factory_1_1_blocked_interleaved_inherit__map"> |
80 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="5,95,209,136"/> | 80 | <area·shape="rect"·title="Interleaved·merging·of·direct·children·with·blocking·(i.e.·creating·blocks·at·the·leaves·containing·o..."·alt=""·coords="5,95,209,136"/> |
81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> | 81 | <area·shape="rect"·href="a01415.html"·title="Base·class·for·index·merging·strategies·to·simplify·detection."·alt=""·coords="5,5,209,47"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(i1,1)····</td></tr> | 120 | <td·class="markdownTableBodyNone">g_1···</td><td·class="markdownTableBodyNone">(i1,1)····</td></tr> |
121 | <tr·class="markdownTableRowOdd"> | 121 | <tr·class="markdownTableRowOdd"> |
122 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(i2,0)····</td></tr> | 122 | <td·class="markdownTableBodyNone">f_2···</td><td·class="markdownTableBodyNone">(i2,0)····</td></tr> |
123 | <tr·class="markdownTableRowEven"> | 123 | <tr·class="markdownTableRowEven"> |
124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(i2,1)···</td></tr> | 124 | <td·class="markdownTableBodyNone">g_2···</td><td·class="markdownTableBodyNone">(i2,1)···</td></tr> |
125 | </table> | 125 | </table> |
126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 126 | </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
127 | <li><a·class="el"·href="a00 | 127 | <li><a·class="el"·href="a00092_source.html">basistags.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 132 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
133 | </small></address> | 133 | </small></address> |
134 | </body> | 134 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01464.html">List·of·all·members</a>··</div> | 74 | <a·href="a01464.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a00 | 78 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/brezzidouglasmarinibasis.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::BrezziDouglasMariniNode<·GV,·k·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01466.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01466.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_brezzi_douglas_marini_node_3_01_g_v_00_01k_01_4_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="90,169,301,211"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="90,169,301,211"/> |
85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 573, 15 lines modified | Offset 573, 15 lines modified | ||
573 | ··</tr> | 573 | ··</tr> |
574 | </table> | 574 | </table> |
575 | </div><div·class="memdoc"> | 575 | </div><div·class="memdoc"> |
576 | </div> | 576 | </div> |
577 | </div> | 577 | </div> |
578 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 578 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
579 | <li><a·class="el"·href="a00 | 579 | <li><a·class="el"·href="a00098_source.html">brezzidouglasmarinibasis.hh</a></li> |
580 | </ul> | 580 | </ul> |
581 | </div><!--·contents·--> | 581 | </div><!--·contents·--> |
582 | <!--·start·footer·part·--> | 582 | <!--·start·footer·part·--> |
583 | <hr·class="footer"/><address·class="footer"><small> | 583 | <hr·class="footer"/><address·class="footer"><small> |
584 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 584 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
585 | </small></address> | 585 | </small></address> |
586 | </body> | 586 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01468.html">List·of·all·members</a>··</div> | 74 | <a·href="a01468.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BrezziDouglasMariniPreBasis<·GV,·k·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a00 | 78 | <p><code>#include·<<a·class="el"·href="a00098_source.html">dune/functions/functionspacebases/brezzidouglasmarinibasis.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
81 | Public·Types</h2></td></tr> | 81 | Public·Types</h2></td></tr> |
82 | <tr·class="memitem:a73e7fec0c1f6f0c0316bbfceec2c4a00"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#a73e7fec0c1f6f0c0316bbfceec2c4a00">GridView</a>·=·GV</td></tr> | 82 | <tr·class="memitem:a73e7fec0c1f6f0c0316bbfceec2c4a00"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#a73e7fec0c1f6f0c0316bbfceec2c4a00">GridView</a>·=·GV</td></tr> |
83 | <tr·class="memdesc:a73e7fec0c1f6f0c0316bbfceec2c4a00"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01471.html#a73e7fec0c1f6f0c0316bbfceec2c4a00">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:a73e7fec0c1f6f0c0316bbfceec2c4a00"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01471.html#a73e7fec0c1f6f0c0316bbfceec2c4a00">More...</a><br·/></td></tr> |
84 | <tr·class="separator:a73e7fec0c1f6f0c0316bbfceec2c4a00"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a73e7fec0c1f6f0c0316bbfceec2c4a00"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a102944d1f32c8b29c6c297f252c7c1f1"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#a102944d1f32c8b29c6c297f252c7c1f1">size_type</a>·=·std::size_t</td></tr> | 85 | <tr·class="memitem:a102944d1f32c8b29c6c297f252c7c1f1"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01471.html#a102944d1f32c8b29c6c297f252c7c1f1">size_type</a>·=·std::size_t</td></tr> |
Offset 657, 15 lines modified | Offset 657, 15 lines modified | ||
657 | ··</tr> | 657 | ··</tr> |
658 | </table> | 658 | </table> |
659 | </div><div·class="memdoc"> | 659 | </div><div·class="memdoc"> |
660 | </div> | 660 | </div> |
661 | </div> | 661 | </div> |
662 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 662 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
663 | <li><a·class="el"·href="a00 | 663 | <li><a·class="el"·href="a00098_source.html">brezzidouglasmarinibasis.hh</a></li> |
664 | </ul> | 664 | </ul> |
665 | </div><!--·contents·--> | 665 | </div><!--·contents·--> |
666 | <!--·start·footer·part·--> | 666 | <!--·start·footer·part·--> |
667 | <hr·class="footer"/><address·class="footer"><small> | 667 | <hr·class="footer"/><address·class="footer"><small> |
668 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 668 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
669 | </small></address> | 669 | </small></address> |
670 | </body> | 670 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· | 78 | <p>LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· |
79 | ·<a·href="a01475.html#details">More...</a></p> | 79 | ·<a·href="a01475.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a00 | 80 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
81 | <div·class="dynheader"> | 81 | <div·class="dynheader"> |
82 | Inheritance·diagram·for·Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>:</div> | 82 | Inheritance·diagram·for·Dune::Functions::BSplineLocalFiniteElement<·GV,·R·>:</div> |
83 | <div·class="dyncontent"> | 83 | <div·class="dyncontent"> |
84 | <div·class="center"><img·src="a01474.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 84 | <div·class="center"><img·src="a01474.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
85 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"> | 85 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_finite_element_3_01_g_v_00_01_r_01_4_inherit__map"> |
86 | <area·shape="rect"·title="LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grid..."·alt=""·coords="5,5,199,47"/> | 86 | <area·shape="rect"·title="LocalFiniteElement·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grid..."·alt=""·coords="5,5,199,47"/> |
87 | <area·shape="rect"·href="a01475.html"·title="·"·alt=""·coords="17,109,187,165"/> | 87 | <area·shape="rect"·href="a01475.html"·title="·"·alt=""·coords="17,109,187,165"/> |
Offset 551, 15 lines modified | Offset 551, 15 lines modified | ||
551 | ········</tr> | 551 | ········</tr> |
552 | ······</table> | 552 | ······</table> |
553 | </div><div·class="memdoc"> | 553 | </div><div·class="memdoc"> |
554 | </div> | 554 | </div> |
555 | </div> | 555 | </div> |
556 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 556 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
557 | <li><a·class="el"·href="a00 | 557 | <li><a·class="el"·href="a00083_source.html">bsplinebasis.hh</a></li> |
558 | </ul> | 558 | </ul> |
559 | </div><!--·contents·--> | 559 | </div><!--·contents·--> |
560 | <!--·start·footer·part·--> | 560 | <!--·start·footer·part·--> |
561 | <hr·class="footer"/><address·class="footer"><small> | 561 | <hr·class="footer"/><address·class="footer"><small> |
562 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 562 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
563 | </small></address> | 563 | </small></address> |
564 | </body> | 564 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplinePreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplinePreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
78 | </div><!--header--> | 78 | </div><!--header--> |
79 | <div·class="contents"> | 79 | <div·class="contents"> |
80 | <p>Pre-basis·for·B-spline·basis.·· | 80 | <p>Pre-basis·for·B-spline·basis.·· |
81 | ·<a·href="a01479.html#details">More...</a></p> | 81 | ·<a·href="a01479.html#details">More...</a></p> |
82 | <p><code>#include·<<a·class="el"·href="a00 | 82 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></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:a71f4090ddbb632644769cb0a9c5f394c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html#a71f4090ddbb632644769cb0a9c5f394c">GridView</a>·=·GV</td></tr> | 86 | <tr·class="memitem:a71f4090ddbb632644769cb0a9c5f394c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html#a71f4090ddbb632644769cb0a9c5f394c">GridView</a>·=·GV</td></tr> |
87 | <tr·class="memdesc:a71f4090ddbb632644769cb0a9c5f394c"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01479.html#a71f4090ddbb632644769cb0a9c5f394c">More...</a><br·/></td></tr> | 87 | <tr·class="memdesc:a71f4090ddbb632644769cb0a9c5f394c"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01479.html#a71f4090ddbb632644769cb0a9c5f394c">More...</a><br·/></td></tr> |
88 | <tr·class="separator:a71f4090ddbb632644769cb0a9c5f394c"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:a71f4090ddbb632644769cb0a9c5f394c"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a7aa8059fdf68035788a75cb680e89cdd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html#a7aa8059fdf68035788a75cb680e89cdd">size_type</a>·=·std::size_t</td></tr> | 89 | <tr·class="memitem:a7aa8059fdf68035788a75cb680e89cdd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01479.html#a7aa8059fdf68035788a75cb680e89cdd">size_type</a>·=·std::size_t</td></tr> |
Offset 1276, 15 lines modified | Offset 1276, 15 lines modified | ||
1276 | </div><div·class="memdoc"> | 1276 | </div><div·class="memdoc"> |
1277 | <p>Order·of·the·B-spline·for·each·space·dimension.·</p> | 1277 | <p>Order·of·the·B-spline·for·each·space·dimension.·</p> |
1278 | </div> | 1278 | </div> |
1279 | </div> | 1279 | </div> |
1280 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1280 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1281 | <li><a·class="el"·href="a00 | 1281 | <li><a·class="el"·href="a00083_source.html">bsplinebasis.hh</a></li> |
1282 | </ul> | 1282 | </ul> |
1283 | </div><!--·contents·--> | 1283 | </div><!--·contents·--> |
1284 | <!--·start·footer·part·--> | 1284 | <!--·start·footer·part·--> |
1285 | <hr·class="footer"/><address·class="footer"><small> | 1285 | <hr·class="footer"/><address·class="footer"><small> |
1286 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 1286 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
1287 | </small></address> | 1287 | </small></address> |
1288 | </body> | 1288 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalBasis<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalBasis<·GV,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·to·a·knot·span.·· | 77 | <p>LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·to·a·knot·span.·· |
78 | ·<a·href="a01483.html#details">More...</a></p> | 78 | ·<a·href="a01483.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a00 | 79 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
81 | Inheritance·diagram·for·Dune::Functions::BSplineLocalBasis<·GV,·R·>:</div> | 81 | Inheritance·diagram·for·Dune::Functions::BSplineLocalBasis<·GV,·R·>:</div> |
82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
83 | <div·class="center"><img·src="a01482.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01482.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
84 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"> | 84 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_basis_3_01_g_v_00_01_r_01_4_inherit__map"> |
85 | <area·shape="rect"·title="LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·..."·alt=""·coords="7,5,178,47"/> | 85 | <area·shape="rect"·title="LocalBasis·class·in·the·sense·of·dune-localfunctions,·presenting·the·restriction·of·a·B-spline·patch·..."·alt=""·coords="7,5,178,47"/> |
86 | <area·shape="rect"·href="a01483.html"·title="·"·alt=""·coords="5,109,180,151"/> | 86 | <area·shape="rect"·href="a01483.html"·title="·"·alt=""·coords="5,109,180,151"/> |
Offset 415, 15 lines modified | Offset 415, 15 lines modified | ||
415 | ··</tr> | 415 | ··</tr> |
416 | </table> | 416 | </table> |
417 | </div><div·class="memdoc"> | 417 | </div><div·class="memdoc"> |
418 | </div> | 418 | </div> |
419 | </div> | 419 | </div> |
420 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 420 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
421 | <li><a·class="el"·href="a00 | 421 | <li><a·class="el"·href="a00083_source.html">bsplinebasis.hh</a></li> |
422 | </ul> | 422 | </ul> |
423 | </div><!--·contents·--> | 423 | </div><!--·contents·--> |
424 | <!--·start·footer·part·--> | 424 | <!--·start·footer·part·--> |
425 | <hr·class="footer"/><address·class="footer"><small> | 425 | <hr·class="footer"/><address·class="footer"><small> |
426 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 426 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
427 | </small></address> | 427 | </small></address> |
428 | </body> | 428 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalCoefficients<·dim·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalCoefficients<·dim·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Attaches·a·shape·function·to·an·entity.·· | 75 | <p>Attaches·a·shape·function·to·an·entity.·· |
76 | ·<a·href="a01487.html#details">More...</a></p> | 76 | ·<a·href="a01487.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html#a73ed6bc866499e512d96cb6d6c315c6f">init</a>·(const·std::array<·unsigned,·dim·>·&sizes)</td></tr> | 81 | <tr·class="memitem:a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html#a73ed6bc866499e512d96cb6d6c315c6f">init</a>·(const·std::array<·unsigned,·dim·>·&sizes)</td></tr> |
82 | <tr·class="separator:a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:a73ed6bc866499e512d96cb6d6c315c6f"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | <tr·class="memitem:acee2241933e75ae41972b3ce44ceb0c1"><td·class="memItemLeft"·align="right"·valign="top">std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html#acee2241933e75ae41972b3ce44ceb0c1">size</a>·()·const</td></tr> | 83 | <tr·class="memitem:acee2241933e75ae41972b3ce44ceb0c1"><td·class="memItemLeft"·align="right"·valign="top">std::size_t </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01487.html#acee2241933e75ae41972b3ce44ceb0c1">size</a>·()·const</td></tr> |
84 | <tr·class="memdesc:acee2241933e75ae41972b3ce44ceb0c1"><td·class="mdescLeft"> </td><td·class="mdescRight">number·of·coefficients··<a·href="a01487.html#acee2241933e75ae41972b3ce44ceb0c1">More...</a><br·/></td></tr> | 84 | <tr·class="memdesc:acee2241933e75ae41972b3ce44ceb0c1"><td·class="mdescLeft"> </td><td·class="mdescRight">number·of·coefficients··<a·href="a01487.html#acee2241933e75ae41972b3ce44ceb0c1">More...</a><br·/></td></tr> |
Offset 185, 15 lines modified | Offset 185, 15 lines modified | ||
185 | </div><div·class="memdoc"> | 185 | </div><div·class="memdoc"> |
186 | <p>number·of·coefficients·</p> | 186 | <p>number·of·coefficients·</p> |
187 | </div> | 187 | </div> |
188 | </div> | 188 | </div> |
189 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 189 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
190 | <li><a·class="el"·href="a00 | 190 | <li><a·class="el"·href="a00083_source.html">bsplinebasis.hh</a></li> |
191 | </ul> | 191 | </ul> |
192 | </div><!--·contents·--> | 192 | </div><!--·contents·--> |
193 | <!--·start·footer·part·--> | 193 | <!--·start·footer·part·--> |
194 | <hr·class="footer"/><address·class="footer"><small> | 194 | <hr·class="footer"/><address·class="footer"><small> |
195 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 195 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
196 | </small></address> | 196 | </small></address> |
197 | </body> | 197 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· | 75 | <p>Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·grids.·· |
76 | ·<a·href="a01491.html#details">More...</a></p> | 76 | ·<a·href="a01491.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::BSplineLocalInterpolation<·dim,·LB·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01490.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01490.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_local_interpolation_3_01dim_00_01_l_b_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·gri..."·alt=""·coords="5,68,200,109"/> | 83 | <area·shape="rect"·title="Local·interpolation·in·the·sense·of·dune-localfunctions,·for·the·B-spline·basis·on·tensor-product·gri..."·alt=""·coords="5,68,200,109"/> |
84 | <area·shape="rect"·href="a01491.html"·title="·"·alt=""·coords="400,5,639,76"/> | 84 | <area·shape="rect"·href="a01491.html"·title="·"·alt=""·coords="400,5,639,76"/> |
Offset 138, 15 lines modified | Offset 138, 15 lines modified | ||
138 | </div><div·class="memdoc"> | 138 | </div><div·class="memdoc"> |
139 | <p>Local·interpolation·of·a·function.·</p> | 139 | <p>Local·interpolation·of·a·function.·</p> |
140 | </div> | 140 | </div> |
141 | </div> | 141 | </div> |
142 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 142 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
143 | <li><a·class="el"·href="a00 | 143 | <li><a·class="el"·href="a00083_source.html">bsplinebasis.hh</a></li> |
144 | </ul> | 144 | </ul> |
145 | </div><!--·contents·--> | 145 | </div><!--·contents·--> |
146 | <!--·start·footer·part·--> | 146 | <!--·start·footer·part·--> |
147 | <hr·class="footer"/><address·class="footer"><small> | 147 | <hr·class="footer"/><address·class="footer"><small> |
148 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 148 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
149 | </small></address> | 149 | </small></address> |
150 | </body> | 150 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01492.html">List·of·all·members</a>··</div> | 74 | <a·href="a01492.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineNode<·GV·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BSplineNode<·GV·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a00 | 78 | <p><code>#include·<<a·class="el"·href="a00083_source.html">dune/functions/functionspacebases/bsplinebasis.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::BSplineNode<·GV·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::BSplineNode<·GV·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01494.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01494.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_b_spline_node_3_01_g_v_01_4_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="110,169,281,211"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="110,169,281,211"/> |
85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 555, 15 lines modified | Offset 555, 15 lines modified | ||
555 | ··</tr> | 555 | ··</tr> |
556 | </table> | 556 | </table> |
557 | </div><div·class="memdoc"> | 557 | </div><div·class="memdoc"> |
558 | </div> | 558 | </div> |
559 | </div> | 559 | </div> |
560 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 560 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
561 | <li><a·class="el"·href="a00 | 561 | <li><a·class="el"·href="a00083_source.html">bsplinebasis.hh</a></li> |
562 | </ul> | 562 | </ul> |
563 | </div><!--·contents·--> | 563 | </div><!--·contents·--> |
564 | <!--·start·footer·part·--> | 564 | <!--·start·footer·part·--> |
565 | <hr·class="footer"/><address·class="footer"><small> | 565 | <hr·class="footer"/><address·class="footer"><small> |
566 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 566 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
567 | </small></address> | 567 | </small></address> |
568 | </body> | 568 | </body> |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositePreBasis<·IMS,·SPB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositePreBasis<·IMS,·SPB·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p>A·pre-basis·for·composite·bases.·· | 79 | <p>A·pre-basis·for·composite·bases.·· |
80 | ·<a·href="a01503.html#details">More...</a></p> | 80 | ·<a·href="a01503.html#details">More...</a></p> |
81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00125_source.html">dune/functions/functionspacebases/compositebasis.hh</a>></code></p> |
82 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
84 | Public·Types</h2></td></tr> | 84 | Public·Types</h2></td></tr> |
85 | <tr·class="memitem:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01503.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases</a>·=·std::tuple<·SPB...·></td></tr> | 85 | <tr·class="memitem:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01503.html#aa3fbd381a090703bb2f0ea3bde8a3031">SubPreBases</a>·=·std::tuple<·SPB...·></td></tr> |
86 | <tr·class="memdesc:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="mdescLeft"> </td><td·class="mdescRight">Tuple·of·child·pre-bases.··<a·href="a01503.html#aa3fbd381a090703bb2f0ea3bde8a3031">More...</a><br·/></td></tr> | 86 | <tr·class="memdesc:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="mdescLeft"> </td><td·class="mdescRight">Tuple·of·child·pre-bases.··<a·href="a01503.html#aa3fbd381a090703bb2f0ea3bde8a3031">More...</a><br·/></td></tr> |
87 | <tr·class="separator:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:aa3fbd381a090703bb2f0ea3bde8a3031"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:ab02c441bc5d90d3b584df84e606582a7"><td·class="memTemplParams"·colspan="2">template<std::size_t·i>·</td></tr> | 88 | <tr·class="memitem:ab02c441bc5d90d3b584df84e606582a7"><td·class="memTemplParams"·colspan="2">template<std::size_t·i>·</td></tr> |
Offset 821, 15 lines modified | Offset 821, 15 lines modified | ||
821 | ··</tr> | 821 | ··</tr> |
822 | </table> | 822 | </table> |
823 | </div><div·class="memdoc"> | 823 | </div><div·class="memdoc"> |
824 | </div> | 824 | </div> |
825 | </div> | 825 | </div> |
826 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 826 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
827 | <li><a·class="el"·href="a001 | 827 | <li><a·class="el"·href="a00125_source.html">compositebasis.hh</a></li> |
828 | </ul> | 828 | </ul> |
829 | </div><!--·contents·--> | 829 | </div><!--·contents·--> |
830 | <!--·start·footer·part·--> | 830 | <!--·start·footer·part·--> |
831 | <hr·class="footer"/><address·class="footer"><small> | 831 | <hr·class="footer"/><address·class="footer"><small> |
832 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 832 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
833 | </small></address> | 833 | </small></address> |
834 | </body> | 834 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultGlobalBasis<·PB·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultGlobalBasis<·PB·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>Global·basis·for·given·pre-basis.·· | 77 | <p>Global·basis·for·given·pre-basis.·· |
78 | ·<a·href="a01555.html#details">More...</a></p> | 78 | ·<a·href="a01555.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00149_source.html">dune/functions/functionspacebases/defaultglobalbasis.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:a4d800349e8aa9ae148a178827d51ccda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB</td></tr> | 83 | <tr·class="memitem:a4d800349e8aa9ae148a178827d51ccda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">PreBasis</a>·=·PB</td></tr> |
84 | <tr·class="memdesc:a4d800349e8aa9ae148a178827d51ccda"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·providing·the·implementation·details.··<a·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">More...</a><br·/></td></tr> | 84 | <tr·class="memdesc:a4d800349e8aa9ae148a178827d51ccda"><td·class="mdescLeft"> </td><td·class="mdescRight">Pre-basis·providing·the·implementation·details.··<a·href="a01555.html#a4d800349e8aa9ae148a178827d51ccda">More...</a><br·/></td></tr> |
85 | <tr·class="separator:a4d800349e8aa9ae148a178827d51ccda"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:a4d800349e8aa9ae148a178827d51ccda"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:aa33c9a46f1e7548b2a956c36f6554e89"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath</a>·=·TypeTree::HybridTreePath<></td></tr> | 86 | <tr·class="memitem:aa33c9a46f1e7548b2a956c36f6554e89"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01555.html#aa33c9a46f1e7548b2a956c36f6554e89">PrefixPath</a>·=·TypeTree::HybridTreePath<></td></tr> |
Offset 725, 15 lines modified | Offset 725, 15 lines modified | ||
725 | ··</tr> | 725 | ··</tr> |
726 | </table> | 726 | </table> |
727 | </div><div·class="memdoc"> | 727 | </div><div·class="memdoc"> |
728 | </div> | 728 | </div> |
729 | </div> | 729 | </div> |
730 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 730 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
731 | <li><a·class="el"·href="a001 | 731 | <li><a·class="el"·href="a00149_source.html">defaultglobalbasis.hh</a></li> |
732 | </ul> | 732 | </ul> |
733 | </div><!--·contents·--> | 733 | </div><!--·contents·--> |
734 | <!--·start·footer·part·--> | 734 | <!--·start·footer·part·--> |
735 | <hr·class="footer"/><address·class="footer"><small> | 735 | <hr·class="footer"/><address·class="footer"><small> |
736 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 736 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
737 | </small></address> | 737 | </small></address> |
738 | </body> | 738 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultLocalView<·GB·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultLocalView<·GB·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· | 78 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· |
79 | ·<a·href="a01559.html#details">More...</a></p> | 79 | ·<a·href="a01559.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a001 | 80 | <p><code>#include·<<a·class="el"·href="a00143_source.html">dune/functions/functionspacebases/defaultlocalview.hh</a>></code></p> |
81 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
83 | Public·Types</h2></td></tr> | 83 | Public·Types</h2></td></tr> |
84 | <tr·class="memitem:a9523d45b214ee146d2135416d01aceda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01559.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>·=·GB</td></tr> | 84 | <tr·class="memitem:a9523d45b214ee146d2135416d01aceda"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01559.html#a9523d45b214ee146d2135416d01aceda">GlobalBasis</a>·=·GB</td></tr> |
85 | <tr·class="memdesc:a9523d45b214ee146d2135416d01aceda"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<a·href="a01559.html#a9523d45b214ee146d2135416d01aceda">More...</a><br·/></td></tr> | 85 | <tr·class="memdesc:a9523d45b214ee146d2135416d01aceda"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<a·href="a01559.html#a9523d45b214ee146d2135416d01aceda">More...</a><br·/></td></tr> |
86 | <tr·class="separator:a9523d45b214ee146d2135416d01aceda"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:a9523d45b214ee146d2135416d01aceda"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:a29917f5ca32a2b2df56b1ae72c2a25ca"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01559.html#a29917f5ca32a2b2df56b1ae72c2a25ca">GridView</a>·=·typename·GlobalBasis::GridView</td></tr> | 87 | <tr·class="memitem:a29917f5ca32a2b2df56b1ae72c2a25ca"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01559.html#a29917f5ca32a2b2df56b1ae72c2a25ca">GridView</a>·=·typename·GlobalBasis::GridView</td></tr> |
Offset 773, 15 lines modified | Offset 773, 15 lines modified | ||
773 | ··</tr> | 773 | ··</tr> |
774 | </table> | 774 | </table> |
775 | </div><div·class="memdoc"> | 775 | </div><div·class="memdoc"> |
776 | </div> | 776 | </div> |
777 | </div> | 777 | </div> |
778 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 778 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
779 | <li><a·class="el"·href="a001 | 779 | <li><a·class="el"·href="a00143_source.html">defaultlocalview.hh</a></li> |
780 | </ul> | 780 | </ul> |
781 | </div><!--·contents·--> | 781 | </div><!--·contents·--> |
782 | <!--·start·footer·part·--> | 782 | <!--·start·footer·part·--> |
783 | <hr·class="footer"/><address·class="footer"><small> | 783 | <hr·class="footer"/><address·class="footer"><small> |
784 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 784 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
785 | </small></address> | 785 | </small></address> |
786 | </body> | 786 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>·Struct·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>·Struct·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>A·simple·node·to·range·map·using·lexicographic·ordering.·· | 77 | <p>A·simple·node·to·range·map·using·lexicographic·ordering.·· |
78 | ·<a·href="a01563.html#details">More...</a></p> | 78 | ·<a·href="a01563.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a00 | 79 | <p><code>#include·<<a·class="el"·href="a00068_source.html">dune/functions/functionspacebases/defaultnodetorangemap.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
82 | Classes</h2></td></tr> | 82 | Classes</h2></td></tr> |
83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html">Visitor</a></td></tr> | 83 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01567.html">Visitor</a></td></tr> |
84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | </table><table·class="memberdecls"> | 85 | </table><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> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
253 | ········</tr> | 253 | ········</tr> |
254 | ······</table> | 254 | ······</table> |
255 | </div><div·class="memdoc"> | 255 | </div><div·class="memdoc"> |
256 | </div> | 256 | </div> |
257 | </div> | 257 | </div> |
258 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 258 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
259 | <li><a·class="el"·href="a00 | 259 | <li><a·class="el"·href="a00068_source.html">defaultnodetorangemap.hh</a></li> |
260 | </ul> | 260 | </ul> |
261 | </div><!--·contents·--> | 261 | </div><!--·contents·--> |
262 | <!--·start·footer·part·--> | 262 | <!--·start·footer·part·--> |
263 | <hr·class="footer"/><address·class="footer"><small> | 263 | <hr·class="footer"/><address·class="footer"><small> |
264 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 264 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
265 | </small></address> | 265 | </small></address> |
266 | </body> | 266 | </body> |
Offset 70, 15 lines modified | Offset 70, 15 lines modified | ||
70 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 70 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
71 | <a·href="#pub-attribs">Public·Attributes</a>·| | 71 | <a·href="#pub-attribs">Public·Attributes</a>·| |
72 | <a·href="a01564.html">List·of·all·members</a>··</div> | 72 | <a·href="a01564.html">List·of·all·members</a>··</div> |
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor·Struct·Reference</div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor·Struct·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p><code>#include·<<a·class="el"·href="a00 | 76 | <p><code>#include·<<a·class="el"·href="a00068_source.html">dune/functions/functionspacebases/defaultnodetorangemap.hh</a>></code></p> |
77 | <div·class="dynheader"> | 77 | <div·class="dynheader"> |
78 | Inheritance·diagram·for·Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor:</div> | 78 | Inheritance·diagram·for·Dune::Functions::DefaultNodeToRangeMap<·Tree·>::Visitor:</div> |
79 | <div·class="dyncontent"> | 79 | <div·class="dyncontent"> |
80 | <div·class="center"><img·src="a01566.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·alt="Inheritance·graph"/></div> | 80 | <div·class="center"><img·src="a01566.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·alt="Inheritance·graph"/></div> |
81 | <map·name="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"> | 81 | <map·name="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"·id="a_dune_1_1_functions_1_1_default_node_to_range_map_3_01_tree_01_4_1_1_visitor_inherit__map"> |
82 | <area·shape="rect"·title="·"·alt=""·coords="83,80,262,136"/> | 82 | <area·shape="rect"·title="·"·alt=""·coords="83,80,262,136"/> |
83 | <area·shape="rect"·title="·"·alt=""·coords="5,5,151,32"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="5,5,151,32"/> |
Offset 201, 15 lines modified | Offset 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="a00 | 207 | <li><a·class="el"·href="a00068_source.html">defaultnodetorangemap.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 212 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
213 | </small></address> | 213 | </small></address> |
214 | </body> | 214 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01616.html">List·of·all·members</a>··</div> | 74 | <a·href="a01616.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/hierarchicallagrangebasis.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::HierarchicalLagrangeNode<·GV,·k,·R·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::HierarchicalLagrangeNode<·GV,·k,·R·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01618.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_hierarchical_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01618.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_hierarchical_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_hierarchical_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_hierarchical_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_hierarchical_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_hierarchical_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="98,169,293,211"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="98,169,293,211"/> |
85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 557, 15 lines modified | Offset 557, 15 lines modified | ||
557 | ··</tr> | 557 | ··</tr> |
558 | </table> | 558 | </table> |
559 | </div><div·class="memdoc"> | 559 | </div><div·class="memdoc"> |
560 | </div> | 560 | </div> |
561 | </div> | 561 | </div> |
562 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 562 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
563 | <li><a·class="el"·href="a001 | 563 | <li><a·class="el"·href="a00128_source.html">hierarchicallagrangebasis.hh</a></li> |
564 | </ul> | 564 | </ul> |
565 | </div><!--·contents·--> | 565 | </div><!--·contents·--> |
566 | <!--·start·footer·part·--> | 566 | <!--·start·footer·part·--> |
567 | <hr·class="footer"/><address·class="footer"><small> | 567 | <hr·class="footer"/><address·class="footer"><small> |
568 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 568 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
569 | </small></address> | 569 | </small></address> |
570 | </body> | 570 | </body> |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicalLagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p>A·pre-basis·for·a·hierarchical·basis.·· | 79 | <p>A·pre-basis·for·a·hierarchical·basis.·· |
80 | ·<a·href="a01623.html#details">More...</a></p> | 80 | ·<a·href="a01623.html#details">More...</a></p> |
81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00128_source.html">dune/functions/functionspacebases/hierarchicallagrangebasis.hh</a>></code></p> |
82 | <table·class="memberdecls"> | 82 | <table·class="memberdecls"> |
83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 83 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
84 | Public·Types</h2></td></tr> | 84 | Public·Types</h2></td></tr> |
85 | <tr·class="memitem:a8d29fa123c51e408af1e34dadf421658"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">GridView</a>·=·GV</td></tr> | 85 | <tr·class="memitem:a8d29fa123c51e408af1e34dadf421658"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">GridView</a>·=·GV</td></tr> |
86 | <tr·class="memdesc:a8d29fa123c51e408af1e34dadf421658"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">More...</a><br·/></td></tr> | 86 | <tr·class="memdesc:a8d29fa123c51e408af1e34dadf421658"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01623.html#a8d29fa123c51e408af1e34dadf421658">More...</a><br·/></td></tr> |
87 | <tr·class="separator:a8d29fa123c51e408af1e34dadf421658"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:a8d29fa123c51e408af1e34dadf421658"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | <tr·class="memitem:a06b5f579aec6e1058020aca7c20a4a5b"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·=·std::size_t</td></tr> | 88 | <tr·class="memitem:a06b5f579aec6e1058020aca7c20a4a5b"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01623.html#a06b5f579aec6e1058020aca7c20a4a5b">size_type</a>·=·std::size_t</td></tr> |
Offset 670, 15 lines modified | Offset 670, 15 lines modified | ||
670 | ··</tr> | 670 | ··</tr> |
671 | </table> | 671 | </table> |
672 | </div><div·class="memdoc"> | 672 | </div><div·class="memdoc"> |
673 | </div> | 673 | </div> |
674 | </div> | 674 | </div> |
675 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 675 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
676 | <li><a·class="el"·href="a001 | 676 | <li><a·class="el"·href="a00128_source.html">hierarchicallagrangebasis.hh</a></li> |
677 | </ul> | 677 | </ul> |
678 | </div><!--·contents·--> | 678 | </div><!--·contents·--> |
679 | <!--·start·footer·part·--> | 679 | <!--·start·footer·part·--> |
680 | <hr·class="footer"/><address·class="footer"><small> | 680 | <hr·class="footer"/><address·class="footer"><small> |
681 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 681 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
682 | </small></address> | 682 | </small></address> |
683 | </body> | 683 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicNodeToRangeMap·Struct·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicNodeToRangeMap·Struct·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>A·simple·node·to·range·map·using·the·nested·tree·indices.·· | 75 | <p>A·simple·node·to·range·map·using·the·nested·tree·indices.·· |
76 | ·<a·href="a01627.html#details">More...</a></p> | 76 | ·<a·href="a01627.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a001 | 77 | <p><code>#include·<<a·class="el"·href="a00134_source.html">dune/functions/functionspacebases/hierarchicnodetorangemap.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·models<·<a·class="el"·href="a01519.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> | 81 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·models<·<a·class="el"·href="a01519.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> |
82 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01627.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">operator()</a>·(const·Node·&,·const·TreePath·&treePath,·Range·&&y)·const</td></tr> | 82 | <tr·class="memitem:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto) </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01627.html#a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a">operator()</a>·(const·Node·&,·const·TreePath·&treePath,·Range·&&y)·const</td></tr> |
83 | <tr·class="separator:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a6bcd58a4ffb8c3d2ed7fb0a8e17f1e5a"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:a7122457e9d3aad7c63a2184012f26566"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·not·models<·<a·class="el"·href="a01519.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> | 84 | <tr·class="memitem:a7122457e9d3aad7c63a2184012f26566"><td·class="memTemplParams"·colspan="2">template<class·Node·,·class·TreePath·,·class·Range·,·std::enable_if_t<·not·models<·<a·class="el"·href="a01519.html">Concept::HasIndexAccess</a>,·Range,·Dune::index_constant<·0·>·>(),·int·>··=·0>·</td></tr> |
Offset 177, 15 lines modified | Offset 177, 15 lines modified | ||
177 | ··</tr> | 177 | ··</tr> |
178 | </table> | 178 | </table> |
179 | </div><div·class="memdoc"> | 179 | </div><div·class="memdoc"> |
180 | </div> | 180 | </div> |
181 | </div> | 181 | </div> |
182 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 182 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
183 | <li><a·class="el"·href="a001 | 183 | <li><a·class="el"·href="a00134_source.html">hierarchicnodetorangemap.hh</a></li> |
184 | </ul> | 184 | </ul> |
185 | </div><!--·contents·--> | 185 | </div><!--·contents·--> |
186 | <!--·start·footer·part·--> | 186 | <!--·start·footer·part·--> |
187 | <hr·class="footer"/><address·class="footer"><small> | 187 | <hr·class="footer"/><address·class="footer"><small> |
188 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 188 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
189 | </small></address> | 189 | </small></address> |
190 | </body> | 190 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicVectorWrapper<·V,·CO·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::HierarchicVectorWrapper<·V,·CO·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>A·wrapper·providing·multiindex·access·to·vector·entries.·· | 77 | <p>A·wrapper·providing·multiindex·access·to·vector·entries.·· |
78 | ·<a·href="a01647.html#details">More...</a></p> | 78 | ·<a·href="a01647.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00131_source.html">dune/functions/functionspacebases/hierarchicvectorwrapper.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01647.html#a7662d9e57bc2b8e522f4d423c9bbe750">Vector</a>·=·V</td></tr> | 83 | <tr·class="memitem:a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01647.html#a7662d9e57bc2b8e522f4d423c9bbe750">Vector</a>·=·V</td></tr> |
84 | <tr·class="separator:a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a7662d9e57bc2b8e522f4d423c9bbe750"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·>·</td></tr> | 85 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·>·</td></tr> |
86 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01647.html#a84a850d0e5587fc6f14179ec3f15da5c">Entry</a>·=·Coefficient<·MultiIndex·></td></tr> | 86 | <tr·class="memitem:a84a850d0e5587fc6f14179ec3f15da5c"><td·class="memTemplItemLeft"·align="right"·valign="top">using </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01647.html#a84a850d0e5587fc6f14179ec3f15da5c">Entry</a>·=·Coefficient<·MultiIndex·></td></tr> |
Offset 390, 15 lines modified | Offset 390, 15 lines modified | ||
390 | ··</tr> | 390 | ··</tr> |
391 | </table> | 391 | </table> |
392 | </div><div·class="memdoc"> | 392 | </div><div·class="memdoc"> |
393 | </div> | 393 | </div> |
394 | </div> | 394 | </div> |
395 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 395 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
396 | <li><a·class="el"·href="a001 | 396 | <li><a·class="el"·href="a00131_source.html">hierarchicvectorwrapper.hh</a></li> |
397 | </ul> | 397 | </ul> |
398 | </div><!--·contents·--> | 398 | </div><!--·contents·--> |
399 | <!--·start·footer·part·--> | 399 | <!--·start·footer·part·--> |
400 | <hr·class="footer"/><address·class="footer"><small> | 400 | <hr·class="footer"/><address·class="footer"><small> |
401 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 401 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
402 | </small></address> | 402 | </small></address> |
403 | </body> | 403 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 73 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
74 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 74 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
75 | <a·href="a01664.html">List·of·all·members</a>··</div> | 75 | <a·href="a01664.html">List·of·all·members</a>··</div> |
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangeNode<·GV,·k,·R·>·Class·Template·Reference</div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code></p> |
80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
81 | Inheritance·diagram·for·Dune::Functions::LagrangeNode<·GV,·k,·R·>:</div> | 81 | Inheritance·diagram·for·Dune::Functions::LagrangeNode<·GV,·k,·R·>:</div> |
82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
83 | <div·class="center"><img·src="a01666.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01666.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
84 | <map·name="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 84 | <map·name="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_node_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
85 | <area·shape="rect"·title="·"·alt=""·coords="106,169,285,211"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="106,169,285,211"/> |
86 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 86 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 646, 15 lines modified | Offset 646, 15 lines modified | ||
646 | ··</tr> | 646 | ··</tr> |
647 | </table> | 647 | </table> |
648 | </div><div·class="memdoc"> | 648 | </div><div·class="memdoc"> |
649 | </div> | 649 | </div> |
650 | </div> | 650 | </div> |
651 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 651 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
652 | <li><a·class="el"·href="a001 | 652 | <li><a·class="el"·href="a00119_source.html">lagrangebasis.hh</a></li> |
653 | </ul> | 653 | </ul> |
654 | </div><!--·contents·--> | 654 | </div><!--·contents·--> |
655 | <!--·start·footer·part·--> | 655 | <!--·start·footer·part·--> |
656 | <hr·class="footer"/><address·class="footer"><small> | 656 | <hr·class="footer"/><address·class="footer"><small> |
657 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 657 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
658 | </small></address> | 658 | </small></address> |
659 | </body> | 659 | </body> |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangePreBasis<·GV,·k,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p>A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·· | 79 | <p>A·pre-basis·for·a·PQ-lagrange·bases·with·given·order.·· |
80 | ·<a·href="a01671.html#details">More...</a></p> | 80 | ·<a·href="a01671.html#details">More...</a></p> |
81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00119_source.html">dune/functions/functionspacebases/lagrangebasis.hh</a>></code></p> |
82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
83 | Inheritance·diagram·for·Dune::Functions::LagrangePreBasis<·GV,·k,·R·>:</div> | 83 | Inheritance·diagram·for·Dune::Functions::LagrangePreBasis<·GV,·k,·R·>:</div> |
84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
85 | <div·class="center"><img·src="a01670.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01670.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
86 | <map·name="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_lagrange_pre_basis_3_01_g_v_00_01k_00_01_r_01_4_inherit__map"> |
87 | <area·shape="rect"·title="A·pre-basis·for·a·PQ-lagrange·bases·with·given·order."·alt=""·coords="5,39,184,80"/> | 87 | <area·shape="rect"·title="A·pre-basis·for·a·PQ-lagrange·bases·with·given·order."·alt=""·coords="5,39,184,80"/> |
88 | <area·shape="rect"·href="a01671.html"·title="·"·alt=""·coords="293,5,472,47"/> | 88 | <area·shape="rect"·href="a01671.html"·title="·"·alt=""·coords="293,5,472,47"/> |
Offset 1290, 15 lines modified | Offset 1290, 15 lines modified | ||
1290 | ··</tr> | 1290 | ··</tr> |
1291 | </table> | 1291 | </table> |
1292 | </div><div·class="memdoc"> | 1292 | </div><div·class="memdoc"> |
1293 | </div> | 1293 | </div> |
1294 | </div> | 1294 | </div> |
1295 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 1295 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
1296 | <li><a·class="el"·href="a001 | 1296 | <li><a·class="el"·href="a00119_source.html">lagrangebasis.hh</a></li> |
1297 | </ul> | 1297 | </ul> |
1298 | </div><!--·contents·--> | 1298 | </div><!--·contents·--> |
1299 | <!--·start·footer·part·--> | 1299 | <!--·start·footer·part·--> |
1300 | <hr·class="footer"/><address·class="footer"><small> | 1300 | <hr·class="footer"/><address·class="footer"><small> |
1301 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 1301 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
1302 | </small></address> | 1302 | </small></address> |
1303 | </body> | 1303 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01676.html">List·of·all·members</a>··</div> | 74 | <a·href="a01676.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangeDGPreBasis<·GV,·k·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LagrangeDGPreBasis<·GV,·k·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00146_source.html">dune/functions/functionspacebases/lagrangedgbasis.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
81 | Public·Types</h2></td></tr> | 81 | Public·Types</h2></td></tr> |
82 | <tr·class="memitem:a8af148321780535e5555938ac4590e3c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01679.html#a8af148321780535e5555938ac4590e3c">GridView</a>·=·GV</td></tr> | 82 | <tr·class="memitem:a8af148321780535e5555938ac4590e3c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01679.html#a8af148321780535e5555938ac4590e3c">GridView</a>·=·GV</td></tr> |
83 | <tr·class="memdesc:a8af148321780535e5555938ac4590e3c"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01679.html#a8af148321780535e5555938ac4590e3c">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:a8af148321780535e5555938ac4590e3c"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01679.html#a8af148321780535e5555938ac4590e3c">More...</a><br·/></td></tr> |
84 | <tr·class="separator:a8af148321780535e5555938ac4590e3c"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a8af148321780535e5555938ac4590e3c"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:aef9347d55bd08683c5da3937c9e347bc"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·=·std::size_t</td></tr> | 85 | <tr·class="memitem:aef9347d55bd08683c5da3937c9e347bc"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01679.html#aef9347d55bd08683c5da3937c9e347bc">size_type</a>·=·std::size_t</td></tr> |
Offset 893, 15 lines modified | Offset 893, 15 lines modified | ||
893 | ··</tr> | 893 | ··</tr> |
894 | </table> | 894 | </table> |
895 | </div><div·class="memdoc"> | 895 | </div><div·class="memdoc"> |
896 | </div> | 896 | </div> |
897 | </div> | 897 | </div> |
898 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 898 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
899 | <li><a·class="el"·href="a001 | 899 | <li><a·class="el"·href="a00146_source.html">lagrangedgbasis.hh</a></li> |
900 | </ul> | 900 | </ul> |
901 | </div><!--·contents·--> | 901 | </div><!--·contents·--> |
902 | <!--·start·footer·part·--> | 902 | <!--·start·footer·part·--> |
903 | <hr·class="footer"/><address·class="footer"><small> | 903 | <hr·class="footer"/><address·class="footer"><small> |
904 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 904 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
905 | </small></address> | 905 | </small></address> |
906 | </body> | 906 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01684.html">List·of·all·members</a>··</div> | 74 | <a·href="a01684.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00152_source.html">dune/functions/functionspacebases/nedelecbasis.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::NedelecNode<·GV,·Range,·kind,·order·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01686.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01686.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_nedelec_node_3_01_g_v_00_01_range_00_01kind_00_01order_01_4_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="108,169,283,225"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="108,169,283,225"/> |
85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 573, 15 lines modified | Offset 573, 15 lines modified | ||
573 | ··</tr> | 573 | ··</tr> |
574 | </table> | 574 | </table> |
575 | </div><div·class="memdoc"> | 575 | </div><div·class="memdoc"> |
576 | </div> | 576 | </div> |
577 | </div> | 577 | </div> |
578 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 578 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
579 | <li><a·class="el"·href="a001 | 579 | <li><a·class="el"·href="a00152_source.html">nedelecbasis.hh</a></li> |
580 | </ul> | 580 | </ul> |
581 | </div><!--·contents·--> | 581 | </div><!--·contents·--> |
582 | <!--·start·footer·part·--> | 582 | <!--·start·footer·part·--> |
583 | <hr·class="footer"/><address·class="footer"><small> | 583 | <hr·class="footer"/><address·class="footer"><small> |
584 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 584 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
585 | </small></address> | 585 | </small></address> |
586 | </body> | 586 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01688.html">List·of·all·members</a>··</div> | 74 | <a·href="a01688.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::NedelecPreBasis<·GV,·Range,·kind,·order·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00152_source.html">dune/functions/functionspacebases/nedelecbasis.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
81 | Public·Types</h2></td></tr> | 81 | Public·Types</h2></td></tr> |
82 | <tr·class="memitem:a4c8d0ac657c0dd2ecc6ecc826cb996a4"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html#a4c8d0ac657c0dd2ecc6ecc826cb996a4">GridView</a>·=·GV</td></tr> | 82 | <tr·class="memitem:a4c8d0ac657c0dd2ecc6ecc826cb996a4"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html#a4c8d0ac657c0dd2ecc6ecc826cb996a4">GridView</a>·=·GV</td></tr> |
83 | <tr·class="memdesc:a4c8d0ac657c0dd2ecc6ecc826cb996a4"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01691.html#a4c8d0ac657c0dd2ecc6ecc826cb996a4">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:a4c8d0ac657c0dd2ecc6ecc826cb996a4"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01691.html#a4c8d0ac657c0dd2ecc6ecc826cb996a4">More...</a><br·/></td></tr> |
84 | <tr·class="separator:a4c8d0ac657c0dd2ecc6ecc826cb996a4"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a4c8d0ac657c0dd2ecc6ecc826cb996a4"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a1ed8686000377d0557455ef973bc5e12"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html#a1ed8686000377d0557455ef973bc5e12">size_type</a>·=·std::size_t</td></tr> | 85 | <tr·class="memitem:a1ed8686000377d0557455ef973bc5e12"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01691.html#a1ed8686000377d0557455ef973bc5e12">size_type</a>·=·std::size_t</td></tr> |
Offset 629, 15 lines modified | Offset 629, 15 lines modified | ||
629 | ··</tr> | 629 | ··</tr> |
630 | </table> | 630 | </table> |
631 | </div><div·class="memdoc"> | 631 | </div><div·class="memdoc"> |
632 | </div> | 632 | </div> |
633 | </div> | 633 | </div> |
634 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 634 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
635 | <li><a·class="el"·href="a001 | 635 | <li><a·class="el"·href="a00152_source.html">nedelecbasis.hh</a></li> |
636 | </ul> | 636 | </ul> |
637 | </div><!--·contents·--> | 637 | </div><!--·contents·--> |
638 | <!--·start·footer·part·--> | 638 | <!--·start·footer·part·--> |
639 | <hr·class="footer"/><address·class="footer"><small> | 639 | <hr·class="footer"/><address·class="footer"><small> |
640 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 640 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
641 | </small></address> | 641 | </small></address> |
642 | </body> | 642 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="a01704.html">List·of·all·members</a>··</div> | 73 | <a·href="a01704.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisNodeMixin·Class·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisNodeMixin·Class·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a0011 | 77 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::BasisNodeMixin:</div> | 79 | Inheritance·diagram·for·Dune::Functions::BasisNodeMixin:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01706.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01706.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·id="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"·id="a_dune_1_1_functions_1_1_basis_node_mixin_inherit__map"> |
83 | <area·shape="rect"·title="·"·alt=""·coords="5,123,196,165"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="5,123,196,165"/> |
84 | <area·shape="rect"·href="a01719.html"·title="·"·alt=""·coords="713,24,948,80"/> | 84 | <area·shape="rect"·href="a01719.html"·title="·"·alt=""·coords="713,24,948,80"/> |
Offset 344, 15 lines modified | Offset 344, 15 lines modified | ||
344 | ··</tr> | 344 | ··</tr> |
345 | </table> | 345 | </table> |
346 | </div><div·class="memdoc"> | 346 | </div><div·class="memdoc"> |
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="a0011 | 350 | <li><a·class="el"·href="a00116_source.html">nodes.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 355 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
356 | </small></address> | 356 | </small></address> |
357 | </body> | 357 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="a01708.html">List·of·all·members</a>··</div> | 73 | <a·href="a01708.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LeafBasisNode·Class·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LeafBasisNode·Class·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a0011 | 77 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::LeafBasisNode:</div> | 79 | Inheritance·diagram·for·Dune::Functions::LeafBasisNode:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01710.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01710.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·id="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"·id="a_dune_1_1_functions_1_1_leaf_basis_node_inherit__map"> |
83 | <area·shape="rect"·title="·"·alt=""·coords="244,209,459,235"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="244,209,459,235"/> |
84 | <area·shape="rect"·href="a01495.html"·title="·"·alt=""·coords="527,5,697,47"/> | 84 | <area·shape="rect"·href="a01495.html"·title="·"·alt=""·coords="527,5,697,47"/> |
Offset 319, 15 lines modified | Offset 319, 15 lines modified | ||
319 | ··</tr> | 319 | ··</tr> |
320 | </table> | 320 | </table> |
321 | </div><div·class="memdoc"> | 321 | </div><div·class="memdoc"> |
322 | </div> | 322 | </div> |
323 | </div> | 323 | </div> |
324 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 324 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
325 | <li><a·class="el"·href="a0011 | 325 | <li><a·class="el"·href="a00116_source.html">nodes.hh</a></li> |
326 | </ul> | 326 | </ul> |
327 | </div><!--·contents·--> | 327 | </div><!--·contents·--> |
328 | <!--·start·footer·part·--> | 328 | <!--·start·footer·part·--> |
329 | <hr·class="footer"/><address·class="footer"><small> | 329 | <hr·class="footer"/><address·class="footer"><small> |
330 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 330 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
331 | </small></address> | 331 | </small></address> |
332 | </body> | 332 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="a01712.html">List·of·all·members</a>··</div> | 73 | <a·href="a01712.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerBasisNode<·T,·n·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerBasisNode<·T,·n·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a0011 | 77 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::PowerBasisNode<·T,·n·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::PowerBasisNode<·T,·n·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01714.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01714.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_power_basis_node_3_01_t_00_01n_01_4_inherit__map"> |
83 | <area·shape="rect"·title="·"·alt=""·coords="101,96,295,137"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="101,96,295,137"/> |
84 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="101,215,295,271"/> | 84 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="101,215,295,271"/> |
Offset 421, 15 lines modified | Offset 421, 15 lines modified | ||
421 | ··</tr> | 421 | ··</tr> |
422 | </table> | 422 | </table> |
423 | </div><div·class="memdoc"> | 423 | </div><div·class="memdoc"> |
424 | </div> | 424 | </div> |
425 | </div> | 425 | </div> |
426 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 426 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
427 | <li><a·class="el"·href="a0011 | 427 | <li><a·class="el"·href="a00116_source.html">nodes.hh</a></li> |
428 | </ul> | 428 | </ul> |
429 | </div><!--·contents·--> | 429 | </div><!--·contents·--> |
430 | <!--·start·footer·part·--> | 430 | <!--·start·footer·part·--> |
431 | <hr·class="footer"/><address·class="footer"><small> | 431 | <hr·class="footer"/><address·class="footer"><small> |
432 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 432 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
433 | </small></address> | 433 | </small></address> |
434 | </body> | 434 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="a01716.html">List·of·all·members</a>··</div> | 73 | <a·href="a01716.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositeBasisNode<·T·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::CompositeBasisNode<·T·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a0011 | 77 | <p><code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::CompositeBasisNode<·T·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::CompositeBasisNode<·T·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01718.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01718.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_composite_basis_node_3_01_t_01_4_inherit__map"> |
83 | <area·shape="rect"·title="·"·alt=""·coords="245,39,435,80"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="245,39,435,80"/> |
84 | <area·shape="rect"·href="a01719.html"·title="·"·alt=""·coords="688,31,923,87"/> | 84 | <area·shape="rect"·href="a01719.html"·title="·"·alt=""·coords="688,31,923,87"/> |
Offset 454, 15 lines modified | Offset 454, 15 lines modified | ||
454 | ··</tr> | 454 | ··</tr> |
455 | </table> | 455 | </table> |
456 | </div><div·class="memdoc"> | 456 | </div><div·class="memdoc"> |
457 | </div> | 457 | </div> |
458 | </div> | 458 | </div> |
459 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 459 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
460 | <li><a·class="el"·href="a0011 | 460 | <li><a·class="el"·href="a00116_source.html">nodes.hh</a></li> |
461 | </ul> | 461 | </ul> |
462 | </div><!--·contents·--> | 462 | </div><!--·contents·--> |
463 | <!--·start·footer·part·--> | 463 | <!--·start·footer·part·--> |
464 | <hr·class="footer"/><address·class="footer"><small> | 464 | <hr·class="footer"/><address·class="footer"><small> |
465 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 465 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
466 | </small></address> | 466 | </small></address> |
467 | </body> | 467 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet·Class·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::PeriodicIndexSet·Class·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Container·storing·identified·indices·for·a·periodic·basis.·· | 75 | <p>Container·storing·identified·indices·for·a·periodic·basis.·· |
76 | ·<a·href="a01723.html#details">More...</a></p> | 76 | ·<a·href="a01723.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a001 | 77 | <p><code>#include·<<a·class="el"·href="a00107_source.html">dune/functions/functionspacebases/periodicbasis.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01723.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIndexPair</a>·(std::size_t·a,·std::size_t·b)</td></tr> | 81 | <tr·class="memitem:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01723.html#a97911b25f2c1cf61ab48a667ae448b7e">unifyIndexPair</a>·(std::size_t·a,·std::size_t·b)</td></tr> |
82 | <tr·class="memdesc:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Insert·a·pair·of·indices.··<a·href="a01723.html#a97911b25f2c1cf61ab48a667ae448b7e">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="mdescLeft"> </td><td·class="mdescRight">Insert·a·pair·of·indices.··<a·href="a01723.html#a97911b25f2c1cf61ab48a667ae448b7e">More...</a><br·/></td></tr> |
83 | <tr·class="separator:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:a97911b25f2c1cf61ab48a667ae448b7e"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:ace4a53d881dc7e6add6b0fd05a394738"><td·class="memItemLeft"·align="right"·valign="top">const·auto·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01723.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>·()·const</td></tr> | 84 | <tr·class="memitem:ace4a53d881dc7e6add6b0fd05a394738"><td·class="memItemLeft"·align="right"·valign="top">const·auto·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01723.html#ace4a53d881dc7e6add6b0fd05a394738">indexPairSet</a>·()·const</td></tr> |
Offset 151, 15 lines modified | Offset 151, 15 lines modified | ||
151 | <p>Insert·a·pair·of·indices.·</p> | 151 | <p>Insert·a·pair·of·indices.·</p> |
152 | <p·>The·two·bases·functions·associated·to·the·provided·indices·will·be·combined·into·a·single·basis·function·by·associating·them·to·a·shared·global·index.·</p> | 152 | <p·>The·two·bases·functions·associated·to·the·provided·indices·will·be·combined·into·a·single·basis·function·by·associating·them·to·a·shared·global·index.·</p> |
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="a001 | 156 | <li><a·class="el"·href="a00107_source.html">periodicbasis.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 161 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
162 | </small></address> | 162 | </small></address> |
163 | </body> | 163 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::PowerPreBasis<·IMS,·SPB,·C·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>A·pre-basis·for·power·bases.·· | 77 | <p>A·pre-basis·for·power·bases.·· |
78 | ·<a·href="a01735.html#details">More...</a></p> | 78 | ·<a·href="a01735.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a00 | 79 | <p><code>#include·<<a·class="el"·href="a00086_source.html">dune/functions/functionspacebases/powerbasis.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:a419106855686e36864eea0100d8e618e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01735.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>·=·SPB</td></tr> | 83 | <tr·class="memitem:a419106855686e36864eea0100d8e618e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01735.html#a419106855686e36864eea0100d8e618e">SubPreBasis</a>·=·SPB</td></tr> |
84 | <tr·class="memdesc:a419106855686e36864eea0100d8e618e"><td·class="mdescLeft"> </td><td·class="mdescRight">The·child·pre-basis.··<a·href="a01735.html#a419106855686e36864eea0100d8e618e">More...</a><br·/></td></tr> | 84 | <tr·class="memdesc:a419106855686e36864eea0100d8e618e"><td·class="mdescLeft"> </td><td·class="mdescRight">The·child·pre-basis.··<a·href="a01735.html#a419106855686e36864eea0100d8e618e">More...</a><br·/></td></tr> |
85 | <tr·class="separator:a419106855686e36864eea0100d8e618e"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:a419106855686e36864eea0100d8e618e"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:a37d97aeb515a5abfd55259f1fb320d12"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01735.html#a37d97aeb515a5abfd55259f1fb320d12">GridView</a>·=·typename·SPB::GridView</td></tr> | 86 | <tr·class="memitem:a37d97aeb515a5abfd55259f1fb320d12"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01735.html#a37d97aeb515a5abfd55259f1fb320d12">GridView</a>·=·typename·SPB::GridView</td></tr> |
Offset 711, 15 lines modified | Offset 711, 15 lines modified | ||
711 | ··</tr> | 711 | ··</tr> |
712 | </table> | 712 | </table> |
713 | </div><div·class="memdoc"> | 713 | </div><div·class="memdoc"> |
714 | </div> | 714 | </div> |
715 | </div> | 715 | </div> |
716 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 716 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
717 | <li><a·class="el"·href="a00 | 717 | <li><a·class="el"·href="a00086_source.html">powerbasis.hh</a></li> |
718 | </ul> | 718 | </ul> |
719 | </div><!--·contents·--> | 719 | </div><!--·contents·--> |
720 | <!--·start·footer·part·--> | 720 | <!--·start·footer·part·--> |
721 | <hr·class="footer"/><address·class="footer"><small> | 721 | <hr·class="footer"/><address·class="footer"><small> |
722 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 722 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
723 | </small></address> | 723 | </small></address> |
724 | </body> | 724 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01736.html">List·of·all·members</a>··</div> | 74 | <a·href="a01736.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekNode<·GV·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekNode<·GV·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/rannacherturekbasis.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::RannacherTurekNode<·GV·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::RannacherTurekNode<·GV·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01738.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01738.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_rannacher_turek_node_3_01_g_v_01_4_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="101,169,289,211"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="101,169,289,211"/> |
85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 528, 15 lines modified | Offset 528, 15 lines modified | ||
528 | ··</tr> | 528 | ··</tr> |
529 | </table> | 529 | </table> |
530 | </div><div·class="memdoc"> | 530 | </div><div·class="memdoc"> |
531 | </div> | 531 | </div> |
532 | </div> | 532 | </div> |
533 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 533 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
534 | <li><a·class="el"·href="a001 | 534 | <li><a·class="el"·href="a00113_source.html">rannacherturekbasis.hh</a></li> |
535 | </ul> | 535 | </ul> |
536 | </div><!--·contents·--> | 536 | </div><!--·contents·--> |
537 | <!--·start·footer·part·--> | 537 | <!--·start·footer·part·--> |
538 | <hr·class="footer"/><address·class="footer"><small> | 538 | <hr·class="footer"/><address·class="footer"><small> |
539 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 539 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
540 | </small></address> | 540 | </small></address> |
541 | </body> | 541 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekPreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RannacherTurekPreBasis<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>Pre-basis·for·a·Rannacher-Turek·basis.·· | 78 | <p>Pre-basis·for·a·Rannacher-Turek·basis.·· |
79 | ·<a·href="a01743.html#details">More...</a></p> | 79 | ·<a·href="a01743.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a001 | 80 | <p><code>#include·<<a·class="el"·href="a00113_source.html">dune/functions/functionspacebases/rannacherturekbasis.hh</a>></code></p> |
81 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
83 | Public·Types</h2></td></tr> | 83 | Public·Types</h2></td></tr> |
84 | <tr·class="memitem:a5c7c1da97270ba99143631790b29f558"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>·=·GV</td></tr> | 84 | <tr·class="memitem:a5c7c1da97270ba99143631790b29f558"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01743.html#a5c7c1da97270ba99143631790b29f558">GridView</a>·=·GV</td></tr> |
85 | <tr·class="memdesc:a5c7c1da97270ba99143631790b29f558"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01743.html#a5c7c1da97270ba99143631790b29f558">More...</a><br·/></td></tr> | 85 | <tr·class="memdesc:a5c7c1da97270ba99143631790b29f558"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01743.html#a5c7c1da97270ba99143631790b29f558">More...</a><br·/></td></tr> |
86 | <tr·class="separator:a5c7c1da97270ba99143631790b29f558"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:a5c7c1da97270ba99143631790b29f558"><td·class="memSeparator"·colspan="2"> </td></tr> |
87 | <tr·class="memitem:a3d9ace6e885c64bfc5776f0273f06e3d"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·=·std::size_t</td></tr> | 87 | <tr·class="memitem:a3d9ace6e885c64bfc5776f0273f06e3d"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01743.html#a3d9ace6e885c64bfc5776f0273f06e3d">size_type</a>·=·std::size_t</td></tr> |
Offset 608, 15 lines modified | Offset 608, 15 lines modified | ||
608 | ··</tr> | 608 | ··</tr> |
609 | </table> | 609 | </table> |
610 | </div><div·class="memdoc"> | 610 | </div><div·class="memdoc"> |
611 | </div> | 611 | </div> |
612 | </div> | 612 | </div> |
613 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 613 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
614 | <li><a·class="el"·href="a001 | 614 | <li><a·class="el"·href="a00113_source.html">rannacherturekbasis.hh</a></li> |
615 | </ul> | 615 | </ul> |
616 | </div><!--·contents·--> | 616 | </div><!--·contents·--> |
617 | <!--·start·footer·part·--> | 617 | <!--·start·footer·part·--> |
618 | <hr·class="footer"/><address·class="footer"><small> | 618 | <hr·class="footer"/><address·class="footer"><small> |
619 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 619 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
620 | </small></address> | 620 | </small></address> |
621 | </body> | 621 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01788.html">List·of·all·members</a>··</div> | 74 | <a·href="a01788.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasNode<·GV,·k·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasNode<·GV,·k·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a0014 | 78 | <p><code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/functionspacebases/raviartthomasbasis.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::RaviartThomasNode<·GV,·k·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::RaviartThomasNode<·GV,·k·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01790.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01790.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_raviart_thomas_node_3_01_g_v_00_01k_01_4_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="111,169,279,211"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="111,169,279,211"/> |
85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> | 85 | <area·shape="rect"·href="a01711.html"·title="·"·alt=""·coords="88,95,303,121"/> |
Offset 573, 15 lines modified | Offset 573, 15 lines modified | ||
573 | ··</tr> | 573 | ··</tr> |
574 | </table> | 574 | </table> |
575 | </div><div·class="memdoc"> | 575 | </div><div·class="memdoc"> |
576 | </div> | 576 | </div> |
577 | </div> | 577 | </div> |
578 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 578 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
579 | <li><a·class="el"·href="a0014 | 579 | <li><a·class="el"·href="a00140_source.html">raviartthomasbasis.hh</a></li> |
580 | </ul> | 580 | </ul> |
581 | </div><!--·contents·--> | 581 | </div><!--·contents·--> |
582 | <!--·start·footer·part·--> | 582 | <!--·start·footer·part·--> |
583 | <hr·class="footer"/><address·class="footer"><small> | 583 | <hr·class="footer"/><address·class="footer"><small> |
584 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 584 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
585 | </small></address> | 585 | </small></address> |
586 | </body> | 586 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| | 72 | <a·href="#pub-static-attribs">Static·Public·Attributes</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01792.html">List·of·all·members</a>··</div> | 74 | <a·href="a01792.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasPreBasis<·GV,·k·>·Class·Template·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::RaviartThomasPreBasis<·GV,·k·>·Class·Template·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a0014 | 78 | <p><code>#include·<<a·class="el"·href="a00140_source.html">dune/functions/functionspacebases/raviartthomasbasis.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
81 | Public·Types</h2></td></tr> | 81 | Public·Types</h2></td></tr> |
82 | <tr·class="memitem:ab389963ad645a85730a68ba538962d68"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01795.html#ab389963ad645a85730a68ba538962d68">GridView</a>·=·GV</td></tr> | 82 | <tr·class="memitem:ab389963ad645a85730a68ba538962d68"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01795.html#ab389963ad645a85730a68ba538962d68">GridView</a>·=·GV</td></tr> |
83 | <tr·class="memdesc:ab389963ad645a85730a68ba538962d68"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01795.html#ab389963ad645a85730a68ba538962d68">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:ab389963ad645a85730a68ba538962d68"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·space·is·defined·on.··<a·href="a01795.html#ab389963ad645a85730a68ba538962d68">More...</a><br·/></td></tr> |
84 | <tr·class="separator:ab389963ad645a85730a68ba538962d68"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:ab389963ad645a85730a68ba538962d68"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a3e54e4eb73680c37e4fc32475f49bd46"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01795.html#a3e54e4eb73680c37e4fc32475f49bd46">size_type</a>·=·std::size_t</td></tr> | 85 | <tr·class="memitem:a3e54e4eb73680c37e4fc32475f49bd46"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01795.html#a3e54e4eb73680c37e4fc32475f49bd46">size_type</a>·=·std::size_t</td></tr> |
Offset 657, 15 lines modified | Offset 657, 15 lines modified | ||
657 | ··</tr> | 657 | ··</tr> |
658 | </table> | 658 | </table> |
659 | </div><div·class="memdoc"> | 659 | </div><div·class="memdoc"> |
660 | </div> | 660 | </div> |
661 | </div> | 661 | </div> |
662 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 662 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
663 | <li><a·class="el"·href="a0014 | 663 | <li><a·class="el"·href="a00140_source.html">raviartthomasbasis.hh</a></li> |
664 | </ul> | 664 | </ul> |
665 | </div><!--·contents·--> | 665 | </div><!--·contents·--> |
666 | <!--·start·footer·part·--> | 666 | <!--·start·footer·part·--> |
667 | <hr·class="footer"/><address·class="footer"><small> | 667 | <hr·class="footer"/><address·class="footer"><small> |
668 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 668 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
669 | </small></address> | 669 | </small></address> |
670 | </body> | 670 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SizeInfo<·B·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SizeInfo<·B·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>A·class·encapsulating·size·information.·· | 77 | <p>A·class·encapsulating·size·information.·· |
78 | ·<a·href="a01799.html#details">More...</a></p> | 78 | ·<a·href="a01799.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00110_source.html">dune/functions/functionspacebases/sizeinfo.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:aa558e8687398c74affd92abb8af9bd58"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B</td></tr> | 83 | <tr·class="memitem:aa558e8687398c74affd92abb8af9bd58"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01799.html#aa558e8687398c74affd92abb8af9bd58">Basis</a>·=·B</td></tr> |
84 | <tr·class="separator:aa558e8687398c74affd92abb8af9bd58"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:aa558e8687398c74affd92abb8af9bd58"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a9d54b03391ba53f2cde374099ef62c21"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·typename·Basis::size_type</td></tr> | 85 | <tr·class="memitem:a9d54b03391ba53f2cde374099ef62c21"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01799.html#a9d54b03391ba53f2cde374099ef62c21">size_type</a>·=·typename·Basis::size_type</td></tr> |
86 | <tr·class="separator:a9d54b03391ba53f2cde374099ef62c21"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:a9d54b03391ba53f2cde374099ef62c21"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 304, 15 lines modified | Offset 304, 15 lines modified | ||
304 | ··</tr> | 304 | ··</tr> |
305 | </table> | 305 | </table> |
306 | </div><div·class="memdoc"> | 306 | </div><div·class="memdoc"> |
307 | </div> | 307 | </div> |
308 | </div> | 308 | </div> |
309 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 309 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
310 | <li><a·class="el"·href="a001 | 310 | <li><a·class="el"·href="a00110_source.html">sizeinfo.hh</a></li> |
311 | </ul> | 311 | </ul> |
312 | </div><!--·contents·--> | 312 | </div><!--·contents·--> |
313 | <!--·start·footer·part·--> | 313 | <!--·start·footer·part·--> |
314 | <hr·class="footer"/><address·class="footer"><small> | 314 | <hr·class="footer"/><address·class="footer"><small> |
315 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 315 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
316 | </small></address> | 316 | </small></address> |
317 | </body> | 317 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubEntityDOFs<·GridView·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubEntityDOFs<·GridView·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00214.html">Function·space·basis·utilities</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Range·of·DOFs·associated·to·sub-entity.·· | 75 | <p>Range·of·DOFs·associated·to·sub-entity.·· |
76 | ·<a·href="a01803.html#details">More...</a></p> | 76 | ·<a·href="a01803.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00089_source.html">dune/functions/functionspacebases/subentitydofs.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
80 | Public·Member·Functions</h2></td></tr> | 80 | Public·Member·Functions</h2></td></tr> |
81 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> | 81 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplParams"·colspan="2">template<class·LocalView·>·</td></tr> |
82 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01803.html">SubEntityDOFs</a>·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">bind</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> | 82 | <tr·class="memitem:acac48052c1a9079f779b64e68ce52e82"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01803.html">SubEntityDOFs</a>·& </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">bind</a>·(const·LocalView·&localView,·std::size_t·subEntityIndex,·std::size_t·subEntityCodim)</td></tr> |
83 | <tr·class="memdesc:acac48052c1a9079f779b64e68ce52e82"><td·class="mdescLeft"> </td><td·class="mdescRight">Bind·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object·to·LocalView·and·sub-entity.··<a·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">More...</a><br·/></td></tr> | 83 | <tr·class="memdesc:acac48052c1a9079f779b64e68ce52e82"><td·class="mdescLeft"> </td><td·class="mdescRight">Bind·<a·class="el"·href="a01803.html"·title="Range·of·DOFs·associated·to·sub-entity.">SubEntityDOFs</a>·object·to·LocalView·and·sub-entity.··<a·href="a01803.html#acac48052c1a9079f779b64e68ce52e82">More...</a><br·/></td></tr> |
84 | <tr·class="separator:acac48052c1a9079f779b64e68ce52e82"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:acac48052c1a9079f779b64e68ce52e82"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 370, 15 lines modified | Offset 370, 15 lines modified | ||
370 | </div><div·class="memdoc"> | 370 | </div><div·class="memdoc"> |
371 | <p>Return·number·of·contained·DOFs.·</p> | 371 | <p>Return·number·of·contained·DOFs.·</p> |
372 | </div> | 372 | </div> |
373 | </div> | 373 | </div> |
374 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 374 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
375 | <li><a·class="el"·href="a00 | 375 | <li><a·class="el"·href="a00089_source.html">subentitydofs.hh</a></li> |
376 | </ul> | 376 | </ul> |
377 | </div><!--·contents·--> | 377 | </div><!--·contents·--> |
378 | <!--·start·footer·part·--> | 378 | <!--·start·footer·part·--> |
379 | <hr·class="footer"/><address·class="footer"><small> | 379 | <hr·class="footer"/><address·class="footer"><small> |
380 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 380 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
381 | </small></address> | 381 | </small></address> |
382 | </body> | 382 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 72 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
73 | <a·href="a01804.html">List·of·all·members</a>··</div> | 73 | <a·href="a01804.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceBasis<·RB,·TP·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceBasis<·RB,·TP·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a001 | 77 | <p><code>#include·<<a·class="el"·href="a00104_source.html">dune/functions/functionspacebases/subspacebasis.hh</a>></code></p> |
78 | <table·class="memberdecls"> | 78 | <table·class="memberdecls"> |
79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 79 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
80 | Public·Types</h2></td></tr> | 80 | Public·Types</h2></td></tr> |
81 | <tr·class="memitem:aaa9c058bcb0bc05bdba112801201f281"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB</td></tr> | 81 | <tr·class="memitem:aaa9c058bcb0bc05bdba112801201f281"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01807.html#aaa9c058bcb0bc05bdba112801201f281">RootBasis</a>·=·RB</td></tr> |
82 | <tr·class="separator:aaa9c058bcb0bc05bdba112801201f281"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:aaa9c058bcb0bc05bdba112801201f281"><td·class="memSeparator"·colspan="2"> </td></tr> |
83 | <tr·class="memitem:a00d424aa40e6c051f610a308317cc57e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01807.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·typename·RootBasis::LocalView</td></tr> | 83 | <tr·class="memitem:a00d424aa40e6c051f610a308317cc57e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01807.html#a00d424aa40e6c051f610a308317cc57e">RootLocalView</a>·=·typename·RootBasis::LocalView</td></tr> |
84 | <tr·class="separator:a00d424aa40e6c051f610a308317cc57e"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a00d424aa40e6c051f610a308317cc57e"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 599, 15 lines modified | Offset 599, 15 lines modified | ||
599 | ··</tr> | 599 | ··</tr> |
600 | </table> | 600 | </table> |
601 | </div><div·class="memdoc"> | 601 | </div><div·class="memdoc"> |
602 | </div> | 602 | </div> |
603 | </div> | 603 | </div> |
604 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 604 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
605 | <li><a·class="el"·href="a001 | 605 | <li><a·class="el"·href="a00104_source.html">subspacebasis.hh</a></li> |
606 | </ul> | 606 | </ul> |
607 | </div><!--·contents·--> | 607 | </div><!--·contents·--> |
608 | <!--·start·footer·part·--> | 608 | <!--·start·footer·part·--> |
609 | <hr·class="footer"/><address·class="footer"><small> | 609 | <hr·class="footer"/><address·class="footer"><small> |
610 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 610 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
611 | </small></address> | 611 | </small></address> |
612 | </body> | 612 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceLocalView<·RLV,·PP·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::SubspaceLocalView<·RLV,·PP·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· | 77 | <p>The·restriction·of·a·finite·element·basis·to·a·single·element.·· |
78 | ·<a·href="a01811.html#details">More...</a></p> | 78 | ·<a·href="a01811.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00101_source.html">dune/functions/functionspacebases/subspacelocalview.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:aa1f3b0a89f5d186299ed0a5329562815"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01811.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV</td></tr> | 83 | <tr·class="memitem:aa1f3b0a89f5d186299ed0a5329562815"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01811.html#aa1f3b0a89f5d186299ed0a5329562815">RootLocalView</a>·=·RLV</td></tr> |
84 | <tr·class="separator:aa1f3b0a89f5d186299ed0a5329562815"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:aa1f3b0a89f5d186299ed0a5329562815"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a3a627e895c213316cb666677fb9176de"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01811.html#a3a627e895c213316cb666677fb9176de">GlobalBasis</a>·=·<a·class="el"·href="a01807.html">SubspaceBasis</a><·typename·RootLocalView::GlobalBasis,·PrefixPath·></td></tr> | 85 | <tr·class="memitem:a3a627e895c213316cb666677fb9176de"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01811.html#a3a627e895c213316cb666677fb9176de">GlobalBasis</a>·=·<a·class="el"·href="a01807.html">SubspaceBasis</a><·typename·RootLocalView::GlobalBasis,·PrefixPath·></td></tr> |
86 | <tr·class="memdesc:a3a627e895c213316cb666677fb9176de"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<a·href="a01811.html#a3a627e895c213316cb666677fb9176de">More...</a><br·/></td></tr> | 86 | <tr·class="memdesc:a3a627e895c213316cb666677fb9176de"><td·class="mdescLeft"> </td><td·class="mdescRight">The·global·FE·basis·that·this·is·a·view·on.··<a·href="a01811.html#a3a627e895c213316cb666677fb9176de">More...</a><br·/></td></tr> |
Offset 682, 15 lines modified | Offset 682, 15 lines modified | ||
682 | ··</tr> | 682 | ··</tr> |
683 | </table> | 683 | </table> |
684 | </div><div·class="memdoc"> | 684 | </div><div·class="memdoc"> |
685 | </div> | 685 | </div> |
686 | </div> | 686 | </div> |
687 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 687 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
688 | <li><a·class="el"·href="a001 | 688 | <li><a·class="el"·href="a00101_source.html">subspacelocalview.hh</a></li> |
689 | </ul> | 689 | </ul> |
690 | </div><!--·contents·--> | 690 | </div><!--·contents·--> |
691 | <!--·start·footer·part·--> | 691 | <!--·start·footer·part·--> |
692 | <hr·class="footer"/><address·class="footer"><small> | 692 | <hr·class="footer"/><address·class="footer"><small> |
693 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 693 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
694 | </small></address> | 694 | </small></address> |
695 | </body> | 695 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="a01812.html">List·of·all·members</a>··</div> | 73 | <a·href="a01812.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodVelocityTree<·GV·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodVelocityTree<·GV·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/functionspacebases/taylorhoodbasis.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::TaylorHoodVelocityTree<·GV·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::TaylorHoodVelocityTree<·GV·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01814.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01814.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_velocity_tree_3_01_g_v_01_4_inherit__map"> |
83 | <area·shape="rect"·title="·"·alt=""·coords="867,63,1059,104"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="867,63,1059,104"/> |
84 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="623,55,817,111"/> | 84 | <area·shape="rect"·href="a01715.html"·title="·"·alt=""·coords="623,55,817,111"/> |
Offset 396, 15 lines modified | Offset 396, 15 lines modified | ||
396 | ··</tr> | 396 | ··</tr> |
397 | </table> | 397 | </table> |
398 | </div><div·class="memdoc"> | 398 | </div><div·class="memdoc"> |
399 | </div> | 399 | </div> |
400 | </div> | 400 | </div> |
401 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 401 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
402 | <li><a·class="el"·href="a00 | 402 | <li><a·class="el"·href="a00077_source.html">taylorhoodbasis.hh</a></li> |
403 | </ul> | 403 | </ul> |
404 | </div><!--·contents·--> | 404 | </div><!--·contents·--> |
405 | <!--·start·footer·part·--> | 405 | <!--·start·footer·part·--> |
406 | <hr·class="footer"/><address·class="footer"><small> | 406 | <hr·class="footer"/><address·class="footer"><small> |
407 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 407 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
408 | </small></address> | 408 | </small></address> |
409 | </body> | 409 | </body> |
Offset 71, 15 lines modified | Offset 71, 15 lines modified | ||
71 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 71 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="a01816.html">List·of·all·members</a>··</div> | 73 | <a·href="a01816.html">List·of·all·members</a>··</div> |
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodBasisTree<·GV·>·Class·Template·Reference</div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodBasisTree<·GV·>·Class·Template·Reference</div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/functionspacebases/taylorhoodbasis.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::TaylorHoodBasisTree<·GV·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::TaylorHoodBasisTree<·GV·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01818.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01818.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_taylor_hood_basis_tree_3_01_g_v_01_4_inherit__map"> |
83 | <area·shape="rect"·title="·"·alt=""·coords="972,39,1164,80"/> | 83 | <area·shape="rect"·title="·"·alt=""·coords="972,39,1164,80"/> |
84 | <area·shape="rect"·href="a01719.html"·title="·"·alt=""·coords="688,31,923,87"/> | 84 | <area·shape="rect"·href="a01719.html"·title="·"·alt=""·coords="688,31,923,87"/> |
Offset 395, 15 lines modified | Offset 395, 15 lines modified | ||
395 | ··</tr> | 395 | ··</tr> |
396 | </table> | 396 | </table> |
397 | </div><div·class="memdoc"> | 397 | </div><div·class="memdoc"> |
398 | </div> | 398 | </div> |
399 | </div> | 399 | </div> |
400 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 400 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
401 | <li><a·class="el"·href="a00 | 401 | <li><a·class="el"·href="a00077_source.html">taylorhoodbasis.hh</a></li> |
402 | </ul> | 402 | </ul> |
403 | </div><!--·contents·--> | 403 | </div><!--·contents·--> |
404 | <!--·start·footer·part·--> | 404 | <!--·start·footer·part·--> |
405 | <hr·class="footer"/><address·class="footer"><small> | 405 | <hr·class="footer"/><address·class="footer"><small> |
406 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 406 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
407 | </small></address> | 407 | </small></address> |
408 | </body> | 408 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodPreBasis<·GV,·HI·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::TaylorHoodPreBasis<·GV,·HI·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
78 | </div><!--header--> | 78 | </div><!--header--> |
79 | <div·class="contents"> | 79 | <div·class="contents"> |
80 | <p>Pre-basis·for·lowest·order·Taylor-Hood·basis.·· | 80 | <p>Pre-basis·for·lowest·order·Taylor-Hood·basis.·· |
81 | ·<a·href="a01823.html#details">More...</a></p> | 81 | ·<a·href="a01823.html#details">More...</a></p> |
82 | <p><code>#include·<<a·class="el"·href="a00 | 82 | <p><code>#include·<<a·class="el"·href="a00077_source.html">dune/functions/functionspacebases/taylorhoodbasis.hh</a>></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:a4fbd3d92587a03f3871066968035f194"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01823.html#a4fbd3d92587a03f3871066968035f194">GridView</a>·=·GV</td></tr> | 86 | <tr·class="memitem:a4fbd3d92587a03f3871066968035f194"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01823.html#a4fbd3d92587a03f3871066968035f194">GridView</a>·=·GV</td></tr> |
87 | <tr·class="memdesc:a4fbd3d92587a03f3871066968035f194"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01823.html#a4fbd3d92587a03f3871066968035f194">More...</a><br·/></td></tr> | 87 | <tr·class="memdesc:a4fbd3d92587a03f3871066968035f194"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01823.html#a4fbd3d92587a03f3871066968035f194">More...</a><br·/></td></tr> |
88 | <tr·class="separator:a4fbd3d92587a03f3871066968035f194"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:a4fbd3d92587a03f3871066968035f194"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:aeed4421421902dc5900eedca651e56b9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01823.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t</td></tr> | 89 | <tr·class="memitem:aeed4421421902dc5900eedca651e56b9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01823.html#aeed4421421902dc5900eedca651e56b9">size_type</a>·=·std::size_t</td></tr> |
Offset 805, 15 lines modified | Offset 805, 15 lines modified | ||
805 | ··</tr> | 805 | ··</tr> |
806 | </table> | 806 | </table> |
807 | </div><div·class="memdoc"> | 807 | </div><div·class="memdoc"> |
808 | </div> | 808 | </div> |
809 | </div> | 809 | </div> |
810 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 810 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
811 | <li><a·class="el"·href="a00 | 811 | <li><a·class="el"·href="a00077_source.html">taylorhoodbasis.hh</a></li> |
812 | </ul> | 812 | </ul> |
813 | </div><!--·contents·--> | 813 | </div><!--·contents·--> |
814 | <!--·start·footer·part·--> | 814 | <!--·start·footer·part·--> |
815 | <hr·class="footer"/><address·class="footer"><small> | 815 | <hr·class="footer"/><address·class="footer"><small> |
816 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 816 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
817 | </small></address> | 817 | </small></address> |
818 | </body> | 818 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::Experimental::TransformedIndexPreBasis<·RPB,·T·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00211.html">Function·space·bases</a>·»·<a·class="el"·href="a00213.html">Function·space·basis·implementations</a></div></div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>A·pre-basis·transforming·multi-indices.·· | 78 | <p>A·pre-basis·transforming·multi-indices.·· |
79 | ·<a·href="a01827.html#details">More...</a></p> | 79 | ·<a·href="a01827.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a001 | 80 | <p><code>#include·<<a·class="el"·href="a00137_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code></p> |
81 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
83 | Public·Types</h2></td></tr> | 83 | Public·Types</h2></td></tr> |
84 | <tr·class="memitem:a64aa0bf3453d3f749622b7ea521715ae"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01827.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB</td></tr> | 84 | <tr·class="memitem:a64aa0bf3453d3f749622b7ea521715ae"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01827.html#a64aa0bf3453d3f749622b7ea521715ae">RawPreBasis</a>·=·RPB</td></tr> |
85 | <tr·class="separator:a64aa0bf3453d3f749622b7ea521715ae"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:a64aa0bf3453d3f749622b7ea521715ae"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:a218ba207b64f73e09b2018d951f2dd54"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·typename·RawPreBasis::GridView</td></tr> | 86 | <tr·class="memitem:a218ba207b64f73e09b2018d951f2dd54"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">GridView</a>·=·typename·RawPreBasis::GridView</td></tr> |
87 | <tr·class="memdesc:a218ba207b64f73e09b2018d951f2dd54"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">More...</a><br·/></td></tr> | 87 | <tr·class="memdesc:a218ba207b64f73e09b2018d951f2dd54"><td·class="mdescLeft"> </td><td·class="mdescRight">The·grid·view·that·the·FE·basis·is·defined·on.··<a·href="a01827.html#a218ba207b64f73e09b2018d951f2dd54">More...</a><br·/></td></tr> |
Offset 772, 15 lines modified | Offset 772, 15 lines modified | ||
772 | ··</tr> | 772 | ··</tr> |
773 | </table> | 773 | </table> |
774 | </div><div·class="memdoc"> | 774 | </div><div·class="memdoc"> |
775 | </div> | 775 | </div> |
776 | </div> | 776 | </div> |
777 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 777 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
778 | <li><a·class="el"·href="a001 | 778 | <li><a·class="el"·href="a00137_source.html">transformedindexbasis.hh</a></li> |
779 | </ul> | 779 | </ul> |
780 | </div><!--·contents·--> | 780 | </div><!--·contents·--> |
781 | <!--·start·footer·part·--> | 781 | <!--·start·footer·part·--> |
782 | <hr·class="footer"/><address·class="footer"><small> | 782 | <hr·class="footer"/><address·class="footer"><small> |
783 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 783 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
784 | </small></address> | 784 | </small></address> |
785 | </body> | 785 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·minIS,·maxIS·>·Class·Template·Reference</div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::BasisFactory::Experimental::GenericIndexingTransformation<·IndexTransformation,·SizeImplementation,·minIS,·maxIS·>·Class·Template·Reference</div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>A·generic·implementation·of·a·transformation.·· | 76 | <p>A·generic·implementation·of·a·transformation.·· |
77 | ·<a·href="a01831.html#details">More...</a></p> | 77 | ·<a·href="a01831.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00137_source.html">dune/functions/functionspacebases/transformedindexbasis.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
81 | Public·Member·Functions</h2></td></tr> | 81 | Public·Member·Functions</h2></td></tr> |
82 | <tr·class="memitem:a219750b8ee3e1c033ad682d97799025b"><td·class="memTemplParams"·colspan="2">template<class·IT_R·,·class·SI_R·>·</td></tr> | 82 | <tr·class="memitem:a219750b8ee3e1c033ad682d97799025b"><td·class="memTemplParams"·colspan="2">template<class·IT_R·,·class·SI_R·>·</td></tr> |
83 | <tr·class="memitem:a219750b8ee3e1c033ad682d97799025b"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01831.html#a219750b8ee3e1c033ad682d97799025b">GenericIndexingTransformation</a>·(IT_R·&&<a·class="el"·href="a00227.html#af76509ea5d22293cf990c33c3306992f">indexTransformation</a>,·SI_R·&&sizeImplementation)</td></tr> | 83 | <tr·class="memitem:a219750b8ee3e1c033ad682d97799025b"><td·class="memTemplItemLeft"·align="right"·valign="top"> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01831.html#a219750b8ee3e1c033ad682d97799025b">GenericIndexingTransformation</a>·(IT_R·&&<a·class="el"·href="a00227.html#af76509ea5d22293cf990c33c3306992f">indexTransformation</a>,·SI_R·&&sizeImplementation)</td></tr> |
84 | <tr·class="separator:a219750b8ee3e1c033ad682d97799025b"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:a219750b8ee3e1c033ad682d97799025b"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:a6023cfa399a887be2d3e61b254725e7c"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·PreBasis·>·</td></tr> | 85 | <tr·class="memitem:a6023cfa399a887be2d3e61b254725e7c"><td·class="memTemplParams"·colspan="2">template<class·MultiIndex·,·class·PreBasis·>·</td></tr> |
Offset 313, 15 lines modified | Offset 313, 15 lines modified | ||
313 | ··</tr> | 313 | ··</tr> |
314 | </table> | 314 | </table> |
315 | </div><div·class="memdoc"> | 315 | </div><div·class="memdoc"> |
316 | </div> | 316 | </div> |
317 | </div> | 317 | </div> |
318 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 318 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
319 | <li><a·class="el"·href="a001 | 319 | <li><a·class="el"·href="a00137_source.html">transformedindexbasis.hh</a></li> |
320 | </ul> | 320 | </ul> |
321 | </div><!--·contents·--> | 321 | </div><!--·contents·--> |
322 | <!--·start·footer·part·--> | 322 | <!--·start·footer·part·--> |
323 | <hr·class="footer"/><address·class="footer"><small> | 323 | <hr·class="footer"/><address·class="footer"><small> |
324 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 324 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
325 | </small></address> | 325 | </small></address> |
326 | </body> | 326 | </body> |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | </td></tr> | 79 | </td></tr> |
80 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> | 80 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplParams"·colspan="2">template<class·F·,·class·GridView·>·</td></tr> |
81 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01843.html">AnalyticGridViewFunction</a><·typename·std::invoke_result<·F,·typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate·>::type(typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate),·GridView,·typename·std::decay<·F·>::type·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> | 81 | <tr·class="memitem:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a01843.html">AnalyticGridViewFunction</a><·typename·std::invoke_result<·F,·typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate·>::type(typename·GridView::template·Codim<·0·>::Geometry::GlobalCoordinate),·GridView,·typename·std::decay<·F·>::type·> </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">makeAnalyticGridViewFunction</a>·(F·&&f,·const·GridView·&gridView)</td></tr> |
82 | <tr·class="memdesc:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01843.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<a·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">More...</a><br·/></td></tr> | 82 | <tr·class="memdesc:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="mdescLeft"> </td><td·class="mdescRight">Create·an·<a·class="el"·href="a01843.html">AnalyticGridViewFunction</a>·from·a·function·and·a·grid·view.··<a·href="a00209.html#gafe8f06fb6d4027bfaf39e0971d8eb3c6">More...</a><br·/></td></tr> |
83 | <tr·class="separator:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:gafe8f06fb6d4027bfaf39e0971d8eb3c6"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | </table> | 84 | </table> |
85 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 85 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
86 | <li><a·class="el"·href="a00 | 86 | <li><a·class="el"·href="a00185_source.html">analyticgridviewfunction.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 91 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
92 | </small></address> | 92 | </small></address> |
93 | </body> | 93 | </body> |
Offset 74, 15 lines modified | Offset 74, 15 lines modified | ||
74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::AnalyticGridViewFunction<·Range(Domain),·GV,·F,·DerivativeTraits·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 74 | ··<div·class="headertitle"><div·class="title">Dune::Functions::AnalyticGridViewFunction<·Range(Domain),·GV,·F,·DerivativeTraits·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
75 | </div><!--header--> | 75 | </div><!--header--> |
76 | <div·class="contents"> | 76 | <div·class="contents"> |
77 | <p>Class·wrapping·any·differentiable·function·as·grid·function.·· | 77 | <p>Class·wrapping·any·differentiable·function·as·grid·function.·· |
78 | ·<a·href="a01847.html#details">More...</a></p> | 78 | ·<a·href="a01847.html#details">More...</a></p> |
79 | <p><code>#include·<<a·class="el"·href="a00 | 79 | <p><code>#include·<<a·class="el"·href="a00185_source.html">dune/functions/gridfunctions/analyticgridviewfunction.hh</a>></code></p> |
80 | <table·class="memberdecls"> | 80 | <table·class="memberdecls"> |
81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 81 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
82 | Public·Types</h2></td></tr> | 82 | Public·Types</h2></td></tr> |
83 | <tr·class="memitem:aa2e57079e8165771b468b0f8ec045543"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01847.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·=·Range(Domain)</td></tr> | 83 | <tr·class="memitem:aa2e57079e8165771b468b0f8ec045543"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01847.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·=·Range(Domain)</td></tr> |
84 | <tr·class="separator:aa2e57079e8165771b468b0f8ec045543"><td·class="memSeparator"·colspan="2"> </td></tr> | 84 | <tr·class="separator:aa2e57079e8165771b468b0f8ec045543"><td·class="memSeparator"·colspan="2"> </td></tr> |
85 | <tr·class="memitem:ad2d85b10863874dd3e2776713d5076e9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01847.html#ad2d85b10863874dd3e2776713d5076e9">RawSignature</a>·=·typename·<a·class="el"·href="a01291.html">SignatureTraits</a><·<a·class="el"·href="a01847.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·>::RawSignature</td></tr> | 85 | <tr·class="memitem:ad2d85b10863874dd3e2776713d5076e9"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01847.html#ad2d85b10863874dd3e2776713d5076e9">RawSignature</a>·=·typename·<a·class="el"·href="a01291.html">SignatureTraits</a><·<a·class="el"·href="a01847.html#aa2e57079e8165771b468b0f8ec045543">Signature</a>·>::RawSignature</td></tr> |
86 | <tr·class="separator:ad2d85b10863874dd3e2776713d5076e9"><td·class="memSeparator"·colspan="2"> </td></tr> | 86 | <tr·class="separator:ad2d85b10863874dd3e2776713d5076e9"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 486, 15 lines modified | Offset 486, 15 lines modified | ||
486 | </div><div·class="memdoc"> | 486 | </div><div·class="memdoc"> |
487 | <p>Construct·the·associated·local-function.·</p> | 487 | <p>Construct·the·associated·local-function.·</p> |
488 | </div> | 488 | </div> |
489 | </div> | 489 | </div> |
490 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 490 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
491 | <li><a·class="el"·href="a00 | 491 | <li><a·class="el"·href="a00185_source.html">analyticgridviewfunction.hh</a></li> |
492 | </ul> | 492 | </ul> |
493 | </div><!--·contents·--> | 493 | </div><!--·contents·--> |
494 | <!--·start·footer·part·--> | 494 | <!--·start·footer·part·--> |
495 | <hr·class="footer"/><address·class="footer"><small> | 495 | <hr·class="footer"/><address·class="footer"><small> |
496 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 496 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
497 | </small></address> | 497 | </small></address> |
498 | </body> | 498 | </body> |
Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
78 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ComposedGridFunction<·OF,·IF·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 78 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ComposedGridFunction<·OF,·IF·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
79 | </div><!--header--> | 79 | </div><!--header--> |
80 | <div·class="contents"> | 80 | <div·class="contents"> |
81 | <p>Composition·of·grid·functions·with·another·function.·· | 81 | <p>Composition·of·grid·functions·with·another·function.·· |
82 | ·<a·href="a01851.html#details">More...</a></p> | 82 | ·<a·href="a01851.html#details">More...</a></p> |
83 | <p><code>#include·<<a·class="el"·href="a00 | 83 | <p><code>#include·<<a·class="el"·href="a00167_source.html">dune/functions/gridfunctions/composedgridfunction.hh</a>></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:a60e88941320bce2a3fd832dcb33b79e8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·typename·InnerFunction<·0·>::EntitySet</td></tr> | 87 | <tr·class="memitem:a60e88941320bce2a3fd832dcb33b79e8"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#a60e88941320bce2a3fd832dcb33b79e8">EntitySet</a>·=·typename·InnerFunction<·0·>::EntitySet</td></tr> |
88 | <tr·class="separator:a60e88941320bce2a3fd832dcb33b79e8"><td·class="memSeparator"·colspan="2"> </td></tr> | 88 | <tr·class="separator:a60e88941320bce2a3fd832dcb33b79e8"><td·class="memSeparator"·colspan="2"> </td></tr> |
89 | <tr·class="memitem:a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·typename·EntitySet::Element</td></tr> | 89 | <tr·class="memitem:a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01851.html#a6c0975897a61d00e1e5db9e8d1c5943c">Element</a>·=·typename·EntitySet::Element</td></tr> |
90 | <tr·class="separator:a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memSeparator"·colspan="2"> </td></tr> | 90 | <tr·class="separator:a6c0975897a61d00e1e5db9e8d1c5943c"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 483, 15 lines modified | Offset 483, 15 lines modified | ||
483 | ··</tr> | 483 | ··</tr> |
484 | </table> | 484 | </table> |
485 | </div><div·class="memdoc"> | 485 | </div><div·class="memdoc"> |
486 | </div> | 486 | </div> |
487 | </div> | 487 | </div> |
488 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 488 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
489 | <li><a·class="el"·href="a00 | 489 | <li><a·class="el"·href="a00167_source.html">composedgridfunction.hh</a></li> |
490 | </ul> | 490 | </ul> |
491 | </div><!--·contents·--> | 491 | </div><!--·contents·--> |
492 | <!--·start·footer·part·--> | 492 | <!--·start·footer·part·--> |
493 | <hr·class="footer"/><address·class="footer"><small> | 493 | <hr·class="footer"/><address·class="footer"><small> |
494 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 494 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
495 | </small></address> | 495 | </small></address> |
496 | </body> | 496 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 73 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
74 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 74 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
75 | <a·href="a01856.html">List·of·all·members</a>··</div> | 75 | <a·href="a01856.html">List·of·all·members</a>··</div> |
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>·Class·Template·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>·Class·Template·Reference</div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
81 | Inheritance·diagram·for·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>:</div> | 81 | Inheritance·diagram·for·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>:</div> |
82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
83 | <div·class="center"><img·src="a01858.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01858.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
84 | <map·name="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_inherit__map"> | 84 | <map·name="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_inherit__map"> |
85 | <area·shape="rect"·title="·"·alt=""·coords="5,49,235,105"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="5,49,235,105"/> |
86 | <area·shape="rect"·href="a01859.html"·title="·"·alt=""·coords="464,5,709,61"/> | 86 | <area·shape="rect"·href="a01859.html"·title="·"·alt=""·coords="464,5,709,61"/> |
Offset 475, 15 lines modified | Offset 475, 15 lines modified | ||
475 | ··</tr> | 475 | ··</tr> |
476 | </table> | 476 | </table> |
477 | </div><div·class="memdoc"> | 477 | </div><div·class="memdoc"> |
478 | </div> | 478 | </div> |
479 | </div> | 479 | </div> |
480 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 480 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
481 | <li><a·class="el"·href="a001 | 481 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.hh</a></li> |
482 | </ul> | 482 | </ul> |
483 | </div><!--·contents·--> | 483 | </div><!--·contents·--> |
484 | <!--·start·footer·part·--> | 484 | <!--·start·footer·part·--> |
485 | <hr·class="footer"/><address·class="footer"><small> | 485 | <hr·class="footer"/><address·class="footer"><small> |
486 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 486 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
487 | </small></address> | 487 | </small></address> |
488 | </body> | 488 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#pub-attribs">Public·Attributes</a>·| | 70 | <a·href="#pub-attribs">Public·Attributes</a>·| |
71 | <a·href="a01860.html">List·of·all·members</a>··</div> | 71 | <a·href="a01860.html">List·of·all·members</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::Data·Struct·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::Data·Struct·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><code>#include·<<a·class="el"·href="a001 | 75 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
76 | <table·class="memberdecls"> | 76 | <table·class="memberdecls"> |
77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
78 | Public·Attributes</h2></td></tr> | 78 | Public·Attributes</h2></td></tr> |
79 | <tr·class="memitem:a869d1890dea002afea9673d30bf7a6f9"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01859.html#aa0f3fc49504b54be8b78cb443b447747">EntitySet</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#a869d1890dea002afea9673d30bf7a6f9">entitySet</a></td></tr> | 79 | <tr·class="memitem:a869d1890dea002afea9673d30bf7a6f9"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01859.html#aa0f3fc49504b54be8b78cb443b447747">EntitySet</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#a869d1890dea002afea9673d30bf7a6f9">entitySet</a></td></tr> |
80 | <tr·class="separator:a869d1890dea002afea9673d30bf7a6f9"><td·class="memSeparator"·colspan="2"> </td></tr> | 80 | <tr·class="separator:a869d1890dea002afea9673d30bf7a6f9"><td·class="memSeparator"·colspan="2"> </td></tr> |
81 | <tr·class="memitem:aa8af2b92d6781bed52269bfaf15a03d7"><td·class="memItemLeft"·align="right"·valign="top">std::shared_ptr<·const·<a·class="el"·href="a01859.html#a3692f2d61e9901fcc190337eb0c8d2c3">Basis</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#aa8af2b92d6781bed52269bfaf15a03d7">basis</a></td></tr> | 81 | <tr·class="memitem:aa8af2b92d6781bed52269bfaf15a03d7"><td·class="memItemLeft"·align="right"·valign="top">std::shared_ptr<·const·<a·class="el"·href="a01859.html#a3692f2d61e9901fcc190337eb0c8d2c3">Basis</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01863.html#aa8af2b92d6781bed52269bfaf15a03d7">basis</a></td></tr> |
82 | <tr·class="separator:aa8af2b92d6781bed52269bfaf15a03d7"><td·class="memSeparator"·colspan="2"> </td></tr> | 82 | <tr·class="separator:aa8af2b92d6781bed52269bfaf15a03d7"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ········</tr> | 148 | ········</tr> |
149 | ······</table> | 149 | ······</table> |
150 | </div><div·class="memdoc"> | 150 | </div><div·class="memdoc"> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 153 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
154 | <li><a·class="el"·href="a001 | 154 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 159 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
160 | </small></address> | 160 | </small></address> |
161 | </body> | 161 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 72 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="a01864.html">List·of·all·members</a>··</div> | 74 | <a·href="a01864.html">List·of·all·members</a>··</div> |
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase·Class·Reference</div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase·Class·Reference</div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase:</div> | 80 | Inheritance·diagram·for·Dune::Functions::ImplDoc::DiscreteGlobalBasisFunctionBase<·B,·V,·NTRE·>::LocalFunctionBase:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01866.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_1_1_local_function_base_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01866.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_1_1_local_function_base_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_1_1_local_function_base_inherit__map"·id="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_1_1_local_function_base_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_1_1_local_function_base_inherit__map"·id="a_dune_1_1_functions_1_1_impl_doc_1_1_discrete_global_basis_function_base_3_01_b_00_01_v_00_01_n_t_r_e_01_4_1_1_local_function_base_inherit__map"> |
84 | <area·shape="rect"·title="·"·alt=""·coords="5,45,239,101"/> | 84 | <area·shape="rect"·title="·"·alt=""·coords="5,45,239,101"/> |
85 | <area·shape="rect"·href="a01879.html"·title="·"·alt=""·coords="288,5,484,61"/> | 85 | <area·shape="rect"·href="a01879.html"·title="·"·alt=""·coords="288,5,484,61"/> |
Offset 535, 15 lines modified | Offset 535, 15 lines modified | ||
535 | ··</tr> | 535 | ··</tr> |
536 | </table> | 536 | </table> |
537 | </div><div·class="memdoc"> | 537 | </div><div·class="memdoc"> |
538 | </div> | 538 | </div> |
539 | </div> | 539 | </div> |
540 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 540 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
541 | <li><a·class="el"·href="a001 | 541 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.hh</a></li> |
542 | </ul> | 542 | </ul> |
543 | </div><!--·contents·--> | 543 | </div><!--·contents·--> |
544 | <!--·start·footer·part·--> | 544 | <!--·start·footer·part·--> |
545 | <hr·class="footer"/><address·class="footer"><small> | 545 | <hr·class="footer"/><address·class="footer"><small> |
546 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 546 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
547 | </small></address> | 547 | </small></address> |
548 | </body> | 548 | </body> |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p>Derivative·of·a·<code><a·class="el"·href="a01875.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a></code>·· | 79 | <p>Derivative·of·a·<code><a·class="el"·href="a01875.html"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.">DiscreteGlobalBasisFunction</a></code>·· |
80 | ·<a·href="a01871.html#details">More...</a></p> | 80 | ·<a·href="a01871.html#details">More...</a></p> |
81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
83 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>:</div> | 83 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>:</div> |
84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
85 | <div·class="center"><img·src="a01870.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01870.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
86 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_inherit__map"> |
87 | <area·shape="rect"·title="Derivative·of·a·DiscreteGlobalBasisFunction"·alt=""·coords="743,21,941,77"/> | 87 | <area·shape="rect"·title="Derivative·of·a·DiscreteGlobalBasisFunction"·alt=""·coords="743,21,941,77"/> |
88 | <area·shape="rect"·href="a01859.html"·title="·"·alt=""·coords="464,14,693,85"/> | 88 | <area·shape="rect"·href="a01859.html"·title="·"·alt=""·coords="464,14,693,85"/> |
Offset 673, 15 lines modified | Offset 673, 15 lines modified | ||
673 | ··</tr> | 673 | ··</tr> |
674 | </table> | 674 | </table> |
675 | </div><div·class="memdoc"> | 675 | </div><div·class="memdoc"> |
676 | </div> | 676 | </div> |
677 | </div> | 677 | </div> |
678 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 678 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
679 | <li><a·class="el"·href="a001 | 679 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.hh</a></li> |
680 | </ul> | 680 | </ul> |
681 | </div><!--·contents·--> | 681 | </div><!--·contents·--> |
682 | <!--·start·footer·part·--> | 682 | <!--·start·footer·part·--> |
683 | <hr·class="footer"/><address·class="footer"><small> | 683 | <hr·class="footer"/><address·class="footer"><small> |
684 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 684 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
685 | </small></address> | 685 | </small></address> |
686 | </body> | 686 | </body> |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 77 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
78 | </div><!--header--> | 78 | </div><!--header--> |
79 | <div·class="contents"> | 79 | <div·class="contents"> |
80 | <p>A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.·· | 80 | <p>A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector.·· |
81 | ·<a·href="a01875.html#details">More...</a></p> | 81 | ·<a·href="a01875.html#details">More...</a></p> |
82 | <p><code>#include·<<a·class="el"·href="a001 | 82 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
83 | <div·class="dynheader"> | 83 | <div·class="dynheader"> |
84 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>:</div> | 84 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>:</div> |
85 | <div·class="dyncontent"> | 85 | <div·class="dyncontent"> |
86 | <div·class="center"><img·src="a01874.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 86 | <div·class="center"><img·src="a01874.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
87 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_inherit__map"> | 87 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_inherit__map"> |
88 | <area·shape="rect"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector."·alt=""·coords="731,7,905,63"/> | 88 | <area·shape="rect"·title="A·grid·function·induced·by·a·global·basis·and·a·coefficient·vector."·alt=""·coords="731,7,905,63"/> |
89 | <area·shape="rect"·href="a01859.html"·title="·"·alt=""·coords="436,7,681,63"/> | 89 | <area·shape="rect"·href="a01859.html"·title="·"·alt=""·coords="436,7,681,63"/> |
Offset 742, 15 lines modified | Offset 742, 15 lines modified | ||
742 | ··</tr> | 742 | ··</tr> |
743 | </table> | 743 | </table> |
744 | </div><div·class="memdoc"> | 744 | </div><div·class="memdoc"> |
745 | </div> | 745 | </div> |
746 | </div> | 746 | </div> |
747 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 747 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
748 | <li><a·class="el"·href="a001 | 748 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.hh</a></li> |
749 | </ul> | 749 | </ul> |
750 | </div><!--·contents·--> | 750 | </div><!--·contents·--> |
751 | <!--·start·footer·part·--> | 751 | <!--·start·footer·part·--> |
752 | <hr·class="footer"/><address·class="footer"><small> | 752 | <hr·class="footer"/><address·class="footer"><small> |
753 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 753 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
754 | </small></address> | 754 | </small></address> |
755 | </body> | 755 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 73 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
74 | <a·href="#friends">Friends</a>·| | 74 | <a·href="#friends">Friends</a>·| |
75 | <a·href="a01876.html">List·of·all·members</a>··</div> | 75 | <a·href="a01876.html">List·of·all·members</a>··</div> |
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction·Class·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction·Class·Reference</div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p><code>#include·<<a·class="el"·href="a001 | 79 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
80 | <div·class="dynheader"> | 80 | <div·class="dynheader"> |
81 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction:</div> | 81 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunction<·B,·V,·NTRE,·R·>::LocalFunction:</div> |
82 | <div·class="dyncontent"> | 82 | <div·class="dyncontent"> |
83 | <div·class="center"><img·src="a01878.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_1_1_local_function_inherit__map"·alt="Inheritance·graph"/></div> | 83 | <div·class="center"><img·src="a01878.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_1_1_local_function_inherit__map"·alt="Inheritance·graph"/></div> |
84 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_1_1_local_function_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_1_1_local_function_inherit__map"> | 84 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_1_1_local_function_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_3_01_b_00_01_v_00_01_n_t_r_e_00_01_r_01_4_1_1_local_function_inherit__map"> |
85 | <area·shape="rect"·title="·"·alt=""·coords="287,5,483,61"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="287,5,483,61"/> |
86 | <area·shape="rect"·href="a01867.html"·title="·"·alt=""·coords="5,5,239,61"/> | 86 | <area·shape="rect"·href="a01867.html"·title="·"·alt=""·coords="5,5,239,61"/> |
Offset 577, 15 lines modified | Offset 577, 15 lines modified | ||
577 | ··</tr> | 577 | ··</tr> |
578 | </table> | 578 | </table> |
579 | </div><div·class="memdoc"> | 579 | </div><div·class="memdoc"> |
580 | </div> | 580 | </div> |
581 | </div> | 581 | </div> |
582 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 582 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
583 | <li><a·class="el"·href="a001 | 583 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.hh</a></li> |
584 | </ul> | 584 | </ul> |
585 | </div><!--·contents·--> | 585 | </div><!--·contents·--> |
586 | <!--·start·footer·part·--> | 586 | <!--·start·footer·part·--> |
587 | <hr·class="footer"/><address·class="footer"><small> | 587 | <hr·class="footer"/><address·class="footer"><small> |
588 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 588 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
589 | </small></address> | 589 | </small></address> |
590 | </body> | 590 | </body> |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction·Class·Reference</div></div> | 76 | ··<div·class="headertitle"><div·class="title">Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction·Class·Reference</div></div> |
77 | </div><!--header--> | 77 | </div><!--header--> |
78 | <div·class="contents"> | 78 | <div·class="contents"> |
79 | <p>local·function·evaluating·the·derivative·in·reference·coordinates·· | 79 | <p>local·function·evaluating·the·derivative·in·reference·coordinates·· |
80 | ·<a·href="a01883.html#details">More...</a></p> | 80 | ·<a·href="a01883.html#details">More...</a></p> |
81 | <p><code>#include·<<a·class="el"·href="a001 | 81 | <p><code>#include·<<a·class="el"·href="a00191_source.html">dune/functions/gridfunctions/discreteglobalbasisfunction.hh</a>></code></p> |
82 | <div·class="dynheader"> | 82 | <div·class="dynheader"> |
83 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction:</div> | 83 | Inheritance·diagram·for·Dune::Functions::DiscreteGlobalBasisFunctionDerivative<·DGBF·>::LocalFunction:</div> |
84 | <div·class="dyncontent"> | 84 | <div·class="dyncontent"> |
85 | <div·class="center"><img·src="a01882.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_1_1_local_function_inherit__map"·alt="Inheritance·graph"/></div> | 85 | <div·class="center"><img·src="a01882.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_1_1_local_function_inherit__map"·alt="Inheritance·graph"/></div> |
86 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_1_1_local_function_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_1_1_local_function_inherit__map"> | 86 | <map·name="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_1_1_local_function_inherit__map"·id="a_dune_1_1_functions_1_1_discrete_global_basis_function_derivative_3_01_d_g_b_f_01_4_1_1_local_function_inherit__map"> |
87 | <area·shape="rect"·title="local·function·evaluating·the·derivative·in·reference·coordinates"·alt=""·coords="287,5,485,61"/> | 87 | <area·shape="rect"·title="local·function·evaluating·the·derivative·in·reference·coordinates"·alt=""·coords="287,5,485,61"/> |
88 | <area·shape="rect"·href="a01867.html"·title="·"·alt=""·coords="5,5,239,61"/> | 88 | <area·shape="rect"·href="a01867.html"·title="·"·alt=""·coords="5,5,239,61"/> |
Offset 585, 15 lines modified | Offset 585, 15 lines modified | ||
585 | ··</tr> | 585 | ··</tr> |
586 | </table> | 586 | </table> |
587 | </div><div·class="memdoc"> | 587 | </div><div·class="memdoc"> |
588 | </div> | 588 | </div> |
589 | </div> | 589 | </div> |
590 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 590 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
591 | <li><a·class="el"·href="a001 | 591 | <li><a·class="el"·href="a00191_source.html">discreteglobalbasisfunction.hh</a></li> |
592 | </ul> | 592 | </ul> |
593 | </div><!--·contents·--> | 593 | </div><!--·contents·--> |
594 | <!--·start·footer·part·--> | 594 | <!--·start·footer·part·--> |
595 | <hr·class="footer"/><address·class="footer"><small> | 595 | <hr·class="footer"/><address·class="footer"><small> |
596 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 596 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
597 | </small></address> | 597 | </small></address> |
598 | </body> | 598 | </body> |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FaceNormalGridFunction<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> | 75 | ··<div·class="headertitle"><div·class="title">Dune::Functions::FaceNormalGridFunction<·GV·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00209.html">Function·implementations</a></div></div></div> |
76 | </div><!--header--> | 76 | </div><!--header--> |
77 | <div·class="contents"> | 77 | <div·class="contents"> |
78 | <p>Grid·function·implementing·the·piecewise·element·face·normal.·· | 78 | <p>Grid·function·implementing·the·piecewise·element·face·normal.·· |
79 | ·<a·href="a01887.html#details">More...</a></p> | 79 | ·<a·href="a01887.html#details">More...</a></p> |
80 | <p><code>#include·<<a·class="el"·href="a00 | 80 | <p><code>#include·<<a·class="el"·href="a00188_source.html">dune/functions/gridfunctions/facenormalgridfunction.hh</a>></code></p> |
81 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
83 | Public·Types</h2></td></tr> | 83 | Public·Types</h2></td></tr> |
84 | <tr·class="memitem:a83c9500a49fbf25de2f8aaf04e422011"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV</td></tr> | 84 | <tr·class="memitem:a83c9500a49fbf25de2f8aaf04e422011"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>·=·GV</td></tr> |
85 | <tr·class="separator:a83c9500a49fbf25de2f8aaf04e422011"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:a83c9500a49fbf25de2f8aaf04e422011"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:a0c37b830a7bbba309a4df30441de8b8e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01887.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>·=·<a·class="el"·href="a01919.html">GridViewEntitySet</a><·<a·class="el"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>,·0·></td></tr> | 86 | <tr·class="memitem:a0c37b830a7bbba309a4df30441de8b8e"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01887.html#a0c37b830a7bbba309a4df30441de8b8e">EntitySet</a>·=·<a·class="el"·href="a01919.html">GridViewEntitySet</a><·<a·class="el"·href="a01887.html#a83c9500a49fbf25de2f8aaf04e422011">GridView</a>,·0·></td></tr> |
87 | <tr·class="separator:a0c37b830a7bbba309a4df30441de8b8e"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:a0c37b830a7bbba309a4df30441de8b8e"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 373, 15 lines modified | Offset 373, 15 lines modified | ||
373 | </div><div·class="memdoc"> | 373 | </div><div·class="memdoc"> |
374 | <p>Return·a·local-function·associated·to·<a·class="el"·href="a01887.html"·title="Grid·function·implementing·the·piecewise·element·face·normal.">FaceNormalGridFunction</a>.·</p> | 374 | <p>Return·a·local-function·associated·to·<a·class="el"·href="a01887.html"·title="Grid·function·implementing·the·piecewise·element·face·normal.">FaceNormalGridFunction</a>.·</p> |
375 | </div> | 375 | </div> |
376 | </div> | 376 | </div> |
377 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 377 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
378 | <li><a·class="el"·href="a00 | 378 | <li><a·class="el"·href="a00188_source.html">facenormalgridfunction.hh</a></li> |
379 | </ul> | 379 | </ul> |
380 | </div><!--·contents·--> | 380 | </div><!--·contents·--> |
381 | <!--·start·footer·part·--> | 381 | <!--·start·footer·part·--> |
382 | <hr·class="footer"/><address·class="footer"><small> | 382 | <hr·class="footer"/><address·class="footer"><small> |
383 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 383 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
384 | </small></address> | 384 | </small></address> |
385 | </body> | 385 | </body> |
Offset 66, 27 lines modified | Offset 66, 27 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p><code>#include·<<a·class="el"·href="a00 | 72 | <p><code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code></p> |
73 | <div·class="dynheader"> | 73 | <div·class="dynheader"> |
74 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>:</div> | 74 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Signature,·EntitySet,·DerivativeTraits,·bufferSize·>:</div> |
75 | <div·class="dyncontent"> | 75 | <div·class="dyncontent"> |
76 | <div·class="center"><img·src="a01894.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 76 | <div·class="center"><img·src="a01894.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
77 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 77 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_signature_00_01_entity_set_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
78 | <area·shape="rect"·title="·"·alt=""·coords="5,21,220,77"/> | 78 | <area·shape="rect"·title="·"·alt=""·coords="5,21,220,77"/> |
79 | <area·shape="rect"·href="a01895.html"·title="·"·alt=""·coords="445,21,699,77"/> | 79 | <area·shape="rect"·href="a01895.html"·title="·"·alt=""·coords="445,21,699,77"/> |
80 | <area·shape="rect"·href="a01927.html"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,14,927,85"/> | 80 | <area·shape="rect"·href="a01927.html"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,14,927,85"/> |
81 | </map> | 81 | </map> |
82 | </div> | 82 | </div> |
83 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 83 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
84 | <li><a·class="el"·href="a00 | 84 | <li><a·class="el"·href="a00170_source.html">gridfunction.hh</a></li> |
85 | </ul> | 85 | </ul> |
86 | </div><!--·contents·--> | 86 | </div><!--·contents·--> |
87 | <!--·start·footer·part·--> | 87 | <!--·start·footer·part·--> |
88 | <hr·class="footer"/><address·class="footer"><small> | 88 | <hr·class="footer"/><address·class="footer"><small> |
89 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 89 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
90 | </small></address> | 90 | </small></address> |
91 | </body> | 91 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>Wrapper·class·for·functions·defined·on·a·Grid.·· | 76 | <p>Wrapper·class·for·functions·defined·on·a·Grid.·· |
77 | ·<a·href="a01903.html#details">More...</a></p> | 77 | ·<a·href="a01903.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a00 | 78 | <p><code>#include·<<a·class="el"·href="a00170_source.html">dune/functions/gridfunctions/gridfunction.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::GridFunction<·Range(Domain),·ES,·DerivativeTraits,·bufferSize·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01902.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01902.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_function_3_01_range_07_domain_08_00_01_e_s_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
84 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·Grid."·alt=""·coords="824,65,1075,121"/> | 84 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·Grid."·alt=""·coords="824,65,1075,121"/> |
85 | <area·shape="rect"·title="·"·alt=""·coords="464,43,775,143"/> | 85 | <area·shape="rect"·title="·"·alt=""·coords="464,43,775,143"/> |
Offset 317, 15 lines modified | Offset 317, 15 lines modified | ||
317 | <p>Get·local·function·of·wrapped·function.·</p> | 317 | <p>Get·local·function·of·wrapped·function.·</p> |
318 | <p·>This·is·a·free·function,·to·be·found·by·ADL.</p> | 318 | <p·>This·is·a·free·function,·to·be·found·by·ADL.</p> |
319 | <p·>Notice·that·the·returned·<a·class="el"·href="a01243.html">LocalFunction</a>·can·only·be·used·after·it·has·been·bound·to·a·proper·local·context.·</p> | 319 | <p·>Notice·that·the·returned·<a·class="el"·href="a01243.html">LocalFunction</a>·can·only·be·used·after·it·has·been·bound·to·a·proper·local·context.·</p> |
320 | </div> | 320 | </div> |
321 | </div> | 321 | </div> |
322 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 322 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
323 | <li><a·class="el"·href="a00 | 323 | <li><a·class="el"·href="a00170_source.html">gridfunction.hh</a></li> |
324 | </ul> | 324 | </ul> |
325 | </div><!--·contents·--> | 325 | </div><!--·contents·--> |
326 | <!--·start·footer·part·--> | 326 | <!--·start·footer·part·--> |
327 | <hr·class="footer"/><address·class="footer"><small> | 327 | <hr·class="footer"/><address·class="footer"><small> |
328 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 328 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
329 | </small></address> | 329 | </small></address> |
330 | </body> | 330 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewEntitySet<·GV,·cd·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewEntitySet<·GV,·cd·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·· | 76 | <p>An·entity·set·for·all·entities·of·given·codim·in·a·grid·view.·· |
77 | ·<a·href="a01919.html#details">More...</a></p> | 77 | ·<a·href="a01919.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a00 | 78 | <p><code>#include·<<a·class="el"·href="a00176_source.html">dune/functions/gridfunctions/gridviewentityset.hh</a>></code></p> |
79 | <div·class="dynheader"> | 79 | <div·class="dynheader"> |
80 | Inheritance·diagram·for·Dune::Functions::GridViewEntitySet<·GV,·cd·>:</div> | 80 | Inheritance·diagram·for·Dune::Functions::GridViewEntitySet<·GV,·cd·>:</div> |
81 | <div·class="dyncontent"> | 81 | <div·class="dyncontent"> |
82 | <div·class="center"><img·src="a01918.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 82 | <div·class="center"><img·src="a01918.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
83 | <map·name="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"> | 83 | <map·name="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_entity_set_3_01_g_v_00_01cd_01_4_inherit__map"> |
84 | <area·shape="rect"·title="An·entity·set·for·all·entities·of·given·codim·in·a·grid·view."·alt=""·coords="5,5,184,47"/> | 84 | <area·shape="rect"·title="An·entity·set·for·all·entities·of·given·codim·in·a·grid·view."·alt=""·coords="5,5,184,47"/> |
85 | <area·shape="rect"·href="a01919.html"·title="·"·alt=""·coords="5,109,184,151"/> | 85 | <area·shape="rect"·href="a01919.html"·title="·"·alt=""·coords="5,109,184,151"/> |
Offset 453, 15 lines modified | Offset 453, 15 lines modified | ||
453 | </div><div·class="memdoc"> | 453 | </div><div·class="memdoc"> |
454 | <p>Return·number·of·Elements·visited·by·an·iterator.·</p> | 454 | <p>Return·number·of·Elements·visited·by·an·iterator.·</p> |
455 | </div> | 455 | </div> |
456 | </div> | 456 | </div> |
457 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 457 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
458 | <li><a·class="el"·href="a00 | 458 | <li><a·class="el"·href="a00176_source.html">gridviewentityset.hh</a></li> |
459 | </ul> | 459 | </ul> |
460 | </div><!--·contents·--> | 460 | </div><!--·contents·--> |
461 | <!--·start·footer·part·--> | 461 | <!--·start·footer·part·--> |
462 | <hr·class="footer"/><address·class="footer"><small> | 462 | <hr·class="footer"/><address·class="footer"><small> |
463 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 463 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
464 | </small></address> | 464 | </small></address> |
465 | </body> | 465 | </body> |
Offset 66, 17 lines modified | Offset 66, 17 lines modified | ||
66 | </div> | 66 | </div> |
67 | </div><!--·top·--> | 67 | </div><!--·top·--> |
68 | <div·class="header"> | 68 | <div·class="header"> |
69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> | 69 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Signature,·GridView,·DerivativeTraits,·bufferSize·>·Class·Template·Reference</div></div> |
70 | </div><!--header--> | 70 | </div><!--header--> |
71 | <div·class="contents"> | 71 | <div·class="contents"> |
72 | <p><code>#include·<<a·class="el"·href="a00 | 72 | <p><code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code></p> |
73 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 73 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
74 | <li><a·class="el"·href="a00 | 74 | <li><a·class="el"·href="a00182_source.html">gridviewfunction.hh</a></li> |
75 | </ul> | 75 | </ul> |
76 | </div><!--·contents·--> | 76 | </div><!--·contents·--> |
77 | <!--·start·footer·part·--> | 77 | <!--·start·footer·part·--> |
78 | <hr·class="footer"/><address·class="footer"><small> | 78 | <hr·class="footer"/><address·class="footer"><small> |
79 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 79 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
80 | </small></address> | 80 | </small></address> |
81 | </body> | 81 | </body> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00208.html">Function·interface·wrappers</a></div></div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p>Wrapper·class·for·functions·defined·on·a·GridView.·· | 75 | <p>Wrapper·class·for·functions·defined·on·a·GridView.·· |
76 | ·<a·href="a01927.html#details">More...</a></p> | 76 | ·<a·href="a01927.html#details">More...</a></p> |
77 | <p><code>#include·<<a·class="el"·href="a00 | 77 | <p><code>#include·<<a·class="el"·href="a00182_source.html">dune/functions/gridfunctions/gridviewfunction.hh</a>></code></p> |
78 | <div·class="dynheader"> | 78 | <div·class="dynheader"> |
79 | Inheritance·diagram·for·Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>:</div> | 79 | Inheritance·diagram·for·Dune::Functions::GridViewFunction<·Range(Domain),·GV,·DerivativeTraits,·bufferSize·>:</div> |
80 | <div·class="dyncontent"> | 80 | <div·class="dyncontent"> |
81 | <div·class="center"><img·src="a01926.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> | 81 | <div·class="center"><img·src="a01926.png"·border="0"·usemap="#a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·alt="Inheritance·graph"/></div> |
82 | <map·name="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> | 82 | <map·name="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"·id="a_dune_1_1_functions_1_1_grid_view_function_3_01_range_07_domain_08_00_01_g_v_00_01_derivative_traits_00_01buffer_size_01_4_inherit__map"> |
83 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,14,927,85"/> | 83 | <area·shape="rect"·title="Wrapper·class·for·functions·defined·on·a·GridView."·alt=""·coords="748,14,927,85"/> |
84 | <area·shape="rect"·href="a01895.html"·title="·"·alt=""·coords="445,21,699,77"/> | 84 | <area·shape="rect"·href="a01895.html"·title="·"·alt=""·coords="445,21,699,77"/> |
Offset 120, 15 lines modified | Offset 120, 15 lines modified | ||
120 | ········</tr> | 120 | ········</tr> |
121 | ······</table> | 121 | ······</table> |
122 | </div><div·class="memdoc"> | 122 | </div><div·class="memdoc"> |
123 | </div> | 123 | </div> |
124 | </div> | 124 | </div> |
125 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 125 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
126 | <li><a·class="el"·href="a00 | 126 | <li><a·class="el"·href="a00182_source.html">gridviewfunction.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 131 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
132 | </small></address> | 132 | </small></address> |
133 | </body> | 133 | </body> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> | 73 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00206.html">Functions</a>·»·<a·class="el"·href="a00210.html">Function·related·utilities</a></div></div></div> |
74 | </div><!--header--> | 74 | </div><!--header--> |
75 | <div·class="contents"> | 75 | <div·class="contents"> |
76 | <p>Derivative·traits·for·local·functions.·· | 76 | <p>Derivative·traits·for·local·functions.·· |
77 | ·<a·href="a01931.html#details">More...</a></p> | 77 | ·<a·href="a01931.html#details">More...</a></p> |
78 | <p><code>#include·<<a·class="el"·href="a001 | 78 | <p><code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code></p> |
79 | <table·class="memberdecls"> | 79 | <table·class="memberdecls"> |
80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 80 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
81 | Classes</h2></td></tr> | 81 | Classes</h2></td></tr> |
82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01935.html">Traits</a></td></tr> | 82 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01935.html">Traits</a></td></tr> |
83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 83 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html">Traits<·R(LocalDomain)></a></td></tr> | 84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html">Traits<·R(LocalDomain)></a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
128 | ········</tr> | 128 | ········</tr> |
129 | ······</table> | 129 | ······</table> |
130 | </div><div·class="memdoc"> | 130 | </div><div·class="memdoc"> |
131 | </div> | 131 | </div> |
132 | </div> | 132 | </div> |
133 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 133 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
134 | <li><a·class="el"·href="a001 | 134 | <li><a·class="el"·href="a00179_source.html">localderivativetraits.hh</a></li> |
135 | </ul> | 135 | </ul> |
136 | </div><!--·contents·--> | 136 | </div><!--·contents·--> |
137 | <!--·start·footer·part·--> | 137 | <!--·start·footer·part·--> |
138 | <hr·class="footer"/><address·class="footer"><small> | 138 | <hr·class="footer"/><address·class="footer"><small> |
139 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 139 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
140 | </small></address> | 140 | </small></address> |
141 | </body> | 141 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#pub-types">Public·Types</a>·| | 70 | <a·href="#pub-types">Public·Types</a>·| |
71 | <a·href="a01932.html">List·of·all·members</a>··</div> | 71 | <a·href="a01932.html">List·of·all·members</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·>·Struct·Template·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·Signature·>·Struct·Template·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><code>#include·<<a·class="el"·href="a001 | 75 | <p><code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code></p> |
76 | <table·class="memberdecls"> | 76 | <table·class="memberdecls"> |
77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
78 | Public·Types</h2></td></tr> | 78 | Public·Types</h2></td></tr> |
79 | <tr·class="memitem:ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01071.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01935.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a></td></tr> | 79 | <tr·class="memitem:ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01071.html">InvalidRange</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01935.html#ab37a5c5f4de2d44c5334bab2b33cf8a0">Range</a></td></tr> |
80 | <tr·class="separator:ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memSeparator"·colspan="2"> </td></tr> | 80 | <tr·class="separator:ab37a5c5f4de2d44c5334bab2b33cf8a0"><td·class="memSeparator"·colspan="2"> </td></tr> |
81 | </table> | 81 | </table> |
82 | <h2·class="groupheader">Member·Typedef·Documentation</h2> | 82 | <h2·class="groupheader">Member·Typedef·Documentation</h2> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | ········</tr> | 96 | ········</tr> |
97 | ······</table> | 97 | ······</table> |
98 | </div><div·class="memdoc"> | 98 | </div><div·class="memdoc"> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
101 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 101 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
102 | <li><a·class="el"·href="a001 | 102 | <li><a·class="el"·href="a00179_source.html">localderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
108 | </small></address> | 108 | </small></address> |
109 | </body> | 109 | </body> |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ··<div·class="summary"> | 69 | ··<div·class="summary"> |
70 | <a·href="#pub-types">Public·Types</a>·| | 70 | <a·href="#pub-types">Public·Types</a>·| |
71 | <a·href="a01936.html">List·of·all·members</a>··</div> | 71 | <a·href="a01936.html">List·of·all·members</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)>·Struct·Template·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">Dune::Functions::LocalDerivativeTraits<·EntitySet,·DerivativeTraits·>::Traits<·R(LocalDomain)>·Struct·Template·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <p><code>#include·<<a·class="el"·href="a001 | 75 | <p><code>#include·<<a·class="el"·href="a00179_source.html">dune/functions/gridfunctions/localderivativetraits.hh</a>></code></p> |
76 | <table·class="memberdecls"> | 76 | <table·class="memberdecls"> |
77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 77 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
78 | Public·Types</h2></td></tr> | 78 | Public·Types</h2></td></tr> |
79 | <tr·class="memitem:a80a14d6e3599853298641c023ff34acd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html#a80a14d6e3599853298641c023ff34acd">Range</a>·=·typename·DerivativeTraits<·R(<a·class="el"·href="a01931.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>)>::Range</td></tr> | 79 | <tr·class="memitem:a80a14d6e3599853298641c023ff34acd"><td·class="memItemLeft"·align="right"·valign="top">using </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01939.html#a80a14d6e3599853298641c023ff34acd">Range</a>·=·typename·DerivativeTraits<·R(<a·class="el"·href="a01931.html#a0339d22fe9243285caf3a79a286912b5">Domain</a>)>::Range</td></tr> |
80 | <tr·class="separator:a80a14d6e3599853298641c023ff34acd"><td·class="memSeparator"·colspan="2"> </td></tr> | 80 | <tr·class="separator:a80a14d6e3599853298641c023ff34acd"><td·class="memSeparator"·colspan="2"> </td></tr> |
81 | </table> | 81 | </table> |
82 | <h2·class="groupheader">Member·Typedef·Documentation</h2> | 82 | <h2·class="groupheader">Member·Typedef·Documentation</h2> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | ········</tr> | 96 | ········</tr> |
97 | ······</table> | 97 | ······</table> |
98 | </div><div·class="memdoc"> | 98 | </div><div·class="memdoc"> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
101 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 101 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
102 | <li><a·class="el"·href="a001 | 102 | <li><a·class="el"·href="a00179_source.html">localderivativetraits.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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 107 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
108 | </small></address> | 108 | </small></address> |
109 | </body> | 109 | </body> |
Offset 70, 16 lines modified | Offset 70, 16 lines modified | ||
70 | <a·href="#nested-classes">Classes</a>·| | 70 | <a·href="#nested-classes">Classes</a>·| |
71 | <a·href="#namespaces">Namespaces</a>··</div> | 71 | <a·href="#namespaces">Namespaces</a>··</div> |
72 | ··<div·class="headertitle"><div·class="title">functionspacebases/concepts.hh·File·Reference</div></div> | 72 | ··<div·class="headertitle"><div·class="title">functionspacebases/concepts.hh·File·Reference</div></div> |
73 | </div><!--header--> | 73 | </div><!--header--> |
74 | <div·class="contents"> | 74 | <div·class="contents"> |
75 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> | 75 | <div·class="textblock"><code>#include·<dune/common/concept.hh></code><br·/> |
76 | <code>#include·<dune/common/reservedvector.hh></code><br·/> | 76 | <code>#include·<dune/common/reservedvector.hh></code><br·/> |
77 | <code>#include·<<a·class="el"·href="a0004 | 77 | <code>#include·<<a·class="el"·href="a00047_source.html">dune/functions/common/utility.hh</a>></code><br·/> |
78 | <code>#include·<<a·class="el"·href="a0011 | 78 | <code>#include·<<a·class="el"·href="a00116_source.html">dune/functions/functionspacebases/nodes.hh</a>></code><br·/> |
79 | </div> | 79 | </div> |
80 | <p><a·href="a02876_source.html">Go·to·the·source·code·of·this·file.</a></p> | 80 | <p><a·href="a02876_source.html">Go·to·the·source·code·of·this·file.</a></p> |
81 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
83 | Classes</h2></td></tr> | 83 | Classes</h2></td></tr> |
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01511.html">Dune::Functions::Concept::HasResize</a></td></tr> | 84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01511.html">Dune::Functions::Concept::HasResize</a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 74, 17 lines modified | Offset 74, 17 lines modified | ||
74 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> | 74 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> |
75 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> | 75 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> |
76 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> | 76 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> |
77 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> | 77 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span>·</div> |
78 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> | 78 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·<dune/common/concept.hh></span></div> |
79 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> | 79 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·<dune/common/reservedvector.hh></span></div> |
80 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> | 80 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> |
81 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a0004 | 81 | <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·<<a·class="code"·href="a00047.html">dune/functions/common/utility.hh</a>></span></div> |
82 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> | 82 | <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> |
83 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a0011 | 83 | <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·<<a·class="code"·href="a00116.html">dune/functions/functionspacebases/nodes.hh</a>></span></div> |
84 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> | 84 | <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> |
85 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> | 85 | <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> |
86 | <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00218.html">Dune</a>·{</div> | 86 | <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="a00218.html">Dune</a>·{</div> |
87 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> | 87 | <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span>Functions·{</div> |
88 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Concept·{</div> | 88 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Concept·{</div> |
89 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> | 89 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> |
90 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> | 90 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">using·namespace·</span>Dune::Concept;</div> |
Offset 285, 16 lines modified | Offset 285, 16 lines modified | ||
285 | <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno">··214</span>·</div> | 285 | <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno">··214</span>·</div> |
286 | <div·class="line"><a·id="l00215"·name="l00215"></a><span·class="lineno">··215</span>}·<span·class="comment">//·namespace·Dune::Functions::Concept</span></div> | 286 | <div·class="line"><a·id="l00215"·name="l00215"></a><span·class="lineno">··215</span>}·<span·class="comment">//·namespace·Dune::Functions::Concept</span></div> |
287 | <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno">··216</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> | 287 | <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno">··216</span>}·<span·class="comment">//·namespace·Dune::Functions</span></div> |
288 | <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>}·<span·class="comment">//·namespace·Dune</span></div> | 288 | <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>}·<span·class="comment">//·namespace·Dune</span></div> |
289 | <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>·</div> | 289 | <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>·</div> |
290 | <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>·</div> | 290 | <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>·</div> |
291 | <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> | 291 | <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FUNCTIONS_FUNCTIONSPACEBASES_CONCEPTS_HH</span></div> |
292 | <div·class="ttc"·id="aa0004 | 292 | <div·class="ttc"·id="aa00047_html"><div·class="ttname"><a·href="a00047.html">utility.hh</a></div></div> |
293 | <div·class="ttc"·id="aa0011 | 293 | <div·class="ttc"·id="aa00116_html"><div·class="ttname"><a·href="a00116.html">nodes.hh</a></div></div> |
294 | <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">Dune</a></div><div·class="ttdef"><b>Definition:</b>·polynomial.hh:10</div></div> | 294 | <div·class="ttc"·id="aa00218_html"><div·class="ttname"><a·href="a00218.html">Dune</a></div><div·class="ttdef"><b>Definition:</b>·polynomial.hh:10</div></div> |
295 | <div·class="ttc"·id="aa01511_html"><div·class="ttname"><a·href="a01511.html">Dune::Functions::Concept::HasResize</a></div><div·class="ttdef"><b>Definition:</b>·functionspacebases/concepts.hh:23</div></div> | 295 | <div·class="ttc"·id="aa01511_html"><div·class="ttname"><a·href="a01511.html">Dune::Functions::Concept::HasResize</a></div><div·class="ttdef"><b>Definition:</b>·functionspacebases/concepts.hh:23</div></div> |
296 | <div·class="ttc"·id="aa01511_html_a8a1de367869f4afa30734f258f48677c"><div·class="ttname"><a·href="a01511.html#a8a1de367869f4afa30734f258f48677c">Dune::Functions::Concept::HasResize::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.resize(0))</div></div> | 296 | <div·class="ttc"·id="aa01511_html_a8a1de367869f4afa30734f258f48677c"><div·class="ttname"><a·href="a01511.html#a8a1de367869f4afa30734f258f48677c">Dune::Functions::Concept::HasResize::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.resize(0))</div></div> |
297 | <div·class="ttc"·id="aa01515_html"><div·class="ttname"><a·href="a01515.html">Dune::Functions::Concept::HasSizeMethod</a></div><div·class="ttdef"><b>Definition:</b>·functionspacebases/concepts.hh:33</div></div> | 297 | <div·class="ttc"·id="aa01515_html"><div·class="ttname"><a·href="a01515.html">Dune::Functions::Concept::HasSizeMethod</a></div><div·class="ttdef"><b>Definition:</b>·functionspacebases/concepts.hh:33</div></div> |
298 | <div·class="ttc"·id="aa01515_html_a69f10c8a3a68dbb4348c200ac2d6235c"><div·class="ttname"><a·href="a01515.html#a69f10c8a3a68dbb4348c200ac2d6235c">Dune::Functions::Concept::HasSizeMethod::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.size())</div></div> | 298 | <div·class="ttc"·id="aa01515_html_a69f10c8a3a68dbb4348c200ac2d6235c"><div·class="ttname"><a·href="a01515.html#a69f10c8a3a68dbb4348c200ac2d6235c">Dune::Functions::Concept::HasSizeMethod::require</a></div><div·class="ttdeci">auto·require(C·&&c)·->·decltype(c.size())</div></div> |
299 | <div·class="ttc"·id="aa01519_html"><div·class="ttname"><a·href="a01519.html">Dune::Functions::Concept::HasIndexAccess</a></div><div·class="ttdef"><b>Definition:</b>·functionspacebases/concepts.hh:43</div></div> | 299 | <div·class="ttc"·id="aa01519_html"><div·class="ttname"><a·href="a01519.html">Dune::Functions::Concept::HasIndexAccess</a></div><div·class="ttdef"><b>Definition:</b>·functionspacebases/concepts.hh:43</div></div> |
300 | <div·class="ttc"·id="aa01519_html_a33325ec9829369b9e04df631d930a028"><div·class="ttname"><a·href="a01519.html#a33325ec9829369b9e04df631d930a028">Dune::Functions::Concept::HasIndexAccess::require</a></div><div·class="ttdeci">auto·require(C·&&c,·I·&&i)·->·decltype(c[i])</div></div> | 300 | <div·class="ttc"·id="aa01519_html_a33325ec9829369b9e04df631d930a028"><div·class="ttname"><a·href="a01519.html#a33325ec9829369b9e04df631d930a028">Dune::Functions::Concept::HasIndexAccess::require</a></div><div·class="ttdeci">auto·require(C·&&c,·I·&&i)·->·decltype(c[i])</div></div> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>backends·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00 | 68 | <h3>backends·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00158.html">istlvectorbackend.hh</a></td><td·class="dirtab"><a·class="el"·href="a00032.html">indexaccess.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html">backends</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>backends·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00 | 68 | <h3>backends·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/backends</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00158.html">istlvectorbackend.hh</a></td><td·class="dirtab"><a·class="el"·href="a02876.html">functionspacebases/concepts.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>common·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 68 | <h3>common·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00050.html">staticforloop.hh</a></td><td·class="dirtab"><a·class="el"·href="a02876.html">functionspacebases/concepts.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html">common</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>common·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a000 | 68 | <h3>common·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/common</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00005.html">functionconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00176.html">gridviewentityset.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00005.html">functionconcepts.hh</a></td><td·class="dirtab"><a·class="el"·h[·...·truncated·by·diffoscope;·len:·364,·SHA:·ea5918f1a507fd66317dbccd6f964c21ab4da75d9309f50324d31ddd7bd9a268·...·].html">gridviewentityset.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>functionspacebases·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00 | 68 | <h3>functionspacebases·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00080.html">interpolate.hh</a></td><td·class="dirtab"><a·class="el"·href="a02873.html">backends/concepts.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00080.html">interpolate.hh</a></td><td·class="dirtab"><a·class="el"·href="a001[·...·truncated·by·diffoscope;·len:·2,·SHA:·6208ef0f7750c111548cf90b6ea1d0d0a66f6bff40dbef07cb45ec436263c7d6·...·].html">istlvectorbackend.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>functionspacebases·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a001 | 68 | <h3>functionspacebases·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00125.html">compositebasis.hh</a></td><td·class="dirtab"><a·class="el"·href="a00050.html">staticforloop.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00125.html">compositebasis.hh</a></td><td·class="dirtab"><a·class="el"·href="a00[·...·truncated·by·diffoscope;·len:·3070,·SHA:·12fc8a1b36f4a11c97577d2828e3d04013781a1d03109d96434a0c8b4d5bf4cc·...·].html">utility.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html">functionspacebases</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>functionspacebases·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00 | 68 | <h3>functionspacebases·→·gridfunctions·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/functionspacebases</th><th·class="dirtab">Includes·file·in·dune/functions/gridfunctions</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00080.html">interpolate.hh</a></td><td·class="dirtab"><a·class="el"·href="a00182.html">gridviewfunction.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>gridfunctions·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a001 | 68 | <h3>gridfunctions·→·backends·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/backends</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a02873.html">backends/concepts.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">discreteglobalbasisfunction.hh</a></td><td·class="d[·...·truncated·by·diffoscope;·len:·33,·SHA:·3777e6cc19d273a171a2b087195b6e77249fa6504d3e488d8e23fa8eb20cd2a7·...·].html">istlvectorbackend.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>gridfunctions·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00 | 68 | <h3>gridfunctions·→·common·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/common</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00185.html">analyticgridviewfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00035.html">defaultderivativetraits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00185.html">analyticgridviewfunction.hh</a></td><td·class="[·...·truncated·by·diffoscope;·len:·2461,·SHA:·ada17e7c931e5dce116a821c295568154e732cbe1ffdc08f7947f7ce2335a4e9·...·].html">defaultderivativetraits.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 62, 14 lines modified | Offset 62, 14 lines modified | ||
62 | <div·id="nav-path"·class="navpath"> | 62 | <div·id="nav-path"·class="navpath"> |
63 | ··<ul> | 63 | ··<ul> |
64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> | 64 | <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html">functions</a></li><li·class="navelem"><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html">gridfunctions</a></li>··</ul> |
65 | </div> | 65 | </div> |
66 | </div><!--·top·--> | 66 | </div><!--·top·--> |
67 | <div·class="contents"> | 67 | <div·class="contents"> |
68 | <h3>gridfunctions·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a001 | 68 | <h3>gridfunctions·→·functionspacebases·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/functions/gridfunctions</th><th·class="dirtab">Includes·file·in·dune/functions/functionspacebases</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">discreteglobalbasisfunction.hh</a></td><td·class="dirtab"><a·class="el"·href="a00095.html">flatvectorview.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00191.html">discreteglobalbasisfunction.hh</a></td><td·class="dirt[·...·truncated·by·diffoscope;·len:·30,·SHA:·d1a7280f80890e65d61db409114dc13a0daaba9b131039b737897049cf903b92·...·].html">hierarchicnodetorangemap.hh</a></td></tr></table></div><!--·contents·--> |
69 | <!--·start·footer·part·--> | 69 | <!--·start·footer·part·--> |
70 | <hr·class="footer"/><address·class="footer"><small> | 70 | <hr·class="footer"/><address·class="footer"><small> |
71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 71 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
72 | </small></address> | 72 | </small></address> |
73 | </body> | 73 | </body> |
74 | </html> | 74 | </html> |
Offset 81, 58 lines modified | Offset 81, 58 lines modified | ||
81 | <area·shape="rect"·href="dir_000002_000007.html"·title="1"·alt=""·coords="191,121,199,136"/> | 81 | <area·shape="rect"·href="dir_000002_000007.html"·title="1"·alt=""·coords="191,121,199,136"/> |
82 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,296,207"/> | 82 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,296,207"/> |
83 | </map> | 83 | </map> |
84 | </div> | 84 | </div> |
85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
87 | Files</h2></td></tr> | 87 | Files</h2></td></tr> |
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">callable.hh</a>·<a·href="a00023_source.html">[code]</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">defaultderivativetraits.hh</a>·<a·href="a00035_source.html">[code]</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html">differentiablefunction.hh</a>·<a·href="a00038_source.html">[code]</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.html">differentiablefunction_imp.hh</a>·<a·href="a00020_source.html">[code]</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0001 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">differentiablefunctionfromcallables.hh</a>·<a·href="a00014_source.html">[code]</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00005.html">functionconcepts.hh</a>·<a·href="a00005_source.html">[code]</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">functionfromcallable.hh</a>·<a·href="a00059_source.html">[code]</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.html">indexaccess.hh</a>·<a·href="a00032_source.html">[code]</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">interfaces.hh</a>·<a·href="a00053_source.html">[code]</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00002.html">localfunction.hh</a>·<a·href="a00002_source.html">[code]</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">localfunction_imp.hh</a>·<a·href="a00011_source.html">[code]</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0005 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">multiindex.hh</a>·<a·href="a00056_source.html">[code]</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">overflowarray.hh</a>·<a·href="a00065_source.html">[code]</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">polymorphicsmallobject.hh</a>·<a·href="a00062_source.html">[code]</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00008.html">referencehelper.hh</a>·<a·href="a00008_source.html">[code]</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 118 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">reserveddeque.hh</a>·<a·href="a00026_source.html">[code]</a></td></tr> |
119 | <tr·class="memdesc:a000 | 119 | <tr·class="memdesc:a00026"><td·class="mdescLeft"> </td><td·class="mdescRight">An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack.·<br·/></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">signature.hh</a>·<a·href="a00017_source.html">[code]</a></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.html">staticforloop.hh</a>·<a·href="a00050_source.html">[code]</a></td></tr> |
124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00041.html">treedata.hh</a>·<a·href="a00041_source.html">[code]</a></td></tr> |
126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">type_traits.hh</a>·<a·href="a00044_source.html">[code]</a></td></tr> |
128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a000 | 129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">typeerasure.hh</a>·<a·href="a00029_source.html">[code]</a></td></tr> |
130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0004 | 131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.html">utility.hh</a>·<a·href="a00047_source.html">[code]</a></td></tr> |
132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
133 | </table> | 133 | </table> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 137 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
138 | </small></address> | 138 | </small></address> |
Offset 83, 31 lines modified | Offset 83, 31 lines modified | ||
83 | <area·shape="rect"·href="dir_000008_000007.html"·title="2"·alt=""·coords="247,123,255,138"/> | 83 | <area·shape="rect"·href="dir_000008_000007.html"·title="2"·alt=""·coords="247,123,255,138"/> |
84 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,373,207"/> | 84 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,373,207"/> |
85 | </map> | 85 | </map> |
86 | </div> | 86 | </div> |
87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
89 | Files</h2></td></tr> | 89 | Files</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">analyticgridviewfunction.hh</a>·<a·href="a00185_source.html">[code]</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00167.html">composedgridfunction.hh</a>·<a·href="a00167_source.html">[code]</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">discreteglobalbasisfunction.hh</a>·<a·href="a00191_source.html">[code]</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">facenormalgridfunction.hh</a>·<a·href="a00188_source.html">[code]</a></td></tr> |
97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 97 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 98 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00170.html">gridfunction.hh</a>·<a·href="a00170_source.html">[code]</a></td></tr> |
99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 99 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00173.html">gridfunction_imp.hh</a>·<a·href="a00173_source.html">[code]</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00176.html">gridviewentityset.hh</a>·<a·href="a00176_source.html">[code]</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html">gridviewfunction.hh</a>·<a·href="a00182_source.html">[code]</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">localderivativetraits.hh</a>·<a·href="a00179_source.html">[code]</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table> | 108 | </table> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 112 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
113 | </small></address> | 113 | </small></address> |
Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
83 | </map> | 83 | </map> |
84 | </div> | 84 | </div> |
85 | <table·class="memberdecls"> | 85 | <table·class="memberdecls"> |
86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 86 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
87 | Files</h2></td></tr> | 87 | Files</h2></td></tr> |
88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02873.html">backends/concepts.hh</a>·<a·href="a02873_source.html">[code]</a></td></tr> | 88 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02873.html">backends/concepts.hh</a>·<a·href="a02873_source.html">[code]</a></td></tr> |
89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 89 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00158.html">istlvectorbackend.hh</a>·<a·href="a00158_source.html">[code]</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | </table> | 92 | </table> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 96 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
97 | </small></address> | 97 | </small></address> |
Offset 83, 74 lines modified | Offset 83, 74 lines modified | ||
83 | <area·shape="rect"·href="dir_000007_000001.html"·title="2"·alt=""·coords="242,122,250,137"/> | 83 | <area·shape="rect"·href="dir_000007_000001.html"·title="2"·alt=""·coords="242,122,250,137"/> |
84 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,331,207"/> | 84 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,331,207"/> |
85 | </map> | 85 | </map> |
86 | </div> | 86 | </div> |
87 | <table·class="memberdecls"> | 87 | <table·class="memberdecls"> |
88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 88 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
89 | Files</h2></td></tr> | 89 | Files</h2></td></tr> |
90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 90 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html">basistags.hh</a>·<a·href="a00092_source.html">[code]</a></td></tr> |
91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 91 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 92 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">boundarydofs.hh</a>·<a·href="a00074_source.html">[code]</a></td></tr> |
93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 93 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 94 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">brezzidouglasmarinibasis.hh</a>·<a·href="a00098_source.html">[code]</a></td></tr> |
95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 95 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 96 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html">bsplinebasis.hh</a>·<a·href="a00083_source.html">[code]</a></td></tr> |
97 | <tr·class="memdesc:a00 | 97 | <tr·class="memdesc:a00083"><td·class="mdescLeft"> </td><td·class="mdescRight">The·B-spline·global·function·space·basis.·<br·/></td></tr> |
98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 98 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 99 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html">compositebasis.hh</a>·<a·href="a00125_source.html">[code]</a></td></tr> |
100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 100 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02876.html">functionspacebases/concepts.hh</a>·<a·href="a02876_source.html">[code]</a></td></tr> | 101 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02876.html">functionspacebases/concepts.hh</a>·<a·href="a02876_source.html">[code]</a></td></tr> |
102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 102 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 103 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00149.html">defaultglobalbasis.hh</a>·<a·href="a00149_source.html">[code]</a></td></tr> |
104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 104 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html">defaultlocalview.hh</a>·<a·href="a00143_source.html">[code]</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">defaultnodetorangemap.hh</a>·<a·href="a00068_source.html">[code]</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">flatmultiindex.hh</a>·<a·href="a00122_source.html">[code]</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">flatvectorview.hh</a>·<a·href="a00095_source.html">[code]</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">globalvaluedlocalfiniteelement.hh</a>·<a·href="a00155_source.html">[code]</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 115 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00128.html">hierarchicallagrangebasis.hh</a>·<a·href="a00128_source.html">[code]</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 117 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html">hierarchicnodetorangemap.hh</a>·<a·href="a00134_source.html">[code]</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 119 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00131.html">hierarchicvectorwrapper.hh</a>·<a·href="a00131_source.html">[code]</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 121 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">interpolate.hh</a>·<a·href="a00080_source.html">[code]</a></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 123 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html">lagrangebasis.hh</a>·<a·href="a00119_source.html">[code]</a></td></tr> |
124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 124 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 125 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00146.html">lagrangedgbasis.hh</a>·<a·href="a00146_source.html">[code]</a></td></tr> |
126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 126 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 127 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html">nedelecbasis.hh</a>·<a·href="a00152_source.html">[code]</a></td></tr> |
128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 128 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0011 | 129 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00116.html">nodes.hh</a>·<a·href="a00116_source.html">[code]</a></td></tr> |
130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 130 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 131 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">periodicbasis.hh</a>·<a·href="a00107_source.html">[code]</a></td></tr> |
132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 132 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
133 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 133 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">powerbasis.hh</a>·<a·href="a00086_source.html">[code]</a></td></tr> |
134 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 134 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
135 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 135 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00113.html">rannacherturekbasis.hh</a>·<a·href="a00113_source.html">[code]</a></td></tr> |
136 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 136 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
137 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0014 | 137 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00140.html">raviartthomasbasis.hh</a>·<a·href="a00140_source.html">[code]</a></td></tr> |
138 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 138 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
139 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 139 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">sizeinfo.hh</a>·<a·href="a00110_source.html">[code]</a></td></tr> |
140 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 140 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
141 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 141 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">subentitydofs.hh</a>·<a·href="a00089_source.html">[code]</a></td></tr> |
142 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 142 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
143 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 143 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">subspacebasis.hh</a>·<a·href="a00104_source.html">[code]</a></td></tr> |
144 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 144 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
145 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 145 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html">subspacelocalview.hh</a>·<a·href="a00101_source.html">[code]</a></td></tr> |
146 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 146 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
147 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 147 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html">taylorhoodbasis.hh</a>·<a·href="a00077_source.html">[code]</a></td></tr> |
148 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 148 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
149 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a001 | 149 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00137.html">transformedindexbasis.hh</a>·<a·href="a00137_source.html">[code]</a></td></tr> |
150 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 150 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
151 | </table> | 151 | </table> |
152 | </div><!--·contents·--> | 152 | </div><!--·contents·--> |
153 | <!--·start·footer·part·--> | 153 | <!--·start·footer·part·--> |
154 | <hr·class="footer"/><address·class="footer"><small> | 154 | <hr·class="footer"/><address·class="footer"><small> |
155 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 155 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
156 | </small></address> | 156 | </small></address> |
Offset 77, 17 lines modified | Offset 77, 17 lines modified | ||
77 | <area·shape="rect"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·title="analyticfunctions"·alt=""·coords="27,52,147,100"/> | 77 | <area·shape="rect"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·title="analyticfunctions"·alt=""·coords="27,52,147,100"/> |
78 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,157,111"/> | 78 | <area·shape="rect"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·title="functions"·alt=""·coords="16,16,157,111"/> |
79 | </map> | 79 | </map> |
80 | </div> | 80 | </div> |
81 | <table·class="memberdecls"> | 81 | <table·class="memberdecls"> |
82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 82 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
83 | Files</h2></td></tr> | 83 | Files</h2></td></tr> |
84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 84 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00161.html">polynomial.hh</a>·<a·href="a00161_source.html">[code]</a></td></tr> |
85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 85 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00 | 86 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html">trigonometricfunction.hh</a>·<a·href="a00164_source.html">[code]</a></td></tr> |
87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 87 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
88 | </table> | 88 | </table> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 92 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
93 | </small></address> | 93 | </small></address> |
Offset 4, 70 lines modified | Offset 4, 39 lines modified | ||
4 | ····<name>mainpage.md</name> | 4 | ····<name>mainpage.md</name> |
5 | ····<path>/build/reproducible-path/dune-functions-2.9.0/doc/doxygen/</path> | 5 | ····<path>/build/reproducible-path/dune-functions-2.9.0/doc/doxygen/</path> |
6 | ····<filename>a00197.html</filename> | 6 | ····<filename>a00197.html</filename> |
7 | ··</compound> | 7 | ··</compound> |
8 | ··<compound·kind="file"> | 8 | ··<compound·kind="file"> |
9 | ····<name>polynomial.hh</name> | 9 | ····<name>polynomial.hh</name> |
10 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/analyticfunctions/</path> | 10 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/analyticfunctions/</path> |
11 | ····<filename>a00 | 11 | ····<filename>a00161.html</filename> |
12 | ····<class·kind="class">Dune::Functions::Polynomial</class> | 12 | ····<class·kind="class">Dune::Functions::Polynomial</class> |
13 | ····<namespace>Dune</namespace> | 13 | ····<namespace>Dune</namespace> |
14 | ····<namespace>Dune::Functions</namespace> | 14 | ····<namespace>Dune::Functions</namespace> |
15 | ··</compound> | 15 | ··</compound> |
16 | ··<compound·kind="file"> | 16 | ··<compound·kind="file"> |
17 | ····<name>trigonometricfunction.hh</name> | 17 | ····<name>trigonometricfunction.hh</name> |
18 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/analyticfunctions/</path> | 18 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/analyticfunctions/</path> |
19 | ····<filename>a00 | 19 | ····<filename>a00164.html</filename> |
20 | ····<class·kind="class">Dune::Functions::TrigonometricFunction</class> | 20 | ····<class·kind="class">Dune::Functions::TrigonometricFunction</class> |
21 | ····<namespace>Dune</namespace> | 21 | ····<namespace>Dune</namespace> |
22 | ····<namespace>Dune::Functions</namespace> | 22 | ····<namespace>Dune::Functions</namespace> |
23 | ····<member·kind="function"> | 23 | ····<member·kind="function"> |
24 | ······<type>TrigonometricFunction<·K,·-cosFactor,·sinFactor·></type> | 24 | ······<type>TrigonometricFunction<·K,·-cosFactor,·sinFactor·></type> |
25 | ······<name>derivative</name> | 25 | ······<name>derivative</name> |
26 | ······<anchorfile>a00209.html</anchorfile> | 26 | ······<anchorfile>a00209.html</anchorfile> |
27 | ······<anchor>ga7ec424ff4be740ad675bd85750940472</anchor> | 27 | ······<anchor>ga7ec424ff4be740ad675bd85750940472</anchor> |
28 | ······<arglist>(const·TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f)</arglist> | 28 | ······<arglist>(const·TrigonometricFunction<·K,·sinFactor,·cosFactor·>·&f)</arglist> |
29 | ····</member> | 29 | ····</member> |
30 | ··</compound> | 30 | ··</compound> |
31 | ··<compound·kind="file"> | 31 | ··<compound·kind="file"> |
32 | ····<name>backends/concepts.hh</name> | ||
33 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/backends/</path> | ||
34 | ····<filename>a02873.html</filename> | ||
35 | ····<class·kind="struct">Dune::Functions::Concept::ConstVectorBackend</class> | ||
36 | ····<class·kind="struct">Dune::Functions::Concept::VectorBackend</class> | ||
37 | ····<namespace>Dune</namespace> | ||
38 | ····<namespace>Dune::Functions</namespace> | ||
39 | ····<namespace>Dune::Functions::Concept</namespace> | ||
40 | ··</compound> | ||
41 | ··<compound·kind="file"> | ||
42 | ····<name>functionspacebases/concepts.hh</name> | ||
43 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/functionspacebases/</path> | ||
44 | ····<filename>a02876.html</filename> | ||
45 | ····<includes·id="a00044"·name="utility.hh"·local="no"·imported="no">dune/functions/common/utility.hh</includes> | ||
46 | ····<includes·id="a00110"·name="nodes.hh"·local="no"·imported="no">dune/functions/functionspacebases/nodes.hh</includes> | ||
47 | ····<class·kind="struct">Dune::Functions::Concept::HasResize</class> | ||
48 | ····<class·kind="struct">Dune::Functions::Concept::HasSizeMethod</class> | ||
49 | ····<class·kind="struct">Dune::Functions::Concept::HasIndexAccess</class> | ||
50 | ····<class·kind="struct">Dune::Functions::Concept::BasisNode</class> | ||
51 | ····<class·kind="struct">Dune::Functions::Concept::LeafBasisNode</class> | ||
52 | ····<class·kind="struct">Dune::Functions::Concept::PowerBasisNode</class> | ||
53 | ····<class·kind="struct">Dune::Functions::Concept::CompositeBasisNode</class> | ||
54 | ····<class·kind="struct">Dune::Functions::Concept::BasisTree</class> | ||
55 | ····<class·kind="struct">Dune::Functions::Concept::PreBasis</class> | ||
56 | ····<class·kind="struct">Dune::Functions::Concept::LocalView</class> | ||
57 | ····<class·kind="struct">Dune::Functions::Concept::GlobalBasis</class> | ||
58 | ····<namespace>Dune</namespace> | ||
59 | ····<namespace>Dune::Functions</namespace> | ||
60 | ····<namespace>Dune::Functions::Concept</namespace> | ||
61 | ··</compound> | ||
62 | ··<compound·kind="file"> | ||
63 | ····<name>istlvectorbackend.hh</name> | 32 | ····<name>istlvectorbackend.hh</name> |
64 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/backends/</path> | 33 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/backends/</path> |
65 | ····<filename>a00 | 34 | ····<filename>a00158.html</filename> |
66 | ····<includes·id="a000 | 35 | ····<includes·id="a00032"·name="indexaccess.hh"·local="no"·imported="no">dune/functions/common/indexaccess.hh</includes> |
67 | ····<includes·id="a02876"·name="functionspacebases/concepts.hh"·local="no"·imported="no">dune/functions/functionspacebases/concepts.hh</includes> | 36 | ····<includes·id="a02876"·name="functionspacebases/concepts.hh"·local="no"·imported="no">dune/functions/functionspacebases/concepts.hh</includes> |
68 | ····<namespace>Dune</namespace> | 37 | ····<namespace>Dune</namespace> |
69 | ····<namespace>Dune::Functions</namespace> | 38 | ····<namespace>Dune::Functions</namespace> |
70 | ····<member·kind="function"> | 39 | ····<member·kind="function"> |
71 | ······<type>constexpr·auto</type> | 40 | ······<type>constexpr·auto</type> |
72 | ······<name>fieldTypes</name> | 41 | ······<name>fieldTypes</name> |
73 | ······<anchorfile>a00219.html</anchorfile> | 42 | ······<anchorfile>a00219.html</anchorfile> |
Offset 95, 15 lines modified | Offset 64, 15 lines modified | ||
95 | ······<anchor>ga50a181637103e7abc011235a9fd30611</anchor> | 64 | ······<anchor>ga50a181637103e7abc011235a9fd30611</anchor> |
96 | ······<arglist>(const·Vector·&v)</arglist> | 65 | ······<arglist>(const·Vector·&v)</arglist> |
97 | ····</member> | 66 | ····</member> |
98 | ··</compound> | 67 | ··</compound> |
99 | ··<compound·kind="file"> | 68 | ··<compound·kind="file"> |
100 | ····<name>callable.hh</name> | 69 | ····<name>callable.hh</name> |
101 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> | 70 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> |
102 | ····<filename>a000 | 71 | ····<filename>a00023.html</filename> |
103 | ····<class·kind="class">Dune::Functions::CallableFunctionWrapper</class> | 72 | ····<class·kind="class">Dune::Functions::CallableFunctionWrapper</class> |
104 | ····<namespace>Dune</namespace> | 73 | ····<namespace>Dune</namespace> |
105 | ····<namespace>Dune::Functions</namespace> | 74 | ····<namespace>Dune::Functions</namespace> |
106 | ····<member·kind="function"> | 75 | ····<member·kind="function"> |
107 | ······<type>CallableFunctionWrapper<·F·></type> | 76 | ······<type>CallableFunctionWrapper<·F·></type> |
108 | ······<name>callable</name> | 77 | ······<name>callable</name> |
109 | ······<anchorfile>a00209.html</anchorfile> | 78 | ······<anchorfile>a00209.html</anchorfile> |
Offset 117, 54 lines modified | Offset 86, 54 lines modified | ||
117 | ······<anchor>ga5831245ed303c2103ab06af079cb8cf9</anchor> | 86 | ······<anchor>ga5831245ed303c2103ab06af079cb8cf9</anchor> |
118 | ······<arglist>(const·std::shared_ptr<·F·>·&fp)</arglist> | 87 | ······<arglist>(const·std::shared_ptr<·F·>·&fp)</arglist> |
119 | ····</member> | 88 | ····</member> |
120 | ··</compound> | 89 | ··</compound> |
121 | ··<compound·kind="file"> | 90 | ··<compound·kind="file"> |
122 | ····<name>defaultderivativetraits.hh</name> | 91 | ····<name>defaultderivativetraits.hh</name> |
123 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> | 92 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> |
124 | ····<filename>a000 | 93 | ····<filename>a00035.html</filename> |
125 | ····<class·kind="class">Dune::Functions::InvalidRange</class> | 94 | ····<class·kind="class">Dune::Functions::InvalidRange</class> |
126 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits</class> | 95 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits</class> |
127 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·double(double)·></class> | 96 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·double(double)·></class> |
128 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></class> | 97 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·K(FieldVector<·K,·n·>)></class> |
129 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></class> | 98 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldVector<·K,·m·>(FieldVector<·K,·n·>)></class> |
130 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></class> | 99 | ····<class·kind="struct">Dune::Functions::DefaultDerivativeTraits<·FieldMatrix<·K,·1,·m·>(FieldVector<·K,·n·>)></class> |
131 | ····<namespace>Dune</namespace> | 100 | ····<namespace>Dune</namespace> |
132 | ····<namespace>Dune::Functions</namespace> | 101 | ····<namespace>Dune::Functions</namespace> |
133 | ··</compound> | 102 | ··</compound> |
134 | ··<compound·kind="file"> | 103 | ··<compound·kind="file"> |
135 | ····<name>differentiablefunction.hh</name> | 104 | ····<name>differentiablefunction.hh</name> |
136 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> | 105 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> |
137 | ····<filename>a000 | 106 | ····<filename>a00038.html</filename> |
138 | ····<includes·id="a000 | 107 | ····<includes·id="a00044"·name="type_traits.hh"·local="no"·imported="no">dune/functions/common/type_traits.hh</includes> |
139 | ····<includes·id="a000 | 108 | ····<includes·id="a00035"·name="defaultderivativetraits.hh"·local="no"·imported="no">dune/functions/common/defaultderivativetraits.hh</includes> |
140 | ····<includes·id="a000 | 109 | ····<includes·id="a00020"·name="differentiablefunction_imp.hh"·local="no"·imported="no">dune/functions/common/differentiablefunction_imp.hh</includes> |
141 | ····<includes·id="a000 | 110 | ····<includes·id="a00017"·name="signature.hh"·local="no"·imported="no">dune/functions/common/signature.hh</includes> |
142 | ····<includes·id="a000 | 111 | ····<includes·id="a00029"·name="typeerasure.hh"·local="no"·imported="no">dune/functions/common/typeerasure.hh</includes> |
143 | ····<includes·id="a000 | 112 | ····<includes·id="a00005"·name="functionconcepts.hh"·local="no"·imported="no">dune/functions/common/functionconcepts.hh</includes> |
144 | ····<class·kind="class">Dune::Functions::DifferentiableFunction</class> | 113 | ····<class·kind="class">Dune::Functions::DifferentiableFunction</class> |
145 | ····<class·kind="class">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></class> | 114 | ····<class·kind="class">Dune::Functions::DifferentiableFunction<·Range(Domain),·DerivativeTraits,·bufferSize·></class> |
146 | ····<namespace>Dune</namespace> | 115 | ····<namespace>Dune</namespace> |
147 | ····<namespace>Dune::Functions</namespace> | 116 | ····<namespace>Dune::Functions</namespace> |
148 | ··</compound> | 117 | ··</compound> |
149 | ··<compound·kind="file"> | 118 | ··<compound·kind="file"> |
150 | ····<name>differentiablefunction_imp.hh</name> | 119 | ····<name>differentiablefunction_imp.hh</name> |
151 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> | 120 | ····<path>/build/reproducible-path/dune-functions-2.9.0/dune/functions/common/</path> |
152 | ····<filename>a000 | 121 | ····<filename>a00020.html</filename> |
153 | ····<includes·id="a000 | 122 | ····<includes·id="a00044"·name="type_traits.hh"·local="no"·imported="no">dune/functions/common/type_traits.hh</includes> |
154 | ····<namespace>Dune</namespace> | 123 | ····<namespace>Dune</namespace> |
155 | ····<namespace>Dune::Functions</namespace> | 124 | ····<namespace>Dune::Functions</namespace> |
156 | ··</compound> | 125 | ··</compound> |
Max diff block lines reached; 71847/80408 bytes (89.35%) of diff not shown. |
Offset 68, 83 lines modified | Offset 68, 83 lines modified | ||
68 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> | 68 | <div·class="textblock">Here·is·a·list·of·all·files·with·brief·descriptions:</div><div·class="directory"> |
69 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span><span·onclick="javascript:toggleLevel(4);">4</span>]</div><table·class="directory"> | 69 | <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span><span·onclick="javascript:toggleLevel(4);">4</span>]</div><table·class="directory"> |
70 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_e68e8157741866f444e17edd764ebbae.html"·target="_self">doc</a></td><td·class="desc"></td></tr> | 70 | <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">▼</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')"> </span><a·class="el"·href="dir_e68e8157741866f444e17edd764ebbae.html"·target="_self">doc</a></td><td·class="desc"></td></tr> |
71 | <tr·id="row_0_0_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·class="iconfclosed"></span><a·class="el"·href="dir_04f2ecc425faf0d475a3caf484e551f3.html"·target="_self">doxygen</a></td><td·class="desc"></td></tr> | 71 | <tr·id="row_0_0_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·class="iconfclosed"></span><a·class="el"·href="dir_04f2ecc425faf0d475a3caf484e551f3.html"·target="_self">doxygen</a></td><td·class="desc"></td></tr> |
72 | <tr·id="row_1_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_1_"·class="arrow"·onclick="toggleFolder('1_')">▼</span><span·id="img_1_"·class="iconfopen"·onclick="toggleFolder('1_')"> </span><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr> | 72 | <tr·id="row_1_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;"> </span><span·id="arr_1_"·class="arrow"·onclick="toggleFolder('1_')">▼</span><span·id="img_1_"·class="iconfopen"·onclick="toggleFolder('1_')"> </span><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr> |
73 | <tr·id="row_1_0_"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_1_0_"·class="arrow"·onclick="toggleFolder('1_0_')">▼</span><span·id="img_1_0_"·class="iconfopen"·onclick="toggleFolder('1_0_')"> </span><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·target="_self">functions</a></td><td·class="desc"></td></tr> | 73 | <tr·id="row_1_0_"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_1_0_"·class="arrow"·onclick="toggleFolder('1_0_')">▼</span><span·id="img_1_0_"·class="iconfopen"·onclick="toggleFolder('1_0_')"> </span><a·class="el"·href="dir_a5545368301c4029d7054f90c0ed45fc.html"·target="_self">functions</a></td><td·class="desc"></td></tr> |
74 | <tr·id="row_1_0_0_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_')">▼</span><span·id="img_1_0_0_"·class="iconfopen"·onclick="toggleFolder('1_0_0_')"> </span><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·target="_self">analyticfunctions</a></td><td·class="desc"></td></tr> | 74 | <tr·id="row_1_0_0_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_')">▼</span><span·id="img_1_0_0_"·class="iconfopen"·onclick="toggleFolder('1_0_0_')"> </span><a·class="el"·href="dir_e22f2c69b2799e923164d7b2e4fa3f8c.html"·target="_self">analyticfunctions</a></td><td·class="desc"></td></tr> |
75 | <tr·id="row_1_0_0_0_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 75 | <tr·id="row_1_0_0_0_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00161_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00161.html"·target="_self">polynomial.hh</a></td><td·class="desc"></td></tr> |
76 | <tr·id="row_1_0_0_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 76 | <tr·id="row_1_0_0_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00164_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00164.html"·target="_self">trigonometricfunction.hh</a></td><td·class="desc"></td></tr> |
77 | <tr·id="row_1_0_1_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_1_"·class="arrow"·onclick="toggleFolder('1_0_1_')">▼</span><span·id="img_1_0_1_"·class="iconfopen"·onclick="toggleFolder('1_0_1_')"> </span><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html"·target="_self">backends</a></td><td·class="desc"></td></tr> | 77 | <tr·id="row_1_0_1_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_1_"·class="arrow"·onclick="toggleFolder('1_0_1_')">▼</span><span·id="img_1_0_1_"·class="iconfopen"·onclick="toggleFolder('1_0_1_')"> </span><a·class="el"·href="dir_8457ebf380090bd61e5d3eab5b7eb9a1.html"·target="_self">backends</a></td><td·class="desc"></td></tr> |
78 | <tr·id="row_1_0_1_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02873_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02873.html"·target="_self">backends/concepts.hh</a></td><td·class="desc"></td></tr> | 78 | <tr·id="row_1_0_1_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02873_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02873.html"·target="_self">backends/concepts.hh</a></td><td·class="desc"></td></tr> |
79 | <tr·id="row_1_0_1_1_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 79 | <tr·id="row_1_0_1_1_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00158_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00158.html"·target="_self">istlvectorbackend.hh</a></td><td·class="desc"></td></tr> |
80 | <tr·id="row_1_0_2_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_2_"·class="arrow"·onclick="toggleFolder('1_0_2_')">▼</span><span·id="img_1_0_2_"·class="iconfopen"·onclick="toggleFolder('1_0_2_')"> </span><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html"·target="_self">common</a></td><td·class="desc"></td></tr> | 80 | <tr·id="row_1_0_2_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_2_"·class="arrow"·onclick="toggleFolder('1_0_2_')">▼</span><span·id="img_1_0_2_"·class="iconfopen"·onclick="toggleFolder('1_0_2_')"> </span><a·class="el"·href="dir_14cf9ce796563c596e9b8f0f574fe0cc.html"·target="_self">common</a></td><td·class="desc"></td></tr> |
81 | <tr·id="row_1_0_2_0_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 81 | <tr·id="row_1_0_2_0_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">callable.hh</a></td><td·class="desc"></td></tr> |
82 | <tr·id="row_1_0_2_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 82 | <tr·id="row_1_0_2_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">defaultderivativetraits.hh</a></td><td·class="desc"></td></tr> |
83 | <tr·id="row_1_0_2_2_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 83 | <tr·id="row_1_0_2_2_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.html"·target="_self">differentiablefunction.hh</a></td><td·class="desc"></td></tr> |
84 | <tr·id="row_1_0_2_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 84 | <tr·id="row_1_0_2_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.html"·target="_self">differentiablefunction_imp.hh</a></td><td·class="desc"></td></tr> |
85 | <tr·id="row_1_0_2_4_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0001 | 85 | <tr·id="row_1_0_2_4_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.html"·target="_self">differentiablefunctionfromcallables.hh</a></td><td·class="desc"></td></tr> |
86 | <tr·id="row_1_0_2_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 86 | <tr·id="row_1_0_2_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00005_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00005.html"·target="_self">functionconcepts.hh</a></td><td·class="desc"></td></tr> |
87 | <tr·id="row_1_0_2_6_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 87 | <tr·id="row_1_0_2_6_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">functionfromcallable.hh</a></td><td·class="desc"></td></tr> |
88 | <tr·id="row_1_0_2_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 88 | <tr·id="row_1_0_2_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.html"·target="_self">indexaccess.hh</a></td><td·class="desc"></td></tr> |
89 | <tr·id="row_1_0_2_8_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 89 | <tr·id="row_1_0_2_8_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">interfaces.hh</a></td><td·class="desc"></td></tr> |
90 | <tr·id="row_1_0_2_9_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 90 | <tr·id="row_1_0_2_9_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00002_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00002.html"·target="_self">localfunction.hh</a></td><td·class="desc"></td></tr> |
91 | <tr·id="row_1_0_2_10_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 91 | <tr·id="row_1_0_2_10_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.html"·target="_self">localfunction_imp.hh</a></td><td·class="desc"></td></tr> |
92 | <tr·id="row_1_0_2_11_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0005 | 92 | <tr·id="row_1_0_2_11_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.html"·target="_self">multiindex.hh</a></td><td·class="desc"></td></tr> |
93 | <tr·id="row_1_0_2_12_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 93 | <tr·id="row_1_0_2_12_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.html"·target="_self">overflowarray.hh</a></td><td·class="desc"></td></tr> |
94 | <tr·id="row_1_0_2_13_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 94 | <tr·id="row_1_0_2_13_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">polymorphicsmallobject.hh</a></td><td·class="desc"></td></tr> |
95 | <tr·id="row_1_0_2_14_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 95 | <tr·id="row_1_0_2_14_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </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> |
96 | <tr·id="row_1_0_2_15_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 96 | <tr·id="row_1_0_2_15_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">reserveddeque.hh</a></td><td·class="desc">An·stl-compliant·double-ended·queue·which·stores·everything·on·the·stack·</td></tr> |
97 | <tr·id="row_1_0_2_16_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 97 | <tr·id="row_1_0_2_16_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.html"·target="_self">signature.hh</a></td><td·class="desc"></td></tr> |
98 | <tr·id="row_1_0_2_17_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 98 | <tr·id="row_1_0_2_17_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.html"·target="_self">staticforloop.hh</a></td><td·class="desc"></td></tr> |
99 | <tr·id="row_1_0_2_18_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 99 | <tr·id="row_1_0_2_18_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.html"·target="_self">treedata.hh</a></td><td·class="desc"></td></tr> |
100 | <tr·id="row_1_0_2_19_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 100 | <tr·id="row_1_0_2_19_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr> |
101 | <tr·id="row_1_0_2_20_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a000 | 101 | <tr·id="row_1_0_2_20_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">typeerasure.hh</a></td><td·class="desc"></td></tr> |
102 | <tr·id="row_1_0_2_21_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0004 | 102 | <tr·id="row_1_0_2_21_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.html"·target="_self">utility.hh</a></td><td·class="desc"></td></tr> |
103 | <tr·id="row_1_0_3_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_3_"·class="arrow"·onclick="toggleFolder('1_0_3_')">▼</span><span·id="img_1_0_3_"·class="iconfopen"·onclick="toggleFolder('1_0_3_')"> </span><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html"·target="_self">functionspacebases</a></td><td·class="desc"></td></tr> | 103 | <tr·id="row_1_0_3_"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_3_"·class="arrow"·onclick="toggleFolder('1_0_3_')">▼</span><span·id="img_1_0_3_"·class="iconfopen"·onclick="toggleFolder('1_0_3_')"> </span><a·class="el"·href="dir_a2250aba7ee066a4c694d7c3cf43d078.html"·target="_self">functionspacebases</a></td><td·class="desc"></td></tr> |
104 | <tr·id="row_1_0_3_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 104 | <tr·id="row_1_0_3_0_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00092_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00092.html"·target="_self">basistags.hh</a></td><td·class="desc"></td></tr> |
105 | <tr·id="row_1_0_3_1_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 105 | <tr·id="row_1_0_3_1_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00074_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00074.html"·target="_self">boundarydofs.hh</a></td><td·class="desc"></td></tr> |
106 | <tr·id="row_1_0_3_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 106 | <tr·id="row_1_0_3_2_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.html"·target="_self">brezzidouglasmarinibasis.hh</a></td><td·class="desc"></td></tr> |
107 | <tr·id="row_1_0_3_3_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 107 | <tr·id="row_1_0_3_3_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.html"·target="_self">bsplinebasis.hh</a></td><td·class="desc">The·B-spline·global·function·space·basis·</td></tr> |
108 | <tr·id="row_1_0_3_4_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 108 | <tr·id="row_1_0_3_4_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00125_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00125.html"·target="_self">compositebasis.hh</a></td><td·class="desc"></td></tr> |
109 | <tr·id="row_1_0_3_5_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02876_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02876.html"·target="_self">functionspacebases/concepts.hh</a></td><td·class="desc"></td></tr> | 109 | <tr·id="row_1_0_3_5_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a02876_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a02876.html"·target="_self">functionspacebases/concepts.hh</a></td><td·class="desc"></td></tr> |
110 | <tr·id="row_1_0_3_6_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 110 | <tr·id="row_1_0_3_6_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00149_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00149.html"·target="_self">defaultglobalbasis.hh</a></td><td·class="desc"></td></tr> |
111 | <tr·id="row_1_0_3_7_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 111 | <tr·id="row_1_0_3_7_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.html"·target="_self">defaultlocalview.hh</a></td><td·class="desc"></td></tr> |
112 | <tr·id="row_1_0_3_8_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 112 | <tr·id="row_1_0_3_8_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">defaultnodetorangemap.hh</a></td><td·class="desc"></td></tr> |
113 | <tr·id="row_1_0_3_9_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 113 | <tr·id="row_1_0_3_9_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.html"·target="_self">flatmultiindex.hh</a></td><td·class="desc"></td></tr> |
114 | <tr·id="row_1_0_3_10_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 114 | <tr·id="row_1_0_3_10_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">flatvectorview.hh</a></td><td·class="desc"></td></tr> |
115 | <tr·id="row_1_0_3_11_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 115 | <tr·id="row_1_0_3_11_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.html"·target="_self">globalvaluedlocalfiniteelement.hh</a></td><td·class="desc"></td></tr> |
116 | <tr·id="row_1_0_3_12_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 116 | <tr·id="row_1_0_3_12_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00128_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00128.html"·target="_self">hierarchicallagrangebasis.hh</a></td><td·class="desc"></td></tr> |
117 | <tr·id="row_1_0_3_13_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 117 | <tr·id="row_1_0_3_13_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00134_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00134.html"·target="_self">hierarchicnodetorangemap.hh</a></td><td·class="desc"></td></tr> |
118 | <tr·id="row_1_0_3_14_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 118 | <tr·id="row_1_0_3_14_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.html"·target="_self">hierarchicvectorwrapper.hh</a></td><td·class="desc"></td></tr> |
119 | <tr·id="row_1_0_3_15_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 119 | <tr·id="row_1_0_3_15_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00080_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00080.html"·target="_self">interpolate.hh</a></td><td·class="desc"></td></tr> |
120 | <tr·id="row_1_0_3_16_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 120 | <tr·id="row_1_0_3_16_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.html"·target="_self">lagrangebasis.hh</a></td><td·class="desc"></td></tr> |
121 | <tr·id="row_1_0_3_17_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 121 | <tr·id="row_1_0_3_17_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.html"·target="_self">lagrangedgbasis.hh</a></td><td·class="desc"></td></tr> |
122 | <tr·id="row_1_0_3_18_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 122 | <tr·id="row_1_0_3_18_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.html"·target="_self">nedelecbasis.hh</a></td><td·class="desc"></td></tr> |
123 | <tr·id="row_1_0_3_19_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0011 | 123 | <tr·id="row_1_0_3_19_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00116_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00116.html"·target="_self">nodes.hh</a></td><td·class="desc"></td></tr> |
124 | <tr·id="row_1_0_3_20_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 124 | <tr·id="row_1_0_3_20_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.html"·target="_self">periodicbasis.hh</a></td><td·class="desc"></td></tr> |
125 | <tr·id="row_1_0_3_21_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 125 | <tr·id="row_1_0_3_21_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.html"·target="_self">powerbasis.hh</a></td><td·class="desc"></td></tr> |
126 | <tr·id="row_1_0_3_22_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 126 | <tr·id="row_1_0_3_22_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00113_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00113.html"·target="_self">rannacherturekbasis.hh</a></td><td·class="desc"></td></tr> |
127 | <tr·id="row_1_0_3_23_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a0014 | 127 | <tr·id="row_1_0_3_23_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.html"·target="_self">raviartthomasbasis.hh</a></td><td·class="desc"></td></tr> |
128 | <tr·id="row_1_0_3_24_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 128 | <tr·id="row_1_0_3_24_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">sizeinfo.hh</a></td><td·class="desc"></td></tr> |
129 | <tr·id="row_1_0_3_25_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 129 | <tr·id="row_1_0_3_25_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.html"·target="_self">subentitydofs.hh</a></td><td·class="desc"></td></tr> |
130 | <tr·id="row_1_0_3_26_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 130 | <tr·id="row_1_0_3_26_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.html"·target="_self">subspacebasis.hh</a></td><td·class="desc"></td></tr> |
131 | <tr·id="row_1_0_3_27_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 131 | <tr·id="row_1_0_3_27_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.html"·target="_self">subspacelocalview.hh</a></td><td·class="desc"></td></tr> |
132 | <tr·id="row_1_0_3_28_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 132 | <tr·id="row_1_0_3_28_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.html"·target="_self">taylorhoodbasis.hh</a></td><td·class="desc"></td></tr> |
133 | <tr·id="row_1_0_3_29_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 133 | <tr·id="row_1_0_3_29_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.html"·target="_self">transformedindexbasis.hh</a></td><td·class="desc"></td></tr> |
134 | <tr·id="row_1_0_4_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_4_"·class="arrow"·onclick="toggleFolder('1_0_4_')">▼</span><span·id="img_1_0_4_"·class="iconfopen"·onclick="toggleFolder('1_0_4_')"> </span><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html"·target="_self">gridfunctions</a></td><td·class="desc"></td></tr> | 134 | <tr·id="row_1_0_4_"·class="even"><td·class="entry"><span·style="width:32px;display:inline-block;"> </span><span·id="arr_1_0_4_"·class="arrow"·onclick="toggleFolder('1_0_4_')">▼</span><span·id="img_1_0_4_"·class="iconfopen"·onclick="toggleFolder('1_0_4_')"> </span><a·class="el"·href="dir_55b300d561fb400353f8dbad76da65d6.html"·target="_self">gridfunctions</a></td><td·class="desc"></td></tr> |
135 | <tr·id="row_1_0_4_0_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 135 | <tr·id="row_1_0_4_0_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.html"·target="_self">analyticgridviewfunction.hh</a></td><td·class="desc"></td></tr> |
136 | <tr·id="row_1_0_4_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 136 | <tr·id="row_1_0_4_1_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.html"·target="_self">composedgridfunction.hh</a></td><td·class="desc"></td></tr> |
137 | <tr·id="row_1_0_4_2_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 137 | <tr·id="row_1_0_4_2_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.html"·target="_self">discreteglobalbasisfunction.hh</a></td><td·class="desc"></td></tr> |
138 | <tr·id="row_1_0_4_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 138 | <tr·id="row_1_0_4_3_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.html"·target="_self">facenormalgridfunction.hh</a></td><td·class="desc"></td></tr> |
139 | <tr·id="row_1_0_4_4_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 139 | <tr·id="row_1_0_4_4_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.html"·target="_self">gridfunction.hh</a></td><td·class="desc"></td></tr> |
140 | <tr·id="row_1_0_4_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 140 | <tr·id="row_1_0_4_5_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.html"·target="_self">gridfunction_imp.hh</a></td><td·class="desc"></td></tr> |
141 | <tr·id="row_1_0_4_6_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 141 | <tr·id="row_1_0_4_6_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.html"·target="_self">gridviewentityset.hh</a></td><td·class="desc"></td></tr> |
142 | <tr·id="row_1_0_4_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00 | 142 | <tr·id="row_1_0_4_7_"·class="even"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.html"·target="_self">gridviewfunction.hh</a></td><td·class="desc"></td></tr> |
143 | <tr·id="row_1_0_4_8_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a001 | 143 | <tr·id="row_1_0_4_8_"><td·class="entry"><span·style="width:64px;display:inline-block;"> </span><a·href="a00179_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00179.html"·target="_self">localderivativetraits.hh</a></td><td·class="desc"></td></tr> |
144 | </table> | 144 | </table> |
145 | </div><!--·directory·--> | 145 | </div><!--·directory·--> |
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 <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 149 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
150 | </small></address> | 150 | </small></address> |
Offset 59, 15 lines modified | Offset 59, 15 lines modified | ||
59 | <iframe·src="javascript:void(0)"·frameborder="0"· | 59 | <iframe·src="javascript:void(0)"·frameborder="0"· |
60 | ········name="MSearchResults"·id="MSearchResults"> | 60 | ········name="MSearchResults"·id="MSearchResults"> |
61 | </iframe> | 61 | </iframe> |
62 | </div> | 62 | </div> |
63 | <div·class="contents"> | 63 | <div·class="contents"> |
64 | <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div><ul> | 64 | <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div><ul> |
65 | <li>CHECKSIZE : <a·class="el"·href="a000 | 65 | <li>CHECKSIZE : <a·class="el"·href="a00026.html#a65543e75bc949ecdb95a25b1f4e11675">reserveddeque.hh</a></li> |
66 | </ul> | 66 | </ul> |
67 | </div><!--·contents·--> | 67 | </div><!--·contents·--> |
68 | <!--·start·footer·part·--> | 68 | <!--·start·footer·part·--> |
69 | <hr·class="footer"/><address·class="footer"><small> | 69 | <hr·class="footer"/><address·class="footer"><small> |
70 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 70 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
71 | </small></address> | 71 | </small></address> |
72 | </body> | 72 | </body> |
Offset 59, 15 lines modified | Offset 59, 15 lines modified | ||
59 | <iframe·src="javascript:void(0)"·frameborder="0"· | 59 | <iframe·src="javascript:void(0)"·frameborder="0"· |
60 | ········name="MSearchResults"·id="MSearchResults"> | 60 | ········name="MSearchResults"·id="MSearchResults"> |
61 | </iframe> | 61 | </iframe> |
62 | </div> | 62 | </div> |
63 | <div·class="contents"> | 63 | <div·class="contents"> |
64 |  <ul> | 64 |  <ul> |
65 | <li>CHECKSIZE : <a·class="el"·href="a000 | 65 | <li>CHECKSIZE : <a·class="el"·href="a00026.html#a65543e75bc949ecdb95a25b1f4e11675">reserveddeque.hh</a></li> |
66 | </ul> | 66 | </ul> |
67 | </div><!--·contents·--> | 67 | </div><!--·contents·--> |
68 | <!--·start·footer·part·--> | 68 | <!--·start·footer·part·--> |
69 | <hr·class="footer"/><address·class="footer"><small> | 69 | <hr·class="footer"/><address·class="footer"><small> |
70 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 | 70 | Generated·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4 |
71 | </small></address> | 71 | </small></address> |
72 | </body> | 72 | </body> |